// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace System.Web.Http.Description
{
///
/// This attribute can be used on the controllers and actions to influence the behavior of .
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class ApiExplorerSettingsAttribute : Attribute
{
///
/// Gets or sets a value indicating whether to exclude the controller or action from the ApiDescriptions generated by .
///
///
/// true if the controller or action should be ignored; otherwise, false.
///
public bool IgnoreApi { get; set; }
}
}