2016-10-27 18:18:02 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
import connexion
|
2016-10-28 03:45:12 +00:00
|
|
|
from flask_login import LoginManager
|
2016-10-27 18:18:02 +00:00
|
|
|
|
2016-10-27 18:52:20 +00:00
|
|
|
app = connexion.App(__name__, specification_dir='./swagger/')
|
|
|
|
app.add_api('swagger.yaml',
|
|
|
|
arguments={
|
|
|
|
'title': 'Rubber Duck Booking Tool'
|
|
|
|
})
|
|
|
|
|
2016-10-28 03:45:12 +00:00
|
|
|
login_manager = LoginManager()
|
|
|
|
#login_manager.init_app(app)
|
|
|
|
|
2016-10-27 18:18:02 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
app.run(port=8080)
|