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.

преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
преди 1 година
123456789101112131415161718192021
  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. )
  11. api_router = APIRouter()
  12. api_router.include_router(route_user.router, prefix="/user", tags=["users"])
  13. api_router.include_router(route_vehicle.router, prefix="/vehicle", tags=["vehicles"])
  14. api_router.include_router(route_auth.router, prefix="", tags=["auth"])
  15. api_router.include_router(route_task.router, prefix="/task", tags=["task"])
  16. api_router.include_router(
  17. route_maintenancejob.router, prefix="/maintenancejob", tags=["maintenancejob"]
  18. )
  19. api_router.include_router(route_fuelingtask.router, prefix="/fuel", tags=["fueltasks"])