This commit is contained in:
2024-03-19 09:01:46 +03:00
parent aafa1050a7
commit 6ba041a839
23 changed files with 369 additions and 39 deletions

View File

@@ -39,7 +39,11 @@ async def update_client_details(
return ClientUpdateDetailsResponse(ok=True)
@client_router.get('/get-all', operation_id='get_all_clients', response_model=ClientGetAllResponse)
@client_router.get(
'/get-all',
operation_id='get_all_clients',
response_model=ClientGetAllResponse
)
async def get_all_clients(
session: Annotated[AsyncSession, Depends(get_session)],
):