redocly-cli
redocly-cli copied to clipboard
`problem-details-rfc7807` built-in rule
Is your feature request related to a problem? Please describe.
This is a common format. It would be good to enforce this with a single line in the .redocly.yaml file.
Describe the solution you'd like
problem-details-rfc7807: error
Enforcing a specific shape of the response for 4xx errors, such as following the application/problem+json https://datatracker.ietf.org/doc/html/rfc7807 format.
Describe alternatives you've considered None
Additional context None