invalid schema return

This commit is contained in:
Torma Kristóf 2020-03-25 02:34:13 +01:00
parent 70c07a6231
commit 5edb5d9f13
1 changed files with 9 additions and 1 deletions

View File

@ -43,7 +43,15 @@ paths:
items:
$ref: '#/components/schemas/Error'
'400':
description: Json parse error
description: JSON parse error
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Error'
'416':
description: JSON invalid schema
content:
application/json:
schema: