Scaffold V2 backend foundation
This commit is contained in:
12
ai_knowledge_base_v2/apps/backend/app/api/health.py
Normal file
12
ai_knowledge_base_v2/apps/backend/app/api/health.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.core.responses import api_success
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/health")
|
||||
def health() -> dict:
|
||||
return api_success({"status": "ok"})
|
||||
Reference in New Issue
Block a user