generated from VLADIMIR/template
update refresh
This commit is contained in:
@@ -100,6 +100,38 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/refresh": {
|
||||
"post": {
|
||||
"operationId": "EveningDetectiveServer_Refresh",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detective_serverRefreshRsp"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/evening_detective_serverRefreshReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"EveningDetectiveServer"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/refresh-password": {
|
||||
"post": {
|
||||
"operationId": "EveningDetectiveServer_RefreshPassword",
|
||||
@@ -218,6 +250,28 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverRefreshReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"refreshToken": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverRefreshRsp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"error": {
|
||||
"type": "string"
|
||||
},
|
||||
"accessToken": {
|
||||
"type": "string"
|
||||
},
|
||||
"refreshToken": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"evening_detective_serverSignupReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user