fix: make client number field required in ClientCreateRequest

This commit is contained in:
Fanilo-Nantenaina 2025-12-26 13:04:30 +03:00
parent 7e7c274724
commit 5a23f37e64

4
api.py
View file

@ -383,8 +383,8 @@ class ClientCreateRequest(BaseModel):
description="Nom du client (CT_Intitule) - OBLIGATOIRE"
)
numero: Optional[str] = Field(
None,
numero: str = Field(
...,
max_length=17,
description="Numéro client CT_Num (auto si None)"
)