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)
48options.AddDocumentTransformer<ActivatedTransformer>(); 134options.AddDocumentTransformer<DisposableTransformer>(); 153options.AddDocumentTransformer<AsyncDisposableTransformer>();
Transformers\OpenApiOptionsTests.cs (1)
56var result = options.AddDocumentTransformer<TestOpenApiDocumentTransformer>();
Transformers\OperationTransformerTests.cs (1)
57options.AddDocumentTransformer<MyDocumentationTransformer>();
Transformers\TypeBasedTransformerLifetimeTests.cs (5)
219options.AddDocumentTransformer<ActivatedDocumentTransformer>(); 240options.AddDocumentTransformer<ActivatedDocumentTransformer>(); 263options.AddDocumentTransformer<ActivatedDocumentTransformerWithDependency>(); 289options.AddDocumentTransformer<ActivatedDocumentTransformerWithDependency>(); 315options.AddDocumentTransformer<ActivatedDocumentTransformerWithDependency>();