Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hey-api/openapi-ts
- Owner: hey-api
- License: other
- Created: 2024-01-10T15:19:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T18:01:41.000Z (25 days ago)
- Last Synced: 2024-10-12T21:03:09.622Z (24 days ago)
- Topics: angular, axios, codegen, fetch, generator, http, javascript, nextjs, nodejs, openapi, openapi3, rest, swagger, ts, typescript, xhr
- Language: TypeScript
- Homepage: https://heyapi.vercel.app
- Size: 27.3 MB
- Stars: 1,170
- Watchers: 8
- Forks: 94
- Open Issues: 120
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
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).