Swagger-core 2.0.3 released!
-
Add
ref
field to annotations with related support in Reader (#2839) -
refs #2848 - fix required resolving for arrayschema schema (#2867)
-
refs #2778 - also consider NotEmpty and NotBlank to resolve required (#2876)
-
refs #2833 - fixes and resolves Links requestBody (#2877)
IMPORTANT NOTE: this PR addresses #2833, by updatingrequestBody
member datatype of swagger-modelsLink
to beObject
instead of previousRequestBody
, as it correctly maps to OpenAPI definition https://github.com/OAI/OpenAPI-Specification/blob/3.0.1/versions/3.0.1.md#linkObject.
This is a breaking change, but it makes sense as the previous datatype was basically wrong and meaningless. An alternative would be deprecating requestBody, and introducing a newrequestBodyObject
serialized as JSONrequestBody
via mixin and jackson annotations. -
NPE on Json sub type with no name defined (#2862)
-
Add
ref
field to annotations with related support in Reader (#2839) -
supports primitives in oneOf, anyOf, allOf schema annotations (#2902)