Swagger-Core 1.5.4 Released!
This release includes major functionality improvements in swagger-core, including migration of the swagger-servlet project for annotating non JAX-RS-based projects to support swagger.
Please note that we have moved support for the Play! framework into a separate project
As with all swagger OSS projects, we couldn’t have made so much progress without support from the community. A special thanks to @webron, @lugaru1234, @iushankin, @tomtit and @elakito for all your efforts!
Notable features
- Added support for shared parameters in the root of the swagger definition (#1317)
- Added better support for scanning generic models (#1344)
- New models to represent references in parameters, responses (#1388)
- Updated OSGi exports for swagger-jars (#1412)
- Vendor extensions added to all models where allowed by the swagger spec (#1416, #1414)
- Support for plain servlets via swagger-servlet (#919)
- Moved all tests to use testng framework (#1434)
- Added support for
java.validation.Pattern(#1439) - Support for processing annotations on interfaces (#1454)
- Parse support for java8
java.time.LocalDateandjava.time.LocalDateTime(#1475) - Parse support for
java.util.Optional(#1479) - Improved parsing of composed models (#1373)
- Shared
responsesmodel definitions in root swagger object (#1489) - Example payload support for all parameters added, now adds mime-specific support (#1500)
Notable bug fixes
- support relative refs starting with
/(1393 - Proper support for form data under jersey 2 (#1387)
- Recursive resource scanning fix (#1424)
- Use
nicknameif specified foroperationIdon operations (#1440) - Parse bug for
@Consumesand@Producesat api root (#1448) - Deserialization loses
description(#1462) - Added
descriptionfield in security definitions (#1463) - Fixed property parsing for MIN_ITEMS and MAX_ITEMS (#1477)
- Better
enumsupport for non-string types (#1418)