updated swagger spec
the build failed Details

This commit is contained in:
kolaente 2018-10-03 19:30:43 +02:00
parent 85c9fba808
commit cd4fca19fd
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 64 additions and 0 deletions

View File

@ -1543,6 +1543,70 @@
}
}
},
"/user": {
"get": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"user"
],
"summary": "Shows the current user",
"operationId": "showUser",
"responses": {
"200": {
"$ref": "#/responses/User"
},
"400": {
"$ref": "#/responses/Message"
},
"500": {
"$ref": "#/responses/Message"
}
}
}
},
"/user/password": {
"post": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"user"
],
"summary": "Shows the current user",
"operationId": "updatePassword",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/Password"
}
}
],
"responses": {
"200": {
"$ref": "#/responses/Message"
},
"400": {
"$ref": "#/responses/Message"
},
"404": {
"$ref": "#/responses/Message"
},
"500": {
"$ref": "#/responses/Message"
}
}
}
},
"/users": {
"get": {
"consumes": [