Added simple RBAC endpoints and simple tests.
This commit is contained in:
1 parent
33cd28376d
commit
ef37f577e3
14 files changed
+191
-121
No files matched your search
@@ -0,0 +1,11 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.core.common import Message
|
||||
|
||||
router = APIRouter(tags=["health"])
|
||||
|
||||
|
||||
@router.get(path="/")
|
||||
def status_check() -> Message:
|
||||
"""Endpoind to check if server is running."""
|
||||
return {"status": "healthy"}
|
||||
Reference in new issue
Block a user