{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft-labs/rajapa/issues/29","repository_url":"https://api.github.com/repos/mulesoft-labs/rajapa","labels_url":"https://api.github.com/repos/mulesoft-labs/rajapa/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft-labs/rajapa/issues/29/comments","events_url":"https://api.github.com/repos/mulesoft-labs/rajapa/issues/29/events","html_url":"https://github.com/mulesoft-labs/rajapa/issues/29","id":146362899,"number":29,"title":"Error using simple example ","user":{"login":"eleonoraortega","id":5630419,"avatar_url":"https://avatars.githubusercontent.com/u/5630419?v=3","gravatar_id":"","url":"https://api.github.com/users/eleonoraortega","html_url":"https://github.com/eleonoraortega","followers_url":"https://api.github.com/users/eleonoraortega/followers","following_url":"https://api.github.com/users/eleonoraortega/following{/other_user}","gists_url":"https://api.github.com/users/eleonoraortega/gists{/gist_id}","starred_url":"https://api.github.com/users/eleonoraortega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eleonoraortega/subscriptions","organizations_url":"https://api.github.com/users/eleonoraortega/orgs","repos_url":"https://api.github.com/users/eleonoraortega/repos","events_url":"https://api.github.com/users/eleonoraortega/events{/privacy}","received_events_url":"https://api.github.com/users/eleonoraortega/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"fededonna","id":1690404,"avatar_url":"https://avatars.githubusercontent.com/u/1690404?v=3","gravatar_id":"","url":"https://api.github.com/users/fededonna","html_url":"https://github.com/fededonna","followers_url":"https://api.github.com/users/fededonna/followers","following_url":"https://api.github.com/users/fededonna/following{/other_user}","gists_url":"https://api.github.com/users/fededonna/gists{/gist_id}","starred_url":"https://api.github.com/users/fededonna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fededonna/subscriptions","organizations_url":"https://api.github.com/users/fededonna/orgs","repos_url":"https://api.github.com/users/fededonna/repos","events_url":"https://api.github.com/users/fededonna/events{/privacy}","received_events_url":"https://api.github.com/users/fededonna/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-06T16:16:23Z","updated_at":"2016-04-06T19:40:46Z","closed_at":"2016-04-06T19:40:46Z","body":"When using the following example for a defined string an error is displayed\r\n\r\n#%RAML 1.0\r\ntitle: API with Examples\r\ntypes:\r\n nombre:\r\n   type: string\r\n   example: eleocapa\r\n\r\nError:\r\n\r\njava -jar target/rajapa-1.0.0-SNAPSHOT.jar -dump /Users/Eleo/Dropbox/raml_10/examples.raml\r\nException in thread \"main\" java.lang.ClassCastException: org.raml.impl.v10.nodes.types.builtin.StringTypeNode cannot be cast to org.raml.impl.v10.nodes.types.builtin.ObjectTypeNode\r\n\tat org.raml.impl.commons.phase.ExampleValidationPhase.apply(ExampleValidationPhase.java:46)\r\n\tat org.raml.impl.v10.Raml10Builder.build(Raml10Builder.java:67)\r\n\tat org.raml.RamlBuilder.build(RamlBuilder.java:93)\r\n\tat org.raml.RamlBuilder.build(RamlBuilder.java:67)\r\n\tat org.raml.RamlValidator.main(RamlValidator.java:37)\r\n"},"comment":{"url":"https://api.github.com/repos/mulesoft-labs/rajapa/issues/comments/206527873","html_url":"https://github.com/mulesoft-labs/rajapa/issues/29#issuecomment-206527873","issue_url":"https://api.github.com/repos/mulesoft-labs/rajapa/issues/29","id":206527873,"user":{"login":"fededonna","id":1690404,"avatar_url":"https://avatars.githubusercontent.com/u/1690404?v=3","gravatar_id":"","url":"https://api.github.com/users/fededonna","html_url":"https://github.com/fededonna","followers_url":"https://api.github.com/users/fededonna/followers","following_url":"https://api.github.com/users/fededonna/following{/other_user}","gists_url":"https://api.github.com/users/fededonna/gists{/gist_id}","starred_url":"https://api.github.com/users/fededonna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fededonna/subscriptions","organizations_url":"https://api.github.com/users/fededonna/orgs","repos_url":"https://api.github.com/users/fededonna/repos","events_url":"https://api.github.com/users/fededonna/events{/privacy}","received_events_url":"https://api.github.com/users/fededonna/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T19:40:46Z","updated_at":"2016-04-06T19:40:46Z","body":"Done"}}