Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Add support for adding OpenAPI schema for GET requests with a body#1626

Merged
tiangolo merged 4 commits intofastapi:masterfrom
victorphoenix3:get
Jul 19, 2020
Merged

Add support for adding OpenAPI schema for GET requests with a body#1626
tiangolo merged 4 commits intofastapi:masterfrom
victorphoenix3:get

Conversation

@victorphoenix3
Copy link
Contributor

@victorphoenix3victorphoenix3 commentedJun 25, 2020
edited by tiangolo
Loading

Related to#713 .

@codecov
Copy link

codecovbot commentedJun 25, 2020
edited
Loading

Codecov Report

Merging#1626 intomaster willnot change coverage.
The diff coverage is100.00%.

Impacted file tree graph

@@            Coverage Diff             @@##            master     #1626    +/-   ##==========================================  Coverage   100.00%   100.00%            ==========================================  Files          227       239    +12       Lines         6810      7047   +237     ==========================================+ Hits          6810      7047   +237
Impacted FilesCoverage Δ
fastapi/dependencies/utils.py100.00% <100.00%> (ø)
fastapi/openapi/constants.py100.00% <100.00%> (ø)
tests/test_get_request_body.py100.00% <100.00%> (ø)
tests/main.py100.00% <0.00%> (ø)
fastapi/utils.py100.00% <0.00%> (ø)
fastapi/params.py100.00% <0.00%> (ø)
fastapi/routing.py100.00% <0.00%> (ø)
tests/test_path.py100.00% <0.00%> (ø)
fastapi/encoders.py100.00% <0.00%> (ø)
tests/test_query.py100.00% <0.00%> (ø)
... and91 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last update543ef77...7ba8167. Read thecomment docs.

@victorphoenix3
Copy link
ContributorAuthor

@IamCathal could you take a look at this?

Copy link
Contributor

@rkbeatssrkbeatssJun 25, 2020
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@victorphoenix3 i think this is where the coverage is missing so try adding# pragma: no cover here

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

hey thanks@rkbeatss . It worked!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the help@rkbeatss ! 🤓

@victorphoenix3victorphoenix3force-pushed theget branch 3 times, most recently fromf416e25 to065be3cCompareJuly 2, 2020 08:57
@victorphoenix3
Copy link
ContributorAuthor

@tiangolo The PR is ready for review.

Kludex and ozenck reacted with hooray emoji

@KludexKludex mentioned this pull requestJul 8, 2020
9 tasks
@tiangolotiangolo changed the titleAdd Test for get request body's openapi schemaAdd support for adding OpenAPI schema for GET requests with a bodyJul 19, 2020
@tiangolotiangolo merged commit2b47f3e intofastapi:masterJul 19, 2020
@tiangolo
Copy link
Member

Awesome@victorphoenix3 ! 🚀 🎉

I updated the test to check that it actually can receive a body in aGET request and to keep the same style of testing OpenAPI from other tests.

Thanks for your contribution! 🍰 🎉

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tiangolotiangolotiangolo left review comments

+1 more reviewer

@rkbeatssrkbeatssrkbeatss left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@victorphoenix3@tiangolo@rkbeatss

Comments


[8]ページ先頭

©2009-2026 Movatter.jp