{"action":"created","issue":{"url":"https://api.github.com/repos/mshauneu/chrome-swagger-ui/issues/10","repository_url":"https://api.github.com/repos/mshauneu/chrome-swagger-ui","labels_url":"https://api.github.com/repos/mshauneu/chrome-swagger-ui/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/mshauneu/chrome-swagger-ui/issues/10/comments","events_url":"https://api.github.com/repos/mshauneu/chrome-swagger-ui/issues/10/events","html_url":"https://github.com/mshauneu/chrome-swagger-ui/issues/10","id":197322236,"number":10,"title":"Http/Https curl calls problem, swagger UI does not use default swagger doc protocol after update","user":{"login":"emreerguden","id":24729146,"avatar_url":"https://avatars.githubusercontent.com/u/24729146?v=3","gravatar_id":"","url":"https://api.github.com/users/emreerguden","html_url":"https://github.com/emreerguden","followers_url":"https://api.github.com/users/emreerguden/followers","following_url":"https://api.github.com/users/emreerguden/following{/other_user}","gists_url":"https://api.github.com/users/emreerguden/gists{/gist_id}","starred_url":"https://api.github.com/users/emreerguden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emreerguden/subscriptions","organizations_url":"https://api.github.com/users/emreerguden/orgs","repos_url":"https://api.github.com/users/emreerguden/repos","events_url":"https://api.github.com/users/emreerguden/events{/privacy}","received_events_url":"https://api.github.com/users/emreerguden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-23T06:59:58Z","updated_at":"2016-12-25T17:14:52Z","closed_at":"2016-12-25T00:56:50Z","body":"Hello,\r\n\r\nThanks for great extension. There is a problem after last update. We use both http and https schemas in our swagger doc. When both of them exists, swagger UI chooses the https one by default.\r\n\r\nSwagger UI original code has also bug fix for this issue. The previous and default behaviour is, protocol is defined by the swagger doc url protocol.\r\n\r\nif http://.... /swagger.json   then curl calls are http, if http://... /swagger.json then curls calls are https.\r\n\r\nYou can check by the latest version of Swagger UI release\r\n\r\nhttps://github.com/swagger-api/swagger-ui/releases\r\n\r\nThey fixed it in 5 or before.. Thanks\r\n\r\n@emreerguden it is not about your extension, it is about swagger-js. So i manually fixed the problem in swagger-js and load it in dev mode thanks."},"comment":{"url":"https://api.github.com/repos/mshauneu/chrome-swagger-ui/issues/comments/269130496","html_url":"https://github.com/mshauneu/chrome-swagger-ui/issues/10#issuecomment-269130496","issue_url":"https://api.github.com/repos/mshauneu/chrome-swagger-ui/issues/10","id":269130496,"user":{"login":"emreerguden","id":24729146,"avatar_url":"https://avatars.githubusercontent.com/u/24729146?v=3","gravatar_id":"","url":"https://api.github.com/users/emreerguden","html_url":"https://github.com/emreerguden","followers_url":"https://api.github.com/users/emreerguden/followers","following_url":"https://api.github.com/users/emreerguden/following{/other_user}","gists_url":"https://api.github.com/users/emreerguden/gists{/gist_id}","starred_url":"https://api.github.com/users/emreerguden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emreerguden/subscriptions","organizations_url":"https://api.github.com/users/emreerguden/orgs","repos_url":"https://api.github.com/users/emreerguden/repos","events_url":"https://api.github.com/users/emreerguden/events{/privacy}","received_events_url":"https://api.github.com/users/emreerguden/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T17:14:52Z","updated_at":"2016-12-25T17:14:52Z","body":"Would you consider to get the fix and make another release before swagger-ui release a new version? \r\nOr will you wait for the swagger released to be fixed?"}}
{"actor":{"display_login":"emreerguden"}}