From d2f44816fd4a45caad784f8df85fd75e443c8ef8 Mon Sep 17 00:00:00 2001 From: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> Date: Tue, 28 May 2024 15:34:30 +0300 Subject: [PATCH] TeamLBAC: add missing swagger tag (#88374) --- public/api-enterprise-spec.json | 35 ++++++++++++++++++++++++++ public/api-merged.json | 40 +++++++++++++++++++++++++++++- public/openapi3.json | 44 +++++++++++++++++++++++++++++++-- 3 files changed, 116 insertions(+), 3 deletions(-) diff --git a/public/api-enterprise-spec.json b/public/api-enterprise-spec.json index 542bd383f9e..016fd4152ff 100644 --- a/public/api-enterprise-spec.json +++ b/public/api-enterprise-spec.json @@ -761,6 +761,41 @@ } }, "/datasources/uid/{uid}/lbac/teams": { + "get": { + "tags": [ + "enterprise" + ], + "summary": "Retrieves LBAC rules for a team.", + "operationId": "getTeamLBACRulesApi", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "$ref": "#/responses/okResponse" + }, + "400": { + "$ref": "#/responses/badRequestError" + }, + "401": { + "$ref": "#/responses/unauthorisedError" + }, + "403": { + "$ref": "#/responses/forbiddenError" + }, + "404": { + "$ref": "#/responses/notFoundError" + }, + "500": { + "$ref": "#/responses/internalServerError" + } + } + }, "put": { "tags": [ "enterprise" diff --git a/public/api-merged.json b/public/api-merged.json index dea0a108fd2..c41ab3f3734 100644 --- a/public/api-merged.json +++ b/public/api-merged.json @@ -4317,8 +4317,46 @@ }, "/datasources/uid/{uid}/lbac/teams": { "get": { + "tags": [ + "enterprise" + ], "summary": "Retrieves LBAC rules for a team.", - "operationId": "getTeamLBACRulesApiResponse", + "operationId": "getTeamLBACRulesApi", + "parameters": [ + { + "type": "string", + "name": "uid", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "$ref": "#/responses/okResponse" + }, + "400": { + "$ref": "#/responses/badRequestError" + }, + "401": { + "$ref": "#/responses/unauthorisedError" + }, + "403": { + "$ref": "#/responses/forbiddenError" + }, + "404": { + "$ref": "#/responses/notFoundError" + }, + "500": { + "$ref": "#/responses/internalServerError" + } + } + }, + "put": { + "tags": [ + "enterprise" + ], + "summary": "Updates LBAC rules for a team.", + "operationId": "updateTeamLBACRulesApi", "parameters": [ { "type": "string", diff --git a/public/openapi3.json b/public/openapi3.json index 379292512af..1731977c869 100644 --- a/public/openapi3.json +++ b/public/openapi3.json @@ -17145,7 +17145,7 @@ }, "/datasources/uid/{uid}/lbac/teams": { "get": { - "operationId": "getTeamLBACRulesApiResponse", + "operationId": "getTeamLBACRulesApi", "parameters": [ { "in": "path", @@ -17176,7 +17176,47 @@ "$ref": "#/components/responses/internalServerError" } }, - "summary": "Retrieves LBAC rules for a team." + "summary": "Retrieves LBAC rules for a team.", + "tags": [ + "enterprise" + ] + }, + "put": { + "operationId": "updateTeamLBACRulesApi", + "parameters": [ + { + "in": "path", + "name": "uid", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/okResponse" + }, + "400": { + "$ref": "#/components/responses/badRequestError" + }, + "401": { + "$ref": "#/components/responses/unauthorisedError" + }, + "403": { + "$ref": "#/components/responses/forbiddenError" + }, + "404": { + "$ref": "#/components/responses/notFoundError" + }, + "500": { + "$ref": "#/components/responses/internalServerError" + } + }, + "summary": "Updates LBAC rules for a team.", + "tags": [ + "enterprise" + ] } }, "/datasources/uid/{uid}/resources/{datasource_proxy_route}": {