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

Updated docs for path-params#1521

Merged
tiangolo merged 4 commits intofastapi:masterfrom
yankeexe:path-params-updates
Jun 13, 2020
Merged

Updated docs for path-params#1521
tiangolo merged 4 commits intofastapi:masterfrom
yankeexe:path-params-updates

Conversation

@yankeexe
Copy link
Contributor

  • Added example response for enum section.
  • Added URL's for
  • Redoc in localhost
  • Starlett
  • Added line breaks intutorial005 for readability.

@codecov
Copy link

codecovbot commentedJun 5, 2020
edited
Loading

Codecov Report

Merging#1521 intomaster willnot change coverage.
The diff coverage isn/a.

Impacted file tree graph

@@            Coverage Diff             @@##            master     #1521    +/-   ##==========================================  Coverage   100.00%   100.00%            ==========================================  Files          227       234     +7       Lines         6810      6986   +176     ==========================================+ Hits          6810      6986   +176
Impacted FilesCoverage Δ
fastapi/params.py100.00% <0.00%> (ø)
fastapi/routing.py100.00% <0.00%> (ø)
fastapi/applications.py100.00% <0.00%> (ø)
fastapi/openapi/docs.py100.00% <0.00%> (ø)
fastapi/openapi/utils.py100.00% <0.00%> (ø)
fastapi/security/__init__.py100.00% <0.00%> (ø)
fastapi/dependencies/utils.py100.00% <0.00%> (ø)
tests/test_security_oauth2.py100.00% <0.00%> (ø)
tests/test_dependency_class.py100.00% <0.00%> (ø)
tests/test_security_oauth2_optional.py100.00% <0.00%> (ø)
... and8 more

Continue to review full report at Codecov.

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

@tiangolotiangolo merged commit748bedd intofastapi:masterJun 13, 2020
@tiangolo
Copy link
Member

Cool, thanks! 🍰 📝

yankeexe reacted with heart emoji

And because the generated schema is from the <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md" class="external-link" target="_blank">OpenAPI</a> standard, there are many compatible tools.

Because of this, **FastAPI** itself provides an alternative API documentation (using ReDoc):
Because of this, **FastAPI** itself provides an alternative API documentation (using ReDoc), which you can access at <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>:
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure that we can assume the existence of this URL.

Copy link
Member

Choose a reason for hiding this comment

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

it was already merged, nvm

tiangolo reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I was thinking that, but the example right above for Swagger UI assumes it's running (from the previous examples), so I guess it makes sense to have the link here too.

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

Reviewers

@tiangolotiangolotiangolo left review comments

@KludexKludexKludex left review comments

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

@yankeexe@tiangolo@Kludex

Comments


[8]ページ先頭

©2009-2026 Movatter.jp