diff --git a/endpoints/asian.get.py b/endpoints/asian.get.py index bafbfa8..737f9ab 100644 --- a/endpoints/asian.get.py +++ b/endpoints/asian.get.py @@ -1,12 +1,11 @@ -from typing import List from fastapi import APIRouter, status - -from schemas.car import CarSchema -from helpers.car_helpers import get_asian_cars +from typing import Dict, Any +from helpers.health_helpers import check_system_status router = APIRouter() -@router.get("/asian", status_code=200, response_model=List[CarSchema]) -async def get_asian_cars_list(): - asian_cars = get_asian_cars() - return asian_cars \ No newline at end of file +@router.get("/api/health", status_code=200) +async def health_check() -> Dict[str, Any]: + """Check system health status""" + status_info = check_system_status() + return status_info \ No newline at end of file