{"action":"created","issue":{"url":"https://api.github.com/repos/azurestandard/api-spec/issues/165","repository_url":"https://api.github.com/repos/azurestandard/api-spec","labels_url":"https://api.github.com/repos/azurestandard/api-spec/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/azurestandard/api-spec/issues/165/comments","events_url":"https://api.github.com/repos/azurestandard/api-spec/issues/165/events","html_url":"https://github.com/azurestandard/api-spec/issues/165","id":183470182,"number":165,"title":"Get Swagger UI working","user":{"login":"igregson","id":2054975,"avatar_url":"https://avatars.githubusercontent.com/u/2054975?v=3","gravatar_id":"","url":"https://api.github.com/users/igregson","html_url":"https://github.com/igregson","followers_url":"https://api.github.com/users/igregson/followers","following_url":"https://api.github.com/users/igregson/following{/other_user}","gists_url":"https://api.github.com/users/igregson/gists{/gist_id}","starred_url":"https://api.github.com/users/igregson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igregson/subscriptions","organizations_url":"https://api.github.com/users/igregson/orgs","repos_url":"https://api.github.com/users/igregson/repos","events_url":"https://api.github.com/users/igregson/events{/privacy}","received_events_url":"https://api.github.com/users/igregson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tompetersjr","id":11820955,"avatar_url":"https://avatars.githubusercontent.com/u/11820955?v=3","gravatar_id":"","url":"https://api.github.com/users/tompetersjr","html_url":"https://github.com/tompetersjr","followers_url":"https://api.github.com/users/tompetersjr/followers","following_url":"https://api.github.com/users/tompetersjr/following{/other_user}","gists_url":"https://api.github.com/users/tompetersjr/gists{/gist_id}","starred_url":"https://api.github.com/users/tompetersjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompetersjr/subscriptions","organizations_url":"https://api.github.com/users/tompetersjr/orgs","repos_url":"https://api.github.com/users/tompetersjr/repos","events_url":"https://api.github.com/users/tompetersjr/events{/privacy}","received_events_url":"https://api.github.com/users/tompetersjr/received_events","type":"User","site_admin":false},"assignees":[{"login":"tompetersjr","id":11820955,"avatar_url":"https://avatars.githubusercontent.com/u/11820955?v=3","gravatar_id":"","url":"https://api.github.com/users/tompetersjr","html_url":"https://github.com/tompetersjr","followers_url":"https://api.github.com/users/tompetersjr/followers","following_url":"https://api.github.com/users/tompetersjr/following{/other_user}","gists_url":"https://api.github.com/users/tompetersjr/gists{/gist_id}","starred_url":"https://api.github.com/users/tompetersjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tompetersjr/subscriptions","organizations_url":"https://api.github.com/users/tompetersjr/orgs","repos_url":"https://api.github.com/users/tompetersjr/repos","events_url":"https://api.github.com/users/tompetersjr/events{/privacy}","received_events_url":"https://api.github.com/users/tompetersjr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-10-17T16:54:38Z","updated_at":"2016-10-17T18:15:32Z","closed_at":null,"body":"As I understand it, pasting the spec's JSON url into the URL input [here](http://petstore.swagger.io/#/) should work. When attempting, I get this: \r\n\r\n![2016-10-17_09-51-37](https://cloud.githubusercontent.com/assets/2054975/19446805/5a9e03c4-944f-11e6-95f6-78180e7586aa.png)"},"comment":{"url":"https://api.github.com/repos/azurestandard/api-spec/issues/comments/254288409","html_url":"https://github.com/azurestandard/api-spec/issues/165#issuecomment-254288409","issue_url":"https://api.github.com/repos/azurestandard/api-spec/issues/165","id":254288409,"user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T18:15:32Z","updated_at":"2016-10-17T18:15:32Z","body":"On Mon, Oct 17, 2016 at 09:54:38AM -0700, Isaac Gregson wrote:\n> As I understand it, pasting the spec's JSON url into the URL input\n> [here](http://petstore.swagger.io/#/) should work. When attempting,\n> I get this:\n>\n>   Can't read from server. It may not have the appropriate\n>   access-control-origin settings.\n\nGitHub doesn't put CORS headers on their own content.  In the past\nwe've had success with [1], but that currently gives me the same\nerror.  The rawgit URL [2] is setting:\n\n  access-control-allow-origin: *\n\nso I'm not sure why we're seeing this CORS issue with it (maybe that\nit's missing an Access-Control-Expose-Headers header?).\n\nPutting our JSON up somewhere with proper CORS should help, although\nit's been a while since I tried rendering the JSON; there may be some\nbits in our JSON that the Swagger engine doesn't like ;).\n\n[1]: http://petstore.swagger.io/?url=https%3A%2F%2Frawgit.com%2Fazurestandard%2Fapi-spec%2Fmaster%2Fpublic.json\n[2]: https://rawgit.com/azurestandard/api-spec/master/public.json\n"}}
{"actor":{"display_login":"wking"}}