Skip to content

Commit 6d524a6

Browse files
committed
fix(specs): make hits required
1 parent 7650e52 commit 6d524a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

specs/search/common/schemas/SearchResponse.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ searchHits:
2626
type: array
2727
items:
2828
$ref: 'Hit.yml#/hit'
29+
required:
30+
- hits
2931

3032
baseSearchResponse:
3133
type: object
3234
additionalProperties: false
3335
required:
34-
- hits
3536
- nbHits
3637
- page
3738
- nbPages
@@ -70,7 +71,7 @@ baseSearchResponse:
7071
additionalProperties:
7172
type: object
7273
additionalProperties:
73-
type: string
74+
type: integer
7475
description: A mapping of each facet name to the corresponding facet counts.
7576
example:
7677
category:

0 commit comments

Comments
 (0)