{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/617","labels_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/617/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-editor/issues/617/events","html_url":"https://github.com/swagger-api/swagger-editor/issues/617","id":104322370,"number":617,"title":"Add \"CORS Proxy Preferences\" dialog","user":{"login":"mohsen1","id":543633,"avatar_url":"https://avatars.githubusercontent.com/u/543633?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsen1","html_url":"https://github.com/mohsen1","followers_url":"https://api.github.com/users/mohsen1/followers","following_url":"https://api.github.com/users/mohsen1/following{/other_user}","gists_url":"https://api.github.com/users/mohsen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsen1/subscriptions","organizations_url":"https://api.github.com/users/mohsen1/orgs","repos_url":"https://api.github.com/users/mohsen1/repos","events_url":"https://api.github.com/users/mohsen1/events{/privacy}","received_events_url":"https://api.github.com/users/mohsen1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-editor/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-editor/milestones/7","html_url":"https://github.com/swagger-api/swagger-editor/milestones/2.9.7","labels_url":"https://api.github.com/repos/swagger-api/swagger-editor/milestones/7/labels","id":1136594,"number":7,"title":"2.9.7","description":"* Better / less buggy autocomplete\r\n* Performance improvements in large spec files","creator":{"login":"mohsen1","id":543633,"avatar_url":"https://avatars.githubusercontent.com/u/543633?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsen1","html_url":"https://github.com/mohsen1","followers_url":"https://api.github.com/users/mohsen1/followers","following_url":"https://api.github.com/users/mohsen1/following{/other_user}","gists_url":"https://api.github.com/users/mohsen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsen1/subscriptions","organizations_url":"https://api.github.com/users/mohsen1/orgs","repos_url":"https://api.github.com/users/mohsen1/repos","events_url":"https://api.github.com/users/mohsen1/events{/privacy}","received_events_url":"https://api.github.com/users/mohsen1/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":38,"state":"open","created_at":"2015-05-27T18:26:34Z","updated_at":"2015-09-01T18:02:06Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-01T18:02:06Z","updated_at":"2015-09-01T18:02:06Z","closed_at":null,"body":"To resolve remote references cross origin policies are often avoiding resolver to resolve the references. We have CORS proxy in Swagger Editor but it's only for importing swagger documents from other domains. \r\nThis new dialog allow you to:\r\n\r\n* Change the CORS Proxy provider\r\n* Maintain a blacklist of domains that should not use the CORS Proxy server\r\n\r\nAll changes should be saved into browser localstorage. Possibly using `Preferences` service. The `FileLoader` service should also use the same CORS Proxy server. \r\n\r\n\r\n#### The default CORS Proxy server\r\nWe can use one of many providers or our current one (http://cors-it.herokuapp.com/). I predict the default server will handle a lot of traffic. @fehguy Any suggestion for the default server? Can we launch our own on swagger.io?"}}