Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

4.1.0

Compare
Choose a tag to compare
@spacether spacether released this 22 Jan 03:04
· 49 commits to master since this release
602765f

Java schema validation now supported for v3.1.0 openapi documents / json schema draft 2020-12

Java client schema validation now works on the majority of v3.1.0 json schema keyword flags, json schema draft 2020-12

Over 67% of the 3.1.0 new json schema keyword features have been implemented in Java
Support includes these new/updated json schema keywords:

  • type (array of types supported in addition to one non-array value)
  • const: only string values are working because of bugs in swagger parser
  • contains
  • dependentRequired
  • dependentSchemas
  • if
  • then
  • else
  • maxContains
  • minContains
  • patternProperties
  • prefixItems
  • propertyNames
  • unevaluatedItems
  • unevaluatedProperties

Features are verified by integrating the json schema test suite into a v310 java client and running tests against the generated schemas
Those tests are passing in CI

What's Changed

Full Changelog: 4.0.0...4.1.0