Coverage for app/ddd/presentation/endpoint/health/get_health.py: 100%
5 statements
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-15 01:44 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-15 01:44 +0000
2from app.ddd.presentation.endpoint.health.router import router
3from app.ddd.presentation.schema.health import GetHealthResponse
6@router.get(
7 path="/health",
8 response_model=GetHealthResponse,
9)
10def get_health() -> GetHealthResponse:
11 """ヘルスの取得."""
12 return GetHealthResponse.model_validate({"status": "green"})