Skip to content

✨ Turn your OpenAPI specification into a beautiful TypeScript client

License

Notifications You must be signed in to change notification settings

collink/openapi-ts

 
 

Repository files navigation

Logo

OpenAPI Typescript

✨ Turn your OpenAPI specification into a beautiful TypeScript client.

Generate TypeScript interfaces, REST clients, and JSON Schemas from OpenAPI specifications.

Live demo

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 for documentation, guides, migrating, and more.

GitHub Integration (coming soon)

Automatically update your code when the APIs it depends on change. Find out more.

Migrating from OpenAPI Typescript Codegen?

Please read our migration guide.

Contributing

Want to get involved? Please refer to the contributing guide.

About

✨ Turn your OpenAPI specification into a beautiful TypeScript client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.5%
  • Handlebars 7.4%
  • JavaScript 1.1%