from flask import Flask, render_template import connexion import config # The application instance. app = config.connex_app # The yml file configures the app's endpoints. app.add_api("swagger.yml") @app.route("/") def home (): return render_template("home.html") if __name__ == "__main__": app.run(host="0.0.0.0", debug=True)