10 references to AddOperationTransformer
Microsoft.AspNetCore.OpenApi.Microbenchmarks (1)
TransformersBenchmark.cs (1)
35_options.AddOperationTransformer<OperationTransformer>();
Microsoft.AspNetCore.OpenApi.Tests (9)
Transformers\OpenApiOptionsTests.cs (1)
113var result = options.AddOperationTransformer<TestOpenApiOperationTransformer>();
Transformers\OperationTransformerTests.cs (4)
77options.AddOperationTransformer<MyOperationTransformer3>(); 220options.AddOperationTransformer<ActivatedTransformer>(); 348options.AddOperationTransformer<DisposableTransformer>(); 379options.AddOperationTransformer<AsyncDisposableTransformer>();
Transformers\TypeBasedTransformerLifetimeTests.cs (4)
121options.AddOperationTransformer<ActivatedOperationTransformer>(); 142options.AddOperationTransformer<ActivatedOperationTransformerWithDependency>(); 168options.AddOperationTransformer<ActivatedOperationTransformerWithDependency>(); 194options.AddOperationTransformer<ActivatedOperationTransformerWithDependency>();