12 lines
229 B
Python
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
|