@asteasolutions/zod-to-openapi alternatives
8 packages that do the same job as @asteasolutions/zod-to-openapi: zod-openapi, fastify-zod-openapi, @hey-api/spec-types, @hey-api/openapi-ts, oas-schema-walker, @apidevtools/openapi-schemas, openapi-schemas, oazapfts. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| @asteasolutions/zod-to-openapi This package | 3m | +256% | - | 1 | 2 months ago | ESM + CommonJS | Bundled | - |
| zod-openapi | 994k | +287% | - | 0 | 24 days ago | ESM + CommonJS | Bundled | - |
| fastify-zod-openapi | 54.1k | +106% | - | 4 | 2 months ago | ESM + CommonJS | Bundled | - |
| @hey-api/spec-types | 2.3m | - | - | 1 | 5 months ago | ESM only | Bundled | - |
| @hey-api/openapi-ts | 3.4m | +473% | - | 10 | 3 months ago | ESM only | Bundled | - |
| oas-schema-walker | 3m | +56% | - | 0 | 6 years ago | CommonJS | None | - |
| @apidevtools/openapi-schemas | 3.8m | +49% | - | 0 | 5 years ago | CommonJS | Bundled | - |
| openapi-schemas | 36.4k | -34% | - | 1 | 5 years ago | CommonJS | Bundled | - |
| oazapfts | 194.8k | +36% | - | 6 | - | ESM + CommonJS | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Convert Zod Schemas to OpenAPI v3.x documentation
Compared with @asteasolutions/zod-to-openapi
- 3.0x fewer weekly downloads (994k vs 3m)
- 0 dependencies vs 1
- Declares Node.js >=22.14.0 vs none declared
- Last release 31 Aug 2026 vs 19 Jul 2026
- 2.5x fewer GitHub stars (646 vs 1.6k)
Fastify plugin for zod-openapi
Compared with @asteasolutions/zod-to-openapi
- 56x fewer weekly downloads (54.1k vs 3m)
- 4 dependencies vs 1
- Declares Node.js >=20 vs none declared
- Last release 20 Jul 2026 vs 19 Jul 2026
- 13x fewer GitHub stars (122 vs 1.6k)
📃 TypeScript definitions for OpenAPI and JSON Schema specifications with complete inline documentation.
Compared with @asteasolutions/zod-to-openapi
- 1.3x fewer weekly downloads (2.3m vs 3m)
- ESM only vs ESM + CommonJS
- Last release 13 Apr 2026 vs 19 Jul 2026
- 3.4x more GitHub stars (5.4k vs 1.6k)
🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
Compared with @asteasolutions/zod-to-openapi
- 1.1x more weekly downloads (3.4m vs 3m)
- 10 dependencies vs 1
- ESM only vs ESM + CommonJS
- Declares Node.js >=22.18.0 vs none declared
- Last release 22 Jun 2026 vs 19 Jul 2026
- 3.4x more GitHub stars (5.4k vs 1.6k)
Library to walk OAS 3 schema objects and call a callback
Compared with @asteasolutions/zod-to-openapi
- About the same weekly downloads (3m vs 3m)
- 0 dependencies vs 1
- CommonJS vs ESM + CommonJS
- No types vs bundled types
- Last release 31 Jul 2020 vs 19 Jul 2026
- 2.2x fewer GitHub stars (747 vs 1.6k)
JSON Schemas for every version of the OpenAPI Specification
Compared with @asteasolutions/zod-to-openapi
- 1.2x more weekly downloads (3.8m vs 3m)
- 0 dependencies vs 1
- CommonJS vs ESM + CommonJS
- Declares Node.js >=10 vs none declared
- Last release 1 May 2021 vs 19 Jul 2026
- 36x fewer GitHub stars (45 vs 1.6k)
JSON Schemas for every version of the OpenAPI Specification
Compared with @asteasolutions/zod-to-openapi
- 83x fewer weekly downloads (36.4k vs 3m)
- CommonJS vs ESM + CommonJS
- Declares Node.js >=10 vs none declared
- Last release 1 May 2021 vs 19 Jul 2026
- 36x fewer GitHub stars (45 vs 1.6k)
OpenApi TypeScript client generator
Compared with @asteasolutions/zod-to-openapi
- 16x fewer weekly downloads (194.8k vs 3m)
- 6 dependencies vs 1
- Last release - vs 19 Jul 2026
- 2.8x fewer GitHub stars (579 vs 1.6k)
Indexability: Indexed.