File: ApiExplorer\IApiDescriptionVisibilityProvider.cs
Web Access
Project: src\src\Mvc\Mvc.Core\src\Microsoft.AspNetCore.Mvc.Core.csproj (Microsoft.AspNetCore.Mvc.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Mvc.ApiExplorer;
 
/// <summary>
/// Represents visibility metadata for an <c>ApiDescription</c>.
/// </summary>
public interface IApiDescriptionVisibilityProvider
{
    /// <summary>
    /// If <c>true</c> then no <c>ApiDescription</c> objects will be created for the associated controller
    /// or action.
    /// </summary>
    bool IgnoreApi { get; }
}