This release includes the core functionality required for FastAPI to have dynamic route loading support.
Minimal app:
from fastapi import FastAPI
from utils.router import load_routes
app = FastAPI()
load_routes(app, 'routes')
This release includes the core functionality required for FastAPI to have dynamic route loading support.
Minimal app:
from fastapi import FastAPI
from utils.router import load_routes
app = FastAPI()
load_routes(app, 'routes')