from __future__ import annotations from fastapi import APIRouter, Depends from app.models.overview import OverviewResponse from app.services.aggregator import AggregatorService, get_aggregator_service router = APIRouter(prefix="/api", tags=["overview"]) @router.get("/overview", response_model=OverviewResponse) async def get_overview( aggregator: AggregatorService = Depends(get_aggregator_service), ) -> OverviewResponse: return await aggregator.get_overview()