# Swashbuckle

Swagger tools for documenting API's built on ASP.NET Core

Repository: https://github.com/domaindrivendev/Swashbuckle.AspNetCore
Canonical: https://ross.abutalabs.com/products/swashbuckle
Language: C#
License: MIT
License Family: permissive
Last push: 2026-08-26T10:42:41+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 89, longevity 100
- inputs: {"age_days": 4188, "days_push": 7, "days_rel": 72, "gap_med": 12, "n_releases_24m": 36}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5496, forks 1342 (observed 2026-08-28T04:09:19.893492+00:00)

## What it is
Swashbuckle.AspNetCore is a library that generates OpenAPI (Swagger) documents for ASP.NET Core APIs directly from code, with an embedded Swagger UI for exploring and testing endpoints. It supports Swagger 2.0 and OpenAPI 3.0/3.1, keeping API documentation automatically in sync with the latest code.

## Use cases
- generate openapi documentation for asp.net core api
- add swagger ui to web api
- document rest api endpoints automatically
- test api endpoints from a browser ui
- produce openapi json for client code generation
- keep api docs in sync with code

## When to choose
- you build ASP.NET Core APIs and want living, code-generated OpenAPI docs
- you want an embedded Swagger UI with minimal setup
- you need OpenAPI 2.0/3.0/3.1 output for downstream tooling like client generators

## When to avoid
- your API is not built on ASP.NET Core / .NET
- you need hand-authored, heavily customized documentation rather than code-generated specs
- you use a non-Microsoft web framework with its own OpenAPI tooling

## Facets
- artifact type: library
- maturity: stable
- function: api-documentation, documentation, middleware, web-framework
- domain: web-development, backend, apis, documentation, developer-tools
- platform: dotnet, cross-platform
- tags: swagger, openapi, aspnet-core, swagger-ui, api-docs, csharp, web-server

## Member repositories
- domaindrivendev/Swashbuckle.AspNetCore (main) score 96
- domaindrivendev/Swashbuckle.WebApi (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:19.893492+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:56:19.012712+00:00, confidence not recorded.
  - readme: https://github.com/domaindrivendev/Swashbuckle.AspNetCore (fetched 2026-08-28T04:09:19.893492+00:00, sha c47f6723a1be)
- Data as of 2026-08-30T08:39:29.467469+00:00.
