from fastapi import APIRouter
from gsap_broker.drivers.registry import DriverRegistry

router = APIRouter()

@router.get("/drivers/", summary="List drivers (GSAP §2.5)")
async def list_drivers():
    return {"drivers": DriverRegistry.list_drivers(), "gsap_version": "0.1.0"}
