Add Allusers view

This commit is contained in:
2024-03-31 01:36:57 +03:00
parent b733a6bf9a
commit f5ecba9c1e
5 changed files with 27 additions and 2 deletions

View File

@@ -1,3 +1,7 @@
from .ping import healthcheck_router
from .user import user_router
__all__ = ("healthcheck_router",)
__all__ = (
"healthcheck_router",
"user_router",
)

View File

@@ -0,0 +1,10 @@
from fastapi import APIRouter
from api.application.contracts.user import UserResponse
user_router = APIRouter(prefix="/users", tags=["Users"])
@user_router.get("/")
async def get_all_users() -> list[UserResponse]:
return []