add refresh-password route

This commit is contained in:
2026-06-30 21:06:51 +07:00
parent 4d9b73cb34
commit d22ad7cb09
9 changed files with 366 additions and 28 deletions
@@ -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": {