1 instantiation of OpenApiDocumentTransformerContext
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
93var documentTransformerContext = new OpenApiDocumentTransformerContext
21 references to OpenApiDocumentTransformerContext
Microsoft.AspNetCore.OpenApi (9)
Services\OpenApiDocumentService.cs (1)
93var documentTransformerContext = new OpenApiDocumentTransformerContext
Services\OpenApiOptions.cs (1)
91public OpenApiOptions AddDocumentTransformer(Func<OpenApiDocument, OpenApiDocumentTransformerContext, CancellationToken, Task> transformer)
Transformers\DelegateOpenApiDocumentTransformer.cs (3)
11private readonly Func<OpenApiDocument, OpenApiDocumentTransformerContext, CancellationToken, Task>? _documentTransformer; 14public DelegateOpenApiDocumentTransformer(Func<OpenApiDocument, OpenApiDocumentTransformerContext, CancellationToken, Task> transformer) 24public async Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Transformers\Implementations\OpenApiSchemaReferenceTransformer.cs (1)
17public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Transformers\IOpenApiDocumentTransformer.cs (2)
17/// <param name="context">The <see cref="OpenApiDocumentTransformerContext"/> associated with the <see paramref="document"/>.</param> 20Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken);
Transformers\TypeBasedOpenApiDocumentTransformer.cs (1)
23public async Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
TransformersBenchmark.cs (1)
158public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Microsoft.AspNetCore.OpenApi.Tests (9)
Transformers\DocumentTransformerTests.cs (4)
245public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken) 263public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken) 282public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken) 291public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Transformers\OpenApiOptionsTests.cs (2)
14var transformer = new Func<OpenApiDocument, OpenApiDocumentTransformerContext, CancellationToken, Task>((document, context, cancellationToken) => 182public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Transformers\OperationTransformerTests.cs (1)
112public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Transformers\TypeBasedTransformerLifetimeTests.cs (2)
408public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken) 423public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Sample (2)
Transformers\AddBearerSecuritySchemeTransformer.cs (1)
12public async Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)
Transformers\AddContactTransformer.cs (1)
11public Task TransformAsync(OpenApiDocument document, OpenApiDocumentTransformerContext context, CancellationToken cancellationToken)