@fastify/swagger
Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation
@fastify/swagger@9.9.2 was published on 2026-10-09. Its manifest declares 5 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @fastify/swagger versions · Permanent reference to 9.9.2
Package specifications
| Version | 9.9.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-09T15:38:19.302Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 417.62 KiB |
| Published file count | 63 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 8 |
| Repository stars | 1099 |
| Repository forks | 222 |
Install @fastify/swagger 9.9.2
npm install @fastify/swagger@9.9.2 pnpm add @fastify/swagger@9.9.2 yarn add @fastify/swagger@9.9.2
Runtime dependencies
- rfdc ^1.3.1
- yaml ^2.4.2
- openapi-types ^12.1.3
- fastify-plugin ^6.0.0
- json-schema-resolver ^3.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- debug@4.4.3 — indirect
- fast-uri@3.1.9 — indirect
- fastify-plugin@6.0.1 — direct
- json-schema-resolver@3.0.0 — direct
- ms@2.1.3 — indirect
- openapi-types@12.1.3 — direct
- rfdc@1.4.1 — direct
- yaml@2.9.1 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 13 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 6/10 — Found 14/21 approved changesets -- score normalized to 6 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Security-Policy | 10/10 — security policy file detected |
| SAST | 8/10 — SAST tool is not run on all commits -- score normalized to 8 |
Evidence and freshness
- https://registry.npmjs.org/%40fastify%2Fswagger/9.9.2 — retrieved 2026-10-29T13:03:04.215Z
- https://api.deps.dev/v3/systems/npm/packages/%40fastify%2Fswagger/versions/9.9.2 — retrieved 2026-10-29T13:03:04.730Z
- https://api.deps.dev/v3/systems/npm/packages/%40fastify%2Fswagger/versions/9.9.2:dependencies — retrieved 2026-10-29T13:03:04.774Z
- https://api.deps.dev/v3/projects/github.com%2Ffastify%2Ffastify-swagger — retrieved 2026-10-29T13:03:04.902Z