Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#602 Generated code does not implement model inheritance correctly #603

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

trohrberg
Copy link

Fix handling of composed models and adjustments to model.mustache and typeInfoAnnotation.mustache templates to correctly generate models with inheritance structure.

The problem was due to three different reasons:

  • The SpringCodegen source code was missing the handling of composed models.
  • The model.mustache template was referring to a deprecated variable concerning composed models.
  • The typeInfoAnnotation.mustache template was missing the handling of discriminator mapping.

…orrectly

Fix handling of composed models and adjustments to model.mustache and typeInfoAnnotation.mustache templates to correctly generate models with inheritance structure.
@HugoMario
Copy link
Contributor

thanks a lot @trohrberg !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants