JSPM

  • Created
  • Published
  • Downloads 509596
  • Score
    100M100P100Q184626F
  • License MIT

Turn your OpenAPI specification into a beautiful TypeScript client

Package Exports

  • @hey-api/openapi-ts
  • @hey-api/openapi-ts/dist/node/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hey-api/openapi-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Logo

OpenAPI Typescript

✨ Turn your OpenAPI specification into a beautiful TypeScript client.

Features

  • Generate TypeScript clients from OpenAPI v2.0, v3.0, and v3.1 specifications
  • Support JSON or YAML input files
  • Handle external references using JSON Schema $Ref Parser
  • Generate Fetch, Node-Fetch, Axios, Angular, or XHR HTTP clients
  • Can be used with CLI, Node.js, or npx
  • Abortable requests through cancellable promise pattern

Migrating from OpenAPI Typescript Codegen?

Please read our migration guide.

Documentation

Please visit our website for documentation, guides, migrating, and more.

Contributing

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