diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 3143ff6379..d8cdf98c9b 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -15635,7 +15635,7 @@ "indices" ], "summary": "Check index templates", - "description": "Check whether index templates exist.", + "description": "Check whether index templates exist.\n\n## Required authorization\n\n* Cluster privileges: `manage_index_templates`\n", "operationId": "indices-exists-index-template", "parameters": [ { diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 642b993ae7..7f2fec3fdb 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -8361,7 +8361,7 @@ "indices" ], "summary": "Check index templates", - "description": "Check whether index templates exist.", + "description": "Check whether index templates exist.\n\n## Required authorization\n\n* Cluster privileges: `manage_index_templates`\n", "operationId": "indices-exists-index-template", "parameters": [ { diff --git a/output/schema/schema.json b/output/schema/schema.json index bfff8e6cfc..cf27c25430 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -7337,6 +7337,11 @@ "docId": "index-templates-exist", "docUrl": "https://www.elastic.co/docs/api/doc/elasticsearch/v9/operation/operation-indices-exists-index-template", "name": "indices.exists_index_template", + "privileges": { + "cluster": [ + "manage_index_templates" + ] + }, "request": { "name": "Request", "namespace": "indices.exists_index_template" @@ -150409,7 +150414,7 @@ } } ], - "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L61" + "specLocation": "indices/exists_index_template/IndicesExistsIndexTemplateRequest.ts#L24-L62" }, { "kind": "response", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 9e0795aa23..7ef79abf8c 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -41,12 +41,6 @@ ], "response": [] }, - "search_mvt": { - "request": [ - "Request: query parameter 'grid_agg' does not exist in the json spec" - ], - "response": [] - }, "searchable_snapshots.clear_cache": { "request": [ "Request: missing json spec query parameter 'index'" diff --git a/specification/_json_spec/search_mvt.json b/specification/_json_spec/search_mvt.json index 9dc7676d73..36a98c3fd3 100644 --- a/specification/_json_spec/search_mvt.json +++ b/specification/_json_spec/search_mvt.json @@ -62,6 +62,12 @@ "description": "Determines the geometry type for features in the aggs layer.", "default": "grid" }, + "grid_agg": { + "type": "enum", + "options": ["geotile", "geohex"], + "description": "Aggregation used to create a grid for `field`.", + "default": "geotile" + }, "size": { "type": "int", "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.",