You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
338 B
16 lines
338 B
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)
|
|
|