Skip to content

Commit

Permalink
Merge branch 'main' into format-yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Nam Truong <[email protected]>
  • Loading branch information
nhtruong authored Jun 28, 2024
2 parents de6cbca + bb63d76 commit 2128acc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Added StoryValidator to validate stories before running them ([#354](https://github.com/opensearch-project/opensearch-api-specification/issues/354))
- Added support for `text/plain` responses in `_cat` APIs ([#360](https://github.com/opensearch-project/opensearch-api-specification/pull/360))
- Added support for `application/yaml` responses ([#363](https://github.com/opensearch-project/opensearch-api-specification/pull/363))
- Added test for search with seq_no_primary_term ([#367](https://github.com/opensearch-project/opensearch-api-specification/pull/367))

### Changed

Expand Down
22 changes: 22 additions & 0 deletions tests/_core/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,25 @@ chapters:
method: POST
response:
status: 200
- synopsis: Search with seq_no_primary_term.
path: /{index}/_search
parameters:
index: movies
seq_no_primary_term: true
method: POST
response:
status: 200
payload:
timed_out: false
hits:
total:
value: 1
relation: eq
hits:
- _index: movies
_source:
director: Bennett Miller
title: Moneyball
year: 2011
_seq_no: 0
_primary_term: 1

0 comments on commit 2128acc

Please sign in to comment.