Skip to content

Commit

Permalink
Re-generate cluster namespace (part 1) (opensearch-project#356)
Browse files Browse the repository at this point in the history
* Re-generate `cluster.allocation_explain`

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate `cluster.delete_component_template`

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate `cluster.delete_voting_config_exclusions`

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate `cluster.exists_component_template`

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate `cluster.get_component_template`

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate `cluster.get_settings`

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate `cluster.health`

Signed-off-by: Thomas Farr <[email protected]>

* Re-generate `cluster.pending_tasks`

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Dec 3, 2023
1 parent 5848604 commit 3d8d667
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 26 deletions.
9 changes: 9 additions & 0 deletions src/ApiGenerator/Configuration/CodeConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ public static class CodeConfiguration
{
private static readonly Glob[] OperationsToInclude =
{
new("cluster.allocation_explain"),
new("cluster.delete_component_template"),
new("cluster.delete_voting_config_exclusions"),
new("cluster.exists_component_template"),
new("cluster.get_component_template"),
new("cluster.get_settings"),
new("cluster.health"),
new("cluster.pending_tasks"),

new("dangling_indices.*"),
new("ingest.*"),
new("nodes.*"),
Expand Down
60 changes: 34 additions & 26 deletions src/ApiGenerator/OpenSearch.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -11823,7 +11823,8 @@
"$ref": "#/components/schemas/PatchActionGroupsInputPayload"
}
}
}
},
"required": true
},
"responses": {
"200": {
Expand Down Expand Up @@ -11948,7 +11949,8 @@
"$ref": "#/components/schemas/PatchActionGroupInputPayload"
}
}
}
},
"required": true
},
"parameters": [
{
Expand Down Expand Up @@ -11989,7 +11991,8 @@
"$ref": "#/components/schemas/Action_Group"
}
}
}
},
"required": true
},
"parameters": [
{
Expand Down Expand Up @@ -13244,7 +13247,8 @@
"$ref": "#/components/schemas/CreateTenantParams"
}
}
}
},
"required": true
},
"parameters": [
{
Expand Down Expand Up @@ -17925,21 +17929,23 @@
"description": "Limit the information returned the specific metrics.",
"x-enum-options": [
"_all",
"completion",
"docs",
"fielddata",
"query_cache",
"flush",
"get",
"store",
"indexing",
"get",
"search",
"merge",
"request_cache",
"flush",
"refresh",
"search",
"segments",
"store",
"query_cache",
"fielddata",
"docs",
"warmer",
"suggest"
"completion",
"segments",
"translog",
"suggest",
"request_cache",
"recovery"
],
"x-data-type": "array"
},
Expand Down Expand Up @@ -28506,21 +28512,23 @@
"description": "Limit the information returned the specific metrics.",
"x-enum-options": [
"_all",
"completion",
"docs",
"fielddata",
"query_cache",
"flush",
"get",
"store",
"indexing",
"get",
"search",
"merge",
"request_cache",
"flush",
"refresh",
"search",
"segments",
"store",
"query_cache",
"fielddata",
"docs",
"warmer",
"suggest"
"completion",
"segments",
"translog",
"suggest",
"request_cache",
"recovery"
],
"x-data-type": "array"
},
Expand Down

0 comments on commit 3d8d667

Please sign in to comment.