Skip to content

Releases: openapi-ts/openapi-typescript

v3.0.0

25 Jan 17:05
Compare
Choose a tag to compare

✨ Features

  • Adds long-requested paths support to Swagger v2 schemas
  • Adds more compact comments, resulting more readable generated types

πŸ› Bugfixes

  • Fixes bugs in paths generation (missing $refs support in areas, inconsistent generation)

⚠️ Breaking changes

  • This is marked as a breaking version for safety. Swagger v2 users should be able to migrate to 3.0.0 with no problems; OpenAPI v3 users will either experience no changes or minor changes that should be an overall improvement.

πŸ“ Other Notes

  • In version 2.x of this library, OpenAPI v3 support was added, and it was a separate part of the codebase. This major release combines Swagger v2 and OpenAPI v3 code together. Though they are different schemas, they have much more in common than they do in difference. Combining the code will make this library easier to maintain, easier to test, and more stable overall.

v2.5.0

14 Jan 23:56
Compare
Choose a tag to compare

πŸ₯ Minor Changes

  • Comments can now be single-line, saving some needed space in the specs (#443)

πŸ› Bugfixes

  • additionalProperties.oneOf is now generating as expected (#442)

v2.4.2

19 Nov 06:29
Compare
Choose a tag to compare

πŸ› Bugfixes

v2.4.1...v2.4.2

v2.4.1

12 Nov 22:10
Compare
Choose a tag to compare

πŸ› Bugfixes

v2.4.0...v2.4.1

v2.4.0

11 Nov 18:41
Compare
Choose a tag to compare

🐸 New features

  • Do you have really complicated response objects that are a pain in the butt to reference in TS? Good news! Thereβ€˜s a new operations interface by @gr2m that you can use, and it doesnβ€˜t affect the existing API (#353) bf009b7

v2.3.4...v2.4.0

v2.3.4

11 Nov 16:49
Compare
Choose a tag to compare

πŸ› Bugfixes

  • Allow $ref: 'foo.yaml#bar' syntax, but cast to any type (TODO: full external schema support) (#354)

v2.3.3...v2.3.4

v2.3.3

09 Nov 21:16
Compare
Choose a tag to compare

πŸ› Bugfixes

v2.3.2...v2.3.3

v2.3.2

05 Nov 16:43
Compare
Choose a tag to compare

πŸ› Bugfixes

  • Handle parameters on paths as well as methods by @samdbmg (#347)

v2.3.1...v2.3.2

v2.3.1

04 Nov 19:21
Compare
Choose a tag to compare

πŸ› Bugfixes

  • Set index type to all possible values (#348)

v2.3.0...v2.3.1

v2.3.0

23 Oct 23:10
Compare
Choose a tag to compare

🐸 New Features

  • requestBody and $ref-type parameters added in response types by @gr2m

🐣 Minor Changes

  • responses without content schemas changed from any to never or unknown by @gr2m

v2.2.1...v2.3.0