Closed
requested to merge github/fork/madsvonqualen/bugfix/allow-deserializing-super-classes into master
Created by: madsvonqualen
When generating models with the JavaJaxRS generator Jackson is currently unable to deserialize instances of superclasses if the class name and OpenAPI object name differs. Subclasses deserialize just fine because they are mentioned in the @JsonSubTypes annotation.
This Pull Request adds the @JsonTypeName to all pojo's in order to let Jackson recognize the OpenAPI object name as a discriminator value.