Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hey-api/openapi-ts

✨ Turn your OpenAPI specification into a beautiful TypeScript client
https://github.com/hey-api/openapi-ts

angular axios codegen fetch generator http javascript nextjs nodejs openapi openapi3 rest swagger ts typescript xhr

Last synced: 23 days ago
JSON representation

✨ Turn your OpenAPI specification into a beautiful TypeScript client

Awesome Lists containing this project

README

        


Logo

OpenAPI TypeScript


🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.


[Live demo](https://stackblitz.com/edit/hey-api-example?file=openapi-ts.config.ts,src%2Fclient%2Fschemas.gen.ts,src%2Fclient%2Fservices.gen.ts,src%2Fclient%2Ftypes.gen.ts)

## Features

- works with CLI, Node.js 18+, or npx
- supports OpenAPI 2.0, 3.0, and 3.1 specifications
- supports both JSON and YAML input files
- generates TypeScript interfaces, REST clients, and JSON Schemas
- Fetch API, Axios, Angular, Node.js, and XHR clients available

## Documentation

Please visit our [website](https://heyapi.dev/) for documentation, guides, migrating, and more.

## Sponsoring

Love Hey API? Please consider becoming a [sponsor](https://github.com/sponsors/mrlubos).

## GitHub Integration (coming soon)

Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.dev/openapi-ts/integrations.html).

## Migrating from OpenAPI Typescript Codegen?

Please read our [migration guide](https://heyapi.dev/openapi-ts/migrating.html#openapi-typescript-codegen).

## Contributing

Want to get involved? Please refer to the [contributing guide](https://heyapi.dev/contributing.html).