Skip to content

swagger-core v2.0.0 first official release!

Choose a tag to compare

@frantuma frantuma released this 26 Mar 15:50
10ecce0

Overview

The Swagger team is proud to announce the first official 2.0.0 release of our main java library swagger-core. This release enhances rc4 support for OpenAPI 3.0’s main features.

In order to better improve these libraries and tools, we ask that you start using them and provide us with feedback in form of issues (please use label 3.0 spec support) on the github repository. The issues are a huge help in finding what’s missing or not working properly (though note some issues are already submitted). We would also appreciate any PRs that improve existing or new tickets.

Be aware that the release notes contain the notable changes, but there may some changes that we missed in the list.

Notable Features:

  • See also rc1, r2, rc3 and rc4 release notes (v2.0.0-rc1, v2.0.0-rc2, v2.0.0-rc3, v2.0.0-rc4)
  • First official release with OpenAPI 3.0 support. Swagger-core now produces OpenAPI 3.0 specs only. swagger-core 2.0 version is not backward compatible with previous 1.x versions.
  • Available on Maven central, and the sources are in the 2.0 branch. PRs should be submitted against the 2.0 branch.
  • Brand new 2.0 wiki!
  • Jackson 2.9.4 (#2655)
  • JsonView support (#2079)
  • internal refactor (#2593)
  • Updated annotations target (#2653)
  • deprecates Schema.readOnly and introduces accessMode field (#2379)
  • Class level response annotations (#2685)
  • rework JsonProperty, readonly/writeonly support (#2169)
  • JsonIdentity support (#2704)
  • Complex types support in @ExtensionProperty (#2723)
  • Adds openapi.json and openapi.yaml to known locations (#2727)

Bug fixes

  • Annotation inheritance from interfaces (#2644)
  • @produces full support (#2646)
  • Reader Correctly skips non JAX-RS methods (#2656)
  • fix models osgi export packages (#2663)
  • avoid duplicate operationId (#2433)
  • file upload and multipart fixes (#2689)
  • support ArraySchema context annotations in container type properties (#2616)
  • Path in Class level removed for subresources (#2632)
  • Configuration loading from servlet path (#2706)