@fastify/swagger 7.4.0
Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation
@fastify/swagger@7.4.0 was published on 2022-06-19. Its manifest declares 6 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 7.4.0 · Latest release
Package specifications
| Version | 7.4.0 |
|---|---|
| License declaration | MIT |
| Published | 2022-06-19T12:27:20.336Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 6 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 4681.80 KiB |
| Published file count | 71 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 36 |
| Repository stars | 1099 |
| Repository forks | 222 |
Install @fastify/swagger 7.4.0
npm install @fastify/swagger@7.4.0 pnpm add @fastify/swagger@7.4.0 yarn add @fastify/swagger@7.4.0
Runtime dependencies
- rfdc ^1.3.0
- js-yaml ^4.1.0
- openapi-types ^11.0.0
- fastify-plugin ^3.0.1
- @fastify/static ^6.0.0
- json-schema-resolver ^1.3.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.
- @fastify/accept-negotiator@1.1.0 — indirect
- @fastify/send@2.1.0 — indirect
- @fastify/static@6.12.0 — direct
- @lukeed/ms@2.0.2 — indirect
- argparse@2.0.1 — indirect
- balanced-match@1.0.2 — indirect
- brace-expansion@2.1.7 — indirect
- content-disposition@0.5.4 — indirect
- debug@4.4.3 — indirect
- depd@2.0.0 — indirect
- escape-html@1.0.3 — indirect
- fast-decode-uri-component@1.0.1 — indirect
- fastify-plugin@3.0.1 — direct
- fastify-plugin@4.5.1 — indirect
- fs.realpath@1.0.0 — indirect
- glob@8.1.0 — indirect
- http-errors@2.0.0 — indirect
- inflight@1.0.6 — indirect
- inherits@2.0.4 — indirect
- js-yaml@4.3.2 — direct
- json-schema-resolver@1.3.0 — direct
- mime@3.0.0 — indirect
- minimatch@5.1.9 — indirect
- ms@2.1.3 — indirect
- once@1.4.0 — indirect
- openapi-types@11.1.0 — direct
- p-limit@3.1.0 — indirect
- punycode@2.3.1 — indirect
- rfdc@1.4.1 — direct
- safe-buffer@5.2.1 — indirect
- setprototypeof@1.2.0 — indirect
- statuses@2.0.1 — indirect
- toidentifier@1.0.1 — indirect
- uri-js@4.4.1 — indirect
- wrappy@1.0.2 — indirect
- yocto-queue@0.1.0 — indirect
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/7.4.0 — retrieved 2026-10-29T15:52:25.356Z
- https://api.deps.dev/v3/projects/github.com%2Ffastify%2Ffastify-swagger — retrieved 2026-10-29T13:03:04.902Z
- https://api.deps.dev/v3/systems/npm/packages/%40fastify%2Fswagger/versions/7.4.0 — retrieved 2026-10-29T15:52:25.969Z
- https://api.deps.dev/v3/systems/npm/packages/%40fastify%2Fswagger/versions/7.4.0:dependencies — retrieved 2026-10-29T15:52:26.004Z