Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrudRouter custom status_code #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ivan18m
Copy link

@ivan18m ivan18m commented Mar 31, 2022

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

@vercel
Copy link

vercel bot commented Mar 31, 2022

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

@ivan18m ivan18m changed the title SQLAlchemy custom status_code support CrudRouter custom status_code support Mar 31, 2022
@ivan18m ivan18m changed the title CrudRouter custom status_code support CrudRouter custom status_code Mar 31, 2022
@ivan18m ivan18m marked this pull request as ready for review April 1, 2022 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant