-
Notifications
You must be signed in to change notification settings - Fork 30
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
Support plugins for ui templates #151
base: master
Are you sure you want to change the base?
Conversation
73b9cb0
to
b082246
Compare
Hey @luolingchun , this is working great for me! Only suggestion would be to expose a way to override the default |
Hey @jaykv, I agree with your suggestion. I think more config needs to be exposed than just from flask import current_app
openapi_html_string = current_app.config["OPENAPI_HTML_STRING"]
swagger_config = current_app.config["SWAGGER_CONFIG"]
oauth_config = current_app.config["OAUTH_CONFIG"]
scalar_config = current_app.config["SCALAR_CONFIG"] These configurations may not be used in |
v4.0.0rc1 has been released. |
Checklist:
pytest tests
and no failed.flake8 flask_openapi3 tests examples
and no failed.mypy flask_openapi3
and no failed.mkdocs serve
and no failed.