Skip to content

Commit fa2cdcf

Browse files
committed
fix(specs): add type: object to 3 schemas
Explicit is better than implicit, so this commit adds `type: object` to 3 schemas standardEntries, userData, and source.
1 parent 811a45f commit fa2cdcf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

specs/search/paths/rules/common/schemas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ consequence:
121121
required:
122122
- objectID
123123
userData:
124+
type: object
124125
description: |
125126
A JSON object with custom data that will be appended to the `userData` array in the response.
126127
This object isn't interpreted by the API and is limited to 1 kB of minified JSON.

specs/search/paths/vault/common/schemas.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sources:
55
$ref: '#/source'
66

77
source:
8+
type: object
89
description: Source.
910
required:
1011
- source

0 commit comments

Comments
 (0)