Skip to content

Releases: hey-api/openapi-ts

@hey-api/[email protected]

03 Apr 02:55
c63392a
Compare
Choose a tag to compare

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)

v0.33.2

02 Apr 00:47
7a19cf3
Compare
Choose a tag to compare

Patch Changes

  • fix(axios): properly type content-type headers assignment (#206)

v0.33.1

01 Apr 22:13
9e17887
Compare
Choose a tag to compare

Patch Changes

  • fix(axios): set content type to multipart/form-data when using form data (#204)

v0.33.0

01 Apr 11:16
49ffeda
Compare
Choose a tag to compare

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)

v0.32.1

30 Mar 23:38
60f044b
Compare
Choose a tag to compare

Patch Changes

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

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

v0.32.0

30 Mar 16:51
7b8d209
Compare
Choose a tag to compare

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)

v0.31.1

29 Mar 15:03
cefbda4
Compare
Choose a tag to compare

Patch Changes

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

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

v0.31.0

29 Mar 00:54
8994781
Compare
Choose a tag to compare

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)

v0.30.0

27 Mar 11:06
98f9d38
Compare
Choose a tag to compare

Minor Changes

  • add support for interceptors (#153)

v0.29.2

27 Mar 09:14
b202265
Compare
Choose a tag to compare

Patch Changes

  • Fix export types as type only when using useLegacyEnums (#160)