mirror of https://gitee.com/answerdev/answer.git
swagger
This commit is contained in:
parent
08482d270c
commit
84206b85a1
43
docs/docs.go
43
docs/docs.go
|
@ -4677,6 +4677,46 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
"/answer/api/v1/user/ranking": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "get user ranking",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"User"
|
||||
],
|
||||
"summary": "get user ranking",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/handler.RespBody"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/schema.GetUserToSetShowResp"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/answer/api/v1/user/register/email": {
|
||||
"post": {
|
||||
"description": "UserRegisterByEmail",
|
||||
|
@ -6904,6 +6944,9 @@ const docTemplate = `{
|
|||
"branding": {
|
||||
"$ref": "#/definitions/schema.SiteBrandingResp"
|
||||
},
|
||||
"custom_css_html": {
|
||||
"$ref": "#/definitions/schema.SiteCustomCssHTMLResp"
|
||||
},
|
||||
"general": {
|
||||
"$ref": "#/definitions/schema.SiteGeneralResp"
|
||||
},
|
||||
|
|
|
@ -4665,6 +4665,46 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/answer/api/v1/user/ranking": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"description": "get user ranking",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"User"
|
||||
],
|
||||
"summary": "get user ranking",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/handler.RespBody"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"$ref": "#/definitions/schema.GetUserToSetShowResp"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/answer/api/v1/user/register/email": {
|
||||
"post": {
|
||||
"description": "UserRegisterByEmail",
|
||||
|
@ -6892,6 +6932,9 @@
|
|||
"branding": {
|
||||
"$ref": "#/definitions/schema.SiteBrandingResp"
|
||||
},
|
||||
"custom_css_html": {
|
||||
"$ref": "#/definitions/schema.SiteCustomCssHTMLResp"
|
||||
},
|
||||
"general": {
|
||||
"$ref": "#/definitions/schema.SiteGeneralResp"
|
||||
},
|
||||
|
|
|
@ -1294,6 +1294,8 @@ definitions:
|
|||
properties:
|
||||
branding:
|
||||
$ref: '#/definitions/schema.SiteBrandingResp'
|
||||
custom_css_html:
|
||||
$ref: '#/definitions/schema.SiteCustomCssHTMLResp'
|
||||
general:
|
||||
$ref: '#/definitions/schema.SiteGeneralResp'
|
||||
interface:
|
||||
|
@ -4670,6 +4672,28 @@ paths:
|
|||
summary: RetrievePassWord
|
||||
tags:
|
||||
- User
|
||||
/answer/api/v1/user/ranking:
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
description: get user ranking
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/definitions/handler.RespBody'
|
||||
- properties:
|
||||
data:
|
||||
$ref: '#/definitions/schema.GetUserToSetShowResp'
|
||||
type: object
|
||||
security:
|
||||
- ApiKeyAuth: []
|
||||
summary: get user ranking
|
||||
tags:
|
||||
- User
|
||||
/answer/api/v1/user/register/email:
|
||||
post:
|
||||
consumes:
|
||||
|
|
Loading…
Reference in New Issue