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.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| openapi-types This package | 10m | +102% | - | 0 | 3 years ago | CommonJS | Bundled | - |
| @scalar/openapi-parser | 2m | +1620% | - | 7 | today | ESM only | Bundled | - |
| @mintlify/openapi-parser | 213.8k | - | - | 6 | 11 months ago | ESM only | Bundled | - |
| openapi-typescript | 5.3m | +257% | - | 6 | 7 months ago | ESM + CommonJS | Bundled | - |
| zod-openapi | 994k | +287% | - | 0 | 24 days ago | ESM + CommonJS | Bundled | - |
| openapi-fetch | 6.6m | +383% | - | 1 | 7 months ago | ESM + CommonJS | Bundled | - |
| openapi-typescript-codegen | 346k | +54% | - | 5 | 3 months ago | CommonJS | Bundled | - |
| openapi-react-query | 327.5k | +347% | - | 1 | 7 months ago | ESM + 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.
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)
Indexability: Indexed.