OpenSearch/rest-api-spec/test/get_source/15_default_values.yaml

21 lines
342 B
YAML

---
"Default values":
- skip:
version: "0 - 0.90.0"
reason: "Get source not supported in pre 0.90.1 versions."
- do:
index:
index: test_1
type: test
id: 1
body: { "foo": "bar" }
- do:
get_source:
index: test_1
id: 1
- match: { '': { foo: bar } }