{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixnap/springmvc-raml-plugin/issues/55","repository_url":"https://api.github.com/repos/phoenixnap/springmvc-raml-plugin","labels_url":"https://api.github.com/repos/phoenixnap/springmvc-raml-plugin/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/phoenixnap/springmvc-raml-plugin/issues/55/comments","events_url":"https://api.github.com/repos/phoenixnap/springmvc-raml-plugin/issues/55/events","html_url":"https://github.com/phoenixnap/springmvc-raml-plugin/issues/55","id":160646572,"number":55,"title":"Code generation fails using top level array in response","user":{"login":"mbs99","id":19974702,"avatar_url":"https://avatars.githubusercontent.com/u/19974702?v=3","gravatar_id":"","url":"https://api.github.com/users/mbs99","html_url":"https://github.com/mbs99","followers_url":"https://api.github.com/users/mbs99/followers","following_url":"https://api.github.com/users/mbs99/following{/other_user}","gists_url":"https://api.github.com/users/mbs99/gists{/gist_id}","starred_url":"https://api.github.com/users/mbs99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbs99/subscriptions","organizations_url":"https://api.github.com/users/mbs99/orgs","repos_url":"https://api.github.com/users/mbs99/repos","events_url":"https://api.github.com/users/mbs99/events{/privacy}","received_events_url":"https://api.github.com/users/mbs99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-16T12:12:00Z","updated_at":"2016-06-17T15:37:34Z","closed_at":null,"body":"Hi,\r\n\r\ncode generation fails when using a schema referencing another json file.\r\n\r\nRAML:\r\n\r\n`schemas: \r\n-list: list.json`\r\n...\r\n`responses:\r\n      200:\r\n        body:\r\n          application/json:\r\n            schema: list`\r\n\r\nlist.json:\r\n\r\n`{\r\n \"type\": \"array\",\r\n \"additionalProperties\": false,\r\n \"items\": {\r\n   \"$ref\": \"types.json#/definitions/BaseType\"\r\n }\r\n}`\r\n\r\nThe controller method references an unknown list object type, which is not generated.\r\n`public ResponseEntity<List<BaseTypeResponse>> getList()`\r\nThere's no need for an new object instead of\r\n`List<BaseType>`\r\n"},"comment":{"url":"https://api.github.com/repos/phoenixnap/springmvc-raml-plugin/issues/comments/226803181","html_url":"https://github.com/phoenixnap/springmvc-raml-plugin/issues/55#issuecomment-226803181","issue_url":"https://api.github.com/repos/phoenixnap/springmvc-raml-plugin/issues/55","id":226803181,"user":{"login":"kurtpa","id":16136444,"avatar_url":"https://avatars.githubusercontent.com/u/16136444?v=3","gravatar_id":"","url":"https://api.github.com/users/kurtpa","html_url":"https://github.com/kurtpa","followers_url":"https://api.github.com/users/kurtpa/followers","following_url":"https://api.github.com/users/kurtpa/following{/other_user}","gists_url":"https://api.github.com/users/kurtpa/gists{/gist_id}","starred_url":"https://api.github.com/users/kurtpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kurtpa/subscriptions","organizations_url":"https://api.github.com/users/kurtpa/orgs","repos_url":"https://api.github.com/users/kurtpa/repos","events_url":"https://api.github.com/users/kurtpa/events{/privacy}","received_events_url":"https://api.github.com/users/kurtpa/received_events","type":"User","site_admin":false},"created_at":"2016-06-17T15:37:34Z","updated_at":"2016-06-17T15:37:34Z","body":"oki i'll try replicate this problem soon... (and fix it ;) long flight coming up :) if you have a code snippet handy i'll use that for replication"}}
{"actor":{"display_login":"kurtpa"}}