{"action":"opened","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/5888","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/5888/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/5888/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/5888/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/5888","id":237263075,"number":5888,"title":"[JavaScript] master branch now generates ES6 JS code instead of ES5","user":{"login":"frol","id":304265,"avatar_url":"https://avatars1.githubusercontent.com/u/304265?v=3","gravatar_id":"","url":"https://api.github.com/users/frol","html_url":"https://github.com/frol","followers_url":"https://api.github.com/users/frol/followers","following_url":"https://api.github.com/users/frol/following{/other_user}","gists_url":"https://api.github.com/users/frol/gists{/gist_id}","starred_url":"https://api.github.com/users/frol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frol/subscriptions","organizations_url":"https://api.github.com/users/frol/orgs","repos_url":"https://api.github.com/users/frol/repos","events_url":"https://api.github.com/users/frol/events{/privacy}","received_events_url":"https://api.github.com/users/frol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-20T16:01:09Z","updated_at":"2017-06-20T16:01:09Z","closed_at":null,"body":"##### Description\r\n\r\n@dinukadesilva Adding `useES6` configuration option with a default value `true` in #5593 introduced a *breaking change* because the behavior for `generate -l javascript` with no options now generates ES6 JavaScript code instead of ES5.\r\n\r\nBy the way, the `./bin/javascript-es6*` generators set `useEs6=true` while the option name is `useES6` (`S` is capital).\r\n\r\n##### Swagger-codegen version\r\n\r\nMaster branch\r\n\r\n##### Related issues\r\n\r\n#5593 \r\n\r\n##### Suggest a Fix\r\n\r\nChange the default value to `false`."}}
{"actor":{"display_login":"frol"}}