Skip to content

Commit 519fd98

Browse files
authored
fix(specs): multiple clients fixes (#3971)
1 parent 62c2246 commit 519fd98

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

specs/abtesting/common/schemas/ABTest.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ ABTestConfiguration:
124124
$ref: '#/EmptySearch'
125125
minimumDetectableEffect:
126126
$ref: '#/MinimumDetectableEffect'
127-
required:
128-
- outliers
129127

130128
Outliers:
131129
type: object

specs/abtesting/common/schemas/Variant.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ variant:
117117
- searchCount
118118
- noResultCount
119119
- index
120-
- description
121120
- conversionCount
122121
- clickCount
123122
- addToCartCount

specs/common/schemas/SearchResponse.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ baseSearchResponse:
4444
type: boolean
4545
title: typo
4646
description: Whether the typo search was exhaustive (`true`) or approximate (`false`). An approximation is done when the typo search query part takes more than 10% of the query budget (ie. 5ms by default) to be processed (this can happen when a lot of typo alternatives exist for the query). This field will not be included when typo-tolerance is entirely disabled.
47+
appliedRules:
48+
description: Rules applied to the query.
49+
title: appliedRules
50+
type: array
51+
items:
52+
type: object
4753
exhaustiveFacetsCount:
4854
type: boolean
4955
description: See the `facetsCount` field of the `exhaustive` object in the response.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ baseGetApiKeyResponse:
109109
createdAt:
110110
$ref: '../../../../common/responses/common.yml#/createdAtTimestamp'
111111
required:
112-
- key
112+
- value
113113
- createdAt
114114

115115
addApiKeyResponse:

specs/search/paths/objects/getObjects.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ post:
6868
type: object
6969
description: Retrieved record.
7070
x-is-generic: true
71-
required:
72-
- results
7371
'400':
7472
$ref: '../../../common/responses/BadRequest.yml'
7573
'402':

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ synonymHit:
1515
example: 'synonymID'
1616
type:
1717
$ref: './parameters.yml#/SynonymType'
18-
1918
synonyms:
2019
type: array
2120
items:

0 commit comments

Comments
 (0)