generated from VLADIMIR/template
add refresh-password route
This commit is contained in:
@@ -68,6 +68,38 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/refresh-password": {
|
||||
"post": {
|
||||
"operationId": "EveningDetectiveServer_RefreshPassword",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detective_serverRefreshPasswordRsp"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detective_serverRefreshPasswordReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"EveningDetectiveServer"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/signup": {
|
||||
"post": {
|
||||
"operationId": "EveningDetectiveServer_Signup",
|
||||
@@ -113,6 +145,22 @@
|
||||
"evening_detective_serverPingRsp": {
|
||||
"type": "object"
|
||||
},
|
||||
"evening_detective_serverRefreshPasswordReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"email": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverRefreshPasswordRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverSignupReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user