Comparison
@hey-api/openapi-ts vs @asteasolutions/zod-to-openapi
Documentation toolingPackage data 25 Sept 2026
@hey-api/openapi-tsv0.99.0, 22 Jun 2026
🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.
$ npm install @hey-api/openapi-ts@asteasolutions/zod-to-openapiv9.1.0, 19 Jul 2026
Builds OpenAPI schemas from Zod schemas
$ npm install @asteasolutions/zod-to-openapi| Metric | @hey-api/openapi-ts | @asteasolutions/zod-to-openapi | Difference |
|---|---|---|---|
| Weekly downloads | 3,373,199 | 3,025,867 | @hey-api/openapi-ts +11% |
| 12-month download growth | +473% | +256% | @hey-api/openapi-ts +217 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 10 | 1 | @hey-api/openapi-ts 9 more |
| Unpacked size | 2.8 MB | 224 kB | @asteasolutions/zod-to-openapi 12.8x smaller |
| Latest release | 0.99.0, 22 Jun 2026 | 9.1.0, 19 Jul 2026 | @asteasolutions/zod-to-openapi 27 days more recent |
| Releases, last 12 months | 67 | 12 | @hey-api/openapi-ts 55 more |
| First published | 22 Mar 2024 | 16 Apr 2022 | @asteasolutions/zod-to-openapi 23 months earlier |
| GitHub stars | 5,438 | 1,623 | @hey-api/openapi-ts 3.4x higher |
| Open issues | 518 | 28 | @hey-api/openapi-ts 490 more |
| Open pull requests | 121 | 12 | @hey-api/openapi-ts 109 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 2,998 | 64 | @hey-api/openapi-ts 46.8x higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | ESM only | ESM + CommonJS | Differs |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.
@hey-api/openapi-ts3.4m latest week@asteasolutions/zod-to-openapi3m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
@hey-api/openapi-ts
Major versions
- 0.27.3722 Mar 2024
Last 5 releases
- 0.99.022 Jun 2026
- 0.98.28 Jun 2026
- 0.98.11 Jun 2026
- 0.98.01 Jun 2026
- 0.97.325 May 2026
271 releases in total, 67 in the last 12 months
@asteasolutions/zod-to-openapi
Major versions
- 0.3.616 Apr 2022
- 1.0.026 Apr 2022
- 2.0.03 Oct 2022
- 3.0.07 Nov 2022
- 4.0.020 Dec 2022
- 5.0.023 May 2023
- 6.0.02 Oct 2023
- 7.0.05 Apr 2024
- 8.0.015 Jul 2025
- 9.0.014 Jul 2026
Last 5 releases
- 9.1.019 Jul 2026
- 9.0.014 Jul 2026
- 8.5.020 Mar 2026
- 8.4.32 Mar 2026
- 8.4.22 Mar 2026
74 releases in total, 12 in the last 12 months
@hey-api/openapi-ts
-
@asteasolutions/zod-to-openapi
-
@hey-api/openapi-ts
-
@asteasolutions/zod-to-openapi
-
- Need both ESM and CommonJS entry points@asteasolutions/zod-to-openapi (@hey-api/openapi-ts: ESM only; @asteasolutions/zod-to-openapi: ESM + CommonJS)
- Need to load it with require()@asteasolutions/zod-to-openapi
- Need TypeScript types in the package itselfBoth
- Node.js version requirement@hey-api/openapi-ts: >=22.18.0; @asteasolutions/zod-to-openapi: none declared (engines field in package.json)
- Need the more recent release@asteasolutions/zod-to-openapi (9.1.0 on 19 Jul 2026 vs 0.99.0 on 22 Jun 2026)
- Higher weekly npm downloads@hey-api/openapi-ts (3.4m vs 3m)
Each line is generated from the data above.
- @hey-api/openapi-ts vs openapi-typescript-codegenNo search data
- @hey-api/openapi-ts vs zod-openapiNo search data
- openapi-fetch vs @hey-api/openapi-tsNo search data
- @asteasolutions/zod-to-openapi vs zod-openapiNo search data
- @asteasolutions/zod-to-openapi vs oazapftsNo search data
- @asteasolutions/zod-to-openapi vs @kubb/oasNo search data
@hey-api/openapi-ts: @hey-api/openapi-ts npm registry, @hey-api/openapi-ts npm downloads, @hey-api/openapi-ts GitHub. Data fetched 25 Sept 2026.
@asteasolutions/zod-to-openapi: @asteasolutions/zod-to-openapi npm registry, @asteasolutions/zod-to-openapi npm downloads, @asteasolutions/zod-to-openapi GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.