openapi-spring-webflux-validator icon indicating copy to clipboard operation
openapi-spring-webflux-validator copied to clipboard

Consider automatically registering Jackson modules

Open mawis opened this issue 4 years ago • 1 comments

I think it would be helpful if Jackson modules found on the classpath could be loaded automatically. I especially think of the support for java.time.Instant that gets added when the jackson-datatype-jsr310 module is available.

I think that for this to work the defaultObjectMapperFactory in Validate.kt should call .findAndRegisterModules() on the generated ObjectFactory.

mawis avatar Jun 02 '21 12:06 mawis

@mawis this is interesting. could you create a PR with what you're thinking. best!

cdimascio avatar Dec 22 '22 15:12 cdimascio