If a required property has the value `0`, `validateJson()` will throw an error, saying the property is not set. https://github.com/OpenAPITools/openapi-generator/blob/7c7634dda95eeb015e3a64375abf124f9031fecd/modules/openapi-generator/src/main/resources/Javascript/partial_model_generic.mustache#L67