Skip to content

Commit

Permalink
added missing master timeout (#3252)
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta authored Dec 5, 2024
1 parent 43d3f4a commit 5485843
Show file tree
Hide file tree
Showing 8 changed files with 160 additions and 4 deletions.
38 changes: 38 additions & 0 deletions output/openapi/elasticsearch-openapi.json

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

38 changes: 38 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

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

30 changes: 28 additions & 2 deletions output/schema/schema-serverless.json

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

30 changes: 28 additions & 2 deletions output/schema/schema.json

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

12 changes: 12 additions & 0 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,12 @@
],
"response": []
},
"indices.exists_alias": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec"
],
"response": []
},
"indices.exists_index_template": {
"request": [
"Request: missing json spec query parameter 'flat_settings'",
Expand All @@ -723,6 +729,12 @@
],
"response": []
},
"indices.get_alias": {
"request": [
"Request: query parameter 'master_timeout' does not exist in the json spec"
],
"response": []
},
"indices.put_settings": {
"request": [
"Request: missing json spec query parameter 'reopen'"
Expand Down
2 changes: 2 additions & 0 deletions output/typescript/types.ts

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

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import { RequestBase } from '@_types/Base'
import { ExpandWildcards, Indices, Names } from '@_types/common'
import { Duration } from '@_types/Time'

/**
* Check aliases.
Expand Down Expand Up @@ -59,5 +60,11 @@ export interface Request extends RequestBase {
* @server_default false
*/
ignore_unavailable?: boolean
/**
* Period to wait for a connection to the master node.
* If no response is received before the timeout expires, the request fails and returns an error.
* @server_default 30s
*/
master_timeout?: Duration
}
}
7 changes: 7 additions & 0 deletions specification/indices/get_alias/IndicesGetAliasRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import { RequestBase } from '@_types/Base'
import { ExpandWildcards, Indices, Names } from '@_types/common'
import { Duration } from '@_types/Time'

/**
* Get aliases.
Expand Down Expand Up @@ -62,5 +63,11 @@ export interface Request extends RequestBase {
* @server_default false
*/
ignore_unavailable?: boolean
/**
* Period to wait for a connection to the master node.
* If no response is received before the timeout expires, the request fails and returns an error.
* @server_default 30s
*/
master_timeout?: Duration
}
}

0 comments on commit 5485843

Please sign in to comment.