The current api/Swagger page claims that request only fail by returning a 422 Validation Error, but the code makes use of a bunch of things from api/exceptions.py. These possibilities should perhaps be documented through a responses= in the decorator in addition to the regular response_model, or just globally on the router object constructed at the start of view/*.py.
The current api/Swagger page claims that request only fail by returning a 422 Validation Error, but the code makes use of a bunch of things from
api/exceptions.py. These possibilities should perhaps be documented through aresponses=in the decorator in addition to the regularresponse_model, or just globally on therouterobject constructed at the start ofview/*.py.