mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-07-12 13:23:26 +00:00
add Healthy model
This commit is contained in:
parent
832726d8ae
commit
fd84a03d59
|
@ -6,3 +6,7 @@ import pydantic
|
|||
class Token(pydantic.BaseModel):
|
||||
sub: uuid.UUID
|
||||
exp: int | None = None
|
||||
|
||||
|
||||
class Healthy(pydantic.BaseModel):
|
||||
status: str = pydantic.Field(..., example="healthy", description="Схема доступности сервиса")
|
||||
|
|
Loading…
Reference in New Issue
Block a user