[ANNOUNCEMENT] Swagger-Parser and Swagger-Codegen for Swagger 2.0 released!

449 views
Skip to first unread message

Ron R

unread,
Feb 17, 2015, 1:24:17 PM2/17/15
to swagger-sw...@googlegroups.com
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!

Ron

unread,
Feb 18, 2015, 1:33:51 AM2/18/15
to swagger-sw...@googlegroups.com
We just released a quick fix to some major issues in swagger-codegen - 2.1.1-M1 (https://github.com/swagger-api/swagger-codegen/releases/tag/v2.1.1-M1).

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

Vinh Nguyen

unread,
Mar 25, 2015, 12:46:25 AM3/25/15
to swagger-sw...@googlegroups.com
Hi Ron,

When the polymorphism & model composition are supported in swagger ?

Ron Ratovsky

unread,
Mar 25, 2015, 5:18:47 AM3/25/15
to swagger-sw...@googlegroups.com
Swagger already supports it. Are you asking about a specific tool?

--
You received this message because you are subscribed to the Google Groups "Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
-----------------------------------------
http://swagger.io
https://twitter.com/SwaggerApi
-----------------------------------------

Vinh Nguyen

unread,
Mar 26, 2015, 4:18:00 AM3/26/15
to swagger-sw...@googlegroups.com
With latest released swagger 2.0, swagger UI seems still missing some features:

- The Type dropdown that list all generic polymorphism models does not exist.
- Model in response cannot show the array of classes. It only shows:
 array{
 }

Hope these can be supported soon.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Ron Ratovsky

unread,
Mar 26, 2015, 4:23:09 AM3/26/15
to swagger-sw...@googlegroups.com
Polymorphism is not yet supported.
The second issue is a known bug.

To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Ron Ratovsky

unread,
Mar 26, 2015, 4:23:11 AM3/26/15
to swagger-sw...@googlegroups.com
Polymorphism is not yet supported.
The second issue is a known bug.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages