Swashbuckle
A community library that generated OpenAPI documents and the Swagger UI page for ASP.NET Core, included in templates before .NET 9.
In more detail
It is still maintained as a community project and can be added to any project. New projects use the built-in AddOpenApi generator instead, with a separate UI such as Scalar if wanted.
Related terms
- OpenAPI — A standard, language-neutral format for describing an HTTP API: its paths, operations, parameters, request and response schemas, errors and security.
- AddOpenApi — The pair of ASP.NET Core calls that registers built-in OpenAPI document generation (AddOpenApi) and exposes the JSON document as an endpoint (MapOpenApi).
- Scalar — An open-source browser interface that renders an OpenAPI document as interactive API documentation and can send test requests.
Taught in
- OpenAPI Generation in .NET 9 — Modern .NET Core, C# & Enterprise Microservices
- API Documentation UI with Scalar — Modern .NET Core, C# & Enterprise Microservices