Skip to content

Commit

Permalink
Update rest-api-spec 8.x (#2971)
Browse files Browse the repository at this point in the history
* Update rest-api-spec

* Remove flat_settings, add include_remotes

---------

Co-authored-by: pquentin <[email protected]>
Co-authored-by: Quentin Pradet <[email protected]>
  • Loading branch information
3 people authored Oct 2, 2024
1 parent b713478 commit 133e333
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 71 deletions.
26 changes: 9 additions & 17 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 17 additions & 35 deletions output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions specification/_json_spec/cluster.stats.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
]
},
"params": {
"flat_settings": {
"include_remotes": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
"description": "Include remote cluster data into the response (default: false)"
},
"timeout": {
"type": "time",
Expand Down
4 changes: 2 additions & 2 deletions specification/cluster/stats/ClusterStatsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ export interface Request extends RequestBase {
}
query_parameters: {
/**
* If `true`, returns settings in flat format.
* Include remote cluster data into the response
* @server_default false
*/
flat_settings?: boolean
include_remotes?: boolean
/**
* Period to wait for each node to respond.
* If a node does not respond before its timeout expires, the response does not include its stats.
Expand Down

0 comments on commit 133e333

Please sign in to comment.