{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab2/issues/505","labels_url":"https://api.github.com/repos/openhab/openhab2/issues/505/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab2/issues/505/comments","events_url":"https://api.github.com/repos/openhab/openhab2/issues/505/events","html_url":"https://github.com/openhab/openhab2/issues/505","id":119900498,"number":505,"title":"rest documentation broken","user":{"login":"maggu2810","id":204670,"avatar_url":"https://avatars.githubusercontent.com/u/204670?v=3","gravatar_id":"","url":"https://api.github.com/users/maggu2810","html_url":"https://github.com/maggu2810","followers_url":"https://api.github.com/users/maggu2810/followers","following_url":"https://api.github.com/users/maggu2810/following{/other_user}","gists_url":"https://api.github.com/users/maggu2810/gists{/gist_id}","starred_url":"https://api.github.com/users/maggu2810/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maggu2810/subscriptions","organizations_url":"https://api.github.com/users/maggu2810/orgs","repos_url":"https://api.github.com/users/maggu2810/repos","events_url":"https://api.github.com/users/maggu2810/events{/privacy}","received_events_url":"https://api.github.com/users/maggu2810/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-02T09:27:18Z","updated_at":"2015-12-02T10:00:42Z","closed_at":null,"body":"Using the current master, the openHAB 2 Eclipse IDE and the openHAB Runtime launch configuration results in a non working rest documentation (on my machine).\r\n\r\nI get the message:\r\n\"Can't read from server. It may not have the appropriate access-control-origin settings.\"\r\n\r\nI think this is related to #504 "},"comment":{"url":"https://api.github.com/repos/openhab/openhab2/issues/comments/161244130","html_url":"https://github.com/openhab/openhab2/issues/505#issuecomment-161244130","issue_url":"https://api.github.com/repos/openhab/openhab2/issues/505","id":161244130,"user":{"login":"kaikreuzer","id":3244965,"avatar_url":"https://avatars.githubusercontent.com/u/3244965?v=3","gravatar_id":"","url":"https://api.github.com/users/kaikreuzer","html_url":"https://github.com/kaikreuzer","followers_url":"https://api.github.com/users/kaikreuzer/followers","following_url":"https://api.github.com/users/kaikreuzer/following{/other_user}","gists_url":"https://api.github.com/users/kaikreuzer/gists{/gist_id}","starred_url":"https://api.github.com/users/kaikreuzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaikreuzer/subscriptions","organizations_url":"https://api.github.com/users/kaikreuzer/orgs","repos_url":"https://api.github.com/users/kaikreuzer/repos","events_url":"https://api.github.com/users/kaikreuzer/events{/privacy}","received_events_url":"https://api.github.com/users/kaikreuzer/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T10:00:42Z","updated_at":"2015-12-02T10:00:42Z","body":"Ok, so I guess it will work if you use http://localhost:8080/doc/index.html instead.\r\n\r\nWe could try to find a way to make Swagger always access the server that you have entered in your browser, otherwise it considers it a CORS request.\r\n"}}