Replies: 2 comments 3 replies
-
Hi @sondrelg, thanks for the detailed write up! I do think it would be documenting theses extra response codes. As of now, there are only three codes returned: Edit: I've created issue #103 to track this, is this something you'd be interested in PRing? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I was just testing out schemathesis on a new project implementing crudrouter, and found it complaining about the fact that one of my generated endpoints had undocumented response codes.
Output:
This error is technically correct - there is no 404 documented, but I can definitely understand how crudrouter as a library might not want to auto-document every possible status code, since it would make the schema way too detailed/verbose.
I was just wondering, is it possible to opt-into documenting extra status codes? Or is it possible to manually extend the status codes documented?
If this feature doesn't exist yet, do you think it would be something worth implementing? If nothing else it would be cool to be able to switch it on just for testing.
Beta Was this translation helpful? Give feedback.
All reactions