# astahmer/openapi-zod-client

not maintained anymore; use typed-openapi instead. Generate a zodios (typescript http client with zod validation) from an OpenAPI spec (json/yaml)

Repository: https://github.com/astahmer/openapi-zod-client
Canonical: https://ross.abutalabs.com/products/openapi-zod-client
Homepage: https://openapi-zod-client.vercel.app
Language: TypeScript
License Family: other
Topics: cli, client, generator, openapi, swagger, typescript, zod, zodios, api, axios, typed-openapi
Last push: 2026-08-05T10:29:49+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 8, longevity 100
- inputs: {"age_days": 1483, "days_push": 28, "days_rel": 569, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1179, forks 135 (observed 2026-08-28T04:03:53.285997+00:00)

## What it is
A CLI and library that generates a zodios-based TypeScript HTTP client with zod runtime validation from an OpenAPI/Swagger spec (JSON or YAML). It can also be used programmatically to extract computed schemas and endpoints.

## Use cases
- generate a typescript api client from an openapi spec
- add zod runtime validation to api calls from a swagger document
- automate api integration from openapi spec in CI
- consume third-party apis with type-safe clients
- extract zod schemas from openapi json or yaml

## When to choose
- you need a zodios client with axios and zod validation generated from an existing OpenAPI spec
- you only have an OpenAPI spec as source of truth for consuming an API you don't control

## When to avoid
- starting a new project - the repo is deprecated in favor of typed-openapi
- you control the API backend - use tRPC, zodios directly, or ts-rest instead

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: http-client, serialization, cli, developer-tools
- domain: backend, web-development, developer-tools
- platform: cli, cross-platform
- tags: openapi, zod, zodios, swagger, code-generator, api-client, deprecated, axios, runtime-validation, code-generation, typescript, nodejs

## Member repositories
- astahmer/openapi-zod-client (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:53.285997+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:25:31.327941+00:00, confidence not recorded.
  - readme: https://github.com/astahmer/openapi-zod-client (fetched 2026-08-28T04:03:53.285997+00:00, sha 655001f69ceb)
  - homepage: https://openapi-zod-client.vercel.app (fetched 2026-08-29T12:32:19.903866+00:00, sha d8a700cca2ad)
  - registry_npm: https://registry.npmjs.org/openapi-zod-client (fetched 2026-08-29T12:32:19.913039+00:00, sha f4383b1b53ec)
- Data as of 2026-08-30T08:39:29.467469+00:00.
