Skip to content
JS
Package

@fastify/swagger

Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation

v9.9.0, 22 Sept 2026MITCommonJSTypes: BundledDocumentation tooling
$ npm install @fastify/swagger

Key numbers

As of 25 Sept 2026
Weekly downloads
1.8m
+253% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
2 days ago
v9.9.0
GitHub stars
1.1k
219 forks
Open issues / PRs
7 / 8
Contributors
-
Commits, last 52 weeks
44

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.6m (25 Aug 2026)Low 355.6k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,760,284 downloads last week, 9,151,124 in the last month. The 12-month change of +253% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
854 in total
Latest version
9.9.0, 22 Sept 20262 days ago
First published
27 Apr 2022
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
7
Open pull requests
8
Commits, last 52 weeks
44
Dependents on npm
447

Major versions

  1. v9 first release 9.0.0, 5 Sept 2024
  2. v8 first release 8.0.0, 10 Oct 2022
  3. v7 first release 7.0.0, 16 May 2022
  4. v6 first release 6.0.0, 27 Apr 2022

Recent releases

VersionPublished
9.9.022 Sept 2026
9.8.221 Sept 2026
9.8.113 Jul 2026
9.8.08 Jul 2026
9.7.07 Feb 2026
9.6.112 Nov 2025
9.6.08 Nov 2025
9.5.225 Sept 2025
9.5.17 May 2025
9.5.013 Apr 2025
9.4.219 Jan 2025
9.4.111 Jan 2025
9.4.022 Nov 2024
9.3.015 Nov 2024
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
382 kB
Dependencies (5)
rfdcyamlopenapi-typesfastify-pluginjson-schema-resolver
npm install @fastify/swagger
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@fastify/swagger@9.9.0/
  • unpkghttps://unpkg.com/@fastify/swagger@9.9.0/
  • esm.shhttps://esm.sh/@fastify/swagger@9.9.0
PackageWeekly downloadsGzipLast releaseModuleComparison
oas-kit-common3m-6 years agoCommonJS-
@scalar/fastify-api-reference254.8k-todayESM only-
oas-schema-walker3m-6 years agoCommonJS-
starlight-openapi43.2k-21 days agoESM only-
swagger-autogen71.6k-2 years agoCommonJS-
oas-resolver3m-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.