16 lines
701 B
Python
16 lines
701 B
Python
"""API routes."""
|
|
|
|
from fastapi import APIRouter
|
|
from . import auth, users, tenants, gateways, endpoints, connections
|
|
|
|
# Create main API router
|
|
api_router = APIRouter(prefix="/api")
|
|
|
|
# Include all route modules
|
|
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(gateways.router, prefix="/gateways", tags=["Gateways"])
|
|
api_router.include_router(endpoints.router, prefix="/endpoints", tags=["Endpoints"])
|
|
api_router.include_router(connections.router, prefix="/connections", tags=["Connections"])
|