-
My API has a default validation error that is overridden by my own definition. It is defined in a way using For a normal response (status 200), I know that the response content is validated by using But how can I validate the default validation error as well as the normal response? I put In my opinion, the auto-generated openapi may not match the actual API specification, since validation errors are not handled in the View. My desire is to have the auto-generated openapi and the error response returned by the API match exactly at the code level. I believe this will ensure accurate documentation. I am a native Japanese speaker, so I am using the power of a translator. Thanks for reading. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @bachikawa, |
Beta Was this translation helpful? Give feedback.
Hi @bachikawa,
Here is a pull request for the #1253 (comment) proposal:
#1407