From c8ff1f5259b497be7da8d104fee993d14b27032d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 31 Mar 2023 06:54:23 -0700 Subject: Update API documentation --- swagger.json | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/swagger.json b/swagger.json index 229296c1a..24da5e8cd 100644 --- a/swagger.json +++ b/swagger.json @@ -764,15 +764,9 @@ "required": true }, "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Permission" - } - } - } + "204": { + "description": "No Content", + "content": {} }, "400": { "description": "No permission", @@ -786,16 +780,6 @@ "tags": [ "Permissions" ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Permission" - } - } - }, - "required": true - }, "responses": { "204": { "description": "No Content", -- cgit v1.2.3