Skip to content

Commit 872a965

Browse files
authored
fix(specs): add type: object to 3 schemas (#4392)
1 parent 17592e5 commit 872a965

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

specs/recommend/common/schemas/TrendingFacetsQuery.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ trendingFacets:
88
type: object
99
properties:
1010
facetName:
11+
type: string
1112
description: Facet attribute for which to retrieve trending facet values.
1213
model:
1314
$ref: '#/trendingFacetsModel'

specs/search/paths/dictionaries/common/parameters.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dictionaryType:
1212
enum: [plurals, stopwords, compounds]
1313

1414
standardEntries:
15+
type: object
1516
description: |
1617
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.
1718
additionalProperties: false

specs/search/paths/rules/common/schemas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ consequence:
121121
required:
122122
- objectID
123123
userData:
124+
type: object
124125
description: |
125126
A JSON object with custom data that will be appended to the `userData` array in the response.
126127
This object isn't interpreted by the API and is limited to 1 kB of minified JSON.

specs/search/paths/vault/common/schemas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sources:
55
$ref: '#/source'
66

77
source:
8+
type: object
89
description: Source.
910
required:
1011
- source

0 commit comments

Comments
 (0)