npm / @fastify/swagger
@fastify/swagger
What changed in @fastify/swagger 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 new APIs and options2 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@fastify/swagger 94 changes
New APIs and options 1
Support untyped oneOf query properties.
Behavior and default changes 2
Support references to definitions of shared schemas.
Adds compatibility with OpenAPI 3.2.0.
Fixes and other changes 1
Convert nullable and preserve examples for OpenAPI 3.1 and later.