diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-12-19 02:38:15 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-12-19 02:38:15 +0100 |
| commit | b7883de47e05d0b52ea4e04440f4894a0a9032a1 (patch) | |
| tree | faee792c03a4bd456fb90588eee9ca24c88bee6c /schemas | |
| parent | 8e8a381c57298e1caa992373d1081a64d5924de6 (diff) | |
server error messages improvement
Diffstat (limited to 'schemas')
| -rw-r--r-- | schemas/openapi.yaml | 8 |
1 files changed, 6 insertions, 2 deletions
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 ... |
