-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[Swift] Bool value conversion #2446
Comments
@orkenstein thanks for sharing the fix. May I know if you've cycle to contribute a fix? A good starting point is to add |
@wing328
|
@orkenstein thanks!. To run the integration test for Swift Petstore after making the change, please do the following:
|
That's a pretty big issue indeed :( is there a specific issue on this repo for that? |
@cjolif looks like no. |
thanks @orkenstein, I created #2483 to track this one... |
@cjolif thanks for opening an issue to track it and hopefully they will add the support soon. |
This is a fix attempt for : [Swift] Bool value conversion swagger-api#2446 It is copied from http://stackoverflow.com/questions/36185530/how-to-check-dictionary-value-to-be-exactly-a-bool/36186159#36186159
PR merged. Issue closed. |
For Swift 3 version:
Sample:
|
There is an issue with
Bool
value conversion toGET
URL parameters.It's described here, as well as the solution:
http://stackoverflow.com/questions/36185530/how-to-check-dictionary-value-to-be-exactly-a-bool/36186159#36186159
Swagger server implementation accepts Bool as
true/false
only. So this breaks some logic.The text was updated successfully, but these errors were encountered: