ExcludeFromDescriptionAttribute Clase

Definición

Indica que Endpoint esto no debe incluirse en los metadatos de API generados.

[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
Herencia
ExcludeFromDescriptionAttribute
Atributos
Implementaciones

Constructores

Nombre Description
ExcludeFromDescriptionAttribute()

Indica que Endpoint esto no debe incluirse en los metadatos de API generados.

Propiedades

Nombre Description
ExcludeFromDescription

Obtiene un valor que indica si los datos de OpenAPI deben excluirse para este punto de conexión. Si truees , no se emiten metadatos de API.

Métodos

Nombre Description
ToString()

Indica que Endpoint esto no debe incluirse en los metadatos de API generados.

Se aplica a