Skip to content

Commit f55e50f

Browse files
committed
chore: more fixes
1 parent 1ff693d commit f55e50f

File tree

8 files changed

+8
-10
lines changed

8 files changed

+8
-10
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/bundled/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

specs/common/schemas/CustomRequest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Responses:
1414
application/json:
1515
schema:
1616
type: object
17+
x-is-generic: true
1718
'400':
1819
$ref: '../responses/BadRequest.yml'
1920
'402':

specs/common/schemas/SearchResponse.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ 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+
title: appliedRules
49+
type: array
50+
items:
51+
additionalProperties: true
4752
exhaustiveFacetsCount:
4853
type: boolean
4954
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/object.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ get:
3535
schema:
3636
type: object
3737
description: The requested record.
38+
x-is-generic: true
3839
'400':
3940
$ref: '../../../common/responses/BadRequest.yml'
4041
'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)