We're thrilled to announce the release of both swagger-parser and swagger-codegen with support for Swagger 2.0!
Swagger-Parser 1.0.0
Swagger-parser is a brand new library!
It reads swagger specifications into current Java POJOs. It also
provides a simple framework to add additional converters from different
formats into the Swagger objects, making the entire toolchain available.
The swagger-parser is available here -
https://github.com/swagger-api/swagger-parser - and is the basis for the new version of swagger-codegen.
Swagger-Codegen 2.1.0-M1
This is a major release which integrates the Swagger 2.0 specification as well as better support for older swagger versions.
Major changes:
Notable Features:
- Added enum support in models when possible #99
- Added generalized header passing when reading swagger specifications #102
- Generalized file upload for objective-c clients #191
- Changed build to support java8 and windows #205
Bug fixes:
- Fixed array support for java clients #189
- PHP object comparisons made safe #224
- python model deserialization fixed #281
- Array deserialization support fixed #277
Limitations:
- Same restrictions as swagger-core-1.5.0-M1
- Polymorphism & model composition are not supported
As always, feel free to share with us your input and PRs!