{"action":"created","issue":{"url":"https://api.github.com/repos/gextech/raml-mockup/issues/6","labels_url":"https://api.github.com/repos/gextech/raml-mockup/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/gextech/raml-mockup/issues/6/comments","events_url":"https://api.github.com/repos/gextech/raml-mockup/issues/6/events","html_url":"https://github.com/gextech/raml-mockup/issues/6","id":120502437,"number":6,"title":"Error resolving nested schemas","user":{"login":"menehune23","id":6722957,"avatar_url":"https://avatars.githubusercontent.com/u/6722957?v=3","gravatar_id":"","url":"https://api.github.com/users/menehune23","html_url":"https://github.com/menehune23","followers_url":"https://api.github.com/users/menehune23/followers","following_url":"https://api.github.com/users/menehune23/following{/other_user}","gists_url":"https://api.github.com/users/menehune23/gists{/gist_id}","starred_url":"https://api.github.com/users/menehune23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menehune23/subscriptions","organizations_url":"https://api.github.com/users/menehune23/orgs","repos_url":"https://api.github.com/users/menehune23/repos","events_url":"https://api.github.com/users/menehune23/events{/privacy}","received_events_url":"https://api.github.com/users/menehune23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-04T22:49:47Z","updated_at":"2015-12-08T00:56:33Z","closed_at":"2015-12-07T21:08:09Z","body":"I'm having issues getting responses that require nested schemas. Just to be sure, I tested it with the \"fixtures\" example (no file changes), running from both inside and outside the \"fixtures\" directory:\r\n\r\n`raml-mockup fixtures/api.raml -d fixtures/schemas -f http://json-schema.org -p 5000 -r $PWD/formats/index.js -w`\r\n\r\nOutput:\r\n```\r\nWatching for changes...\r\nEndpoint:\r\n  http://localhost:5000\r\nResources:\r\n  /songs\r\n    GET      -> 200\r\n  /songs/:id\r\n    GET      -> 200\r\n  /artists/:name\r\n    GET      -> 200, 404\r\n```\r\n\r\nIn a separate command window, running:\r\n\r\n`curl http://localhost:5000/songs`\r\n\r\nproduces the response:\r\n\r\n`{\"error\":\"Reference not found: http://json-schema.org/song-schema.json#\"}`\r\n* Note that this is _song-schema.json_, the nested schema, not _song-schema**s**.json_, the outer schema\r\n\r\nMeanwhile, the following is appended to the raml-mockup output:\r\n```\r\n/songs\r\n    GET      -> 500\r\n```\r\n\r\nThis almost exactly mimics the same issue I am having in my project. Thanks for the help, and please let me know if you need any more information!"},"comment":{"url":"https://api.github.com/repos/gextech/raml-mockup/issues/comments/162719181","html_url":"https://github.com/gextech/raml-mockup/issues/6#issuecomment-162719181","issue_url":"https://api.github.com/repos/gextech/raml-mockup/issues/6","id":162719181,"user":{"login":"pateketrueke","id":206371,"avatar_url":"https://avatars.githubusercontent.com/u/206371?v=3","gravatar_id":"","url":"https://api.github.com/users/pateketrueke","html_url":"https://github.com/pateketrueke","followers_url":"https://api.github.com/users/pateketrueke/followers","following_url":"https://api.github.com/users/pateketrueke/following{/other_user}","gists_url":"https://api.github.com/users/pateketrueke/gists{/gist_id}","starred_url":"https://api.github.com/users/pateketrueke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pateketrueke/subscriptions","organizations_url":"https://api.github.com/users/pateketrueke/orgs","repos_url":"https://api.github.com/users/pateketrueke/repos","events_url":"https://api.github.com/users/pateketrueke/events{/privacy}","received_events_url":"https://api.github.com/users/pateketrueke/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T00:56:33Z","updated_at":"2015-12-08T00:56:33Z","body":"Did you test with v0.2.5 ?"}}