diff --git a/pssecret_server/models.py b/pssecret_server/models.py index aa64d3e..3298354 100644 --- a/pssecret_server/models.py +++ b/pssecret_server/models.py @@ -2,7 +2,7 @@ from pydantic import BaseModel, Field class Secret(BaseModel): - data: str = Field(title="Secret", description="Some secret data") + data: str = Field(title="Secret", description="Some secret data", min_length=1) class SecretSaveResult(BaseModel):