StartFromBegining

This commit is contained in:
2024-03-31 00:58:43 +03:00
parent 08e6aa5cb1
commit b733a6bf9a
24 changed files with 43 additions and 296 deletions

View File

@@ -0,0 +1,3 @@
from .ping import healthcheck_router
__all__ = ("healthcheck_router",)

View File

@@ -0,0 +1,13 @@
from fastapi import APIRouter
from api.application.contracts.healht_check import PingResponse
healthcheck_router = APIRouter(
prefix="/ping",
tags=["HealthCheck"],
)
@healthcheck_router.get("/", status_code=200, response_model=PingResponse)
async def ping_pong() -> PingResponse:
return PingResponse(status="System OK")