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

Changes to use discriminator properties if specified in client code generation #433

Merged
merged 4 commits into from
Aug 4, 2019
Merged

Conversation

nitinjavakid
Copy link
Contributor

Earlier the discriminator mapping values were ignored. Now specified discriminator value is correctly used.

Also, earlier discriminator value was not set in request by client. This fixes that too.

@HugoMario
Copy link
Contributor

hey @nitinjavakid, i'll add a sample based on your changes. Thanks a lot for this PR!

@HugoMario HugoMario merged commit 3a255f6 into swagger-api:master Aug 4, 2019
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