Skip to content

🐛 Fix issue with Swagger theme change example in the official tutorial#13289

Merged
tiangolo merged 2 commits intofastapi:masterfrom
Zerohertz:docs-configure-swagger-ui
Feb 18, 2025
Merged

🐛 Fix issue with Swagger theme change example in the official tutorial#13289
tiangolo merged 2 commits intofastapi:masterfrom
Zerohertz:docs-configure-swagger-ui

Conversation

@Zerohertz
Copy link
Contributor

I discovered that a part of the code in the tutorial on changing the Swagger theme doesn't work properly, possibly due to a missing update in the latest version of Swagger.

Below are images comparing the code before and after the modification in the tutorial.

Before After
Before After

@github-actions github-actions bot added the docs Documentation about how to use FastAPI label Jan 31, 2025
@github-actions
Copy link
Contributor

📝 Docs preview for commit d94a060 at: https://5c53a3a1.fastapitiangolo.pages.dev

@github-actions
Copy link
Contributor

📝 Docs preview for commit 8d7a924 at: https://ccc6622e.fastapitiangolo.pages.dev

@alejsdev alejsdev changed the title 🐛 Fix Issue with Swagger Theme Change Example in the Official Tutorial 🐛 Fix issue with Swagger theme change example in the official tutorial Jan 31, 2025
@alejsdev alejsdev changed the title 🐛 Fix issue with Swagger theme change example in the official tutorial 🐛 Fix issue with Swagger theme change example in the official tutorial Feb 18, 2025
@alejsdev
Copy link
Member

alejsdev commented Feb 18, 2025

I confirm it works, thank you! @Zerohertz 🚀 💯

Copy link
Member

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

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

Great, thank you! 🚀

@tiangolo tiangolo merged commit e157cf4 into fastapi:master Feb 18, 2025
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation about how to use FastAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants