From b7883de47e05d0b52ea4e04440f4894a0a9032a1 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sun, 19 Dec 2021 02:38:15 +0100 Subject: server error messages improvement --- schemas/openapi.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'schemas/openapi.yaml') diff --git a/schemas/openapi.yaml b/schemas/openapi.yaml index ecc9390..0a45bb7 100644 --- a/schemas/openapi.yaml +++ b/schemas/openapi.yaml @@ -26,7 +26,9 @@ paths: schema: "$ref": "opcut.yaml#/definitions/result" default: - description: error + content: + text/plain: + description: error message '/generate_output': post: parameters: @@ -51,5 +53,7 @@ paths: application/pdf: {} image/svg+xml: {} default: - description: error + content: + text/plain: + description: error message ... -- cgit v1.2.3-70-g09d2