{"action":"created","issue":{"url":"https://api.github.com/repos/Rebilly/ReDoc/issues/110","repository_url":"https://api.github.com/repos/Rebilly/ReDoc","labels_url":"https://api.github.com/repos/Rebilly/ReDoc/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/Rebilly/ReDoc/issues/110/comments","events_url":"https://api.github.com/repos/Rebilly/ReDoc/issues/110/events","html_url":"https://github.com/Rebilly/ReDoc/issues/110","id":176556324,"number":110,"title":"Token \"QueryParam\" does not exist. ","user":{"login":"crystalfp","id":865866,"avatar_url":"https://avatars.githubusercontent.com/u/865866?v=3","gravatar_id":"","url":"https://api.github.com/users/crystalfp","html_url":"https://github.com/crystalfp","followers_url":"https://api.github.com/users/crystalfp/followers","following_url":"https://api.github.com/users/crystalfp/following{/other_user}","gists_url":"https://api.github.com/users/crystalfp/gists{/gist_id}","starred_url":"https://api.github.com/users/crystalfp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crystalfp/subscriptions","organizations_url":"https://api.github.com/users/crystalfp/orgs","repos_url":"https://api.github.com/users/crystalfp/repos","events_url":"https://api.github.com/users/crystalfp/events{/privacy}","received_events_url":"https://api.github.com/users/crystalfp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-13T05:58:15Z","updated_at":"2016-09-13T06:40:25Z","closed_at":"2016-09-13T06:39:48Z","body":"I'm in the middle of splitting parameters and definitions from my swagger.yaml file into distinct yaml files. Now ReDoc refuses to load my file pretending that:\r\n\r\n**Oops... ReDoc failed to render this spec**\r\n\r\n**Error resolving $ref pointer \"http://localhost:8080/parameters.yaml#/QueryParam\". Token \"QueryParam\" does not exist.**\r\n\r\nWhen in fact it is here in parameters.yaml file.\r\n\r\nBut if I put the yaml files in a subdirectory (changing redoc.html to point to bug/swagger.yaml) or on a [real website](http://mariovalle.name/a/redoc.html) then the error disappears.\r\n\r\nPreviously I resolved the problem for another parameter simply moving its definition to another place in the same parameters.yaml file.\r\n\r\nTo reproduce locally, download the [api.zip](http://mariovalle.name/a/api.zip) file, unpack it and run mongoose from the same directory to serve the files.\r\n\r\nPlease let me know what I need to do to help diagnose the problem.\r\nThanks for your help!\r\nmario\r\n\r\n  "},"comment":{"url":"https://api.github.com/repos/Rebilly/ReDoc/issues/comments/246589437","html_url":"https://github.com/Rebilly/ReDoc/issues/110#issuecomment-246589437","issue_url":"https://api.github.com/repos/Rebilly/ReDoc/issues/110","id":246589437,"user":{"login":"RomanGotsiy","id":3975738,"avatar_url":"https://avatars.githubusercontent.com/u/3975738?v=3","gravatar_id":"","url":"https://api.github.com/users/RomanGotsiy","html_url":"https://github.com/RomanGotsiy","followers_url":"https://api.github.com/users/RomanGotsiy/followers","following_url":"https://api.github.com/users/RomanGotsiy/following{/other_user}","gists_url":"https://api.github.com/users/RomanGotsiy/gists{/gist_id}","starred_url":"https://api.github.com/users/RomanGotsiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomanGotsiy/subscriptions","organizations_url":"https://api.github.com/users/RomanGotsiy/orgs","repos_url":"https://api.github.com/users/RomanGotsiy/repos","events_url":"https://api.github.com/users/RomanGotsiy/events{/privacy}","received_events_url":"https://api.github.com/users/RomanGotsiy/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T06:40:25Z","updated_at":"2016-09-13T06:40:25Z","body":"Hey @crystalfp.\r\n\r\nI suspect something is wrong your server. I've just downloaded your file, unpacked and started simple http server ([http-server](https://www.npmjs.com/package/http-server)) and it worked fine for me."}}
{"actor":{"display_login":"RomanGotsiy"}}