|
- # Base API router -- collecting all APIs here to not clutter main.py
- from fastapi import APIRouter
-
- from apis.v1 import route_user, route_vehicle, route_auth, route_task
-
- api_router = APIRouter()
- api_router.include_router(route_user.router, prefix="/user", tags=["users"])
- api_router.include_router(route_vehicle.router, prefix="/vehicle", tags=["vehicles"])
- api_router.include_router(route_auth.router, prefix="", tags=["auth"])
- api_router.include_router(route_task.router, prefix="/task", tags=["task"])
|