Skip to content

Commit 50a9aee

Browse files
feat: add hits field to MultiSearchResult and update schemas in generator files (#216)
1 parent 452c429 commit 50a9aee

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

typesense/api/generator/generator.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,10 @@ components:
10751075
items:
10761076
$ref: '#/components/schemas/MultiSearchResultItem'
10771077
type: array
1078+
hits:
1079+
items:
1080+
$ref: '#/components/schemas/SearchResultHit'
1081+
type: array
10781082
required:
10791083
- results
10801084
type: object

typesense/api/generator/openapi.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3043,6 +3043,10 @@ components:
30433043
$ref: "#/components/schemas/MultiSearchResultItem"
30443044
conversation:
30453045
$ref: "#/components/schemas/SearchResultConversation"
3046+
hits:
3047+
items:
3048+
$ref: '#/components/schemas/SearchResultHit'
3049+
type: array
30463050
MultiSearchResultItem:
30473051
allOf:
30483052
- $ref: "#/components/schemas/SearchResult"

typesense/api/types_gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)