zod-openapiv6.0.2, 31 Aug 2026
Convert Zod Schemas to OpenAPI v3.x documentation
$ npm install zod-openapi| Metric | openapi-types | zod-openapi | Difference |
|---|---|---|---|
| Weekly downloads | 10,037,873 | 993,987 | openapi-types 10.1x higher |
| 12-month download growth | +102% | +287% | zod-openapi +185 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 0 | Same |
| Unpacked size | 32 kB | 191 kB | openapi-types 6.0x smaller |
| Latest release | 12.1.3, 24 May 2023 | 6.0.2, 31 Aug 2026 | zod-openapi 3.3 years more recent |
| Releases, last 12 months | 0 | 8 | zod-openapi 8 more |
| First published | 29 Jun 2018 | 20 Mar 2023 | openapi-types 4.7 years earlier |
| GitHub stars | 921 | 646 | openapi-types +43% |
| Open issues | 118 | 7 | openapi-types 111 more |
| Open pull requests | 27 | 5 | openapi-types 22 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 0 | 40 | zod-openapi higher |
| TypeScript types | Bundled | Bundled | Same |
| Module format | CommonJS | 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.
openapi-types9.9m latest weekzod-openapi994k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
openapi-types
Major versions
- 1.0.129 Jun 2018
- 7.0.020 Jul 2020
- 8.0.08 Apr 2021
- 9.0.014 May 2021
- 10.0.02 Dec 2021
- 11.0.013 Apr 2022
- 12.0.03 Jun 2022
Last 5 releases
- 12.1.324 May 2023
- 12.1.224 May 2023
- 12.1.120 May 2023
- 12.1.09 Dec 2022
- 12.0.231 Aug 2022
36 releases in total, 0 in the last 12 months
zod-openapi
Major versions
- 0.1.014 Apr 2023
- 1.0.025 Apr 2023
- 2.0.030 Apr 2023
- 3.0.020 Sept 2024
- 4.0.010 Nov 2024
- 5.0.05 Jul 2025
- 6.0.014 Jun 2026
Last 5 releases
- 6.0.231 Aug 2026
- 6.0.113 Aug 2026
- 6.0.014 Jun 2026
- 5.4.65 Jan 2026
- 5.4.527 Nov 2025
87 releases in total, 8 in the last 12 months
openapi-types
-
zod-openapi
-
openapi-types
-
zod-openapi
-
- Need no runtime dependenciesBoth
- Need both ESM and CommonJS entry pointszod-openapi (openapi-types: CommonJS; zod-openapi: ESM + CommonJS)
- Need to load it with require()Both
- Need TypeScript types in the package itselfBoth
- Node.js version requirementopenapi-types: none declared; zod-openapi: >=22.14.0 (engines field in package.json)
- Need the more recent releasezod-openapi (6.0.2 on 31 Aug 2026 vs 12.1.3 on 24 May 2023)
- Higher weekly npm downloadsopenapi-types (10m vs 994k)
Each line is generated from the data above.
- openapi-types vs oazapftsNo search data
- openapi-types vs openapi-fetchNo search data
- openapi-types vs openapi-typescript-codegenNo search data
- openapi-types vs @scalar/openapi-typesNo search data
- @asteasolutions/zod-to-openapi vs zod-openapiNo search data
- @hey-api/openapi-ts vs zod-openapiNo search data
- zod-openapi vs openapi-client-axiosNo search data
- openapi-fetch vs zod-openapiNo search data
- zod-openapi vs openapi-typescript-codegenNo search data
- zod-openapi vs @kubb/oasNo search data
- zod-openapi vs oazapftsNo search data
openapi-types: openapi-types npm registry, openapi-types npm downloads, openapi-types GitHub. Data fetched 25 Sept 2026.
zod-openapi: zod-openapi npm registry, zod-openapi npm downloads, zod-openapi GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.