---
title: "Discussion on \"Generate a TypeScript client from OpenAPI: openapi-typescript vs openapi-generator vs openapi-fetch\" | Hashnode"
description: "Discussion on \"Generate a TypeScript client from OpenAPI: openapi-typescript vs openapi-generator vs openapi-fetch\". TypeScript clients from OpenAPI split into three camps: types-only, fetch wrappers, and full SDK generators. They differ in runtime weight, enum handling, and how they break on spec changes. Here is how to choose and wire the winner into CI without generated-code sprawl."
url: "https://hashnode.com/posts/generate-typescript-client-from-openapi/6aca07cf9fb08b8a1264f6e7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Generate a TypeScript client from OpenAPI: openapi-typescript vs openapi-generator vs openapi-fetch](https://blogs.powerduck.com/generate-typescript-client-from-openapi?utm_source=hashnode&utm_medium=feed)

TypeScript clients from OpenAPI split into three camps: types-only, fetch wrappers, and full SDK generators. They differ in runtime weight, enum handling, and how they break on spec changes. Here is how to choose and wire the winner into CI without generated-code sprawl.

Sep 5 · 6 min read · blogs.powerduck.com  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#openapi](https://hashnode.com/tag/openapi)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
