25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
418 B

  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"])