mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 21:18:31 +00:00
This fix ensures that calls to the GET alias/mappings/settings/warmers APIs return the aliases/mappings/settings/warmers object even if there is no content within them.. This make them consistent with the GET Index API docs and the breaking changes in 1.4 docs Closes #9148
20 lines
288 B
YAML
20 lines
288 B
YAML
---
|
|
setup:
|
|
|
|
- do:
|
|
indices.create:
|
|
index: test_1
|
|
|
|
- do:
|
|
indices.create:
|
|
index: test_2
|
|
|
|
---
|
|
"Check empty mapping when getting all mappings via /_mapping":
|
|
|
|
- do:
|
|
indices.get_mapping: {}
|
|
|
|
- match: { test_1.mappings: {}}
|
|
- match: { test_2.mappings: {}}
|