1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 21:14:18 +00:00
pds-2021-g2-nest/code/backend/nest_backend/swagger.py
2021-05-05 22:21:04 +02:00

15 lines
No EOL
341 B
Python

"""Definition of the Swagger UI Blueprint."""
from flask_swagger_ui import get_swaggerui_blueprint
SWAGGER_URL = '/api/v1/docs'
API_URL = "/api/v1/swagger.json"
# Call factory function to create our blueprint
swagger_ui_blueprint = get_swaggerui_blueprint(
SWAGGER_URL,
API_URL,
config={
'app_name': "N.E.S.T."
}
)