diff --git a/output/schema/schema.json b/output/schema/schema.json index ebe0d172c1..4fc4eb1d1e 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -5222,7 +5222,9 @@ "name": "Response", "namespace": "esql.get_query" }, - "responseMediaType": [], + "responseMediaType": [ + "application/json" + ], "urls": [ { "methods": [ diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 829c2c8dc3..9c0506bd46 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -15,7 +15,7 @@ }, "cluster.put_component_template": { "request": [ - "Request: missing json spec query parameter 'timeout'" + "Request: missing json spec query parameter 'cause'" ], "response": [] }, diff --git a/specification/_json_spec/cluster.put_component_template.json b/specification/_json_spec/cluster.put_component_template.json index eed8da7344..a6ed996756 100644 --- a/specification/_json_spec/cluster.put_component_template.json +++ b/specification/_json_spec/cluster.put_component_template.json @@ -30,9 +30,10 @@ "description": "Whether the index template should only be added if new or can also replace an existing one", "default": false }, - "timeout": { - "type": "time", - "description": "Explicit operation timeout" + "cause": { + "type": "string", + "description": "User defined reason for create the component template", + "default": "api" }, "master_timeout": { "type": "time", diff --git a/specification/_json_spec/esql.get_query.json b/specification/_json_spec/esql.get_query.json index f0a2085495..3d5542e7ff 100644 --- a/specification/_json_spec/esql.get_query.json +++ b/specification/_json_spec/esql.get_query.json @@ -7,7 +7,7 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [], + "accept": ["application/json"], "content_type": ["application/json"] }, "url": {