Skip to content

fix(specs): add type: object to 3 schemas #4392

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

Merged
merged 4 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions specs/recommend/common/schemas/TrendingFacetsQuery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ trendingFacets:
type: object
properties:
facetName:
type: string
description: Facet attribute for which to retrieve trending facet values.
model:
$ref: '#/trendingFacetsModel'
Expand Down
1 change: 1 addition & 0 deletions specs/search/paths/dictionaries/common/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dictionaryType:
enum: [plurals, stopwords, compounds]

standardEntries:
type: object
description: |
Key-value pairs of [supported language ISO codes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) and boolean values.
additionalProperties: false
Expand Down
1 change: 1 addition & 0 deletions specs/search/paths/rules/common/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ consequence:
required:
- objectID
userData:
type: object
description: |
A JSON object with custom data that will be appended to the `userData` array in the response.
This object isn't interpreted by the API and is limited to 1 kB of minified JSON.
Expand Down
1 change: 1 addition & 0 deletions specs/search/paths/vault/common/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ sources:
$ref: '#/source'

source:
type: object
description: Source.
required:
- source
Expand Down