{"action":"created","issue":{"url":"https://api.github.com/repos/RobWin/swagger2markup/issues/15","labels_url":"https://api.github.com/repos/RobWin/swagger2markup/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/RobWin/swagger2markup/issues/15/comments","events_url":"https://api.github.com/repos/RobWin/swagger2markup/issues/15/events","html_url":"https://github.com/RobWin/swagger2markup/issues/15","id":78590057,"number":15,"title":"Boolean values ","user":{"login":"neoecos","id":1490677,"avatar_url":"https://avatars.githubusercontent.com/u/1490677?v=3","gravatar_id":"","url":"https://api.github.com/users/neoecos","html_url":"https://github.com/neoecos","followers_url":"https://api.github.com/users/neoecos/followers","following_url":"https://api.github.com/users/neoecos/following{/other_user}","gists_url":"https://api.github.com/users/neoecos/gists{/gist_id}","starred_url":"https://api.github.com/users/neoecos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neoecos/subscriptions","organizations_url":"https://api.github.com/users/neoecos/orgs","repos_url":"https://api.github.com/users/neoecos/repos","events_url":"https://api.github.com/users/neoecos/events{/privacy}","received_events_url":"https://api.github.com/users/neoecos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-20T16:18:26Z","updated_at":"2015-05-21T07:30:42Z","closed_at":null,"body":"Hi @RobWin \r\n\r\nI found a weird error, i think is a bug in the swagger-core.\r\n\r\nWhen any model have a \"boolean\" property it fails to parse the model (from the swagger.json)\r\n\r\nThe error is\r\n```\r\ncom.fasterxml.jackson.databind.node.BooleanNode cannot be cast to com.fasterxml.jackson.databind.node.TextNode (through reference chain: com.wordnik.swagger.models.ModelImpl[\"properties\"]) (through reference chain: com.wordnik.swagger.models.Swagger[\"definitions\"])\r\nreading from docs/swagger/tpaga_api.json\r\ncom.fasterxml.jackson.databind.node.BooleanNode cannot be cast to com.fasterxml.jackson.databind.node.TextNode (through reference chain: com.wordnik.swagger.models.ModelImpl[\"properties\"]) (through reference chain: com.wordnik.swagger.models.Swagger[\"definitions\"])\r\n```"},"comment":{"url":"https://api.github.com/repos/RobWin/swagger2markup/issues/comments/104165031","html_url":"https://github.com/RobWin/swagger2markup/issues/15#issuecomment-104165031","issue_url":"https://api.github.com/repos/RobWin/swagger2markup/issues/15","id":104165031,"user":{"login":"RobWin","id":5815046,"avatar_url":"https://avatars.githubusercontent.com/u/5815046?v=3","gravatar_id":"","url":"https://api.github.com/users/RobWin","html_url":"https://github.com/RobWin","followers_url":"https://api.github.com/users/RobWin/followers","following_url":"https://api.github.com/users/RobWin/following{/other_user}","gists_url":"https://api.github.com/users/RobWin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobWin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobWin/subscriptions","organizations_url":"https://api.github.com/users/RobWin/orgs","repos_url":"https://api.github.com/users/RobWin/repos","events_url":"https://api.github.com/users/RobWin/events{/privacy}","received_events_url":"https://api.github.com/users/RobWin/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T07:30:42Z","updated_at":"2015-05-21T07:30:42Z","body":"ok. I can reproduce the issue. \r\nThe issue is in class com.wordnik.swagger.util.PropertyDeserializer in lines 73-75\r\n```\r\n detailNode = node.get(\"default\");\r\n    if(detailNode != null)\r\n      _default = (String) ((TextNode) detailNode).asText();\r\n```\r\n\r\n@neoecos Could you please open a ticket against swagger-core? "}}