{"action":"created","issue":{"url":"https://api.github.com/repos/krakenjs/swaggerize-express/issues/87","labels_url":"https://api.github.com/repos/krakenjs/swaggerize-express/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/krakenjs/swaggerize-express/issues/87/comments","events_url":"https://api.github.com/repos/krakenjs/swaggerize-express/issues/87/events","html_url":"https://github.com/krakenjs/swaggerize-express/issues/87","id":119563673,"number":87,"title":"Relative paths not supported","user":{"login":"jsdevel","id":2605980,"avatar_url":"https://avatars.githubusercontent.com/u/2605980?v=3","gravatar_id":"","url":"https://api.github.com/users/jsdevel","html_url":"https://github.com/jsdevel","followers_url":"https://api.github.com/users/jsdevel/followers","following_url":"https://api.github.com/users/jsdevel/following{/other_user}","gists_url":"https://api.github.com/users/jsdevel/gists{/gist_id}","starred_url":"https://api.github.com/users/jsdevel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsdevel/subscriptions","organizations_url":"https://api.github.com/users/jsdevel/orgs","repos_url":"https://api.github.com/users/jsdevel/repos","events_url":"https://api.github.com/users/jsdevel/events{/privacy}","received_events_url":"https://api.github.com/users/jsdevel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T19:34:35Z","updated_at":"2015-11-30T22:29:52Z","closed_at":null,"body":"I kept getting this with something like `\"$ref\": \"Address.json\"` in one of my definitions.  The definition file had a sibling `Address.json` file in the same directory.\r\n\r\nHere's the error:\r\n![callstack-exceeded-error](https://cloud.githubusercontent.com/assets/2605980/11482164/8976e402-975e-11e5-8a9e-4eca7a7e9bb6.png)\r\n\r\nNot really sure how it could work though as `swaggerize-express` is expecting `definitions` to be an object:\r\n\r\n\r\n\r\n![must-be-an-object](https://cloud.githubusercontent.com/assets/2605980/11482181/a391ac82-975e-11e5-9d53-3f20edc486a7.png)\r\n\r\nSee the docs for [reference object](https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#reference-object)\r\n\r\n![swagger-relative](https://cloud.githubusercontent.com/assets/2605980/11482193/b53326e6-975e-11e5-8136-cfb4b2c61da0.png)\r\n"},"comment":{"url":"https://api.github.com/repos/krakenjs/swaggerize-express/issues/comments/160782393","html_url":"https://github.com/krakenjs/swaggerize-express/issues/87#issuecomment-160782393","issue_url":"https://api.github.com/repos/krakenjs/swaggerize-express/issues/87","id":160782393,"user":{"login":"tlivings","id":20686,"avatar_url":"https://avatars.githubusercontent.com/u/20686?v=3","gravatar_id":"","url":"https://api.github.com/users/tlivings","html_url":"https://github.com/tlivings","followers_url":"https://api.github.com/users/tlivings/followers","following_url":"https://api.github.com/users/tlivings/following{/other_user}","gists_url":"https://api.github.com/users/tlivings/gists{/gist_id}","starred_url":"https://api.github.com/users/tlivings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlivings/subscriptions","organizations_url":"https://api.github.com/users/tlivings/orgs","repos_url":"https://api.github.com/users/tlivings/repos","events_url":"https://api.github.com/users/tlivings/events{/privacy}","received_events_url":"https://api.github.com/users/tlivings/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T22:29:52Z","updated_at":"2015-11-30T22:29:52Z","body":"If you want to use external references like this, you can use `extrefs` module to resolve them in advance.\r\n\r\nThat being said, we need to build support for this in directly."}}