ildar-shaymukhametov_grandnode-refactorings/Grand.Framework/Extensions/ApiExplorerIgnores.cs
using Microsoft.AspNetCore.Mvc.ApplicationModels;

namespace Grand.Framework.Extensions
{
    public class ApiExplorerIgnores : IActionModelConvention
    {
        public void Apply(ActionModel action)
        {
            if (action.Controller.ControllerName.Equals("Pwa"))
                action.ApiExplorer.IsVisible = false;
        }
    }
}
