"""根路由 + 健康检查。"""

from __future__ import annotations

from fastapi import APIRouter

router = APIRouter()


@router.get("/")
async def root() -> dict[str, str]:
    return {"service": "ww-api", "status": "ok"}


@router.get("/health")
async def health() -> dict[str, str]:
    return {"status": "ok"}
