{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6516","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6516/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6516/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6516/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/6516","id":258693011,"number":6516,"title":"Added support for enums in Dart.","user":{"login":"pylaligand","id":1115379,"avatar_url":"https://avatars2.githubusercontent.com/u/1115379?v=4","gravatar_id":"","url":"https://api.github.com/users/pylaligand","html_url":"https://github.com/pylaligand","followers_url":"https://api.github.com/users/pylaligand/followers","following_url":"https://api.github.com/users/pylaligand/following{/other_user}","gists_url":"https://api.github.com/users/pylaligand/gists{/gist_id}","starred_url":"https://api.github.com/users/pylaligand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pylaligand/subscriptions","organizations_url":"https://api.github.com/users/pylaligand/orgs","repos_url":"https://api.github.com/users/pylaligand/repos","events_url":"https://api.github.com/users/pylaligand/events{/privacy}","received_events_url":"https://api.github.com/users/pylaligand/received_events","type":"User","site_admin":false},"labels":[{"id":269924354,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20Dart","name":"Client: Dart","color":"fad8c7","default":false},{"id":64180619,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Enhancement:%20Feature","name":"Enhancement: Feature","color":"e5ffe5","default":false},{"id":417609785,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Feature:%20Enum","name":"Feature: Enum","color":"eeccff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/12","html_url":"https://github.com/swagger-api/swagger-codegen/milestone/12","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/12/labels","id":1892261,"number":12,"title":"v2.3.0","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars2.githubusercontent.com/u/934260?v=4","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"open_issues":213,"closed_issues":443,"state":"open","created_at":"2016-07-19T15:23:39Z","updated_at":"2017-09-26T06:16:48Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-09-19T04:29:35Z","updated_at":"2017-09-26T12:21:29Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6516","html_url":"https://github.com/swagger-api/swagger-codegen/pull/6516","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/6516.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/6516.patch"},"body":"### PR checklist\r\n\r\n- [x] Read the [contribution guidelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md).\r\n- [x] Ran the shell script under `./bin/` to update Petstore sample so that CIs can verify the change. (For instance, only need to run `./bin/{LANG}-petstore.sh` and `./bin/security/{LANG}-petstore.sh` if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in `.\\bin\\windows\\`.\r\n- [x] Filed the PR against the correct branch: master for non-breaking changes and `3.0.0` branch for breaking (non-backward compatible) changes.\r\n\r\n### Description of the PR\r\n\r\nPreviously enum types resulted in regular Dart objects, which failed miserably at deserialization time. Now Dart enums are properly generated, with an appropriate serialization/deserialization mechanism.\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/332180725","html_url":"https://github.com/swagger-api/swagger-codegen/pull/6516#issuecomment-332180725","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6516","id":332180725,"user":{"login":"wing328","id":934260,"avatar_url":"https://avatars2.githubusercontent.com/u/934260?v=4","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"created_at":"2017-09-26T12:21:29Z","updated_at":"2017-09-26T12:21:29Z","author_association":"MEMBER","body":"@pylaligand building the JAR failed due to the following:\r\n```\r\nTests run: 511, Failures: 1, Errors: 0, Skipped: 3, Time elapsed: 556.339 sec <<< FAILURE! - in TestSuite\r\ncheckOptionsHelp(io.swagger.codegen.dart.DartClientOptionsTest)  Time elapsed: 0.017 sec  <<< FAILURE!\r\njava.lang.AssertionError: These options weren't checked: useEnumExtension.\r\n\r\n\r\nResults :\r\n\r\nFailed tests: \r\n  DartClientOptionsTest>AbstractOptionsTest.checkOptionsHelp:44 These options weren't checked: useEnumExtension.\r\n\r\nTests run: 511, Failures: 1, Errors: 0, Skipped: 3\r\n```\r\n\r\nLet me know if you need help fixing it."}}
{"actor":{"display_login":"wing328"}}