Swagger codegen 2.1.0-M1 Released!
Swagger codegen 2.1.0-M1 has been released! This is a major release which integrates the Swagger 2.0 specification as well as better support for older swagger versions. See the README for all the details.
Major changes:
- Moved to pure java. Scala is used just for tests
- Added an executable fat jar. No need to compile, just download the jar from maven central (https://oss.sonatype.org/content/repositories/releases/com/wordnik/swagger-codegen-distribution/2.1.0-M1/swagger-codegen-distribution-2.1.0-M1.jar)
- Created an online codegen version, swagger-generator, to let you generate code from an online webapp. You can either deploy it locally or use the online version at http://generator.swagger.io.
- Extensible readers with swagger-parser + SPI. Want to create your own importer? Now it's completely pluggable in the codegen project.
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