From 2d2db39c8d252dfe1752b1862f3b5e0080c4557c Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Fri, 6 Dec 2024 13:36:42 +0100 Subject: [PATCH] removed deprecated params --- output/openapi/elasticsearch-openapi.json | 16 ----- .../elasticsearch-serverless-openapi.json | 16 ----- output/schema/schema-serverless.json | 70 ++----------------- output/schema/schema.json | 70 ++----------------- output/typescript/types.ts | 4 -- specification/_types/common.ts | 19 ----- 6 files changed, 10 insertions(+), 185 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 83cb638426..7b0e3e5757 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -74384,14 +74384,6 @@ "expand_wildcards": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, - "exclude": { - "deprecated": true, - "type": "string" - }, - "failure_store": { - "deprecated": true, - "type": "string" - }, "ignore_unavailable": { "description": "If true, missing or closed indices are not included in the response.", "type": "boolean" @@ -74399,14 +74391,6 @@ "ignore_throttled": { "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", "type": "boolean" - }, - "include": { - "deprecated": true, - "type": "string" - }, - "only": { - "deprecated": true, - "type": "string" } } }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index a4e9fb1bbc..13cbbaf86d 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -49795,14 +49795,6 @@ "expand_wildcards": { "$ref": "#/components/schemas/_types:ExpandWildcards" }, - "exclude": { - "deprecated": true, - "type": "string" - }, - "failure_store": { - "deprecated": true, - "type": "string" - }, "ignore_unavailable": { "description": "If true, missing or closed indices are not included in the response.", "type": "boolean" @@ -49810,14 +49802,6 @@ "ignore_throttled": { "description": "If true, concrete, expanded or aliased indices are ignored when frozen.", "type": "boolean" - }, - "include": { - "deprecated": true, - "type": "string" - }, - "only": { - "deprecated": true, - "type": "string" } } }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index f0ef748ccc..eb4df17883 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -76505,7 +76505,7 @@ "name": "ClusterInfoTarget", "namespace": "_types" }, - "specLocation": "_types/common.ts#L401-L407" + "specLocation": "_types/common.ts#L382-L388" }, { "kind": "type_alias", @@ -76513,7 +76513,7 @@ "name": "ClusterInfoTargets", "namespace": "_types" }, - "specLocation": "_types/common.ts#L409-L409", + "specLocation": "_types/common.ts#L390-L390", "type": { "items": [ { @@ -77434,7 +77434,7 @@ "name": "Slices", "namespace": "_types" }, - "specLocation": "_types/common.ts#L384-L389", + "specLocation": "_types/common.ts#L365-L370", "type": { "items": [ { @@ -77467,7 +77467,7 @@ "name": "SlicesCalculation", "namespace": "_types" }, - "specLocation": "_types/common.ts#L391-L399" + "specLocation": "_types/common.ts#L372-L380" }, { "kind": "type_alias", @@ -130901,36 +130901,6 @@ } } }, - { - "deprecation": { - "description": "this value will be replaced by the selector `::*` on the expression level.", - "version": "8.16.0" - }, - "name": "exclude", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, - { - "deprecation": { - "description": "this query param will be replaced by the selector `::` on the expression level.", - "version": "8.16.0" - }, - "name": "failure_store", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", @@ -130956,39 +130926,9 @@ "namespace": "_builtins" } } - }, - { - "deprecation": { - "description": "this value will be replaced by the selector `::*` on the expression level.", - "version": "8.16.0" - }, - "name": "include", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, - { - "deprecation": { - "description": "this value will be replaced by the selector `::*` on the expression level.", - "version": "8.16.0" - }, - "name": "only", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } } ], - "specLocation": "_types/common.ts#L336-L382" + "specLocation": "_types/common.ts#L336-L363" }, { "kind": "interface", diff --git a/output/schema/schema.json b/output/schema/schema.json index af9d3faf42..3aa909e3af 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -43128,7 +43128,7 @@ "name": "ClusterInfoTarget", "namespace": "_types" }, - "specLocation": "_types/common.ts#L401-L407" + "specLocation": "_types/common.ts#L382-L388" }, { "kind": "type_alias", @@ -43136,7 +43136,7 @@ "name": "ClusterInfoTargets", "namespace": "_types" }, - "specLocation": "_types/common.ts#L409-L409", + "specLocation": "_types/common.ts#L390-L390", "type": { "kind": "union_of", "items": [ @@ -45709,36 +45709,6 @@ } } }, - { - "deprecation": { - "description": "this value will be replaced by the selector `::*` on the expression level.", - "version": "8.16.0" - }, - "name": "exclude", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, - { - "deprecation": { - "description": "this query param will be replaced by the selector `::` on the expression level.", - "version": "8.16.0" - }, - "name": "failure_store", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", @@ -45764,39 +45734,9 @@ "namespace": "_builtins" } } - }, - { - "deprecation": { - "description": "this value will be replaced by the selector `::*` on the expression level.", - "version": "8.16.0" - }, - "name": "include", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } - }, - { - "deprecation": { - "description": "this value will be replaced by the selector `::*` on the expression level.", - "version": "8.16.0" - }, - "name": "only", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - } } ], - "specLocation": "_types/common.ts#L336-L382" + "specLocation": "_types/common.ts#L336-L363" }, { "kind": "interface", @@ -49566,7 +49506,7 @@ "name": "Slices", "namespace": "_types" }, - "specLocation": "_types/common.ts#L384-L389", + "specLocation": "_types/common.ts#L365-L370", "type": { "kind": "union_of", "items": [ @@ -49599,7 +49539,7 @@ "name": "SlicesCalculation", "namespace": "_types" }, - "specLocation": "_types/common.ts#L391-L399" + "specLocation": "_types/common.ts#L372-L380" }, { "kind": "type_alias", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index fdaeff79e7..ad642b0f16 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -2468,12 +2468,8 @@ export type Indices = IndexName | IndexName[] export interface IndicesOptions { allow_no_indices?: boolean expand_wildcards?: ExpandWildcards - exclude?: string - failure_store?: string ignore_unavailable?: boolean ignore_throttled?: boolean - include?: string - only?: string } export interface IndicesResponseBase extends AcknowledgedResponseBase { diff --git a/specification/_types/common.ts b/specification/_types/common.ts index 8cf2000dfd..33edc9911c 100644 --- a/specification/_types/common.ts +++ b/specification/_types/common.ts @@ -350,16 +350,6 @@ export class IndicesOptions { * such as `open,hidden`. */ expand_wildcards?: ExpandWildcards - - /** - * @deprecated 8.16.0 this value will be replaced by the selector `::*` on the expression level. - */ - exclude?: string - - /** - * @deprecated 8.16.0 this query param will be replaced by the selector `::` on the expression level. - */ - failure_store?: string /** * If true, missing or closed indices are not included in the response. * @server_default false @@ -370,15 +360,6 @@ export class IndicesOptions { * @server_default true */ ignore_throttled?: boolean - /** - * @deprecated 8.16.0 this value will be replaced by the selector `::*` on the expression level. - */ - include?: string - - /** - * @deprecated 8.16.0 this value will be replaced by the selector `::*` on the expression level. - */ - only?: string } /**