Files
KF-OnlineJudge/backend/src/kf_oj/contracts/health.py
T

12 lines
229 B
Python

from typing import Literal
from pydantic import BaseModel, ConfigDict
class HealthResponse(BaseModel):
model_config = ConfigDict(extra="forbid")
status: Literal["ok"]
service: Literal["platform"]
version: str