From 00c9981c51cccc17a11bedbb2a6da76d837019ca Mon Sep 17 00:00:00 2001 From: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> Date: Wed, 25 Oct 2023 13:20:36 +0300 Subject: [PATCH] Chore: Fix missing enterprise operation from swagger (#77122) --- public/api-enterprise-spec.json | 25 +++++++++++++++++++++++++ public/api-merged.json | 3 ++- public/openapi3.json | 3 ++- 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/public/api-enterprise-spec.json b/public/api-enterprise-spec.json index 9701d0b0a76..f9e390481df 100644 --- a/public/api-enterprise-spec.json +++ b/public/api-enterprise-spec.json @@ -639,6 +639,31 @@ } } }, + "/admin/ldap-sync-status": { + "get": { + "description": "You need to have a permission with action `ldap.status:read`.", + "tags": [ + "ldap_debug", + "enterprise" + ], + "summary": "Returns the current state of the LDAP background sync integration.", + "operationId": "getSyncStatus", + "responses": { + "200": { + "$ref": "#/responses/getSyncStatusResponse" + }, + "401": { + "$ref": "#/responses/unauthorisedError" + }, + "403": { + "$ref": "#/responses/forbiddenError" + }, + "500": { + "$ref": "#/responses/internalServerError" + } + } + } + }, "/admin/provisioning/access-control/reload": { "post": { "tags": [ diff --git a/public/api-merged.json b/public/api-merged.json index 2292da639b4..8194ddb54cc 100644 --- a/public/api-merged.json +++ b/public/api-merged.json @@ -643,7 +643,8 @@ "get": { "description": "You need to have a permission with action `ldap.status:read`.", "tags": [ - "ldap_debug" + "ldap_debug", + "enterprise" ], "summary": "Returns the current state of the LDAP background sync integration.", "operationId": "getSyncStatus", diff --git a/public/openapi3.json b/public/openapi3.json index 61f3dc35912..c855b84e7d4 100644 --- a/public/openapi3.json +++ b/public/openapi3.json @@ -12510,7 +12510,8 @@ }, "summary": "Returns the current state of the LDAP background sync integration.", "tags": [ - "ldap_debug" + "ldap_debug", + "enterprise" ] } },