Fix swagger definition

This commit is contained in:
Jannis Mattheis 2018-06-03 09:58:50 +02:00
parent 16d16eb539
commit b58062f508
2 changed files with 4 additions and 19 deletions

View File

@ -289,11 +289,8 @@
"200": {
"description": "Ok",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/PagedMessages"
}
}
},
"401": {
"description": "Unauthorized",
@ -653,11 +650,8 @@
"200": {
"description": "Ok",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/PagedMessages"
}
}
},
"401": {
"description": "Unauthorized",
@ -709,11 +703,8 @@
"200": {
"description": "Ok",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/Message"
}
}
},
"401": {
"description": "Unauthorized",

View File

@ -91,8 +91,6 @@ func Create(db *database.GormDatabase, vInfo *model.VersionInfo, conf *config.Co
// 200:
// description: Ok
// schema:
// type: array
// items:
// $ref: "#/definitions/Message"
// 401:
// description: Unauthorized
@ -278,8 +276,6 @@ func Create(db *database.GormDatabase, vInfo *model.VersionInfo, conf *config.Co
// 200:
// description: Ok
// schema:
// type: array
// items:
// $ref: "#/definitions/PagedMessages"
// 401:
// description: Unauthorized
@ -455,8 +451,6 @@ func Create(db *database.GormDatabase, vInfo *model.VersionInfo, conf *config.Co
// 200:
// description: Ok
// schema:
// type: array
// items:
// $ref: "#/definitions/PagedMessages"
// 401:
// description: Unauthorized