Skip to content

Conversation

tao-qian
Copy link
Contributor

Code for parseBoolean:

   public static boolean parseBoolean(String s) {
        return ((s != null) && s.equalsIgnoreCase("true"));
    }

So when the BooleanProperty has no default value (e.g. s == null), we are setting the default value as false.

One of the problems caused by this issue:
kongchen/swagger-maven-plugin#284

@fehguy
Copy link
Contributor

fehguy commented Jun 27, 2016

@frantuma is this good to merge?

@JoshIsOnIt
Copy link

I could really use this as well. Any update on the merge?

@webron
Copy link
Contributor

webron commented Aug 25, 2016

@thebeeber unfortunately this didn't make the cut for 1.5.10, but we'll try to push it to 1.5.11 (no ETA yet).

@frantuma frantuma merged commit b70a34a into swagger-api:master Aug 25, 2016
@fehguy fehguy modified the milestone: v1.5.11 Dec 25, 2016
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.

5 participants