# OpenAPI tools

Describe an HTTP API in OpenAPI, and make docs, types and clients from it. Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.

| Rank | Project | Overall | Needed by many | Helps a lot | Holds up over time | Used widely | Vouched for | Safe | Best for |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | [Scalar](https://elestia.ai/opensource/openapi/scalar/index.md) | 8.1 | 5.7 | 8.1 | 8.2 | 6.5 | 7.5 | 7.1 | Teams that want a modern, interactive OpenAPI 3.x reference page with a built-in API client, served from their own framework. |
| 2 | [Orval](https://elestia.ai/opensource/openapi/orval/index.md) | 7.7 | 5.9 | 8.0 | 8.0 | 5.8 | 6.6 | 5.5 | Frontend teams that want typed query hooks, Zod schemas and MSW mocks generated from one OpenAPI spec. |
| 3 | [Swagger UI](https://elestia.ai/opensource/openapi/swagger-ui/index.md) | 7.3 | 5.8 | 6.9 | 7.9 | 7.3 | 7.7 | 7.8 | Backend teams that want the familiar interactive docs page that their framework's OpenAPI plugin already ships, including Swagger 2.0 and OAuth2 flows. |
| 4 | [Hey API](https://elestia.ai/opensource/openapi/hey-api/index.md) | 7.1 | 5.4 | 7.5 | 5.5 | 7.0 | 7.0 | 7.4 | Teams that want generated SDK functions from operationIds, plus query and validator plugins, and that will pin versions and track releases. |
| 5 | [Kubb](https://elestia.ai/opensource/openapi/kubb/index.md) | 6.9 | 5.8 | 7.4 | 7.1 | 4.5 | 4.8 | 7.6 | Teams that want one configurable pipeline to generate clients, hooks, Zod validators and mocks from OpenAPI, and that are willing to tune it. |
| 6 | [zod-to-openapi](https://elestia.ai/opensource/openapi/zod-to-openapi/index.md) | 6.9 | 4.1 | 7.3 | 6.6 | 5.3 | 5.8 | 8.0 | TypeScript teams that already validate with Zod and want an OpenAPI document generated from those schemas, in any framework. |
| 7 | [Spectral](https://elestia.ai/opensource/openapi/spectral/index.md) | 6.7 | 4.1 | 7.1 | 6.3 | 5.1 | 7.0 | 5.9 | Teams that keep an OpenAPI or AsyncAPI spec and want to enforce an API style guide in CI with custom rules. |
| 8 | [Redoc](https://elestia.ai/opensource/openapi/redoc/index.md) | 6.7 | 5.1 | 7.5 | 6.9 | 5.4 | 6.7 | 7.0 | Teams that want a polished, static, read-only API reference page from an OpenAPI spec, especially if they already use Redocly CLI. |
| 9 | [openapi-typescript](https://elestia.ai/opensource/openapi/openapi-typescript/index.md) | 3.2 | 5.6 | 5.8 | 1.2 | 6.8 | 5.9 | 5.3 | Existing codebases on TypeScript 5 or 6 that already use it and need time to plan a migration. |

## The numbers

| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
| --- | --- | --- | --- | --- | --- | --- |
| Scalar | 9.2M | ×30 | 16k | 2.7k | Nov 2026 | 0 |
| Orval | 15M | ×7.4 | 6.6k | 1.2k | Nov 2026 | 12 |
| Swagger UI | 73M | ×3.1 | 29k | 252 | Nov 2026 | 0 |
| Hey API | 30M | ×9.9 | 5.6k | 2.4k | Jun 2026 | 1 |
| Kubb | 2.3M | ×7.6 | 1.9k | 5.7k | Nov 2026 | 0 |
| zod-to-openapi | 32M | ×7.3 | 1.6k | 62 | Jul 2026 | 0 |
| Spectral | 9.7M | ×4.6 | 3.3k | 198 | Nov 2026 | 0 |
| Redoc | 7.1M | +83% | 26k | 52 | Nov 2026 | 1 |
| openapi-typescript | 65M | ×9.0 | 8.4k | 183 | Feb 2026 | 0 |

All categories: https://elestia.ai/opensource/index.md
