You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

base.py 418 B

123456789
  1. # Base API router -- collecting all APIs here to not clutter main.py
  2. from fastapi import APIRouter
  3. from apis.v1 import route_user, route_vehicle, route_auth
  4. api_router = APIRouter()
  5. api_router.include_router(route_user.router, prefix="/user", tags=["users"])
  6. api_router.include_router(route_vehicle.router, prefix="/vehicle", tags=["vehicles"])
  7. api_router.include_router(route_auth.router, prefix="", tags=["auth"])