"""Infra endpoints.""" from typing import Any from fastapi import APIRouter from sdlc_training_subbu.api.schemas import infra as schemas router = APIRouter(tags=["infra"]) @router.get( "/hello/", operation_id="hello", response_model=schemas.HelloResponse, ) async def hello() -> dict[str, Any]: return {"status": "ok"} @router.get("/") async def hello_world() -> dict[str, Any]: return {"Hello": "World!"}