更新文档内容
This commit is contained in:
14
api_rank.go
14
api_rank.go
@@ -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 (
|
||||
)
|
||||
|
||||
|
||||
// RankApiService RankApi service
|
||||
type RankApiService service
|
||||
// RankAPIService RankAPI service
|
||||
type RankAPIService service
|
||||
|
||||
type ApiAnswerApiV1PersonalRankPageGetRequest struct {
|
||||
ctx context.Context
|
||||
ApiService *RankApiService
|
||||
ApiService *RankAPIService
|
||||
page *int32
|
||||
pageSize *int32
|
||||
username *string
|
||||
@@ -58,7 +58,7 @@ user personal rank list
|
||||
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
|
||||
@return ApiAnswerApiV1PersonalRankPageGetRequest
|
||||
*/
|
||||
func (a *RankApiService) AnswerApiV1PersonalRankPageGet(ctx context.Context) ApiAnswerApiV1PersonalRankPageGetRequest {
|
||||
func (a *RankAPIService) AnswerApiV1PersonalRankPageGet(ctx context.Context) ApiAnswerApiV1PersonalRankPageGetRequest {
|
||||
return ApiAnswerApiV1PersonalRankPageGetRequest{
|
||||
ApiService: a,
|
||||
ctx: ctx,
|
||||
@@ -67,7 +67,7 @@ func (a *RankApiService) AnswerApiV1PersonalRankPageGet(ctx context.Context) Api
|
||||
|
||||
// Execute executes the request
|
||||
// @return AnswerApiV1PersonalRankPageGet200Response
|
||||
func (a *RankApiService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1PersonalRankPageGetRequest) (*AnswerApiV1PersonalRankPageGet200Response, *http.Response, error) {
|
||||
func (a *RankAPIService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1PersonalRankPageGetRequest) (*AnswerApiV1PersonalRankPageGet200Response, *http.Response, error) {
|
||||
var (
|
||||
localVarHTTPMethod = http.MethodGet
|
||||
localVarPostBody interface{}
|
||||
@@ -75,7 +75,7 @@ func (a *RankApiService) AnswerApiV1PersonalRankPageGetExecute(r ApiAnswerApiV1P
|
||||
localVarReturnValue *AnswerApiV1PersonalRankPageGet200Response
|
||||
)
|
||||
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RankApiService.AnswerApiV1PersonalRankPageGet")
|
||||
localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RankAPIService.AnswerApiV1PersonalRankPageGet")
|
||||
if err != nil {
|
||||
return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user