更新文档内容

This commit is contained in:
2023-09-26 16:20:01 +08:00
parent 73222eee28
commit d72897f080
415 changed files with 15785 additions and 17558 deletions

View File

@@ -6,7 +6,7 @@ API version: 1.0.0
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi
package answer_sdk
import (
"bytes"
@@ -17,12 +17,12 @@ import (
)
// PersonalApiService PersonalApi service
type PersonalApiService service
// PersonalAPIService PersonalAPI service
type PersonalAPIService service
type ApiAnswerApiV1PersonalAnswerPageGetRequest struct {
ctx context.Context
ApiService *PersonalApiService
ApiService *PersonalAPIService
username *string
order *string
page *string
@@ -65,7 +65,7 @@ list personal answers
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAnswerApiV1PersonalAnswerPageGetRequest
*/
func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGet(ctx context.Context) ApiAnswerApiV1PersonalAnswerPageGetRequest {
func (a *PersonalAPIService) AnswerApiV1PersonalAnswerPageGet(ctx context.Context) ApiAnswerApiV1PersonalAnswerPageGetRequest {
return ApiAnswerApiV1PersonalAnswerPageGetRequest{
ApiService: a,
ctx: ctx,
@@ -74,7 +74,7 @@ func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGet(ctx context.Contex
// Execute executes the request
// @return HandlerRespBody
func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
func (a *PersonalAPIService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswerApiV1PersonalAnswerPageGetRequest) (*HandlerRespBody, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -82,7 +82,7 @@ func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswer
localVarReturnValue *HandlerRespBody
)
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalApiService.AnswerApiV1PersonalAnswerPageGet")
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalAPIService.AnswerApiV1PersonalAnswerPageGet")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}
@@ -179,7 +179,7 @@ func (a *PersonalApiService) AnswerApiV1PersonalAnswerPageGetExecute(r ApiAnswer
type ApiPersonalQuestionPageGetRequest struct {
ctx context.Context
ApiService *PersonalApiService
ApiService *PersonalAPIService
username *string
order *string
page *string
@@ -222,7 +222,7 @@ list personal questions
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiPersonalQuestionPageGetRequest
*/
func (a *PersonalApiService) PersonalQuestionPageGet(ctx context.Context) ApiPersonalQuestionPageGetRequest {
func (a *PersonalAPIService) PersonalQuestionPageGet(ctx context.Context) ApiPersonalQuestionPageGetRequest {
return ApiPersonalQuestionPageGetRequest{
ApiService: a,
ctx: ctx,
@@ -231,7 +231,7 @@ func (a *PersonalApiService) PersonalQuestionPageGet(ctx context.Context) ApiPer
// Execute executes the request
// @return HandlerRespBody
func (a *PersonalApiService) PersonalQuestionPageGetExecute(r ApiPersonalQuestionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
func (a *PersonalAPIService) PersonalQuestionPageGetExecute(r ApiPersonalQuestionPageGetRequest) (*HandlerRespBody, *http.Response, error) {
var (
localVarHTTPMethod = http.MethodGet
localVarPostBody interface{}
@@ -239,7 +239,7 @@ func (a *PersonalApiService) PersonalQuestionPageGetExecute(r ApiPersonalQuestio
localVarReturnValue *HandlerRespBody
)
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalApiService.PersonalQuestionPageGet")
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PersonalAPIService.PersonalQuestionPageGet")
if err != nil {
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
}