Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(specs): correct searchSynonyms parameters #2595

Merged
merged 17 commits into from
Jan 23, 2024
9 changes: 6 additions & 3 deletions specs/search/paths/synonyms/searchSynonyms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ post:
description: Search for synonyms in your index. You can control and filter the search with parameters. To get all synonyms, send an empty request body.
parameters:
- $ref: '../../../common/parameters.yml#/IndexName'
- $ref: './common/parameters.yml#/Type'
- $ref: '../../../common/parameters.yml#/PageDefault0'
- $ref: '../../../common/parameters.yml#/HitsPerPage'
requestBody:
description: Body of the `searchSynonyms` operation.
content:
Expand All @@ -24,6 +21,12 @@ post:
properties:
query:
$ref: '../../../common/schemas/SearchParams.yml#/query'
type:
$ref: './common/parameters.yml#/SynonymType'
shortcuts marked this conversation as resolved.
Show resolved Hide resolved
page:
$ref: '../../../common/schemas/SearchParams.yml#/page'
hitsPerPage:
$ref: '../../../common/schemas/IndexSettings.yml#/hitsPerPage'
responses:
'200':
description: OK
Expand Down
Loading