Initial commit
This commit is contained in:
47
backend/app/api/v1/router.py
Normal file
47
backend/app/api/v1/router.py
Normal file
@@ -0,0 +1,47 @@
|
||||
"""
|
||||
API v1 Router - ServiceManagerWeb
|
||||
|
||||
Router principal para la API v1
|
||||
"""
|
||||
|
||||
from fastapi import APIRouter
|
||||
from app.api.v1.endpoints import auth, health, tenants, users, systems, categories
|
||||
|
||||
api_router = APIRouter()
|
||||
|
||||
# Health check routes
|
||||
api_router.include_router(
|
||||
health.router,
|
||||
tags=["health"]
|
||||
)
|
||||
|
||||
# Authentication routes
|
||||
api_router.include_router(
|
||||
auth.router,
|
||||
prefix="/auth",
|
||||
tags=["authentication"]
|
||||
)
|
||||
|
||||
api_router.include_router(
|
||||
tenants.router,
|
||||
prefix="/tenants",
|
||||
tags=["tenants"]
|
||||
)
|
||||
|
||||
api_router.include_router(
|
||||
users.router,
|
||||
prefix="/users",
|
||||
tags=["users"]
|
||||
)
|
||||
|
||||
api_router.include_router(
|
||||
systems.router,
|
||||
prefix="/systems",
|
||||
tags=["systems"]
|
||||
)
|
||||
|
||||
api_router.include_router(
|
||||
categories.router,
|
||||
prefix="/categories",
|
||||
tags=["categories"]
|
||||
)
|
||||
Reference in New Issue
Block a user