Skip to content

Swagger-codegen 2.1.0-M2 Released!

Compare
Choose a tag to compare
@fehguy fehguy released this 08 Apr 10:58
· 9928 commits to master since this release

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