We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b4274d commit d2edaa1Copy full SHA for d2edaa1
1 file changed
flask_smorest/spec/__init__.py
@@ -99,9 +99,11 @@ def _openapi_redoc(self):
99
def _openapi_swagger_ui(self):
100
"""Expose OpenAPI spec with Swagger UI"""
101
return flask.render_template(
102
- 'swagger_ui.html', title=self.spec.title,
+ 'swagger_ui.html',
103
+ title=self.spec.title,
104
swagger_ui_url=self._swagger_ui_url,
- swagger_ui_config=self._app.config.get('OPENAPI_SWAGGER_UI_CONFIG', {})
105
+ swagger_ui_config=self._app.config.get(
106
+ 'OPENAPI_SWAGGER_UI_CONFIG', {})
107
)
108
109
0 commit comments