اقرأ باللغة الإنجليزية

مشاركة عبر


ApiExplorerSettingsAttribute Class

Definition

Controls the visibility and group name for an ApiDescription of the associated controller class or action method.

C#
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public class ApiExplorerSettingsAttribute : Attribute, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionGroupNameProvider, Microsoft.AspNetCore.Mvc.ApiExplorer.IApiDescriptionVisibilityProvider
Inheritance
ApiExplorerSettingsAttribute
Attributes
Implements

Constructors

Properties

GroupName

The group name for the ApiDescription of the associated action or controller.

IgnoreApi

If true then no ApiDescription objects will be created for the associated controller or action.

Applies to

منتج الإصدارات
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0