1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-25 22:44:19 +00:00

🧹 Reformat code

This commit is contained in:
Stefano Pigozzi 2021-05-06 02:57:26 +02:00
parent 31dec8a56a
commit 9d644605d5
Signed by untrusted user who does not match committer: steffo
GPG key ID: 6965406171929D01
3 changed files with 6 additions and 5 deletions

View file

@ -2,8 +2,9 @@
from flask_swagger_ui import get_swaggerui_blueprint from flask_swagger_ui import get_swaggerui_blueprint
SWAGGER_URL = '/api/v1/docs' SWAGGER_URL = '/docs/'
API_URL = "/api/v1/swagger.json" # FIXME: this will break if the website root isn't /, use url_for() instead!
API_URL = "/docs/swagger.json"
# Call factory function to create our blueprint # Call factory function to create our blueprint
swagger_ui_blueprint = get_swaggerui_blueprint( swagger_ui_blueprint = get_swaggerui_blueprint(