ExcludeFromDescriptionAttribute Třída

Definice

Označuje, že by to Endpoint nemělo být součástí vygenerovaných metadat rozhraní API.

[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
Dědičnost
ExcludeFromDescriptionAttribute
Atributy
Implementuje

Konstruktory

ExcludeFromDescriptionAttribute()

Vlastnosti

ExcludeFromDescription

Získá hodnotu označující, jestli mají být data OpenAPI vyloučena pro tento koncový bod. Pokud truese nevygeneruje metadata rozhraní API.

Platí pro