What problem does it solve?
It solves the problem of producing correct, client-friendly OpenAPI documentation for .NET 10 APIs, especially when developers rely on outdated Swagger tooling or omit metadata needed for reliable schemas and operation IDs.
Core Features & Use Cases
- Built-in OpenAPI for .NET 10: Uses Microsoft.AspNetCore.OpenApi with AddOpenApi and MapOpenApi, avoiding Swashbuckle for new projects.
- Schema-accurate responses via TypedResults: Ensures OpenAPI response schemas are inferred correctly from strongly typed union return types, including ValidationProblem and problem details.
- Transformers for advanced customization: Applies document, operation, and schema transformers to add security schemes, global documentation structure, deprecations, YAML output, and JSON schema tweaks.
- Endpoint metadata enforcement: Promotes consistent use of WithName, WithSummary, WithDescription, and tags so operationId/client generation stays high quality.
- Multi-document support and build-time generation: Supports multiple documents (e.g., public/internal) and build-time OpenAPI spec output without runtime hacks.
Quick Start
Enable built-in OpenAPI by adding AddOpenApi in your builder and calling MapOpenApi in development so your app serves the generated OpenAPI document.