1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2025-02-16 20:53:57 +00:00
pds-2021-g2-nest/nest_backend/swagger.py

16 lines
333 B
Python
Raw Normal View History

2021-05-05 22:21:04 +02:00
"""Definition of the Swagger UI Blueprint."""
from flask_swagger_ui import get_swaggerui_blueprint
2021-05-07 19:46:14 +02:00
SWAGGER_URL = '/docs'
2021-05-06 02:57:26 +02:00
API_URL = "/docs/swagger.json"
2021-05-05 22:21:04 +02:00
# Call factory function to create our blueprint
swagger_ui_blueprint = get_swaggerui_blueprint(
SWAGGER_URL,
API_URL,
config={
'app_name': "N.E.S.T."
}
2021-05-06 02:57:26 +02:00
)