Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[FEATURE] Enable `showCommonExtensions` for Swagger UI #372
Labels
Comments
|
Yeah, I think it would be a good idea to have those on by default. Although I just tried locally and it really didn't seem to change the UI... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Swagger UI doesn't render
regex/min/max/etc ifshowCommonExtensions: trueisn't present on Swagger UI initialization. https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/Describe the solution you'd like
Add
after
fastapi/fastapi/openapi/docs.py
Line 31 in 195559c
Describe alternatives you've considered
…or let end-user configure it.