in 2.2.2, we are returning an example value for model properties. If not defined in the definition, this logic is returning the string "null". The following check:
@ApiModelProperty({{#example}}example = "{{example}}", {{/example}}
Will then always write the example null. I don't think this was the intention.