Skip to content

Commit

Permalink
fix: mark type as required in search results
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagmajer committed Sep 14, 2023
1 parent 670b89d commit afb1cb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/responses/search_results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ x-box-tag: search
description: |-
A list of files, folders and web links that matched the search query.
required:
- type

allOf:
- $ref: "../attributes/search_result_collection.yml"
- properties:
Expand Down
3 changes: 3 additions & 0 deletions content/responses/search_results_with_shared_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ description: |-
This response format is only returned when the `include_recent_shared_links`
query parameter has been set to `true`.
required:
- type

allOf:
- $ref: "../attributes/search_result_collection.yml"
- properties:
Expand Down

0 comments on commit afb1cb4

Please sign in to comment.