11 references to AddDocumentTransformer
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
TransformersBenchmark.cs (1)
63
_options.
AddDocumentTransformer
<DocumentTransformer>();
Microsoft.AspNetCore.OpenApi.Tests (10)
Transformers\DocumentTransformerTests.cs (3)
48
options.
AddDocumentTransformer
<ActivatedTransformer>();
134
options.
AddDocumentTransformer
<DisposableTransformer>();
153
options.
AddDocumentTransformer
<AsyncDisposableTransformer>();
Transformers\OpenApiOptionsTests.cs (1)
56
var result = options.
AddDocumentTransformer
<TestOpenApiDocumentTransformer>();
Transformers\OperationTransformerTests.cs (1)
57
options.
AddDocumentTransformer
<MyDocumentationTransformer>();
Transformers\TypeBasedTransformerLifetimeTests.cs (5)
219
options.
AddDocumentTransformer
<ActivatedDocumentTransformer>();
240
options.
AddDocumentTransformer
<ActivatedDocumentTransformer>();
263
options.
AddDocumentTransformer
<ActivatedDocumentTransformerWithDependency>();
289
options.
AddDocumentTransformer
<ActivatedDocumentTransformerWithDependency>();
315
options.
AddDocumentTransformer
<ActivatedDocumentTransformerWithDependency>();