Hello, I wrote the https://testdriven.io/courses/tdd-fastapi/ course and I get asked a lot about how to customize Swagger UI. I see questions like this on Reddit a lot too: https://www.reddit.com/r/FastAPI/comments/kdrk2r/how_do_i_disable_try_it_out_in_swagger_docs/ Anyway, I wonder if it's worth adding the ability to customize Swagger UI even more? https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md These look like relevant issues and PRs: 1. https://github.com/tiangolo/fastapi/issues/372 1. https://github.com/tiangolo/fastapi/pull/1466 1. https://github.com/tiangolo/fastapi/issues/822 Here's how Flask-RESTX handles it: https://flask-restx.readthedocs.io/en/latest/swagger.html#configuring-try-it-out Happy to help work on this if someone can provide a bit of direction. Cheers!
Hello, I wrote the https://testdriven.io/courses/tdd-fastapi/ course and I get asked a lot about how to customize Swagger UI. I see questions like this on Reddit a lot too: https://www.reddit.com/r/FastAPI/comments/kdrk2r/how_do_i_disable_try_it_out_in_swagger_docs/
Anyway, I wonder if it's worth adding the ability to customize Swagger UI even more? https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md
These look like relevant issues and PRs:
showCommonExtensionsfor Swagger UI #372Here's how Flask-RESTX handles it: https://flask-restx.readthedocs.io/en/latest/swagger.html#configuring-try-it-out
Happy to help work on this if someone can provide a bit of direction. Cheers!