diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json index 8609eb6cf93af..19b3ac54769cc 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json @@ -65,10 +65,6 @@ ], "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/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yml b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yml index b077cbe98b28b..f19f315edb514 100644 --- a/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yml +++ b/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yml @@ -50,17 +50,3 @@ setup: - match: {test_index.mappings.text.mapping.text.type: text} - match: {test_index.mappings.text.mapping.text.analyzer: default} - ---- -"Get field mapping with local parameter should fail": - - - requires: - test_runner_features: ["warnings"] - cluster_features: ["gte_v8.0.0"] - reason: "local parameter for get field mapping API was allowed before v8" - - - do: - catch: bad_request - indices.get_field_mapping: - fields: text - local: true