Extension methods for integrating OpenAPI/Swagger SDK generation into .NET Aspire distributed applications.
- Add OpenAPI Generator as a container resource
- Generate SDK clients for your APIs automatically
- Download generated SDKs to your project
- Logging and health check integration
Install via NuGet:
dotnet add package WebAPIDocsExtensionAspireusing WebAPIDocsExtensionAspire;
var builder = DistributedApplication.CreateBuilder(args);
var apiService = builder.AddProject<Projects.MyApi>("api");
apiService.AddSDKGeneration_openapitools(apiService);
builder.Build().Run();This project is licensed under the MIT License. See LICENSE.txt for details.
