# @fastify/swagger — card for AI agents

Generate and serve Swagger/OpenAPI documentation for Fastify.

Category: HTTP servers and APIs · npm package `@fastify/swagger` · latest version 9.9.2 (checked 2026-11-01)
Install: `npm install @fastify/swagger`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 48.1 (#2207 of all tools, 58 of 102 in its category)
- Downloads last week: 4,752,080 (as of 2026-11-24), +55.1% over 4 weeks
- GitHub stars: 1,102 (as of 2026-11-24)
- Last push: 2026-11-16

## Often used with
Fastify 100.0%, tsx 73.3%, Fastify CORS 66.7%, Vitest 73.3%, Zod 80.0%, dotenv 60.0%

## Links
- AgentGid page: https://agentgid.com/tools/fastify-swagger/
- Homepage: https://github.com/fastify/fastify-swagger#readme
- Repository: https://github.com/fastify/fastify-swagger

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
