-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be nice if it was possible to configure Swagger-UI via a parameter,
For example if you want control which sections are expanded.
SwaggerUIBundle({
...
"docExpansion":"none"
});I'm not sure how to do this nicely, but maybe a configuration in mkdocs.yaml and in the extra section, or maybe it's easier to supply it every time you use the plugin?
!!swagger FILENAME "docExpansion":"none","someOtherSetting":"value"!!
An easier option would be to use configUrl, I believe that SwaggerUIBundle will load from that URL.
!!swagger FILENAME SWAGGER_CONFIG!!
!!swagger URL SWAGGER_CONFIG_URL!!
Thank you for creating the plugin!
marcoaaguiar, bharel and feasgal
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request