Skip to content

Releases: hey-api/openapi-ts

@hey-api/[email protected]

19 Apr 03:12
7ace2ec
Compare
Choose a tag to compare

Minor Changes

  • feat: add form type option for schemas (#433)

  • feat: replace useDateType with option in types object (#435)

  • feat: replace serviceResponse with option in services object (#434)

  • feat: replace postfixServices with configuration object (#430)

Patch Changes

  • fix: properly escape backticks in template literals (#431)

  • fix: transform names of referenced types (#422)

  • fix: use config interceptors passed to constructor when using named client (#432)

  • fix: properly escape expressions in template literals (#431)

  • fix: do not export common properties as schemas (#424)

@hey-api/[email protected]

18 Apr 11:19
ad0a615
Compare
Choose a tag to compare

Patch Changes

  • fix: unhandled SyntaxKind unknown when specification has numeric enums (#417)

@hey-api/[email protected]

18 Apr 03:44
fa40f51
Compare
Choose a tag to compare

Patch Changes

  • fix: revert to generating commonjs for esm and commonjs support (#409)

@hey-api/[email protected]

17 Apr 02:29
167bb75
Compare
Choose a tag to compare

Minor Changes

  • feat: allow choosing naming convention for types (#402)

Patch Changes

  • fix: rename exportModels to types (#402)

  • fix: rename models.gen.ts to types.gen.ts (#399)

  • fix: export enums from index.ts (#399)

@hey-api/[email protected]

16 Apr 05:46
d0cc1a3
Compare
Choose a tag to compare

Minor Changes

  • feat: rename generated files (#363)

  • feat: add JSON-LD to content parsing (#390)

  • fix: generate enums into their own file (#358)

Patch Changes

  • fix: remove file if no contents to write to it (#373)

  • fix: eslint properly fixes output (#375)

  • fix: invalid typescript Record generated with circular dependencies (#374)

  • fix: prefer unknown type over any (#392)

  • fix: only delete generated files instead of whole output directory (#362)

  • fix: handle decoding models with % in description (#360)

  • fix: throw error when typescript is missing (#366)

@hey-api/[email protected]

11 Apr 13:30
c96c3ec
Compare
Choose a tag to compare

Patch Changes

  • fix: inconsistent indentation in models file when not using format: true (#349)

  • fix: output path no longer required to be within cwd (#353)

@hey-api/[email protected]

11 Apr 05:00
d5aa3b7
Compare
Choose a tag to compare

Minor Changes

  • fix: rename write to dryRun and invert value (#326)

Patch Changes

  • fix: generate constant size array types properly (#345)

  • fix: support x-enumNames for custom enum names (#334)

  • fix: export service types from single namespace (#341)

  • fix: generate models with proper indentation when formatting is false (#340)

  • fix: log errors to file (#329)

  • fix: cleanup some styling issues when generating client without formatting (#330)

@hey-api/[email protected]

09 Apr 20:40
5bc29d8
Compare
Choose a tag to compare

Patch Changes

  • fix: do not ignore additionalProperties when object with properties object (#323)

@hey-api/[email protected]

09 Apr 16:37
22fc6f7
Compare
Choose a tag to compare

Patch Changes

  • fix: escape schema names (#317)

  • fix: escape backticks in strings starting with backtick (#315)

@hey-api/[email protected]

09 Apr 10:37
58a1dcb
Compare
Choose a tag to compare

Patch Changes

  • fix: ensure strings with both single/double quotes and backticks are escaped properly (#310) (#310)