Skip to content

Commit

Permalink
Test using common schema descriptions for repeated query parameters (#…
Browse files Browse the repository at this point in the history
…791)

* Add asynchronous search descriptions.

Signed-off-by: Archer <[email protected]>

* Apply suggestions from code review

Co-authored-by: Nathan Bower <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>

* Streamline formatting.

Signed-off-by: Archer <[email protected]>

* Test using common descriptions for repeated query parameters.

Signed-off-by: Archer <[email protected]>

* Make async search match main

Signed-off-by: Naarcha-AWS <[email protected]>

---------

Signed-off-by: Archer <[email protected]>
Signed-off-by: Naarcha-AWS <[email protected]>
Co-authored-by: Nathan Bower <[email protected]>
  • Loading branch information
Naarcha-AWS and natebower authored Jan 15, 2025
1 parent 362261b commit 1681adc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions spec/namespaces/_core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3613,10 +3613,6 @@ components:
count::query.expand_wildcards:
in: query
name: expand_wildcards
description: |-
Type of index that wildcard patterns can match.
If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams.
Supports comma-separated values, such as `open,hidden`.
schema:
$ref: '../schemas/_common.yaml#/components/schemas/ExpandWildcards'
style: form
Expand Down
1 change: 1 addition & 0 deletions spec/schemas/_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ components:
items:
$ref: '#/components/schemas/Field'
ExpandWildcards:
description: Specifies the type of index that wildcard expressions can match. Supports comma-separated values.
oneOf:
- $ref: '#/components/schemas/ExpandWildcard'
- type: array
Expand Down

0 comments on commit 1681adc

Please sign in to comment.