Skip to content

Commit

Permalink
feat: add search response type at root result
Browse files Browse the repository at this point in the history
  • Loading branch information
boxakorolcz committed Jul 6, 2023
1 parent 728643e commit 70197f8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/responses/search_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ description: |-
allOf:
- $ref: "../attributes/search_result_collection.yml"
- properties:
type:
description: |-
Specifies the response as search result items without shared links
type: string
example: search_results_items
enum:
- search_results_items
nullable: false
entries:
description: |-
The search results for the query provided.
Expand Down
8 changes: 8 additions & 0 deletions content/responses/search_results_with_shared_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ description: |-
allOf:
- $ref: "../attributes/search_result_collection.yml"
- properties:
type:
description: |-
Specifies the response as search result items with shared links
type: string
example: search_results_with_shared_links
enum:
- search_results_with_shared_links
nullable: false
entries:
description: |-
The search results for the query provided, including the
Expand Down

0 comments on commit 70197f8

Please sign in to comment.