"""API v2 endpoints - Enhanced API with versioning.

API v2 includes:
- Enhanced response formats
- Better error handling
- Rate limiting per tier
- Improved filtering and pagination
- Bulk operations
"""

from fastapi import APIRouter

from src.api.v2.endpoints import scenarios, reports, metrics, auth, health

api_router = APIRouter()

# Include v2 endpoints with deprecation warnings for old patterns
api_router.include_router(
    auth.router,
    prefix="/auth",
    tags=["authentication"],
)

api_router.include_router(
    scenarios.router,
    prefix="/scenarios",
    tags=["scenarios"],
)

api_router.include_router(
    reports.router,
    prefix="/reports",
    tags=["reports"],
)

api_router.include_router(
    metrics.router,
    prefix="/metrics",
    tags=["metrics"],
)

api_router.include_router(
    health.router,
    prefix="/health",
    tags=["health"],
)
