Closed MelleD closed 1 year ago
openapitools wrote that JsonNullableModule for their openapisupport - maybe you should use their tools to gen openapi instead of using these deprecated jackson module
openapitools wrote that JsonNullableModule for their openapisupport
No they use it for JsonMergePatch https://www.rfc-editor.org/rfc/rfc7386, but for Optional it is the same issue
maybe you should use their tools to gen openapi instead of using these deprecated jackson module
Why this jackson module deprecated?
https://github.com/FasterXML/jackson-module-jsonSchema#future-plans-lack-thereof
Oh ok thanks then yes you are right have to look into open api generator
FWTW we can still merge contributed fixes, esp, ones for JsonSerializer
s of types which are outside of JSON Schema module. But @pjfanning is right, this module is not actively maintained by anyone (has no owner) and only supports older version of JSON Schema spec.
I have follow DTO
This generated follow json schema
I would expect JsonNullable or Optional not to contain present and empty but the generic classes, when I register the modules.JsonNullable module see here (similar) to optional.