solorpower/api_server/app/schemas/health.py
haneulai a716dbef96
Some checks are pending
CI / Crawler (Python ${{ matrix.python-version }}) (3.10) (push) Waiting to run
CI / Crawler (Python ${{ matrix.python-version }}) (3.11) (push) Waiting to run
CI / API (Python 3.11) (push) Waiting to run
CI / Database migration (push) Waiting to run
CI / App web build (Node 20) (push) Waiting to run
feat: harden solar monitoring through stage 7
2026-08-07 14:07:22 +09:00

16 lines
286 B
Python

"""서비스 상태 확인 응답 스키마."""
from typing import Literal
from pydantic import BaseModel
class HealthResponse(BaseModel):
status: Literal["healthy"]
app_name: str
version: str
class DetailedHealthResponse(HealthResponse):
supabase_connected: bool