mbknor / mbknor-jackson-jsonSchema

Generate JSON Schema with Polymorphism using Jackson annotations
MIT License
232 stars 75 forks source link

Provide callback to user code before trying to resolve `@JsonTypeInfo` types #137

Open big-andy-coates opened 3 years ago

big-andy-coates commented 3 years ago

A callback would allow users to be notified a polymorphic type was about to be resolved.

This can be useful to allow the calling code to perform some operation, e.g. dynamically register the required subtypes if they haven't been registered already.