Add swagger examples and description

This commit is contained in:
2024-05-14 10:21:54 +04:00
parent 6c40917220
commit 0565efdd15
7 changed files with 85 additions and 54 deletions

View File

@@ -15,7 +15,7 @@ Base = declarative_base()
async def get_session() -> AsyncSession: # type: ignore
async with async_session() as session: # type: ignore
yield session
yield session # type: ignore
async def drop_all():