Extended swagger docs with errors on delete/rename tags

This commit is contained in:
Alejandro Celaya 2021-01-10 11:07:17 +01:00
parent 34bb023b7d
commit 5bec9f5b65

View File

@ -232,6 +232,16 @@
} }
} }
}, },
"403": {
"description": "The API key you used does not have permissions to rename tags.",
"content": {
"application/problem+json": {
"schema": {
"$ref": "../definitions/Error.json"
}
}
}
},
"404": { "404": {
"description": "There's no tag found with the name provided in oldName param.", "description": "There's no tag found with the name provided in oldName param.",
"content": { "content": {
@ -298,6 +308,16 @@
"204": { "204": {
"description": "Tags properly deleted" "description": "Tags properly deleted"
}, },
"403": {
"description": "The API key you used does not have permissions to delete tags.",
"content": {
"application/problem+json": {
"schema": {
"$ref": "../definitions/Error.json"
}
}
}
},
"500": { "500": {
"description": "Unexpected error.", "description": "Unexpected error.",
"content": { "content": {