Created
April 17, 2019 07:11
-
-
Save Sean-Bradley/09a1e8312ed1b6a3c01f811437cb9387 to your computer and use it in GitHub Desktop.
example.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APP = Flask(__name__) | |
### swagger specific ### | |
SWAGGER_URL = '/swagger' | |
API_URL = '/static/swagger.json' | |
SWAGGERUI_BLUEPRINT = get_swaggerui_blueprint( | |
SWAGGER_URL, | |
API_URL, | |
config={ | |
'app_name': "Seans-Python-Flask-REST-Boilerplate" | |
} | |
) | |
APP.register_blueprint(SWAGGERUI_BLUEPRINT, url_prefix=SWAGGER_URL) | |
### end swagger specific ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment