ExcludeFromDescriptionAttribute Class

Definition

Indicates that this Endpoint should not be included in the generated API metadata.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class ExcludeFromDescriptionAttribute : Attribute, Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type ExcludeFromDescriptionAttribute = class
    inherit Attribute
    interface IExcludeFromDescriptionMetadata
Public NotInheritable Class ExcludeFromDescriptionAttribute
Inherits Attribute
Implements IExcludeFromDescriptionMetadata
Inheritance
ExcludeFromDescriptionAttribute
Attributes
Implements

Constructors

ExcludeFromDescriptionAttribute()

Properties

ExcludeFromDescription

Gets a value indicating whether OpenAPI data should be excluded for this endpoint. If true, API metadata is not emitted.

Methods

ToString() System.Attribute.ToString

Applies to