{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3643","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3643/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3643/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3643/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/3643","id":173130161,"number":3643,"title":"Swagger CodeGen Https SSL/TLS Connectivity","user":{"login":"erdarun","id":20439221,"avatar_url":"https://avatars.githubusercontent.com/u/20439221?v=3","gravatar_id":"","url":"https://api.github.com/users/erdarun","html_url":"https://github.com/erdarun","followers_url":"https://api.github.com/users/erdarun/followers","following_url":"https://api.github.com/users/erdarun/following{/other_user}","gists_url":"https://api.github.com/users/erdarun/gists{/gist_id}","starred_url":"https://api.github.com/users/erdarun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erdarun/subscriptions","organizations_url":"https://api.github.com/users/erdarun/orgs","repos_url":"https://api.github.com/users/erdarun/repos","events_url":"https://api.github.com/users/erdarun/events{/privacy}","received_events_url":"https://api.github.com/users/erdarun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-25T07:16:25Z","updated_at":"2016-08-25T07:46:13Z","closed_at":null,"body":"<!--\r\nPlease follow the issue template below for bug reports and feature requests.\r\nAlso please indicate in the issue title which language/library is concerned. Eg:  [JAVA] Bug generating foo with bar \r\n-->\r\n\r\n##### Description\r\n\r\nNeed to create swagger codegen client for java, javascript pointing to swagger yaml published on https.\r\n\r\nWhen tried below command got SSLHandshakeError.\r\n\r\n\"swagger-codegen generate -i https://SERVER_IP:443/api/swagger.yaml -l java -o java-api/.\"\r\n\r\nAlso when swagger codegen generates client will it have Mutual SSL/TLS code for https swagger spec url?\r\n\r\n##### Swagger-codegen version\r\n\r\n2.1.6\r\n\r\n##### Swagger declaration file content or url\r\n\r\n<!-- if it is a bug, a json or yaml that produces it.\r\n    If you post the code inline, please wrap it with\r\n    ```yaml\r\n    (here your code)\r\n    ```\r\n    (for YAML code) or\r\n    ```json\r\n    (here your code)\r\n    ```\r\n    (for JSON code), so it becomes more readable. If it is longer than about ten lines,\r\n    please create a Gist (https://gist.github.com) or upload it somewhere else and\r\n    link it here.\r\n  -->\r\n\r\n##### Command line used for generation\r\n\r\nswagger-codegen generate -i https://SERVER_IP:443/api/swagger.yaml -l java -o java-api/.\r\n\r\n##### Steps to reproduce\r\n\r\n<!-- unambiguous set of steps to reproduce the bug.-->\r\n\r\n##### Related issues\r\n\r\n<!-- has a similar issue been reported before? Please do a search in https://github.com/swagger-api/swagger-codegen/issues?utf8=%E2%9C%93&q=is%3Aissue%20 -->\r\n\r\n##### Suggest a Fix\r\n\r\nSwagger Codegen support for Https YAML/JSON OpenAPI Spec.\r\n\r\nClient code generated should have mutual SSL/TLS code for testing against https url.\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/242306772","html_url":"https://github.com/swagger-api/swagger-codegen/issues/3643#issuecomment-242306772","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3643","id":242306772,"user":{"login":"cbornet","id":11633333,"avatar_url":"https://avatars.githubusercontent.com/u/11633333?v=3","gravatar_id":"","url":"https://api.github.com/users/cbornet","html_url":"https://github.com/cbornet","followers_url":"https://api.github.com/users/cbornet/followers","following_url":"https://api.github.com/users/cbornet/following{/other_user}","gists_url":"https://api.github.com/users/cbornet/gists{/gist_id}","starred_url":"https://api.github.com/users/cbornet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbornet/subscriptions","organizations_url":"https://api.github.com/users/cbornet/orgs","repos_url":"https://api.github.com/users/cbornet/repos","events_url":"https://api.github.com/users/cbornet/events{/privacy}","received_events_url":"https://api.github.com/users/cbornet/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T07:46:13Z","updated_at":"2016-08-25T07:46:13Z","body":"As a workaround, you could first download the spec with a tool like curl"}}
{"actor":{"display_login":"cbornet"}}