fix: make client number field required in ClientCreateRequest
This commit is contained in:
parent
7e7c274724
commit
5a23f37e64
1 changed files with 2 additions and 2 deletions
4
api.py
4
api.py
|
|
@ -383,8 +383,8 @@ class ClientCreateRequest(BaseModel):
|
||||||
description="Nom du client (CT_Intitule) - OBLIGATOIRE"
|
description="Nom du client (CT_Intitule) - OBLIGATOIRE"
|
||||||
)
|
)
|
||||||
|
|
||||||
numero: Optional[str] = Field(
|
numero: str = Field(
|
||||||
None,
|
...,
|
||||||
max_length=17,
|
max_length=17,
|
||||||
description="Numéro client CT_Num (auto si None)"
|
description="Numéro client CT_Num (auto si None)"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue