From 5bec9f5b6538cf773d7924ac989a736bcfbb5f1c Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 10 Jan 2021 11:07:17 +0100 Subject: [PATCH] Extended swagger docs with errors on delete/rename tags --- docs/swagger/paths/v1_tags.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/swagger/paths/v1_tags.json b/docs/swagger/paths/v1_tags.json index cb6a6bb3..8c3ada73 100644 --- a/docs/swagger/paths/v1_tags.json +++ b/docs/swagger/paths/v1_tags.json @@ -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": { "description": "There's no tag found with the name provided in oldName param.", "content": { @@ -298,6 +308,16 @@ "204": { "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": { "description": "Unexpected error.", "content": {