diff --git a/OpenSearch.openapi.json b/OpenSearch.openapi.json index bb15270ef..79b20b7c8 100644 --- a/OpenSearch.openapi.json +++ b/OpenSearch.openapi.json @@ -5139,7 +5139,7 @@ "x-version-added": "1.0" } }, - "/_cluster/decommission/awareness/": { + "/_cluster/decommission/awareness": { "delete": { "description": "Delete any existing decommission.", "externalDocs": { @@ -12067,6 +12067,28 @@ } }, "/_plugins/_security/api/actiongroups": { + "get": { + "description": "Retrieves all action groups.", + "externalDocs": { + "description": "API Reference", + "url": "https://opensearch.org/docs/latest/security/access-control/api/#get-action-groups" + }, + "operationId": "GetActionGroups", + "responses": { + "200": { + "description": "GetActionGroups 200 response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ActionGroupsMap" + } + } + } + } + }, + "x-operation-group": "security.get_action_groups", + "x-version-added": "1.0" + }, "patch": { "description": "Creates, updates, or deletes multiple action groups in a single call.", "externalDocs": { @@ -12100,30 +12122,6 @@ "x-version-added": "1.0" } }, - "/_plugins/_security/api/actiongroups/": { - "get": { - "description": "Retrieves all action groups.", - "externalDocs": { - "description": "API Reference", - "url": "https://opensearch.org/docs/latest/security/access-control/api/#get-action-groups" - }, - "operationId": "GetActionGroups", - "responses": { - "200": { - "description": "GetActionGroups 200 response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ActionGroupsMap" - } - } - } - } - }, - "x-operation-group": "security.get_action_groups", - "x-version-added": "1.0" - } - }, "/_plugins/_security/api/actiongroups/{action_group}": { "delete": { "description": "Delete a specified action group.", diff --git a/model/cluster/delete_decommission_awareness/operations.smithy b/model/cluster/delete_decommission_awareness/operations.smithy index e3d0364ba..78caee215 100644 --- a/model/cluster/delete_decommission_awareness/operations.smithy +++ b/model/cluster/delete_decommission_awareness/operations.smithy @@ -15,7 +15,7 @@ namespace OpenSearch @xVersionAdded("1.0") @idempotent @suppress(["HttpUriConflict"]) -@http(method: "DELETE", uri: "/_cluster/decommission/awareness/") +@http(method: "DELETE", uri: "/_cluster/decommission/awareness") @documentation("Delete any existing decommission.") operation ClusterDeleteDecommissionAwareness { input: ClusterDeleteDecommissionAwareness_Input, diff --git a/model/security/get_action_groups/operations.smithy b/model/security/get_action_groups/operations.smithy index 69e063652..605eca625 100644 --- a/model/security/get_action_groups/operations.smithy +++ b/model/security/get_action_groups/operations.smithy @@ -15,7 +15,7 @@ namespace OpenSearch @xVersionAdded("1.0") @readonly @suppress(["HttpUriConflict"]) -@http(method: "GET", uri: "/_plugins/_security/api/actiongroups/") +@http(method: "GET", uri: "/_plugins/_security/api/actiongroups") @documentation("Retrieves all action groups.") operation GetActionGroups { input: GetActionGroups_Input,