{"action":"closed","issue":{"url":"https://api.github.com/repos/raml-org/raml-java-parser/issues/132","repository_url":"https://api.github.com/repos/raml-org/raml-java-parser","labels_url":"https://api.github.com/repos/raml-org/raml-java-parser/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/raml-org/raml-java-parser/issues/132/comments","events_url":"https://api.github.com/repos/raml-org/raml-java-parser/issues/132/events","html_url":"https://github.com/raml-org/raml-java-parser/issues/132","id":163009073,"number":132,"title":"Add support for an inline type declaration","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":[{"url":"https://api.github.com/repos/raml-org/raml-java-parser/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/raml-org/raml-java-parser/labels/major","name":"major","color":"c5def5"},{"url":"https://api.github.com/repos/raml-org/raml-java-parser/labels/v2","name":"v2","color":"0e8a16"}],"state":"closed","locked":false,"assignee":{"login":"svacas","id":557476,"avatar_url":"https://avatars.githubusercontent.com/u/557476?v=3","gravatar_id":"","url":"https://api.github.com/users/svacas","html_url":"https://github.com/svacas","followers_url":"https://api.github.com/users/svacas/followers","following_url":"https://api.github.com/users/svacas/following{/other_user}","gists_url":"https://api.github.com/users/svacas/gists{/gist_id}","starred_url":"https://api.github.com/users/svacas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svacas/subscriptions","organizations_url":"https://api.github.com/users/svacas/orgs","repos_url":"https://api.github.com/users/svacas/repos","events_url":"https://api.github.com/users/svacas/events{/privacy}","received_events_url":"https://api.github.com/users/svacas/received_events","type":"User","site_admin":false},"assignees":[{"login":"svacas","id":557476,"avatar_url":"https://avatars.githubusercontent.com/u/557476?v=3","gravatar_id":"","url":"https://api.github.com/users/svacas","html_url":"https://github.com/svacas","followers_url":"https://api.github.com/users/svacas/followers","following_url":"https://api.github.com/users/svacas/following{/other_user}","gists_url":"https://api.github.com/users/svacas/gists{/gist_id}","starred_url":"https://api.github.com/users/svacas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svacas/subscriptions","organizations_url":"https://api.github.com/users/svacas/orgs","repos_url":"https://api.github.com/users/svacas/repos","events_url":"https://api.github.com/users/svacas/events{/privacy}","received_events_url":"https://api.github.com/users/svacas/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/raml-org/raml-java-parser/milestones/1","html_url":"https://github.com/raml-org/raml-java-parser/milestones/1.0.0-beta-2","labels_url":"https://api.github.com/repos/raml-org/raml-java-parser/milestones/1/labels","id":1853628,"number":1,"title":"1.0.0-beta-2","description":"","creator":{"login":"svacas","id":557476,"avatar_url":"https://avatars.githubusercontent.com/u/557476?v=3","gravatar_id":"","url":"https://api.github.com/users/svacas","html_url":"https://github.com/svacas","followers_url":"https://api.github.com/users/svacas/followers","following_url":"https://api.github.com/users/svacas/following{/other_user}","gists_url":"https://api.github.com/users/svacas/gists{/gist_id}","starred_url":"https://api.github.com/users/svacas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svacas/subscriptions","organizations_url":"https://api.github.com/users/svacas/orgs","repos_url":"https://api.github.com/users/svacas/repos","events_url":"https://api.github.com/users/svacas/events{/privacy}","received_events_url":"https://api.github.com/users/svacas/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":19,"state":"open","created_at":"2016-06-28T20:26:47Z","updated_at":"2016-07-25T14:30:46Z","due_on":"2016-07-28T03:00:00Z","closed_at":null},"comments":1,"created_at":"2016-06-29T19:39:21Z","updated_at":"2016-07-25T14:30:46Z","closed_at":"2016-07-25T14:30:46Z","body":"```yaml\r\n#%RAML 1.0\r\ntitle: TCK Sample. RAML 1.0 Types 003.\r\nversion: v1\r\nbaseUri: http://api.samplehost.com/{version}\r\n/teams:\r\n  get:\r\n    body:\r\n      application/xml:\r\n        type:\r\n          properties:\r\n            prop1: string\r\n            prop2: number\r\n/teams2:\r\n  get:\r\n    body:\r\n      application/xml:\r\n        type: string\r\n/teams3:\r\n  get:\r\n    body:\r\n      application/xml:\r\n        schema: string\r\n/teams4:\r\n  get:\r\n    body:\r\n      application/xml:\r\n        schema: string\r\n/teams5:\r\n  get:\r\n    body:\r\n      application/xml:\r\n        type: string\r\n/teams6:\r\n  get:\r\n    body:\r\n      application/xml:\r\n        type: string\r\n```\r\n\r\n**Actual result:**\r\n\t- Invalid element {\r\nproperties: {\r\nprop1: string,\r\nprop2: number\r\n}\r\n}. [line=10, col=11]\r\n\r\n**Expected result:**\r\n\r\ntype? A base type which the current type extends or just wraps. The value of a type node MUST be either a) the name of a user-defined type or b) the name of a built-in RAML data type (object, array, or one of the scalar types) or c) an inline type declaration.\r\n"}}
{"actor":{"display_login":"eleonoraortega"}}