更新文档内容

This commit is contained in:
2023-08-22 10:37:28 +08:00
parent c3f06b456f
commit 73222eee28
329 changed files with 25366 additions and 2475 deletions

View File

@@ -1,6 +1,6 @@
# \ApiAnswerApi
All URIs are relative to *http://127.0.0.1:80*
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
@@ -10,7 +10,6 @@ Method | HTTP request | Description
[**AnswerApiV1AnswerPageGet**](ApiAnswerApi.md#AnswerApiV1AnswerPageGet) | **Get** /answer/api/v1/answer/page | AnswerList
[**AnswerApiV1AnswerPost**](ApiAnswerApi.md#AnswerApiV1AnswerPost) | **Post** /answer/api/v1/answer | Insert Answer
[**AnswerApiV1AnswerPut**](ApiAnswerApi.md#AnswerApiV1AnswerPut) | **Put** /answer/api/v1/answer | Update Answer
[**AnswerApiV1PersonalAnswerPageGet**](ApiAnswerApi.md#AnswerApiV1PersonalAnswerPageGet) | **Get** /answer/api/v1/personal/answer/page | UserAnswerList
@@ -415,75 +414,3 @@ Name | Type | Description | Notes
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)
## AnswerApiV1PersonalAnswerPageGet
> HandlerRespBody AnswerApiV1PersonalAnswerPageGet(ctx).Username(username).Order(order).Page(page).Pagesize(pagesize).Execute()
UserAnswerList
### Example
```go
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
username := "username_example" // string | username (default to "string")
order := "order_example" // string | order
page := "page_example" // string | page (default to "0")
pagesize := "pagesize_example" // string | pagesize (default to "20")
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApiAnswerApi.AnswerApiV1PersonalAnswerPageGet(context.Background()).Username(username).Order(order).Page(page).Pagesize(pagesize).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApiAnswerApi.AnswerApiV1PersonalAnswerPageGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AnswerApiV1PersonalAnswerPageGet`: HandlerRespBody
fmt.Fprintf(os.Stdout, "Response from `ApiAnswerApi.AnswerApiV1PersonalAnswerPageGet`: %v\n", resp)
}
```
### Path Parameters
### Other Parameters
Other parameters are passed through a pointer to a apiAnswerApiV1PersonalAnswerPageGetRequest struct via the builder pattern
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **string** | username | [default to "string"]
**order** | **string** | order |
**page** | **string** | page | [default to "0"]
**pagesize** | **string** | pagesize | [default to "20"]
### Return type
[**HandlerRespBody**](HandlerRespBody.md)
### Authorization
[ApiKeyAuth](../README.md#ApiKeyAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
[[Back to Model list]](../README.md#documentation-for-models)
[[Back to README]](../README.md)