duck-booking-tool/app.py

13 lines
274 B
Python

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