aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-13 18:57:42 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-13 18:57:42 +0530
commit26f9c3053c680bdc7431e408aea80e8e8054c78c (patch)
treeca6b6bd5ec39efdc3553fed1f8fd816cf76bda44
parenta51ae34ef5b0b44e53094577c581ac8a20279936 (diff)
parent3d9cad673df3755306ef0359f51a62bb37a670ad (diff)
Merge branch 'master' of https://git.heroku.com/curieweb
-rw-r--r--api.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/api.py b/api.py
index 436f6fe..c50c97d 100644
--- a/api.py
+++ b/api.py
@@ -17,7 +17,9 @@ def flask_main():
return f"Hello, {escape(name)} from Flask!"
"""
-app = FastAPI()
+app = FastAPI(title="Curie-API",
+ description="API for accessing Curie-Web.",
+ version="0.1",)
@app.get("/v1")