Skip to content

Commit 22483a2

Browse files
authored
Fix Query DSL schemas (#813)
* Fix Query DSL schemas Signed-off-by: Thomas Farr <[email protected]> * lint fix Signed-off-by: Thomas Farr <[email protected]> --------- Signed-off-by: Thomas Farr <[email protected]>
1 parent b95d90e commit 22483a2

File tree

4 files changed

+229
-122
lines changed

4 files changed

+229
-122
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
8888
- Fixed `/_scripts/painless/_execute` request and response schema ([#699](https://github.com/opensearch-project/opensearch-api-specification/pull/699))
8989
- Fixed `fields` in `Hit` allowing primitive arrays ([#699](https://github.com/opensearch-project/opensearch-api-specification/pull/699))
9090
- Fixed `hits` in `rank_eval` allowing numbers ([#704](https://github.com/opensearch-project/opensearch-api-specification/pull/704))
91-
- Fixed query DSL schemas ([#706](https://github.com/opensearch-project/opensearch-api-specification/pull/706))
91+
- Fixed query DSL schemas ([#706](https://github.com/opensearch-project/opensearch-api-specification/pull/706), [#813](https://github.com/opensearch-project/opensearch-api-specification/pull/813))
9292
- Fixed content-type of `GET /_plugins/_observability/_local/stats` ([#711](https://github.com/opensearch-project/opensearch-api-specification/pull/711))
9393
- Fixed `tenant` in `ObservabilityObject` request body to not be required ([#711](https://github.com/opensearch-project/opensearch-api-specification/pull/711))
9494
- Fixed response code in `PUT /_plugins/_rollup/jobs/{id}` ([#716](https://github.com/opensearch-project/opensearch-api-specification/pull/716))

spec/namespaces/indices.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -2686,6 +2686,13 @@ components:
26862686
application/json:
26872687
schema:
26882688
type: object
2689+
properties:
2690+
overlapping:
2691+
type: array
2692+
items:
2693+
$ref: '../schemas/indices.simulate_template.yaml#/components/schemas/Overlapping'
2694+
template:
2695+
$ref: '../schemas/indices.simulate_template.yaml#/components/schemas/Template'
26892696
indices.simulate_template@200:
26902697
content:
26912698
application/json:

0 commit comments

Comments
 (0)