regulaforensics / DocumentReader-web-openapi

OpenAPI definitions of Regula Document Reader web application

Home Page:https://dev.regulaforensics.com/DocumentReader-web-openapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

403, 400 JSON error reports

AlexeyMetelsky opened this issue · comments

It's required to implement JSON responses for 400 and 403 error codes instead of HTML.
It may look like:

{

"type": "error",

"code": "string",

"details": "string",

"location": "string",

"moreInfo": {}

}