{"action":"closed","issue":{"url":"https://api.github.com/repos/CacheControl/hippie-swagger/issues/17","repository_url":"https://api.github.com/repos/CacheControl/hippie-swagger","labels_url":"https://api.github.com/repos/CacheControl/hippie-swagger/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/CacheControl/hippie-swagger/issues/17/comments","events_url":"https://api.github.com/repos/CacheControl/hippie-swagger/issues/17/events","html_url":"https://github.com/CacheControl/hippie-swagger/issues/17","id":187418474,"number":17,"title":"Doesn't resolve $ref in swagger json","user":{"login":"fcardona","id":5711269,"avatar_url":"https://avatars.githubusercontent.com/u/5711269?v=3","gravatar_id":"","url":"https://api.github.com/users/fcardona","html_url":"https://github.com/fcardona","followers_url":"https://api.github.com/users/fcardona/followers","following_url":"https://api.github.com/users/fcardona/following{/other_user}","gists_url":"https://api.github.com/users/fcardona/gists{/gist_id}","starred_url":"https://api.github.com/users/fcardona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcardona/subscriptions","organizations_url":"https://api.github.com/users/fcardona/orgs","repos_url":"https://api.github.com/users/fcardona/repos","events_url":"https://api.github.com/users/fcardona/events{/privacy}","received_events_url":"https://api.github.com/users/fcardona/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-04T19:25:39Z","updated_at":"2016-11-04T19:43:39Z","closed_at":"2016-11-04T19:43:38Z","body":"```\r\nvar swaggerJson = require('swagger-pet-store.json'); // from http://petstore.swagger.io/v2/swagger.json\r\n\r\nit('pet store order test', (done) => {\r\n  hippie(require(swaggerJson)\r\n    .get('http://petstore.swagger.io/v2/store/order/{orderId}')\r\n    .pathParams({\r\n      orderId: 2\r\n    })\r\n    .expectStatus(StatusCodes.Ok)\r\n    .end(function (err, res, body) {\r\n      if (err) throw err;\r\n      done();\r\n    });\r\n});\r\n\r\n// Throws: \"Uncaught Error: can't resolve reference #/definitions/Order from id #\"\r\n```"}}
{"actor":{"display_login":"CacheControl"}}