diff options
Diffstat (limited to 'api.py')
-rw-r--r-- | api.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +from app import app as flask_app +from fastapi import Body, FastAPI +from fastapi.middleware.wsgi import WSGIMiddleware +from pydantic import BaseModel + + +app = FastAPI(title="SaaS-in-a-Flask",description="Sample API", version="0.1") + +from app import apis + +app.mount("/", WSGIMiddleware(flask_app)) |