OpenSearch/rest-api-spec/test/indices.get_field_mapping
Alexander Reelsen a3abcdc93a Consistent APIs: Get field mapping API includes 'mappings'
The get field mapping API now includes a mappings element after the index in its JSON

Added more consistent endpoint /{index}/_mapping/{type}/field/{fields}
and added endpoint /_mapping/{type}/field/{fields}
which are also used in tests

Added rest spec tests for wildcards and _all

Relates #4071

NOTE: This is not yet complete for 1.0. We need to return an empty JSON document instead
of a 404 if the field of an existing index and type is not found. However this is not
possible with the current data structure being returned. Needs to be finished for 1.0.
2014-01-14 22:42:27 +01:00
..
10_basic.yaml Consistent APIs: Get field mapping API includes 'mappings' 2014-01-14 22:42:27 +01:00
20_missing_field.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
30_missing_type.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
40_missing_index.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
50_field_wildcards.yaml Consistent APIs: Get field mapping API includes 'mappings' 2014-01-14 22:42:27 +01:00