Skip to content
JS
Alternatives

openapi-types alternatives

8 packages that do the same job as openapi-types: @scalar/openapi-parser, @mintlify/openapi-parser, openapi-typescript, zod-openapi, openapi-fetch, openapi-typescript-codegen, openapi-react-query, oazapfts. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
openapi-types
This package
10m+102%-03 years agoCommonJSBundled-
@scalar/openapi-parser2m+1620%-7todayESM onlyBundled-
@mintlify/openapi-parser213.8k--611 months agoESM onlyBundled-
openapi-typescript5.3m+257%-67 months agoESM + CommonJSBundled-
zod-openapi994k+287%-024 days agoESM + CommonJSBundled-
openapi-fetch6.6m+383%-17 months agoESM + CommonJSBundled-
openapi-typescript-codegen346k+54%-53 months agoCommonJSBundled-
openapi-react-query327.5k+347%-17 months agoESM + CommonJSBundled-
oazapfts194.8k+36%-6-ESM + CommonJSBundled-

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.

modern OpenAPI parser written in TypeScript

Compared with openapi-types

  • 5.0x fewer weekly downloads (2m vs 10m)
  • 7 dependencies vs 0
  • ESM only vs CommonJS
  • Declares Node.js >=22 vs none declared
  • Last release 24 Sept 2026 vs 24 May 2023
  • 18x more GitHub stars (16.2k vs 921)

modern OpenAPI parser written in TypeScript

Compared with openapi-types

  • 47x fewer weekly downloads (213.8k vs 10m)
  • 6 dependencies vs 0
  • ESM only vs CommonJS
  • Declares Node.js >=18 vs none declared
  • Last release 25 Sept 2025 vs 24 May 2023
  • 18x more GitHub stars (16.2k vs 921)

Convert OpenAPI 3.0 & 3.1 schemas to TypeScript

Compared with openapi-types

  • 1.9x fewer weekly downloads (5.3m vs 10m)
  • 6 dependencies vs 0
  • ESM + CommonJS vs CommonJS
  • Last release 11 Feb 2026 vs 24 May 2023
  • 9.1x more GitHub stars (8.4k vs 921)

Convert Zod Schemas to OpenAPI v3.x documentation

Compared with openapi-types

  • 10x fewer weekly downloads (994k vs 10m)
  • ESM + CommonJS vs CommonJS
  • Declares Node.js >=22.14.0 vs none declared
  • Last release 31 Aug 2026 vs 24 May 2023
  • 1.4x fewer GitHub stars (646 vs 921)

Fast, type-safe fetch client for your OpenAPI schema. Only 6 kb (min). Works with React, Vue, Svelte, or vanilla JS.

Compared with openapi-types

  • 1.5x fewer weekly downloads (6.6m vs 10m)
  • 1 dependency vs 0
  • ESM + CommonJS vs CommonJS
  • Last release 11 Feb 2026 vs 24 May 2023
  • 9.1x more GitHub stars (8.4k vs 921)

Library that generates Typescript clients based on the OpenAPI specification.

Compared with openapi-types

  • 29x fewer weekly downloads (346k vs 10m)
  • 5 dependencies vs 0
  • Last release 20 Jun 2026 vs 24 May 2023
  • 3.7x more GitHub stars (3.4k vs 921)

Fast, type-safe @tanstack/react-query client to work with your OpenAPI schema.

Compared with openapi-types

  • 31x fewer weekly downloads (327.5k vs 10m)
  • 1 dependency vs 0
  • ESM + CommonJS vs CommonJS
  • Last release 11 Feb 2026 vs 24 May 2023
  • 9.1x more GitHub stars (8.4k vs 921)

OpenApi TypeScript client generator

Compared with openapi-types

  • 52x fewer weekly downloads (194.8k vs 10m)
  • 6 dependencies vs 0
  • ESM + CommonJS vs CommonJS
  • Last release - vs 24 May 2023
  • 1.6x fewer GitHub stars (579 vs 921)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.