openapi-ts

✨ Turn your OpenAPI specification into a beautiful TypeScript client

OTHER License

Downloads
723K
Stars
1.2K
Committers
83

Bot releases are visible (Hide)

openapi-ts - @hey-api/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • fix(client): access service data type in namespace properly (#258)
openapi-ts - @hey-api/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • fix(openapi-ts): namespace service data types (#246)
openapi-ts - @hey-api/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • fix(docs): link to docs hosted on vercel (#244)
openapi-ts - @hey-api/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

openapi-ts - @hey-api/[email protected]

Published by github-actions[bot] 7 months ago

Patch Changes

  • fix(docs): ensure README is shown on NPMJS (#229)
openapi-ts - @hey-api/[email protected]

Published by github-actions[bot] 7 months ago

Minor Changes

  • feat(client): generate all services in single services.ts file (#215)

  • feat(schema): add support for default values (#197)

  • feat(schema): add array of enum values for enums (#197)

Patch Changes

  • fix(axios): use builtin form data to ensure blob form data works in node environment (#211)

  • fix(enum): append index number on duplicate name (#220)

openapi-ts - v0.33.2

Published by github-actions[bot] 7 months ago

Patch Changes

  • fix(axios): properly type content-type headers assignment (#206)
openapi-ts - v0.33.1

Published by github-actions[bot] 7 months ago

Patch Changes

  • fix(axios): set content type to multipart/form-data when using form data (#204)
openapi-ts - v0.33.0

Published by github-actions[bot] 7 months ago

Minor Changes

  • feat(fetch): detect form data repsonses properly (#195)

  • feat(fetch): add application/octet-stream, application/pdf, and application/zip as binary response types (#195)

Patch Changes

  • fix(client): do not create or export empty files (#200)

  • client(angular/fetch/xhr): detect all application/json or +json as JSON (#195)

openapi-ts - v0.32.1

Published by github-actions[bot] 7 months ago

Patch Changes

  • fix(schema): allow minimums/maximums to be 0 (#194)

  • fix(axios): let axios handle serializing form data (#192)

openapi-ts - v0.32.0

Published by github-actions[bot] 7 months ago

Minor Changes

  • Support all HTTP error codes (#188)

  • Use File or Blob type for binary types (#186)

  • Check value instanceof Blob when using isBlob (#186)

Patch Changes

  • fix(cli): properly handle booleans (#190)

  • Attempt to use body type as content type when sending Blob in node client (#185)

  • fix(api): add experimental flag (#191)

openapi-ts - v0.31.1

Published by github-actions[bot] 7 months ago

Patch Changes

  • merge enums and useLegacyEnums into one option (#178)

  • use FormData from node-fetch in node client (#173)

openapi-ts - v0.31.0

Published by github-actions[bot] 7 months ago

Minor Changes

  • Import all required models for a service in one import (#172)

  • generate all models in single models.ts file (#168)

  • generate all schemas in single schemas.ts file (#168)

Patch Changes

  • fix async response interceptors when using angular client (#167)

  • fix deprecation warning on throwError in Angular client (#167)

  • Do not create or export CancelablePromise when using Angular client (#167)

  • Fix issue causing type error when targeting lower than ES2015 (#171)

  • fix various warnings in generated client code (#164)

  • fix providing interceptors in Angular client (#167)

openapi-ts - v0.30.0

Published by github-actions[bot] 7 months ago

Minor Changes

  • add support for interceptors (#153)
openapi-ts - v0.29.2

Published by github-actions[bot] 7 months ago

Patch Changes

  • Fix export types as type only when using useLegacyEnums (#160)
openapi-ts - v0.29.1

Published by github-actions[bot] 7 months ago

Patch Changes

  • Properly export enums when using useLegacyEnums (#158)
openapi-ts - v0.29.0

Published by github-actions[bot] 7 months ago

Minor Changes

  • Add useLegacyEnums options to generate TypeScript enums (#147)
openapi-ts - v0.28.0

Published by github-actions[bot] 7 months ago

Minor Changes

  • Add index.ts file to models, schemas, and services (#137)
openapi-ts - v0.27.39

Published by github-actions[bot] 7 months ago

Patch Changes

  • Warn users about missing dependencies used in the generated client (#124)

  • Use AbortController in Axios client instead of deprecated CancelToken (#124)

Package Rankings
Top 17.44% on Npmjs.org