mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-12-16 01:26:17 +00:00
fix: token (token model TBU)
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
import uuid
|
||||
|
||||
import pydantic
|
||||
|
||||
|
||||
class TokenResponseModel(pydantic.BaseModel):
|
||||
sub: uuid.UUID
|
||||
exp: int | None = None
|
||||
|
||||
|
||||
class HealthResponseModel(pydantic.BaseModel):
|
||||
status: str = pydantic.Field(default=..., examples=["healthy"], description="Схема доступности сервиса")
|
||||
|
||||
Reference in New Issue
Block a user