Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Update open-api.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gmourier committed Apr 21, 2022
1 parent 65dbe9a commit 4990f2a
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions open-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,9 @@ components:
limit:
type: integer
description: Number of returned documents.
nbHits:
estimatedTotalHits:
type: integer
description: Total number of candidates for this search in the database.
exhaustiveNbHits:
type: boolean
description: Whether `nbHits` is exhaustive.
description: Estimated number of candidates for the search query.
facetsDistribution:
type: object
additionalProperties:
Expand All @@ -239,9 +236,6 @@ components:
comedy: 475
mystery: 70
thriller: 217
exhaustiveFacetsCount:
type: boolean
description: Whether `facetsDistribution` is exhaustive.
processingTimeMs:
type: integer
description: Processing time of the query.
Expand All @@ -253,8 +247,7 @@ components:
- hits
- offset
- limit
- nbHits
- exhaustiveNbHits
- estimatedTotalHits
- processingTimeMs
- query
task:
Expand Down Expand Up @@ -1430,9 +1423,8 @@ paths:
length: 5
limit: 0
offset: 0
nbHits: 0
estimatedTotalHits: 0
query: string
exhaustiveNbHits: true
processingTimeMs: 0
'401':
$ref: '#/components/responses/401'
Expand Down Expand Up @@ -1559,9 +1551,8 @@ paths:
length: 5
limit: 0
offset: 0
nbHits: 0
estimatedTotalHits: 0
query: string
exhaustiveNbHits: true
processingTimeMs: 0
'401':
$ref: '#/components/responses/401'
Expand Down

0 comments on commit 4990f2a

Please sign in to comment.