springdoc-openapi icon indicating copy to clipboard operation
springdoc-openapi copied to clipboard

Add support for jackson-databind-nullable

Open noshua opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

When using springdoc-openapi together with openapi-generator and it's jackson-databind-nullable the generated swagger-ui for nullable fields is broken. Instead of showing the Object attributes only "present": true is displayed.

Describe the solution you'd like

A JsonNullable<Object> attribute should be displayed like an Optional<Object>. So the Object attributes should be displayed.

Describe alternatives you've considered

And couldn't find any alternatives.

Additional context

grafik grafik

noshua avatar Feb 15 '24 15:02 noshua