11 references to AddOpenApi
GetDocumentSample (1)
Program.cs (1)
13builder.Services.AddOpenApi("internal");
Microsoft.AspNetCore.OpenApi (1)
Extensions\OpenApiServiceCollectionExtensions.cs (1)
107=> services.AddOpenApi(OpenApiConstants.DefaultDocumentName);
Microsoft.AspNetCore.OpenApi.Tests (5)
Extensions\OpenApiEndpointRouteBuilderExtensionsTests.cs (1)
213.AddOpenApi(documentName)
Extensions\OpenApiServiceCollectionExtensionsTests.cs (3)
20var returnedServices = services.AddOpenApi(documentName); 34services.AddOpenApi(documentName); 180.AddOpenApi(documentName);
Services\OpenApiDocumentProviderTests.cs (1)
69serviceCollection.AddOpenApi(documentName);
Sample (4)
Program.cs (4)
32builder.Services.AddOpenApi("controllers"); 33builder.Services.AddOpenApi("responses"); 34builder.Services.AddOpenApi("forms"); 35builder.Services.AddOpenApi("schemas-by-ref");