No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

hace 1 año
1234567891011121314151617181920212223
  1. # Base API router -- collecting all APIs here to not clutter main.py
  2. from fastapi import APIRouter
  3. from apis.v1 import (
  4. route_user,
  5. route_vehicle,
  6. route_auth,
  7. route_task,
  8. route_maintenancejob,
  9. route_fuelingtask,
  10. route_auction,
  11. )
  12. api_router = APIRouter()
  13. api_router.include_router(route_user.router, prefix="/user", tags=["users"])
  14. api_router.include_router(route_vehicle.router, prefix="/vehicle", tags=["vehicles"])
  15. api_router.include_router(route_auth.router, prefix="", tags=["auth"])
  16. api_router.include_router(route_task.router, prefix="/task", tags=["task"])
  17. api_router.include_router(
  18. route_maintenancejob.router, prefix="/maintenancejob", tags=["maintenancejob"]
  19. )
  20. api_router.include_router(route_fuelingtask.router, prefix="/fuel", tags=["fueltasks"])
  21. api_router.include_router(route_auction.router, prefix="/auction", tags=["auctions"])