IOpenApiDocumentTransformer.TransformAsync Méthode
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.
Transforme le document OpenAPI spécifié.
public System.Threading.Tasks.Task TransformAsync(Microsoft.OpenApi.Models.OpenApiDocument document, Microsoft.AspNetCore.OpenApi.OpenApiDocumentTransformerContext context, System.Threading.CancellationToken cancellationToken);
abstract member TransformAsync : Microsoft.OpenApi.Models.OpenApiDocument * Microsoft.AspNetCore.OpenApi.OpenApiDocumentTransformerContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function TransformAsync (document As OpenApiDocument, context As OpenApiDocumentTransformerContext, cancellationToken As CancellationToken) As Task
Paramètres
- document
- OpenApiDocument
La OpenApiDocument à modifier.
La OpenApiDocumentTransformerContext associée au .
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Objet de tâche représentant l’opération asynchrone.