Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Enable `showCommonExtensions` for Swagger UI #372

Open
mktums opened this issue Jul 5, 2019 · 1 comment
Open

[FEATURE] Enable `showCommonExtensions` for Swagger UI #372

mktums opened this issue Jul 5, 2019 · 1 comment

Comments

@mktums
Copy link

@mktums mktums commented Jul 5, 2019

Is your feature request related to a problem? Please describe.
Swagger UI doesn't render regex/min/max/etc if showCommonExtensions: true isn't present on Swagger UI initialization. https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/

image

Describe the solution you'd like
Add

showExtensions: true,
showCommonExtensions: true,

after

url: '{openapi_url}',

Describe alternatives you've considered
…or let end-user configure it.

@tiangolo
Copy link
Owner

@tiangolo tiangolo commented Feb 10, 2020

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.