summaryrefslogtreecommitdiffstats
path: root/qtip/api/__main__.py
blob: 89298e6d3a43cb1895c6a2777910dad0cce8903c (plain)
1
2
3
4
5
6
7
8
9
10
11
import connexion


def main():
    app = connexion.App(__name__, specification_dir='swagger/')
    app.add_api('swagger.yaml', base_path='/v1.0')
    app.run(host='0.0.0.0', port='5000')


if __name__ == '__main__':
    main()