13 references to GetOpenApiDocumentAsync
Microsoft.AspNetCore.OpenApi (3)
Extensions\OpenApiEndpointRouteBuilderExtensions.cs (1)
52
var document = await documentService.
GetOpenApiDocumentAsync
(context.RequestServices, context.Request, context.RequestAborted);
Services\OpenApiDocumentProvider.cs (1)
55
var document = await targetDocumentService.
GetOpenApiDocumentAsync
(scopedService.ServiceProvider);
Services\OpenApiDocumentService.cs (1)
765
return
GetOpenApiDocumentAsync
(serviceProvider, httpRequest: null, cancellationToken);
Microsoft.AspNetCore.OpenApi.Microbenchmarks (7)
GenerationBenchmarks.cs (1)
45
await _documentService.
GetOpenApiDocumentAsync
(_serviceProvider);
TransformersBenchmark.cs (6)
123
await _documentService.
GetOpenApiDocumentAsync
(_serviceProvider);
129
await _documentService.
GetOpenApiDocumentAsync
(_serviceProvider);
135
await _documentService.
GetOpenApiDocumentAsync
(_serviceProvider);
141
await _documentService.
GetOpenApiDocumentAsync
(_serviceProvider);
147
await _documentService.
GetOpenApiDocumentAsync
(_serviceProvider);
153
await _documentService.
GetOpenApiDocumentAsync
(_serviceProvider);
Microsoft.AspNetCore.OpenApi.Tests (3)
Integration\OpenApiDocumentIntegrationTests.cs (1)
31
var document = await documentService.
GetOpenApiDocumentAsync
(scopedServiceProvider.ServiceProvider);
Services\OpenApiDocumentServiceTestsBase.cs (2)
36
var document = await documentService.
GetOpenApiDocumentAsync
(scopedService.ServiceProvider, null, cancellationToken);
45
var document = await documentService.
GetOpenApiDocumentAsync
(scopedService.ServiceProvider, null, cancellationToken);