add routes

This commit is contained in:
2025-12-02 15:29:47 -03:00
parent 8eb5427af4
commit ac6244ff2a
8 changed files with 164 additions and 40 deletions

View File

@@ -32,10 +32,7 @@ def register(
email: Annotated[EmailStr, Body(embed=True)],
password: Annotated[str, Body(min_length=6, embed=True)],
cpf: Annotated[CpfStr, Body(embed=True)],
user_id: Annotated[str | None, Body(embed=True)] = None,
id: Annotated[str | None, Body(embed=True)] = None,
org: Annotated[Org | None, Body(embed=True)] = None,
):
if user_id:
...
return {}