aboutsummaryrefslogtreecommitdiff
path: root/app/apis.py
blob: df6ddd17f60218b0cffd25e6a60db9381f6942a4 (plain)
1
2
3
4
5
6
7
8
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}