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

ExcludeFromDescriptionAttribute()

Propiedades

ExcludeFromDescription

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

Se aplica a