fastapi-crudrouter icon indicating copy to clipboard operation
fastapi-crudrouter copied to clipboard

CrudRouter custom status_code

Open i1mercep opened this issue 3 years ago • 1 comments

Custom success status code can be set - passed to constructor. When the code is 204, the schema should not be returned in the response body. Default for create route is set to 201.

Issue: #150

i1mercep avatar Mar 31 '22 22:03 i1mercep

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/flortz/fastapi-crudrouter/BSod3sopZRAG5tuZcfsdwiUqxdXi
✅ Preview: https://fastapi-crudrouter-git-fork-ivan18m-master-flortz.vercel.app

vercel[bot] avatar Mar 31 '22 22:03 vercel[bot]