All Downloads are FREE. Search and download functionalities are using the official Maven repository.

Kathra.Python.original.__main__.mustache Maven / Gradle / Ivy

{{#supportPython2}}
#!/usr/bin/env python
{{/supportPython2}}
{{^supportPython2}}
#!/usr/bin/env python3
{{/supportPython2}}

import connexion
from .encoder import JSONEncoder


if __name__ == '__main__':
    app = connexion.App(__name__, specification_dir='./swagger/')
    app.app.json_encoder = JSONEncoder
    app.add_api('swagger.yaml', arguments={'title': '{{appDescription}}'})
    app.run(port={{serverPort}})




© 2015 - 2025 Weber Informatics LLC | Privacy Policy