20 lines
627 B
Python
20 lines
627 B
Python
# app/views/health_views.py
|
|
"""
|
|
HealthSync AI 건강 분석 뷰 (라우터 등록)
|
|
"""
|
|
from fastapi import APIRouter
|
|
from app.controllers.health_controller import health_controller
|
|
|
|
# 건강 분석 라우터 생성
|
|
health_router = APIRouter(
|
|
prefix="/health",
|
|
tags=["🔬 Health Analysis"],
|
|
responses={
|
|
400: {"description": "잘못된 요청입니다."},
|
|
404: {"description": "사용자를 찾을 수 없습니다."},
|
|
500: {"description": "서버 내부 오류가 발생했습니다."}
|
|
}
|
|
)
|
|
|
|
# 건강 컨트롤러의 라우터 포함
|
|
health_router.include_router(health_controller.router) |