Fix swagger definition
This commit is contained in:
parent
16d16eb539
commit
b58062f508
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue