{"action":"opened","issue":{"url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/371","repository_url":"https://api.github.com/repos/glennjones/hapi-swagger","labels_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/371/comments","events_url":"https://api.github.com/repos/glennjones/hapi-swagger/issues/371/events","html_url":"https://github.com/glennjones/hapi-swagger/issues/371","id":193124724,"number":371,"title":"Set up cors for swagger.json","user":{"login":"kraczo","id":8191747,"avatar_url":"https://avatars.githubusercontent.com/u/8191747?v=3","gravatar_id":"","url":"https://api.github.com/users/kraczo","html_url":"https://github.com/kraczo","followers_url":"https://api.github.com/users/kraczo/followers","following_url":"https://api.github.com/users/kraczo/following{/other_user}","gists_url":"https://api.github.com/users/kraczo/gists{/gist_id}","starred_url":"https://api.github.com/users/kraczo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraczo/subscriptions","organizations_url":"https://api.github.com/users/kraczo/orgs","repos_url":"https://api.github.com/users/kraczo/repos","events_url":"https://api.github.com/users/kraczo/events{/privacy}","received_events_url":"https://api.github.com/users/kraczo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-02T14:10:30Z","updated_at":"2016-12-02T14:10:30Z","closed_at":null,"body":"Hi I have an issue, I d'like to set up cors just for swagger.json file to be able to generate documentation from external server through swagger-ui. I know there is an option to allow cors with entire hapi server ( with connection settings  or with route ) but i really need have cors just for swagger.json file.\r\n\r\nThere is that kind of option with hapi-swaggered plugin ( I have tested and that works fine ) but i d'like to use hapi swagger because  hapi-swaggered is not being maintained, at least not as well as hapi-swagger.\r\n\r\nDoes anyone know how to improve my issue. It is possible to add cors reference option ?"}}
{"actor":{"display_login":"kraczo"}}