Skip to content

Version 1.2

Compare
Choose a tag to compare
@bartoszm bartoszm released this 14 Dec 14:01
· 84 commits to master since this release

Version 1.2 improvements:

  • added new parameter to point to the root product schemas directory (default to ".")
  • modified naming generation strategy for uplifted properties:
    • in case the uplifted property is a composed schema we try first to compute name from aggregated references (allOf and oneOf are supported)
    • if above fails name is based on property
  • modified behavior of uplifting schemas in case of composed schemas -> schema reuse if possible
  • discriminator mapping feature:
    • using x-discriminator-value
    • using $id value if it is MEF urn
    • using name of the type
  • discriminator discovery feature:
    • in case discriminator is not provided x-discriminator-name value is used
    • if above fails auto-discovery strategy of discriminator property is applied trying names from list (@type, mapType)
  • discriminator value mapping for schemas with singleton enums (enums containing single value)