duck-booking-tool/app.py

12 lines
293 B
Python
Raw Normal View History

2016-10-27 18:18:02 +00:00
#!/usr/bin/env python3
import connexion
if __name__ == '__main__':
app = connexion.App(__name__, specification_dir='./swagger/')
app.add_api('swagger.yaml',
arguments={
'title': 'Rubber Duck Booking Tool'
})
app.run(port=8080)