Releases: swagger-api/swagger-codegen
Swagger-codegen 2.1.0-M2 Released!
This version of swagger codegen has improved support for client generation as well as new target support. Thanks to community contributions, we now have added support for the following clients:
- async-scala
- Ruby
- csharp
We also are excited to provide support for spring-mvc with the new springfox project.
You can run the codegen locally, online via http://generator.swagger.io or interactively in http://editor.swagger.io
Usage notes
There are several new targets in the root project. You can now run integration-tests by running:
mvn integration-test -Psamples
which will, assuming you have the necessary compilers, etc installed, run tests against the generated clients.
Notable features
#444 updated nodejs server generator to support 2.0 specs
#437 updated executable jar for better usability
#225 updated objective-c generator to include AFNetworking 2.0+
#41 added HTTP patch support
#514 java codegen supporting array parameters in query, path, header
#552 added support for parsing reusable parameters
#448 support for maps in generated clients
#440 added async scala client generator
#191 Objective-c file uploads
Notable bug fixes
#577 support newlines, quotes in descriptions, general text
#503 support for invalid character in language name generation
#497 NPE with resource path : /
#557 issues generating jaxrs servers from example specs
#380 support for windows builds
Swagger codegen 2.1.2-M1 Released!
Minor release with some important updates:
- Resolving external references supported via swagger-parser-1.0.1
- Added async scala client generator
- Nodejs server generator updates
Swagger codegen 2.1.1-M1 Released!
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
swagger-codegen v2.0.17 released
Notable changes:
- added extensible input config
- added
{{apiInfo}}
tag - added android support to release