From 5edb5d9f1342d789649e4f7bf482c5f9fc466b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 25 Mar 2020 02:34:13 +0100 Subject: [PATCH] invalid schema return --- input.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/input.yml b/input.yml index f1d06f4..ef8f163 100644 --- a/input.yml +++ b/input.yml @@ -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: