Surnet/swagger-jsdoc
Generates swagger/openapi specification based on jsDoc comments and YAML files. observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 99
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4106
- days_rel: 103
- days_push: 10
- n_releases_24m: 1
Adoption not part of the score
1788 stars · 228 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js library that reads JSDoc-annotated source code and YAML files to generate OpenAPI (Swagger) specifications. It supports OpenAPI 3.x, Swagger 2, and AsyncAPI 2.0, with optional validation that throws on parsing errors.
Use cases
- generate openapi spec from jsdoc comments
- document express api routes with swagger annotations
- keep api docs in sync with code
- validate swagger docs in unit tests
- generate openapi 3.0 specification from yaml files
- document nodejs rest api
When to choose
- you want API documentation defined inline next to route handlers as JSDoc comments
- you need a validated OpenAPI/Swagger/AsyncAPI spec generated at build or runtime in Node.js
- you prefer documenting APIs in YAML blocks within source files
When to avoid
- you want to write OpenAPI specs by hand without code annotations
- your project is not JavaScript/Node.js based
- you need spec generation from other sources like TypeScript types or runtime request inspection
Facets
library · maturity active
api-documentation documentation parser developer-tools apis documentation web-development developer-tools openapi swagger jsdoc api-specification code-generation nodejs javascript
2 sources
- readme: https://github.com/Surnet/swagger-jsdoc · fetched 2026-08-28 · e3cae7aa49c7
- registry_npm: https://registry.npmjs.org/swagger-jsdoc · fetched 2026-08-29 · d1d1da341538
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Surnet/swagger-jsdoc | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="Surnet/swagger-jsdoc")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem