Skip to content

Commit

Permalink
fix(specs): multiple clients fixes (#3971)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Oct 16, 2024
1 parent 62c2246 commit 519fd98
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 0 additions & 2 deletions specs/abtesting/common/schemas/ABTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ ABTestConfiguration:
$ref: '#/EmptySearch'
minimumDetectableEffect:
$ref: '#/MinimumDetectableEffect'
required:
- outliers

Outliers:
type: object
Expand Down
1 change: 0 additions & 1 deletion specs/abtesting/common/schemas/Variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ variant:
- searchCount
- noResultCount
- index
- description
- conversionCount
- clickCount
- addToCartCount
Expand Down
6 changes: 6 additions & 0 deletions specs/common/schemas/SearchResponse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ baseSearchResponse:
type: boolean
title: typo
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.
appliedRules:
description: Rules applied to the query.
title: appliedRules
type: array
items:
type: object
exhaustiveFacetsCount:
type: boolean
description: See the `facetsCount` field of the `exhaustive` object in the response.
Expand Down
2 changes: 1 addition & 1 deletion specs/search/paths/keys/common/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ baseGetApiKeyResponse:
createdAt:
$ref: '../../../../common/responses/common.yml#/createdAtTimestamp'
required:
- key
- value
- createdAt

addApiKeyResponse:
Expand Down
2 changes: 0 additions & 2 deletions specs/search/paths/objects/getObjects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ post:
type: object
description: Retrieved record.
x-is-generic: true
required:
- results
'400':
$ref: '../../../common/responses/BadRequest.yml'
'402':
Expand Down
1 change: 0 additions & 1 deletion specs/search/paths/synonyms/common/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ synonymHit:
example: 'synonymID'
type:
$ref: './parameters.yml#/SynonymType'

synonyms:
type: array
items:
Expand Down

0 comments on commit 519fd98

Please sign in to comment.