Skip to content

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

Open
lokeshnaik808 wants to merge 1 commit intoswagger-api:masterfrom
lokeshnaik808:fix_discriminator
Open

Update interface.mustache to use discriminator object name instead default value 'type' for JsonTypeInfo#1340
lokeshnaik808 wants to merge 1 commit intoswagger-api:masterfrom
lokeshnaik808:fix_discriminator

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