RicoSuter / NJsonSchema

JSON Schema reader, generator and validator for .NET
http://NJsonSchema.org
MIT License
1.4k stars 534 forks source link

Allign JsonPropertyRequiredCode with IsNullable #1622

Closed KristianHauge closed 1 year ago

KristianHauge commented 1 year ago

IsNullable implemented in 87bd7a4e3a552c5fab62564de598cb3ae6053d44

Currently the JsonPropertyRequiredCode does not reflect the previous fix, resulting in generating nullable properties with Required.DisallowNull and NullValueHandling.Ingore for optional properties.

RicoSuter commented 1 year ago

v11