Skip to content

Releases: openapi-ts/openapi-typescript

v4.1.1

30 Sep 21:24
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixes the remote schema URL cache being too long-lived by @mbelsky (#708)

v4.1.0

30 Sep 21:14
Compare
Choose a tag to compare

New features

🐛 Bugfixes

  • "type": "file" no longer generates unexpected results (#766)

v4.0.2

07 Jul 15:49
Compare
Choose a tag to compare

🐛 Bugfixes

  • Loading in-memory schemas through the JS API resulted in broken $refs (#689)

v4.0.1

13 Jun 21:17
Compare
Choose a tag to compare

🐛 Bugfixes

  • Fixes properties + anyOf with only required properties by @gr2m (#643)

v4.0.0

03 Jun 06:40
Compare
Choose a tag to compare

New Features

  • Now supports remote references ($ref: "remote.yaml#/components/schemas/User) 🎉 (#602)!

⚠️ Breaking Changes

  • The Node.js API is now promise-based, and can no longer be run synchronously (a necessity because resolving remote schemas can never be synchronous). Other than that, there are no other breaking changes. CLI users are unaffected, and the types generated are backwards-compatible with previous versions.

v3.4.1

03 Jun 04:54
Compare
Choose a tag to compare

🐛 Bugfixes

  • v3.4.0 would accidentally generate empty folders alongside single-file schemas. This fixes that (#633).

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)