diff --git a/specs/abtesting/common/schemas/ABTest.yml b/specs/abtesting/common/schemas/ABTest.yml index 6e0707f987..6ef7f73ba4 100644 --- a/specs/abtesting/common/schemas/ABTest.yml +++ b/specs/abtesting/common/schemas/ABTest.yml @@ -124,8 +124,6 @@ ABTestConfiguration: $ref: '#/EmptySearch' minimumDetectableEffect: $ref: '#/MinimumDetectableEffect' - required: - - outliers Outliers: type: object diff --git a/specs/abtesting/common/schemas/Variant.yml b/specs/abtesting/common/schemas/Variant.yml index bdd97a7971..7d9f6e3d00 100644 --- a/specs/abtesting/common/schemas/Variant.yml +++ b/specs/abtesting/common/schemas/Variant.yml @@ -117,7 +117,6 @@ variant: - searchCount - noResultCount - index - - description - conversionCount - clickCount - addToCartCount diff --git a/specs/common/schemas/SearchResponse.yml b/specs/common/schemas/SearchResponse.yml index 11d3eb3252..9f35e15346 100644 --- a/specs/common/schemas/SearchResponse.yml +++ b/specs/common/schemas/SearchResponse.yml @@ -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. diff --git a/specs/search/paths/keys/common/schemas.yml b/specs/search/paths/keys/common/schemas.yml index f75475e8f3..12d42e97d2 100644 --- a/specs/search/paths/keys/common/schemas.yml +++ b/specs/search/paths/keys/common/schemas.yml @@ -109,7 +109,7 @@ baseGetApiKeyResponse: createdAt: $ref: '../../../../common/responses/common.yml#/createdAtTimestamp' required: - - key + - value - createdAt addApiKeyResponse: diff --git a/specs/search/paths/objects/getObjects.yml b/specs/search/paths/objects/getObjects.yml index ece7e937a6..f9a575fa23 100644 --- a/specs/search/paths/objects/getObjects.yml +++ b/specs/search/paths/objects/getObjects.yml @@ -68,8 +68,6 @@ post: type: object description: Retrieved record. x-is-generic: true - required: - - results '400': $ref: '../../../common/responses/BadRequest.yml' '402': diff --git a/specs/search/paths/synonyms/common/schemas.yml b/specs/search/paths/synonyms/common/schemas.yml index e03a5aa353..8595d09940 100644 --- a/specs/search/paths/synonyms/common/schemas.yml +++ b/specs/search/paths/synonyms/common/schemas.yml @@ -15,7 +15,6 @@ synonymHit: example: 'synonymID' type: $ref: './parameters.yml#/SynonymType' - synonyms: type: array items: