diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 002686b086..71c0950230 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -17030,6 +17030,9 @@ "parameters": [ { "$ref": "#/components/parameters/search_application.search#name" + }, + { + "$ref": "#/components/parameters/search_application.search#typed_keys" } ], "requestBody": { @@ -17054,6 +17057,9 @@ "parameters": [ { "$ref": "#/components/parameters/search_application.search#name" + }, + { + "$ref": "#/components/parameters/search_application.search#typed_keys" } ], "requestBody": { @@ -26896,6 +26902,16 @@ }, "style": "simple" }, + "search_application.search#typed_keys": { + "in": "query", + "name": "typed_keys", + "description": "Determines whether aggregation names are prefixed by their respective types in the response.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "search_mvt#index": { "in": "path", "name": "index", diff --git a/output/schema/schema.json b/output/schema/schema.json index 96b44dba4d..47b02297b2 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -177473,8 +177473,29 @@ } } ], - "query": [], - "specLocation": "search_application/search/SearchApplicationsSearchRequest.ts#L24-L43" + "query": [ + { + "availability": { + "serverless": {}, + "stack": { + "since": "8.14.0" + } + }, + "description": "Determines whether aggregation names are prefixed by their respective types in the response.", + "name": "typed_keys", + "required": false, + "serverDefault": false, + "since": "8.14.0", + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + } + ], + "specLocation": "search_application/search/SearchApplicationsSearchRequest.ts#L24-L52" }, { "body": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 59d1384740..ed6840e0d5 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -16651,6 +16651,7 @@ export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationP export interface SearchApplicationSearchRequest extends RequestBase { name: Name + typed_keys?: boolean body?: { params?: Record } diff --git a/specification/search_application/search/SearchApplicationsSearchRequest.ts b/specification/search_application/search/SearchApplicationsSearchRequest.ts index dbfadaaea0..d258bac5d2 100644 --- a/specification/search_application/search/SearchApplicationsSearchRequest.ts +++ b/specification/search_application/search/SearchApplicationsSearchRequest.ts @@ -34,6 +34,15 @@ export interface Request extends RequestBase { */ name: Name } + query_parameters: { + /** + * Determines whether aggregation names are prefixed by their respective types in the response. + * @server_default false + * @availability stack since=8.14.0 + * @availability serverless + */ + typed_keys?: boolean + } body: { /** * Query parameters specific to this request, which will override any defaults specified in the template.