Skip to content

Releases: openapi-ts/openapi-typescript

v1.6.2: Fix camelCasing on `$ref`s

02 Feb 21:42
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixes an issue where --camelcase wouldn’t camelCase $refs properly

v1.6.1...v1.6.2

v1.6.1: fix missing `type` definition

02 Feb 21:41
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixes a bug where a definition with a missing type would be skipped, rather than assume it’s an object like Swagger does by default.

v1.6.0...v1.6.1

v1.6.0: support for x-nullable (#118)

02 Feb 19:10
Compare
Choose a tag to compare

🌟 New Features

  • Property mapper function (README) that supports x-nullable and other properties by @atlefren (#118)

v1.5.0...v1.6.0

v1.5.0: Convert names containing spaces to use underscores (#75)

12 Dec 20:16
Compare
Choose a tag to compare

🌟 New Features

  • Convert names containing spaces to use underscores (#75) thanks to @svnv e29254b

v1.4.0...v1.5.0

Prints out JSDoc

01 Oct 14:55
Compare
Choose a tag to compare

🌟 New Features

v1.3.1...v1.4.0

Fix Nested array generation

28 Aug 21:33
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fix nested arrays (#54)

nowrapper CLI option

05 Aug 18:05
Compare
Choose a tag to compare

🐣Minor changes

  • The --nowrapper flag was added to the CLI, courtesy of @scvnathan (#33). Now you don’t have to wrap your interfaces if you don’t want to!

Fix underscores in interfaces

18 Jul 21:41
Compare
Choose a tag to compare

🐛 Bugfixes

  • This fixes underscores from accidentally appearing in some TypeScript interface names (#29)

kebab-case support

12 Jun 15:48
62d635f
Compare
Choose a tag to compare

🐛 Bugfixes

  • Swagger properties in kebab-case would break generation unless they were converted to --camelcase (#13). This has been fixed! 🎉 You still have the option of converting to --camelcase, but now you can keep kebab-case too if needed

Wrapper support

11 Jun 21:23
2dc048d
Compare
Choose a tag to compare

🦍 Major changes

  • Adds --wrapper option, letting you specify any namespace or module wrapper for exporting types. See the README for full description

⚠️ Breaking changes

  • --namespace and --export options are now deprecated, in favor of the more versatile --wrapper