12 lines
238 B
Python
12 lines
238 B
Python
from fastapi import APIRouter
|
|
|
|
from app.core.common import Message
|
|
|
|
router = APIRouter(tags=["health"])
|
|
|
|
|
|
@router.get(path="/")
|
|
def status_check() -> Message:
|
|
"""Endpoind to check if server is running."""
|
|
return {"status": "healthy"}
|