Skip to content

Commit

Permalink
Fix Query DSL schemas (#813)
Browse files Browse the repository at this point in the history
* Fix Query DSL schemas

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* lint fix

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

---------

Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia authored Feb 10, 2025
1 parent b95d90e commit 22483a2
Show file tree
Hide file tree
Showing 4 changed files with 229 additions and 122 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed `/_scripts/painless/_execute` request and response schema ([#699](https://github.com/opensearch-project/opensearch-api-specification/pull/699))
- Fixed `fields` in `Hit` allowing primitive arrays ([#699](https://github.com/opensearch-project/opensearch-api-specification/pull/699))
- Fixed `hits` in `rank_eval` allowing numbers ([#704](https://github.com/opensearch-project/opensearch-api-specification/pull/704))
- Fixed query DSL schemas ([#706](https://github.com/opensearch-project/opensearch-api-specification/pull/706))
- 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))
- Fixed content-type of `GET /_plugins/_observability/_local/stats` ([#711](https://github.com/opensearch-project/opensearch-api-specification/pull/711))
- Fixed `tenant` in `ObservabilityObject` request body to not be required ([#711](https://github.com/opensearch-project/opensearch-api-specification/pull/711))
- Fixed response code in `PUT /_plugins/_rollup/jobs/{id}` ([#716](https://github.com/opensearch-project/opensearch-api-specification/pull/716))
Expand Down
7 changes: 7 additions & 0 deletions spec/namespaces/indices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2686,6 +2686,13 @@ components:
application/json:
schema:
type: object
properties:
overlapping:
type: array
items:
$ref: '../schemas/indices.simulate_template.yaml#/components/schemas/Overlapping'
template:
$ref: '../schemas/indices.simulate_template.yaml#/components/schemas/Template'
indices.simulate_template@200:
content:
application/json:
Expand Down
Loading

0 comments on commit 22483a2

Please sign in to comment.