I am using Net 6 Minimal APIs:
application.MapGet("countries", async (IService service) => {
var countries = await mediator.Send(request);
return Results.Ok(countries);
});
Is it possible to use AspNet Api Versioning with Net 6 Minimal APIs? How?