Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

i1mercep
Copy link

@i1mercep i1mercep 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

@i1mercep i1mercep changed the title SQLAlchemy custom status_code support CrudRouter custom status_code support Mar 31, 2022
@i1mercep i1mercep changed the title CrudRouter custom status_code support CrudRouter custom status_code Mar 31, 2022
@i1mercep i1mercep 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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.