# What changed in @fastify/swagger

> 4 changes in @fastify/swagger 9 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@fastify/swagger/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @fastify/swagger 9

### New APIs and options

- Support untyped oneOf query properties. (9.9.1) — [release notes](https://github.com/fastify/fastify-swagger/releases/tag/v9.9.1)

### Behavior and default changes

- Support references to definitions of shared schemas. (9.9.1) — [release notes](https://github.com/fastify/fastify-swagger/releases/tag/v9.9.1)
- Adds compatibility with OpenAPI 3.2.0. (9.9.0) — [release notes](https://github.com/fastify/fastify-swagger/releases/tag/v9.9.0)

### Fixes and other changes

- Convert nullable and preserve examples for OpenAPI 3.1 and later. (9.9.1) — [release notes](https://github.com/fastify/fastify-swagger/releases/tag/v9.9.1)
