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

Kathra.Python.implem.launcher.mustache Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
import connexion

from flask_cors import CORS
from kathra_core_interface.encoder import JSONEncoder
from {{moduleName}}.{{classFileName}} import {{className}}

implem = {{className}}()

if __name__ == '__main__':
    app = connexion.App(__name__, specification_dir='./')
    app.add_api('swagger.yaml')
    app.app.json_encoder = JSONEncoder
    CORS(app.app)
    app.run(port=8080)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy