You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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