Support subTypes registered via JSON.mapper().registerSubtypes()
The system I am working with can't use the annotation based definition of subtypes (either Swagger's or Jackson's) because the superclasses and subclasses are in separate OSGI bundles and the superclass->subclass references would cause dependency problems. As such we make pretty extensive use of Jackson's ObjectMapper.registerSubtypes() mechanism to setup these things, however, the way Swagger is written means that those subtype registrations are ignored.
I have a 1 line change that fixes this problem, and doesn't break anything else. (It effectively switches from using Jackson's annotation processor to using it's subtypes mechanism)
I would like to submit a PR. Any interest ?
I am also facing the same issue. Was it ever fixed?
@RadicalQuiver Can you share your fix? Or create a PR?
Closing this issue as part of our backlog cleanup effort.
This issue is outdated and/or inactive for a long time, and we’re not able to revisit it meaningfully.
If this problem is still relevant, please open a new issue and reference this one for context.
Thank you for your understanding!