Freigeben über


OpenApiOptions.ShouldInclude Eigenschaft

Definition

Eine Stellvertretung, um zu bestimmen, ob eine bestimmte ApiDescription in das angegebene OpenAPI-Dokument aufgenommen werden soll.

public Func<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription,bool> ShouldInclude { get; set; }
member this.ShouldInclude : Func<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription, bool> with get, set
Public Property ShouldInclude As Func(Of ApiDescription, Boolean)

Eigenschaftswert

Gilt für: