Skip to content

Commit b79a40c

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 8251ab0 commit b79a40c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

output/schema/validation-errors.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"cluster.put_component_template": {
1717
"request": [
18-
"Request: missing json spec query parameter 'timeout'"
18+
"Request: missing json spec query parameter 'cause'"
1919
],
2020
"response": []
2121
},

specification/_json_spec/cluster.put_component_template.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
"description": "Whether the index template should only be added if new or can also replace an existing one",
3131
"default": false
3232
},
33-
"timeout": {
34-
"type": "time",
35-
"description": "Explicit operation timeout"
33+
"cause": {
34+
"type": "string",
35+
"description": "User defined reason for create the component template",
36+
"default": "api"
3637
},
3738
"master_timeout": {
3839
"type": "time",

0 commit comments

Comments
 (0)