diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-04-18 17:14:14 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-04-18 17:14:14 +0400 |
| commit | 96faf9ab96fbd35cd173ff76c02932fc22b74d9b (patch) | |
| tree | facea20b2339589f4b74f355635bf0dd74f87f7e /schemas | |
| parent | 0ad35b9b50dfaa1083f3f5acc633ec769bc10e37 (diff) | |
Added test for validating schemas
Diffstat (limited to 'schemas')
| -rw-r--r-- | schemas/post.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/schemas/post.json b/schemas/post.json index f427dd7..a7a3a36 100644 --- a/schemas/post.json +++ b/schemas/post.json @@ -6,5 +6,6 @@ "body": { "type": "string" }, "published": { "type": "boolean" } }, - "required": ["id", "title", "body", "published"] + "required": ["id", "title", "body", "published"], + "additionalProperties": false } |