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