Phase 5.14: API documentation - OpenAPI tags, response models, examples, docs
This commit is contained in:
@@ -5,11 +5,12 @@ from __future__ import annotations
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.core.monitoring import get_health_status
|
||||
from app.schemas.common import HealthResponse
|
||||
|
||||
router = APIRouter(tags=["health"])
|
||||
|
||||
|
||||
@router.get("/api/v1/health")
|
||||
@router.get("/api/v1/health", response_model=HealthResponse)
|
||||
async def health():
|
||||
"""Health check — no auth required.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user