fixed swagger documentation

* some endpoints had a wrong HTTP status code in the swagger
  documentation.

see #175
This commit is contained in:
Bernhard B
2021-11-01 17:15:54 +01:00
parent 2d80ff91a2
commit d4b2dbea7f
4 changed files with 39 additions and 39 deletions

View File

@@ -194,7 +194,7 @@ var doc = `{
}
],
"responses": {
"201": {
"204": {
"description": "OK",
"schema": {
"type": "string"
@@ -413,8 +413,8 @@ var doc = `{
}
],
"responses": {
"200": {
"description": "OK",
"204": {
"description": "No Content",
"schema": {
"type": "string"
}
@@ -458,8 +458,8 @@ var doc = `{
}
],
"responses": {
"200": {
"description": "OK",
"204": {
"description": "No Content",
"schema": {
"type": "string"
}
@@ -503,8 +503,8 @@ var doc = `{
}
],
"responses": {
"200": {
"description": "OK",
"204": {
"description": "No Content",
"schema": {
"type": "string"
}
@@ -908,8 +908,8 @@ var doc = `{
}
],
"responses": {
"201": {
"description": "Created",
"204": {
"description": "No Content",
"schema": {
"type": "string"
}
@@ -953,8 +953,8 @@ var doc = `{
}
],
"responses": {
"201": {
"description": "Created",
"204": {
"description": "No Content",
"schema": {
"type": "string"
}