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

1 

2from app.ddd.presentation.endpoint.health.router import router 

3from app.ddd.presentation.schema.health import GetHealthResponse 

4 

5 

6@router.get( 

7 path="/health", 

8 response_model=GetHealthResponse, 

9) 

10def get_health() -> GetHealthResponse: 

11 """ヘルスの取得.""" 

12 return GetHealthResponse.model_validate({"status": "green"})