aboutsummaryrefslogtreecommitdiff
path: root/app/apis.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/apis.py')
-rw-r--r--app/apis.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/apis.py b/app/apis.py
new file mode 100644
index 0000000..df6ddd1
--- /dev/null
+++ b/app/apis.py
@@ -0,0 +1,9 @@
+from api import app
+
+from fastapi import Body, FastAPI
+from fastapi.middleware.wsgi import WSGIMiddleware
+from pydantic import BaseModel
+
+@app.get("/version")
+async def API_Version():
+ return {"message":app.version} \ No newline at end of file