redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

`problem-details-rfc7807` built-in rule

Open adamaltman opened this issue 4 years ago • 0 comments

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

adamaltman avatar Oct 07 '21 04:10 adamaltman