Skip to content

Commit 1fc197e

Browse files
authored
Add missing cause to cluster.put_component_template (#4795)
1 parent a03b4d3 commit 1fc197e

File tree

6 files changed

+52
-7
lines changed

6 files changed

+52
-7
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 16 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: 16 additions & 0 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: 14 additions & 1 deletion
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: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
],
1414
"response": []
1515
},
16-
"cluster.put_component_template": {
17-
"request": [
18-
"Request: missing json spec query parameter 'cause'"
19-
],
20-
"response": []
21-
},
2216
"create": {
2317
"request": [
2418
"Request: query parameter 'if_primary_term' does not exist in the json spec",

output/typescript/types.ts

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

specification/cluster/put_component_template/ClusterPutComponentTemplateRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ export interface Request extends RequestBase {
7272
* If `true`, this request cannot replace or update existing component templates.
7373
* @server_default false */
7474
create?: boolean
75+
/**
76+
* User defined reason for create the component template.
77+
* @server_default api
78+
*/
79+
cause?: string
7580
/**
7681
* Period to wait for a connection to the master node.
7782
* If no response is received before the timeout expires, the request fails and returns an error.

0 commit comments

Comments
 (0)