Skip to content

Releases: swagger-api/swagger-codegen

Swagger-codegen 2.1.2 Released!

09 Jun 14:48
Compare
Choose a tag to compare

This is the first formal release of swagger-codegen with 2.0 spec support. Many thanks to the community for furthering the development of swagger and especially to @wing328 and @xhh (among others) for their generous contributions to the project.

Please note! We have repackaged the project from com.wordnik to io.swagger. The code API is the same!

Usage notes

Swagger-codegen has a fresh new command-line interface, and can be run, stand-alone or as a web-service from open-source tools.

Major changes

With the added support in swagger-parser, swagger-codegen now supports more complete swagger 2.0 specifications as well as YAML file formats.

Added support for c++ in the QT5 framework, as well as Perl, and Swift.

Notable features

  • added C# generator #373, #399, #665
  • Better support for 1.2 specs #606
  • Improved PHP support #614, #622, #103, #635, #628
  • Python support improvement #594, 595
  • Improved Ruby template support #253
  • Auto-generated method naming improvements #639, #274
  • Java client support improvement #305, #690, #445
  • Objc client support improvement #638, #633
  • Switched to native JSON parsing for Android #687

Notable bug fixes

  • enum support for 1.2 specs fixed #621
  • Nested models in java/android generations fixed #290
  • Fix for recursive examples #728

Swagger-codegen 2.1.0-M2 Released!

08 Apr 10:58
Compare
Choose a tag to compare

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!

24 Feb 15:17
Compare
Choose a tag to compare

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!

18 Feb 06:00
Compare
Choose a tag to compare

Patch release to address the following issues:

  • Executable jar not loading swagger 1.0, 1.1, 1.2 parsers #437
  • Windows users getting error #380
  • Removed unused resources in online generator #439

Swagger codegen 2.1.0-M1 Released!

17 Feb 18:38
Compare
Choose a tag to compare

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:

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

26 Aug 23:55
Compare
Choose a tag to compare

Notable changes:

  • added extensible input config
  • added {{apiInfo}} tag
  • added android support to release

v2.0.13

21 Feb 14:46
Compare
Choose a tag to compare
v2.0.13