jackson-databind-nullable
jackson-databind-nullable copied to clipboard
JsonNullable wrapper class and Jackson module to support meaningful null values
Hi Team, Sorry if my question is redundant, I would like to know we can use this module with openapi generator plugin from swagger. Suppose I have field email and...
Bumps [hibernate-validator](https://github.com/hibernate/hibernate-validator) from 6.1.0.Final to 6.1.5.Final. Changelog Sourced from hibernate-validator's changelog. 6.1.5.Final (06-05-2020) ** Bug * HV-1774 - engine - Invalid parsing of EL expression can lead to invalid EL...
Recently we changed a type in one object from `JsonNullable sth = JsonNullable.undefined()` to `JsonNullable sth = JsonNullable.undefined()`. Soon after we noticed a change in the deserialisation behaviour - explicit...
I generated the client code from my OAS 3.0.3 spec for `java`, `resttemplate` and `java8` as `dateLibrary`. I had to explicitly set `openApiNullable` to true in the gradle plugin -...
Hey, @cbornet convinced me, it's really better to use the `JsonNullable` instead of `Optionals`. From the discussion here https://github.com/OpenAPITools/openapi-generator/pull/3214, the question: Make it sense to create a new method `isUndefined()`...
Sometimes it is useful to access DTO's nested data by the means of JDK stream api
The openapi swagger codegen generates JsonNullable type fields if the type attribute in swagger is not mentioned. How to overcome this without modifying the swagger. I want JsonNullable for other...
I'm confused with setup in "Usage section": ``` ObjectMapper mapper = new ObjectMapper(); mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); mapper.registerModule(new JsonNullableModule()); ``` Please take a look on the following snippet ( `val=null` is passed in...
Adds a `@JsonNullableIsPresent` constraint based on [openapi-generator issue 11969](https://github.com/OpenAPITools/openapi-generator/issues/11969#issuecomment-1084351433). There's an immedate use for `@JsonNullableIsPresent` on a project I'm working on and I was also planning to raise a PR...