Skip to content

Releases: openapi-ts/openapi-typescript

v3.4.0

03 Jun 04:31
Compare
Choose a tag to compare

New Features

🐥 Minor changes

  • Reverts #613 and adds a --default-non-nullable flag (#631)

v3.3.1

27 May 15:24
Compare
Choose a tag to compare

🐛 Bugfixes

  • Schema objects that have a default: property shouldn’t be marked as nullable (#613)

v3.3.0

25 May 21:55
Compare
Choose a tag to compare

🐣 Minor changes

  • Changes default behavior of #585 to require an opt-in --additional-properties flag (#607)
  • Adds -c shortcut alias for --prettier-config (#607)
  • Adds -it shortcut alias for --immutable-types (#607)

v3.2.4

07 May 15:25
Compare
Choose a tag to compare

🐛 Bugfixes

  • additionalProperties now default to true per the OpenAPI 3.0 spec by @mehalter (#583)

v3.2.3

15 Apr 06:19
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixed a parse error on enum: [] (#563)
  • Fixed another parse error on responses missing schemas (#565)
  • Fixed a bug with the latest version of Prettier and options.prettierConfig (#566)

v3.2.2

07 Apr 15:55
Compare
Choose a tag to compare

🐛 Bugfixes

  • RequestBodies that had hyphens in their name would generate an error (#550). Thanks (again), @ashsmith!

v3.2.1

05 Apr 20:14
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixed an issue where a comment within a schema definition would break type gen (#548). Thanks, @ashsmith!

v3.2.0

24 Mar 23:02
Compare
Choose a tag to compare

New features

  • Added a new --immutable-types flag to generate readonly schemas by @dnalborczyk (#522)
  • The operations interface has been improved with inherited parameters by @henhal (#530)

v3.1.2

12 Mar 04:55
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixes package types for TypeScript projects (#520)

v3.1.1

10 Mar 04:24
Compare
Choose a tag to compare

🐛 Bugfixes

  • Better handles remote schema content types (#516)