From afcc9d52abcbdccecadd57bfeae1b0fe744c8fe6 Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Tue, 5 Nov 2013 11:17:59 +0100 Subject: [PATCH] [API] Changed `fields` parameter to required in "Get Field Mapping" API Also reworded `include_defaults` description. --- rest-api-spec/api/indices.get_field_mapping.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/api/indices.get_field_mapping.json b/rest-api-spec/api/indices.get_field_mapping.json index 2f5a0018fd9..87ae635e7ec 100644 --- a/rest-api-spec/api/indices.get_field_mapping.json +++ b/rest-api-spec/api/indices.get_field_mapping.json @@ -16,13 +16,14 @@ }, "field": { "type" : "list", - "description" : "A comma-separated list of fields" + "description" : "A comma-separated list of fields", + "required" : true } }, "params": { "include_defaults": { "type" : "boolean", - "description" : "specifies default mapping values should be returned" + "description" : "Whether the default mapping values should be returned as well" } } },