diff --git a/rest-api-spec/test/explain/10_source_filtering.yaml b/rest-api-spec/test/explain/10_source_filtering.yaml index 50e50acd4b8..d085a0332f6 100644 --- a/rest-api-spec/test/explain/10_source_filtering.yaml +++ b/rest-api-spec/test/explain/10_source_filtering.yaml @@ -9,7 +9,7 @@ index: test_1 type: test id: 1 - body: { "include": { "field1" : "v1", "field2": "v2" }, "count": 1 } + body: { "include": { "field1": "v1", "field2": "v2" }, "count": 1 } - do: indices.refresh: index: test_1 diff --git a/rest-api-spec/test/get/70_source_filtering.yaml b/rest-api-spec/test/get/70_source_filtering.yaml index 01394fcffec..4cd456d1fd6 100644 --- a/rest-api-spec/test/get/70_source_filtering.yaml +++ b/rest-api-spec/test/get/70_source_filtering.yaml @@ -9,7 +9,7 @@ index: test_1 type: test id: 1 - body: { "include": { "field1" : "v1", "field2": "v2" }, "count": 1 } + body: { "include": { "field1": "v1", "field2": "v2" }, "count": 1 } - do: get: { index: test_1, type: test, id: 1, _source: false } diff --git a/rest-api-spec/test/get_source/70_source_filtering.yaml b/rest-api-spec/test/get_source/70_source_filtering.yaml index b8658287fb5..71c36fe3f4c 100644 --- a/rest-api-spec/test/get_source/70_source_filtering.yaml +++ b/rest-api-spec/test/get_source/70_source_filtering.yaml @@ -9,7 +9,7 @@ index: test_1 type: test id: 1 - body: { "include": { "field1" : "v1", "field2": "v2" }, "count": 1 } + body: { "include": { "field1": "v1", "field2": "v2" }, "count": 1 } - do: get_source: { index: test_1, type: test, id: 1, include: include.field1 } diff --git a/rest-api-spec/test/mget/70_source_filtering.yaml b/rest-api-spec/test/mget/70_source_filtering.yaml index 6aa83be4405..af251e6121f 100644 --- a/rest-api-spec/test/mget/70_source_filtering.yaml +++ b/rest-api-spec/test/mget/70_source_filtering.yaml @@ -9,13 +9,13 @@ index: test_1 type: test id: 1 - body: { "include": { "field1" : "v1", "field2": "v2" }, "count": 1 } + body: { "include": { "field1": "v1", "field2": "v2" }, "count": 1 } - do: index: index: test_1 type: test id: 2 - body: { "include": { "field1" : "v1", "field2": "v2" }, "count": 1 } + body: { "include": { "field1": "v1", "field2": "v2" }, "count": 1 } - do: mget: body: > diff --git a/rest-api-spec/test/search/10_source_filtering.yaml b/rest-api-spec/test/search/10_source_filtering.yaml index 32a7f360fd4..a5d79bcb8ad 100644 --- a/rest-api-spec/test/search/10_source_filtering.yaml +++ b/rest-api-spec/test/search/10_source_filtering.yaml @@ -9,7 +9,7 @@ index: test_1 type: test id: 1 - body: { "include": { "field1" : "v1", "field2": "v2" }, "count": 1 } + body: { "include": { "field1": "v1", "field2": "v2" }, "count": 1 } - do: indices.refresh: