Skip to content

Changes in 4.7.6

Compare
Choose a tag to compare
@AgustinBettati AgustinBettati released this 27 Jul 21:00
· 2372 commits to develop since this release
ef46177

Released July 27, 2021.

JS asset

JVM asset

RAML 1.0 - Validation of duplicate properties in data type

Given the following invalid type definition with duplicated property names:

types:
  failing:
    type: object
    properties:
      a: string
      a?: string
    example:
      a: "some example"

AMF was throwing an unrelated violation in JVM, but nothing in JS. A new violation has been added to make the error clearer in both platform, AMF now returns:
Duplicated property names: a

Dependencies Changes

Updated

  • org.apache.commons % commons-compress moved from 1.19 to 1.21
  • ajv javascript dependency moved from 6.5.2 to 6.12.6

AMF Fixed issues

APIMF-3232 - Analyze ajv dependency update
APIMF-3212 - Adding an enum property in an extension duplicates values
APIMF-3211 - RAML inline union in extension not parsing correctly
APIMF-3209 - Missing validation for properties with same name in raml type
APIMF-3097 - SE: Anypoint Design Center doesn't allow uses of the same library multiple times
APIMF-3096 - java.lang.ArithmeticException: Division by zero with multipleOf facet