You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
responses:
...default:
description: error occurred - see status code and problem object for more information.content:
"application/problem+json":
schema:
$ref: 'https://opensource.zalando.com/restful-api-guidelines/models/problem-1.0.1.yaml#/Problem'
This leads to:
MAY – Specify Success and Error Responses
problem json has to be used as default response (https://zalando.github.io/problem/schema.yaml#/Problem)
Rule: https://zalando.github.io/restful-api-guidelines/#151
Location: paths > /pdfs > post > responses > default > content > application/problem+json
Substituting the ref resolves the problem:
responses:
...default:
description: error occurred - see status code and problem object for more information.content:
application/problem+json:
schema:
$ref: 'https://zalando.github.io/problem/schema.yaml#/Problem'
Either the reference from the guidelines should be accepted or the guideline should be adapted to show the "acceptable" URL.
The text was updated successfully, but these errors were encountered:
https://opensource.zalando.com/restful-api-guidelines/#151 provides this example for the default:
This leads to:
Substituting the ref resolves the problem:
Either the reference from the guidelines should be accepted or the guideline should be adapted to show the "acceptable" URL.
The text was updated successfully, but these errors were encountered: