Skip to content

Instantly share code, notes, and snippets.

@davidrosenstark
Last active May 11, 2020 07:22
Show Gist options
  • Save davidrosenstark/c5886498edde1bcf6c21b98988e18725 to your computer and use it in GitHub Desktop.
Save davidrosenstark/c5886498edde1bcf6c21b98988e18725 to your computer and use it in GitHub Desktop.
flask init
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