Version 1.2
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
andoneOf
are supported) - if above fails name is based on property
- in case the uplifted property is a composed schema we try first to compute name from aggregated references (
- 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
- using
- 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
)
- in case discriminator is not provided
- discriminator value mapping for schemas with singleton enums (enums containing single value)