Skip to content
JS
Package

zod-openapi

Convert Zod Schemas to OpenAPI v3.x documentation

v6.0.2, 31 Aug 2026MITESM + CommonJSTypes: BundledDocumentation toolingSchema validation
$ npm install zod-openapi

Key numbers

As of 25 Sept 2026
Weekly downloads
994k
+287% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
24 days ago
v6.0.2
GitHub stars
646
35 forks
Open issues / PRs
7 / 5
Contributors
-
Commits, last 52 weeks
40

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.2m (8 Sept 2026)Low 197.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

993,987 downloads last week, 4,398,497 in the last month. The 12-month change of +287% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
887 in total
Latest version
6.0.2, 31 Aug 202624 days ago
First published
20 Mar 2023
Last push to GitHub
31 Aug 202624 days before the snapshot
Repository archived
No
Open issues
7
Open pull requests
5
Commits, last 52 weeks
40
Dependents on npm
144

Major versions

  1. v6 first release 6.0.0, 14 Jun 2026
  2. v5 first release 5.0.0, 5 Jul 2025
  3. v4 first release 4.0.0, 10 Nov 2024
  4. v3 first release 3.0.0, 20 Sept 2024
  5. v2 first release 2.0.0, 30 Apr 2023
  6. v1 first release 1.0.0, 25 Apr 2023
  7. v0 first release 0.1.0, 14 Apr 2023

Recent releases

VersionPublished
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
5.4.427 Nov 2025
5.4.38 Oct 2025
5.4.228 Sept 2025
5.4.19 Sept 2025
5.4.025 Aug 2025
5.3.19 Aug 2025
5.3.026 Jul 2025
5.2.015 Jul 2025
5.1.115 Jul 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.14.0
Runtimes
-
Unpacked size (npm)
191 kB
Dependencies (0)
None
Peer dependencies (1)
zod
npm install zod-openapi
  • jsDelivrhttps://cdn.jsdelivr.net/npm/zod-openapi@6.0.2/
  • unpkghttps://unpkg.com/zod-openapi@6.0.2/
  • esm.shhttps://esm.sh/zod-openapi@6.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
@asteasolutions/zod-to-openapi3m-2 months agoESM + CommonJS@asteasolutions/zod-to-openapi vs zod-openapi
chanfana68.6k-1 month agoESM + CommonJS-
@hey-api/spec-types2.3m-5 months agoESM only-
@hey-api/openapi-ts3.4m-3 months agoESM only@hey-api/openapi-ts vs zod-openapi
@shotstack/schemas10.2k-21 days agoESM + CommonJS-
oas-schema-walker3m-6 years agoCommonJS-
@scalar/openapi-parser2m-todayESM only-
@mintlify/openapi-parser213.8k-11 months agoESM only-

Related

Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.