feat: add auth/compliance/kyc/market/template modules, alembic migrations, tests and docs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"""Allocation API skeleton."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from fastapi import APIRouter, Depends, Request
|
||||
|
||||
from app.api.deps import get_auth_context
|
||||
from app.model.schemas import AuthContext
|
||||
from app.utils.response import success_response
|
||||
|
||||
router = APIRouter()
|
||||
AUTH_CONTEXT_DEP = Depends(get_auth_context)
|
||||
|
||||
|
||||
@router.get("/ping")
|
||||
def ping(request: Request, auth: AuthContext = AUTH_CONTEXT_DEP):
|
||||
return success_response(request, {"module": "allocation", "status": "ready"})
|
||||
Reference in New Issue
Block a user