7 references to AddOpenApi
Microsoft.AspNetCore.OpenApi (2)
Extensions\OpenApiServiceCollectionExtensions.cs (2)
35return services.AddOpenApi(documentName, _ => { }); 92=> services.AddOpenApi(OpenApiConstants.DefaultDocumentName, configureOptions);
Microsoft.AspNetCore.OpenApi.Tests (5)
Extensions\OpenApiServiceCollectionExtensionsTests.cs (5)
54var returnedServices = services.AddOpenApi(documentName, options => { }); 68services.AddOpenApi(documentName, options => { }); 155.AddOpenApi(documentName, options => options.OpenApiVersion = OpenApiSpecVersion.OpenApi2_0) 156.AddOpenApi(documentName, options => options.OpenApiVersion = OpenApiSpecVersion.OpenApi3_0); 179.AddOpenApi(documentName, options => options.OpenApiVersion = OpenApiSpecVersion.OpenApi2_0)