Skip to content

Releases: hey-api/openapi-ts

@hey-api/openapi-ts@0.42.0

21 Apr 12:52
5c166dd

Choose a tag to compare

Minor Changes

  • change: config option lint: true has changed to lint: 'eslint' (#455)

  • change: disable formatting with prettier by default (#457)

  • feat: add support for biomejs as a formatter (#455)

  • feat: move operationId config option to services object (#441)

  • feat: add operation error type mappings (#442)

  • feat: add support for biomejs as a linter (#455)

  • change: config option format: true has changed to format: 'prettier' (#455)

Patch Changes

  • fix: do not destructure data when using use options (#450)

  • feat: automatically handle dates in query string (#443)

  • fix: only remove core directory when export core is true (#449)

  • fix: add jsdoc comments with use options (#439)

@hey-api/openapi-ts@0.41.0

19 Apr 03:12
7ace2ec

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/openapi-ts@0.40.2

18 Apr 11:19
ad0a615

Choose a tag to compare

Patch Changes

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

@hey-api/openapi-ts@0.40.1

18 Apr 03:44
fa40f51

Choose a tag to compare

Patch Changes

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

@hey-api/openapi-ts@0.40.0

17 Apr 02:29
167bb75

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/openapi-ts@0.39.0

16 Apr 05:46
d0cc1a3

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/openapi-ts@0.38.1

11 Apr 13:30
c96c3ec

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/openapi-ts@0.38.0

11 Apr 05:00
d5aa3b7

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/openapi-ts@0.37.3

09 Apr 20:40
5bc29d8

Choose a tag to compare

Patch Changes

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

@hey-api/openapi-ts@0.37.2

09 Apr 16:37
22fc6f7

Choose a tag to compare

Patch Changes

  • fix: escape schema names (#317)

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