diff --git a/back/app/entity/schemas.py b/back/app/entity/schemas.py index 7adcfe38..abe781f9 100644 --- a/back/app/entity/schemas.py +++ b/back/app/entity/schemas.py @@ -13,6 +13,9 @@ class EntityCreate(Writer): entity_data: Individual | Corporation | Institution = Field(..., discriminator='type') address: str = Field(default="", title='Adresse') + class Config: + title = "Création d'un client" + class EntityUpdate(EntityCreate): pass