diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index cb98f10a60..a6a10af7e1 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -14094,9 +14094,6 @@ }, { "$ref": "#/components/parameters/indices.get_field_mapping#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#local" } ], "responses": { @@ -14132,9 +14129,6 @@ }, { "$ref": "#/components/parameters/indices.get_field_mapping#include_defaults" - }, - { - "$ref": "#/components/parameters/indices.get_field_mapping#local" } ], "responses": { @@ -102137,16 +102131,6 @@ }, "style": "form" }, - "indices.get_field_mapping#local": { - "in": "query", - "name": "local", - "description": "If `true`, the request retrieves information from the local node only.", - "deprecated": false, - "schema": { - "type": "boolean" - }, - "style": "form" - }, "indices.get_index_template#name": { "in": "path", "name": "name", diff --git a/output/schema/schema.json b/output/schema/schema.json index 859f6cd5c3..e80365fa80 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -137200,22 +137200,9 @@ "namespace": "_builtins" } } - }, - { - "description": "If `true`, the request retrieves information from the local node only.", - "name": "local", - "required": false, - "serverDefault": false, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "_builtins" - } - } } ], - "specLocation": "indices/get_field_mapping/IndicesGetFieldMappingRequest.ts#L23-L89" + "specLocation": "indices/get_field_mapping/IndicesGetFieldMappingRequest.ts#L23-L84" }, { "kind": "response", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 0e900b7f67..f73313118d 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -12094,7 +12094,6 @@ export interface IndicesGetFieldMappingRequest extends RequestBase { expand_wildcards?: ExpandWildcards ignore_unavailable?: boolean include_defaults?: boolean - local?: boolean } export type IndicesGetFieldMappingResponse = Record diff --git a/specification/_json_spec/indices.get_field_mapping.json b/specification/_json_spec/indices.get_field_mapping.json index a2e2f82c95..a31821134f 100644 --- a/specification/_json_spec/indices.get_field_mapping.json +++ b/specification/_json_spec/indices.get_field_mapping.json @@ -55,10 +55,6 @@ "options": ["open", "closed", "hidden", "none", "all"], "default": "open", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." - }, - "local": { - "type": "boolean", - "description": "Return local information, do not retrieve the state from master node (default: false)" } } } diff --git a/specification/indices/get_field_mapping/IndicesGetFieldMappingRequest.ts b/specification/indices/get_field_mapping/IndicesGetFieldMappingRequest.ts index 8b85bedae2..d7155b5eff 100644 --- a/specification/indices/get_field_mapping/IndicesGetFieldMappingRequest.ts +++ b/specification/indices/get_field_mapping/IndicesGetFieldMappingRequest.ts @@ -80,10 +80,5 @@ export interface Request extends RequestBase { * @server_default false */ include_defaults?: boolean - /** - * If `true`, the request retrieves information from the local node only. - * @server_default false - */ - local?: boolean } }