Skip to content

Swagger-Core 1.5.9 Released!

Choose a tag to compare

@webron webron released this 16 May 18:22
· 2191 commits to master since this release

Upgrade notes

1.5.8 introduced a change of behavior to the resource scanning which ended up reading unintended resources. This change was reverted to the way it was before, only with a cleaner scanning of sub resources. The table below describes what will be scanned and what will be skipped:

Annotations Result
@Api skip
@Path skip
scanAllResources skip
@Api (hidden=true) skip
@Api (hidden=true) @Path skip
@Api (hidden=true) scanAllResources skip
@Api scanAllResources skip
@Api @Path parse
@Path scanAllResources parse
subresource parse
@Api subresource parse

The wiki has been updated with the details.

Notable changes

  • #1756 - Added support for Java 8's java.time.Instant
  • #1715 - Consider java.time.ZonedDateTime a Swagger DateTime primitive

Notable bug fixes

  • #1717 - Fix NPE with class level api response with no ApiOperation annotation in method or no defined responses in operation
  • #1506 - JAXRS reads also parent @Api, @ApiImplicitParam and method param annotations
  • #1754 - Fixed line ending issue in Windows