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

📝 Update usage of Token model in security docs#9313

Merged
alejsdev merged 5 commits intofastapi:masterfrom
piotrszacilowski:fix-token-model-usage-in-docs
Jan 11, 2024
Merged

📝 Update usage of Token model in security docs#9313
alejsdev merged 5 commits intofastapi:masterfrom
piotrszacilowski:fix-token-model-usage-in-docs

Conversation

@piotrszacilowski
Copy link
Contributor

In the documentation regarding security in the code were created Token model, while it was not used. I have fixed it.

@github-actions
Copy link
Contributor

📝 Docs preview for commit443adb8 at:https://641f65a47164c01300f564f8--fastapi.netlify.app

@piotrszacilowski
Copy link
ContributorAuthor

anyone willing to review?

@tiangolotiangolo added the docsDocumentation about how to use FastAPI labelOct 2, 2023
@alejsdevalejsdev changed the titleFix usage of Token model in security docs📝 Update usage of Token model in security docsJan 11, 2024
@tiangolo
Copy link
Member

📝 Docs preview for commit4cd6cc9 at:https://fdcbc765.fastapitiangolo.pages.dev

@alejsdev
Copy link
Member

Thanks for your help!@piotrszacilowski 🙂

The Token was actually used in theresponse_model but indeed it was better to return an instance of it.

I also updated the response model to use the Token as a return type and updated the highlighted lines in the docs.

Thanks 😸

@alejsdevalejsdev merged commitfd97e8e intofastapi:masterJan 11, 2024
nilslindemann pushed a commit to nilslindemann/fastapi that referenced this pull requestJan 13, 2024
nilslindemann pushed a commit to nilslindemann/fastapi that referenced this pull requestJan 13, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

docsDocumentation about how to use FastAPI

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@piotrszacilowski@tiangolo@alejsdev

Comments


[8]ページ先頭

©2009-2026 Movatter.jp