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: about 2 months 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: mit
- Created: 2024-01-10T15:19:25.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T14:07:12.000Z (2 months ago)
- Last Synced: 2024-07-16T11:27:08.329Z (2 months 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: 25.1 MB
- Stars: 712
- Watchers: 5
- Forks: 55
- Open Issues: 89
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
OpenAPI Typescript
✨ Turn your OpenAPI specification into a beautiful TypeScript client.
Generate TypeScript interfaces, REST clients, and JSON Schemas from OpenAPI specifications.
[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.vercel.app/) for documentation, guides, migrating, and more.
## GitHub Integration (coming soon)
Automatically update your code when the APIs it depends on change. [Find out more](https://heyapi.vercel.app/openapi-ts/integrations.html).
## Migrating from OpenAPI Typescript Codegen?
Please read our [migration guide](https://heyapi.vercel.app/openapi-ts/migrating.html#openapi-typescript-codegen).
## Contributing
Want to get involved? Please refer to the [contributing guide](https://heyapi.vercel.app/contributing.html).