Skip to content

Commit 5485843

Browse files
authored
added missing master timeout (#3252)
1 parent 43d3f4a commit 5485843

File tree

8 files changed

+160
-4
lines changed

8 files changed

+160
-4
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,12 @@
708708
],
709709
"response": []
710710
},
711+
"indices.exists_alias": {
712+
"request": [
713+
"Request: query parameter 'master_timeout' does not exist in the json spec"
714+
],
715+
"response": []
716+
},
711717
"indices.exists_index_template": {
712718
"request": [
713719
"Request: missing json spec query parameter 'flat_settings'",
@@ -723,6 +729,12 @@
723729
],
724730
"response": []
725731
},
732+
"indices.get_alias": {
733+
"request": [
734+
"Request: query parameter 'master_timeout' does not exist in the json spec"
735+
],
736+
"response": []
737+
},
726738
"indices.put_settings": {
727739
"request": [
728740
"Request: missing json spec query parameter 'reopen'"

output/typescript/types.ts

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/indices/exists_alias/IndicesExistsAliasRequest.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import { RequestBase } from '@_types/Base'
2121
import { ExpandWildcards, Indices, Names } from '@_types/common'
22+
import { Duration } from '@_types/Time'
2223

2324
/**
2425
* Check aliases.
@@ -59,5 +60,11 @@ export interface Request extends RequestBase {
5960
* @server_default false
6061
*/
6162
ignore_unavailable?: boolean
63+
/**
64+
* Period to wait for a connection to the master node.
65+
* If no response is received before the timeout expires, the request fails and returns an error.
66+
* @server_default 30s
67+
*/
68+
master_timeout?: Duration
6269
}
6370
}

specification/indices/get_alias/IndicesGetAliasRequest.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import { RequestBase } from '@_types/Base'
2121
import { ExpandWildcards, Indices, Names } from '@_types/common'
22+
import { Duration } from '@_types/Time'
2223

2324
/**
2425
* Get aliases.
@@ -62,5 +63,11 @@ export interface Request extends RequestBase {
6263
* @server_default false
6364
*/
6465
ignore_unavailable?: boolean
66+
/**
67+
* Period to wait for a connection to the master node.
68+
* If no response is received before the timeout expires, the request fails and returns an error.
69+
* @server_default 30s
70+
*/
71+
master_timeout?: Duration
6572
}
6673
}

0 commit comments

Comments
 (0)