#!/usr/bin/env python3

import connexion
from connexion.resolver import RestyResolver


if __name__ == '__main__':
    app = connexion.FlaskApp(__name__, port=9090, specification_dir='swagger/')
    app.add_api('helloworld-api.yaml', arguments={'title': 'Hello World Example'}, resolver=RestyResolver('hello'))
    app.run()
