From 34171a0f53cf27d3c0d1ac2df89d95186daf1180 Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Tue, 5 Nov 2024 12:17:28 +0100 Subject: [PATCH] deprecating local param from alias req --- output/openapi/elasticsearch-openapi.json | 4 ++-- output/openapi/elasticsearch-serverless-openapi.json | 4 ++-- output/schema/schema-serverless.json | 12 ++++++++++-- output/schema/schema.json | 12 ++++++++++-- .../exists_alias/IndicesExistsAliasRequest.ts | 1 + .../indices/get_alias/IndicesGetAliasRequest.ts | 1 + 6 files changed, 26 insertions(+), 8 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index d5a3478711..d91601fbdd 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -95191,7 +95191,7 @@ "in": "query", "name": "local", "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, + "deprecated": true, "schema": { "type": "boolean" }, @@ -95395,7 +95395,7 @@ "in": "query", "name": "local", "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, + "deprecated": true, "schema": { "type": "boolean" }, diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 6aa4dd55dd..329890eddb 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -58591,7 +58591,7 @@ "in": "query", "name": "local", "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, + "deprecated": true, "schema": { "type": "boolean" }, @@ -58653,7 +58653,7 @@ "in": "query", "name": "local", "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, + "deprecated": true, "schema": { "type": "boolean" }, diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index ed85017d0f..aaa68fe1b8 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -21128,6 +21128,10 @@ } }, { + "deprecation": { + "description": "", + "version": "8.12.0" + }, "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, @@ -21141,7 +21145,7 @@ } } ], - "specLocation": "indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L68" + "specLocation": "indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L69" }, { "body": { @@ -21573,6 +21577,10 @@ } }, { + "deprecation": { + "description": "", + "version": "8.12.0" + }, "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, @@ -21586,7 +21594,7 @@ } } ], - "specLocation": "indices/get_alias/IndicesGetAliasRequest.ts#L23-L71" + "specLocation": "indices/get_alias/IndicesGetAliasRequest.ts#L23-L72" }, { "body": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 5615086605..36f9b8a8fe 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -129772,6 +129772,10 @@ } }, { + "deprecation": { + "description": "", + "version": "8.12.0" + }, "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, @@ -129785,7 +129789,7 @@ } } ], - "specLocation": "indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L68" + "specLocation": "indices/exists_alias/IndicesExistsAliasRequest.ts#L23-L69" }, { "kind": "response", @@ -131306,6 +131310,10 @@ } }, { + "deprecation": { + "description": "", + "version": "8.12.0" + }, "description": "If `true`, the request retrieves information from the local node only.", "name": "local", "required": false, @@ -131319,7 +131327,7 @@ } } ], - "specLocation": "indices/get_alias/IndicesGetAliasRequest.ts#L23-L71" + "specLocation": "indices/get_alias/IndicesGetAliasRequest.ts#L23-L72" }, { "kind": "response", diff --git a/specification/indices/exists_alias/IndicesExistsAliasRequest.ts b/specification/indices/exists_alias/IndicesExistsAliasRequest.ts index 4af9d5897c..0b7a6b1085 100644 --- a/specification/indices/exists_alias/IndicesExistsAliasRequest.ts +++ b/specification/indices/exists_alias/IndicesExistsAliasRequest.ts @@ -62,6 +62,7 @@ export interface Request extends RequestBase { /** * If `true`, the request retrieves information from the local node only. * @server_default false + * @deprecated 8.12.0 */ local?: boolean } diff --git a/specification/indices/get_alias/IndicesGetAliasRequest.ts b/specification/indices/get_alias/IndicesGetAliasRequest.ts index d8aed94949..a8d5ee8de5 100644 --- a/specification/indices/get_alias/IndicesGetAliasRequest.ts +++ b/specification/indices/get_alias/IndicesGetAliasRequest.ts @@ -65,6 +65,7 @@ export interface Request extends RequestBase { /** * If `true`, the request retrieves information from the local node only. * @server_default false + * @deprecated 8.12.0 */ local?: boolean }