from fastapi import APIRouter

from app.schemas.colonias import ColoniaResponse
from app.services.simulation import get_colonias

router = APIRouter(tags=["colonias"])


@router.get("/colonias", response_model=list[ColoniaResponse])
def list_colonias():
    return get_colonias()