Add Allusers view
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
from .ping import healthcheck_router
|
||||
from .user import user_router
|
||||
|
||||
__all__ = ("healthcheck_router",)
|
||||
__all__ = (
|
||||
"healthcheck_router",
|
||||
"user_router",
|
||||
)
|
||||
|
10
api/presentation/routers/user.py
Normal file
10
api/presentation/routers/user.py
Normal 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 []
|
Reference in New Issue
Block a user