Skip to content

Commit

Permalink
Remove unnecessary trailing slashes. (#186)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock authored Jan 29, 2024
1 parent 3375d9f commit 1787056
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 27 deletions.
48 changes: 23 additions & 25 deletions OpenSearch.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5139,7 +5139,7 @@
"x-version-added": "1.0"
}
},
"/_cluster/decommission/awareness/": {
"/_cluster/decommission/awareness": {
"delete": {
"description": "Delete any existing decommission.",
"externalDocs": {
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion model/security/get_action_groups/operations.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1787056

Please sign in to comment.