Dennis Melzer
Dennis Melzer
> 2 options for the same thing? Thats not correct. @daberni `Optional` and `JsonNullable` are complete different things. One is two state the other is a tri state object. Optional...
@daberni more clear?
I don't understand how `NullValuePropertyMappingStrategy.IGNORE` can help you with a tristate for a PATCH use case.
I don’t get what you would like to say. Please make an example with code. I don’t see how you can achieve a tristate semantic. But also a little bit...
Yes and the third state (reset state) make just sense for PATCH ( maybe sometimes for POST not sure).
@gnuemacscoin now I just see two states. Where is the reset state? And again I don’t like to have a mapping step from dto to dto.
I need a closer look, but I don't recognize the reset case when it is set to null. But in the end, you create another wrapper class like jsonnullable. Instead...
Did you enable `openApiNullable` https://openapi-generator.tech/docs/generators/spring/
Hey @tofi86 I tried it with: ``` org.openapitools openapi-generator-maven-plugin 7.3.0 generate ${project.basedir}/swagger.yml spring test test ``` and works ``` public class Pet { private Long id; private String name; private...
@robertop87 not familiar with gradle but you have to use the spring generator and not the java generator. `generatorName.set("java")` looks wrong I linked the documentation to the spring generator above