npm openapi-typescript 3.0.0

latest releases: 7.13.0, 7.12.0, 7.10.1...
5 years ago

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.

Don't miss a new openapi-typescript release

NewReleases is sending notifications on new releases.