// 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.
using System;
using Microsoft.AspNet.Mvc.ApiExplorer;
namespace Microsoft.AspNet.Mvc
{
///
/// Controls the visibility and group name for an ApiDescription
/// of the associated controller class or action method.
///
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class ApiExplorerSettingsAttribute :
Attribute,
IApiDescriptionGroupNameProvider,
IApiDescriptionVisibilityProvider
{
///
public string GroupName { get; set; }
///
public bool IgnoreApi { get; set; }
}
}