Skip to content

Optional Const validations

Compare
Choose a tag to compare
@wol-soft wol-soft released this 19 Sep 15:43
· 5 commits to master since this release
9247674

Features

  • Added support for optional const validations (#84), implemented by @kolodkinvalentin. Additionally support const in various contexts:
    • array contains validation
    • property name validation
    • additional properties validation
    • pattern properties validation
    • Compositions (allOf, oneOf, anyOf, not)

Bugfixes

  • Allow 0 as property name (#83)
  • Optional compositions allow null even if implicitNull is not enabled
  • Array contains always passes if the array contains null and implicitNull is enabled