full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

HTTPExceptions are currently undocumented

Open Hultner opened this issue 5 years ago • 0 comments

Some of the endpoints raise HTTPExceptions with undefined status codes and response payloads according to the API-spec.

I've added these as a addition responses in the route decorators as well as a schema model for the error, so that these errors are explicitly documented for API-consumers.

Hultner avatar Oct 06 '20 11:10 Hultner