Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910
  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, route_task
  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"])
  8. api_router.include_router(route_task.router, prefix="/task", tags=["task"])