Skip to content

Commit 991b132

Browse files
committed
Add missing cause to cluster.put_component_template (#4795)
(cherry picked from commit 1fc197e) # Conflicts: # output/schema/validation-errors.json
1 parent b587a99 commit 991b132

File tree

6 files changed

+53
-1
lines changed

6 files changed

+53
-1
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
},
173173
"cluster.put_component_template": {
174174
"request": [
175+
"Request: query parameter 'cause' does not exist in the json spec",
175176
"Request: missing json spec query parameter 'timeout'"
176177
],
177178
"response": []

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)