Share via


ExcludeFromDescriptionAttribute Classe

Definizione

Indica che non Endpoint deve essere incluso nei metadati dell'API generati.

[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
Ereditarietà
ExcludeFromDescriptionAttribute
Attributi
Implementazioni

Costruttori

ExcludeFromDescriptionAttribute()

Indica che non Endpoint deve essere incluso nei metadati dell'API generati.

Proprietà

ExcludeFromDescription

Ottiene un valore che indica se i dati OpenAPI devono essere esclusi per questo endpoint. Se true, i metadati dell'API non vengono generati.

Metodi

ToString()

Indica che non Endpoint deve essere incluso nei metadati dell'API generati.

Si applica a