Skip to content

Update interface.mustache to use discriminator object name instead default value 'type' for JsonTypeInfo #1340

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lokeshnaik808
Copy link

This change will enable Code Generator to generate Interfaces with Jackson JsonTypeInfo corresponding to the discriminator object name defined for oneOf type variable in Swagger, instead of having default value 'type'.

This change will enable Code Generator to generate Interfaces with Jackson JsonTypeInfo corresponding to the discriminator object name defined for oneOf type variable in Swagger, instead of having default value 'type'.
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.

1 participant