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
16 lines
286 B
Python
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
|