OpenApiOptions.ShouldInclude Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Délégué pour déterminer si une ApiDescription donnée doit être incluse dans le document OpenAPI donné.
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)