using Microsoft.AspNetCore.Mvc.ApplicationModels;
using System.Linq;

namespace AsbCloudWebApi.Conventions;

public class ApiExplorerGroupPerVersionConvention : IControllerModelConvention
{
    public void Apply(ControllerModel controller)
    {
        controller.ApiExplorer.GroupName = "v1";
    }
}