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

[cpprest] Bug: boolean values get converted to 0 and 1 instead of true and false #9903

Closed
cipold opened this issue Dec 2, 2019 · 0 comments

Comments

@cipold
Copy link
Contributor

cipold commented Dec 2, 2019

Description

When using the cpprest generated client the generated python client throws exceptions when boolean information is transferred. Using swagger UI we can see the difference in packets sent: swagger UI sends true and false in form data while the generated cpprest client sends 1 and 0.

Swagger-codegen version

master / 2.4.11-SNAPSHOT

Suggest a fix/enhancement

I will submit a PR fixing this issue.

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

No branches or pull requests

1 participant