OpenAPITools / jackson-databind-nullable

JsonNullable wrapper class and Jackson module to support meaningful null values
Apache License 2.0
103 stars 30 forks source link

Add JsonNullableIsPresent annotation and validator #53

Closed etherealsoftwareuk closed 3 weeks ago

etherealsoftwareuk commented 1 year ago

Adds a @JsonNullableIsPresent constraint based on openapi-generator issue 11969.

There's an immedate use for @JsonNullableIsPresent on a project I'm working on and I was also planning to raise a PR to fix openapi-generator issue 11969 by adding the new annotation to the {#required} block in beanValidation.mustache.