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

Add 'swagger_ui_expansion' option in 'FastAPI()' #3471

Closed
wants to merge 1 commit into from

Conversation

elrik75
Copy link

@elrik75 elrik75 commented Jul 6, 2021

This allows to benefit of the swagger UI option 'docExpansion'. This option accepts 3 values: none, list (default), all.
When you have a lot of endpoints, putting 'none' will collapse all endpoints and only display tags.

docExpansion doc can be found here: https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/

Note: this PR could be invalidated if this one is accepted: #2568

This allows to benefit of the swagger UI option 'docExpansion'. This option accepts 3 values: none, list (default), all.
When you have a lot of endpoints, putting 'none' will collapse all endpoints and only display tags.

docExpansion doc can be found here: https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/
@RayBB
Copy link

RayBB commented Jan 18, 2022

@elrik75 I think since #2568 is merged and released you can probably close this ticket!

@elrik75
Copy link
Author

elrik75 commented Jan 18, 2022

#2568 was merged and include this feature

@elrik75 elrik75 closed this Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants