16 lines
516 B
Python
16 lines
516 B
Python
"""Main API v1 router that aggregates all sub-routers."""
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from app.api.v1 import health, auth, users, settings
|
|
|
|
|
|
# Create main API v1 router
|
|
router = APIRouter()
|
|
|
|
# Include all sub-routers
|
|
router.include_router(health.router, prefix="/health", tags=["Health"])
|
|
router.include_router(auth.router, prefix="/auth", tags=["Authentication"])
|
|
router.include_router(users.router, prefix="/users", tags=["Users"])
|
|
router.include_router(settings.router, prefix="/settings", tags=["Settings"])
|