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

Fix handling an empty-body request with a required body param #311

Merged
merged 2 commits into from
Jun 13, 2019

Conversation

tiangolo
Copy link
Owner

🐛 Fix handling an empty-body request with a required body param, and add tests for it.

@codecov
Copy link

codecov bot commented Jun 13, 2019

Codecov Report

Merging #311 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #311   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         222    224    +2     
  Lines        5273   5303   +30     
=====================================
+ Hits         5273   5303   +30
Impacted Files Coverage Δ
fastapi/dependencies/utils.py 100% <100%> (ø) ⬆️
...rial/test_body_multiple_params/test_tutorial003.py 100% <100%> (ø)
docs/src/body_multiple_params/tutorial003.py 100% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7244e4b...f18257a. Read the comment docs.

@tiangolo tiangolo merged commit 6939621 into master Jun 13, 2019
@tiangolo tiangolo deleted the fix-required-empty-body branch June 13, 2019 16:37
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