using Microsoft.AspNetCore.Mvc;
using Nexus.Api.Routing;

namespace Nexus.Api.Controllers;

[ApiController]
[Route("api/v1/routing")]
public class RoutingController(ModelRoutingService routing) : ControllerBase
{
    [HttpGet]
    public async Task<IResult> GetStatus(CancellationToken ct)
        => Results.Ok(await routing.GetStatusAsync(ct));
}
