Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

@fastify/swagger

Generate and serve Swagger/OpenAPI documentation for Fastify.

HTTP servers and APIsNPM

GitHubWebsite

1. License

License from npm.

github.com/fastify/fastify-swagger

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What @fastify/swagger does

Generate and serve Swagger/OpenAPI documentation for Fastify.

@fastify/swagger popularity

48 / 100
Gid Score, #2207 overall
4.8M
downloads a week, npm
1,102
GitHub stars
@fastify/swagger: downloads per weeknpm, @fastify/swagger 4,752,080
@fastify/swagger: GitHub starsfastify/fastify-swagger 1,102

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How @fastify/swagger is used

  • @fastify/swagger joined the catalog on its public numbers (4,752,080 downloads a week on npm and 1,102 GitHub stars), not on our project count: it is a dependency in 15 public GitHub projects of our scan, 0 of them set up for AI coding agents.
  • Projects that use it most often also use Fastify (100.0%), tsx (73.3%), Fastify CORS (66.7%).

Often used with

In 100.0% of its projects
In 73.3% of its projects
In 66.7% of its projects
In 73.3% of its projects
In 80.0% of its projects
In 60.0% of its projects
In 53.3% of its projects
In 46.7% of its projects

More about @fastify/swagger

Funding
  • GitHub Sponsors: https://github.com/fastify
  • Open Collective: https://opencollective.com/fastify
  • 10 GitHub sponsors

See all

More in HTTP servers and APIs

Alternatives

@fastify/swagger This page

MITGid 484.8M/wk

Compare @fastify/swagger with another tool

Get started

Install it.

npm install @fastify/swagger

No step-by-step start for @fastify/swagger yet: we have not written its hand-checked card.