Last active
May 11, 2020 07:22
-
-
Save davidrosenstark/c5886498edde1bcf6c21b98988e18725 to your computer and use it in GitHub Desktop.
flask init
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
from flask_restx import Api | |
from .health_check.health import health_api as health_namespace | |
api = Api( | |
title='Title', | |
version='1.0', | |
description='description', | |
doc='/api-docs', | |
) | |
api.add_namespace(health_namespace, path='/') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment