This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

swaggerz

typed API clients compiled from OpenAPI

Open Source
Developer Tools
GitHub
Visit WebsiteSee on Product HuntGithub ⧉

Hunted byAlireza HematiAlireza Hemati

Generate fully typed, documented, tree-shakeable API clients from Swagger 2.0 and OpenAPI 3.0/3.1/3.2 specifications.

Top comment

In every project I've worked on, the API client was the weak spot. Hand-written clients drift from the backend. Generated ones were often huge, typed with any, different on every run, and vague about errors. I built swaggerz to be the generator I'd trust in production:

• Everything is typed, errors included: checking error.status === 404 narrows error.body to the 404 response.
• The output is tree-shakeable, with no runtime dependency. One operation costs about 16 kB, not the whole API.
• It generates the same output on every run, so swaggerz generate --check can guard your CI.
• It reads Swagger 2.0 and OpenAPI 3.0 to 3.2. It works with fetch or axios, TanStack Query or SWR, and Zod, Valibot or ArkType.

0.2.0 adds Mock Service Worker handlers with realistic, seeded data, so you can build the UI before the backend exists.

What would help most:

  1. Run it on your own spec. It's tested against 24 public APIs (GitHub, Stripe, Kubernetes, OpenAI and more), but private specs are where the odd cases live. If a type comes out wrong or awkward, open an issue with a snippet.

  2. Tell me where setup or the generated code surprised you.

  3. Tell me what should come next: a diff that reports breaking changes in terms of your client, typed streaming, pagination iterators, or a Vite plugin.

Comment highlights

No comment highlights available yet. Please check back later!

About swaggerz on Product Hunt

“typed API clients compiled from OpenAPI”

swaggerz was submitted on Product Hunt and earned 1 upvotes and 1 comments, placing #157 on the daily leaderboard. Generate fully typed, documented, tree-shakeable API clients from Swagger 2.0 and OpenAPI 3.0/3.1/3.2 specifications.

swaggerz was featured in Open Source (69.1k followers), Developer Tools (523.1k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 146.8k products, making this a competitive space to launch in.

Who hunted swaggerz?

swaggerz was hunted by Alireza Hemati. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how swaggerz stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.