diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index e86f512cab..95c5e68ca4 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -241,9 +241,6 @@ { "$ref": "#/components/parameters/async_search.submit-max_concurrent_shard_requests" }, - { - "$ref": "#/components/parameters/async_search.submit-min_compatible_shard_node" - }, { "$ref": "#/components/parameters/async_search.submit-preference" }, @@ -397,9 +394,6 @@ { "$ref": "#/components/parameters/async_search.submit-max_concurrent_shard_requests" }, - { - "$ref": "#/components/parameters/async_search.submit-min_compatible_shard_node" - }, { "$ref": "#/components/parameters/async_search.submit-preference" }, @@ -49732,9 +49726,6 @@ "none" ] }, - "_types.VersionString": { - "type": "string" - }, "_types.SearchType": { "type": "string", "enum": [ @@ -59248,6 +59239,9 @@ } } }, + "_types.VersionString": { + "type": "string" + }, "cat._types.CatDatafeedColumns": { "oneOf": [ { @@ -108287,15 +108281,6 @@ }, "style": "form" }, - "async_search.submit-min_compatible_shard_node": { - "in": "query", - "name": "min_compatible_shard_node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.VersionString" - }, - "style": "form" - }, "async_search.submit-preference": { "in": "query", "name": "preference", diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 1b304f25fe..7f60c03586 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -241,9 +241,6 @@ { "$ref": "#/components/parameters/async_search.submit-max_concurrent_shard_requests" }, - { - "$ref": "#/components/parameters/async_search.submit-min_compatible_shard_node" - }, { "$ref": "#/components/parameters/async_search.submit-preference" }, @@ -397,9 +394,6 @@ { "$ref": "#/components/parameters/async_search.submit-max_concurrent_shard_requests" }, - { - "$ref": "#/components/parameters/async_search.submit-min_compatible_shard_node" - }, { "$ref": "#/components/parameters/async_search.submit-preference" }, @@ -29044,9 +29038,6 @@ "none" ] }, - "_types.VersionString": { - "type": "string" - }, "_types.SearchType": { "type": "string", "enum": [ @@ -38106,6 +38097,9 @@ } } }, + "_types.VersionString": { + "type": "string" + }, "cat._types.CatDatafeedColumns": { "oneOf": [ { @@ -65061,15 +65055,6 @@ }, "style": "form" }, - "async_search.submit-min_compatible_shard_node": { - "in": "query", - "name": "min_compatible_shard_node", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.VersionString" - }, - "style": "form" - }, "async_search.submit-preference": { "in": "query", "name": "preference", diff --git a/output/schema/schema.json b/output/schema/schema.json index 6586fb032d..b997d025a2 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -97114,17 +97114,6 @@ } } }, - { - "name": "min_compatible_shard_node", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "VersionString", - "namespace": "_types" - } - } - }, { "description": "Specify the node or shard the operation should be performed on (default: random)", "name": "preference", @@ -97445,7 +97434,7 @@ } } ], - "specLocation": "async_search/submit/AsyncSearchSubmitRequest.ts#L55-L296" + "specLocation": "async_search/submit/AsyncSearchSubmitRequest.ts#L54-L294" }, { "kind": "response", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index d9243bccb0..6570a0522e 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1,11 +1,5 @@ { "endpointErrors": { - "async_search.submit": { - "request": [ - "Request: query parameter 'min_compatible_shard_node' does not exist in the json spec" - ], - "response": [] - }, "bulk": { "request": [ "Request: missing json spec query parameter 'type'" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index f7211ba75b..b8983e67ee 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -7020,7 +7020,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase { ignore_unavailable?: boolean lenient?: boolean max_concurrent_shard_requests?: long - min_compatible_shard_node?: VersionString preference?: string request_cache?: boolean routing?: Routing diff --git a/specification/async_search/submit/AsyncSearchSubmitRequest.ts b/specification/async_search/submit/AsyncSearchSubmitRequest.ts index 356ae9398f..dc0b0b9ca6 100644 --- a/specification/async_search/submit/AsyncSearchSubmitRequest.ts +++ b/specification/async_search/submit/AsyncSearchSubmitRequest.ts @@ -27,8 +27,7 @@ import { Indices, Routing, SearchType, - SuggestMode, - VersionString + SuggestMode } from '@_types/common' import { KnnSearch } from '@_types/Knn' import { RuntimeFields } from '@_types/mapping/RuntimeFields' @@ -126,7 +125,6 @@ export interface Request extends RequestBase { ignore_unavailable?: boolean lenient?: boolean max_concurrent_shard_requests?: long - min_compatible_shard_node?: VersionString preference?: string /** @server_default true */ request_cache?: boolean