{"action":"opened","number":6579,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6579","id":143401094,"html_url":"https://github.com/swagger-api/swagger-codegen/pull/6579","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/6579.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/6579.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6579","number":6579,"state":"open","locked":false,"title":"#6545: Fixing several bugs for Java model generation for enums","user":{"login":"sdoeringNew","id":20087258,"avatar_url":"https://avatars1.githubusercontent.com/u/20087258?v=4","gravatar_id":"","url":"https://api.github.com/users/sdoeringNew","html_url":"https://github.com/sdoeringNew","followers_url":"https://api.github.com/users/sdoeringNew/followers","following_url":"https://api.github.com/users/sdoeringNew/following{/other_user}","gists_url":"https://api.github.com/users/sdoeringNew/gists{/gist_id}","starred_url":"https://api.github.com/users/sdoeringNew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdoeringNew/subscriptions","organizations_url":"https://api.github.com/users/sdoeringNew/orgs","repos_url":"https://api.github.com/users/sdoeringNew/repos","events_url":"https://api.github.com/users/sdoeringNew/events{/privacy}","received_events_url":"https://api.github.com/users/sdoeringNew/received_events","type":"User","site_admin":false},"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/java-petstore-jersey2.sh`, `./bin/java-petstore-okhttp-gson.sh` to update Petstore sample so that CIs can verify the change.\r\n~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: `2.3.0` branch for changes related to OpenAPI spec **?.0**. Default: `master`\r\n~Filed the PR against the correct branch: `3.0.0` branch for changes related to OpenAPI spec 3.0. Default: `master`.~\r\n- [x] Copied the [technical committee](https://github.com/swagger-api/swagger-codegen/#swagger-codegen-technical-committee) to review the pull request if your PR is targeting a particular programming langauge: @bbdouglas @JFCote @sreeshas @jfiala @lukoyanov \r\n\r\n### Description of the PR\r\n\r\nfixes #6545 ","created_at":"2017-09-27T14:02:05Z","updated_at":"2017-09-27T14:02:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4df8389ebaed233cc547391178fda69f2620bdd8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6579/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6579/comments","review_comment_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6579/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/d11df6f3e2237970085a27d0a03340aba9fe786f","head":{"label":"sdoeringNew:master","ref":"master","sha":"d11df6f3e2237970085a27d0a03340aba9fe786f","user":{"login":"sdoeringNew","id":20087258,"avatar_url":"https://avatars1.githubusercontent.com/u/20087258?v=4","gravatar_id":"","url":"https://api.github.com/users/sdoeringNew","html_url":"https://github.com/sdoeringNew","followers_url":"https://api.github.com/users/sdoeringNew/followers","following_url":"https://api.github.com/users/sdoeringNew/following{/other_user}","gists_url":"https://api.github.com/users/sdoeringNew/gists{/gist_id}","starred_url":"https://api.github.com/users/sdoeringNew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdoeringNew/subscriptions","organizations_url":"https://api.github.com/users/sdoeringNew/orgs","repos_url":"https://api.github.com/users/sdoeringNew/repos","events_url":"https://api.github.com/users/sdoeringNew/events{/privacy}","received_events_url":"https://api.github.com/users/sdoeringNew/received_events","type":"User","site_admin":false},"repo":{"id":104737975,"name":"swagger-codegen","full_name":"sdoeringNew/swagger-codegen","owner":{"login":"sdoeringNew","id":20087258,"avatar_url":"https://avatars1.githubusercontent.com/u/20087258?v=4","gravatar_id":"","url":"https://api.github.com/users/sdoeringNew","html_url":"https://github.com/sdoeringNew","followers_url":"https://api.github.com/users/sdoeringNew/followers","following_url":"https://api.github.com/users/sdoeringNew/following{/other_user}","gists_url":"https://api.github.com/users/sdoeringNew/gists{/gist_id}","starred_url":"https://api.github.com/users/sdoeringNew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdoeringNew/subscriptions","organizations_url":"https://api.github.com/users/sdoeringNew/orgs","repos_url":"https://api.github.com/users/sdoeringNew/repos","events_url":"https://api.github.com/users/sdoeringNew/events{/privacy}","received_events_url":"https://api.github.com/users/sdoeringNew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sdoeringNew/swagger-codegen","description":"swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.","fork":true,"url":"https://api.github.com/repos/sdoeringNew/swagger-codegen","forks_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/forks","keys_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/events","assignees_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/merges","archive_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/releases{/id}","deployments_url":"https://api.github.com/repos/sdoeringNew/swagger-codegen/deployments","created_at":"2017-09-25T10:48:11Z","updated_at":"2017-09-25T10:48:21Z","pushed_at":"2017-09-27T13:49:34Z","git_url":"git://github.com/sdoeringNew/swagger-codegen.git","ssh_url":"git@github.com:sdoeringNew/swagger-codegen.git","clone_url":"https://github.com/sdoeringNew/swagger-codegen.git","svn_url":"https://github.com/sdoeringNew/swagger-codegen","homepage":"http://swagger.io","size":54278,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swagger-api:master","ref":"master","sha":"3ac2b803f972d3919f1b8d04e0b32ef20613b15d","user":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars3.githubusercontent.com/u/7658037?v=4","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"repo":{"id":2006876,"name":"swagger-codegen","full_name":"swagger-api/swagger-codegen","owner":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars3.githubusercontent.com/u/7658037?v=4","gravatar_id":"","url":"https://api.github.com/users/swagger-api","html_url":"https://github.com/swagger-api","followers_url":"https://api.github.com/users/swagger-api/followers","following_url":"https://api.github.com/users/swagger-api/following{/other_user}","gists_url":"https://api.github.com/users/swagger-api/gists{/gist_id}","starred_url":"https://api.github.com/users/swagger-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swagger-api/subscriptions","organizations_url":"https://api.github.com/users/swagger-api/orgs","repos_url":"https://api.github.com/users/swagger-api/repos","events_url":"https://api.github.com/users/swagger-api/events{/privacy}","received_events_url":"https://api.github.com/users/swagger-api/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swagger-api/swagger-codegen","description":"swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition.","fork":false,"url":"https://api.github.com/repos/swagger-api/swagger-codegen","forks_url":"https://api.github.com/repos/swagger-api/swagger-codegen/forks","keys_url":"https://api.github.com/repos/swagger-api/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swagger-api/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swagger-api/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/swagger-api/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/events","assignees_url":"https://api.github.com/repos/swagger-api/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/swagger-api/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/swagger-api/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/swagger-api/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/swagger-api/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/swagger-api/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/swagger-api/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/swagger-api/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/swagger-api/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/swagger-api/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swagger-api/swagger-codegen/merges","archive_url":"https://api.github.com/repos/swagger-api/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swagger-api/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/swagger-api/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/swagger-api/swagger-codegen/releases{/id}","deployments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/deployments","created_at":"2011-07-06T14:26:48Z","updated_at":"2017-09-27T08:01:09Z","pushed_at":"2017-09-27T14:02:06Z","git_url":"git://github.com/swagger-api/swagger-codegen.git","ssh_url":"git@github.com:swagger-api/swagger-codegen.git","clone_url":"https://github.com/swagger-api/swagger-codegen.git","svn_url":"https://github.com/swagger-api/swagger-codegen","homepage":"http://swagger.io","size":54274,"stargazers_count":5062,"watchers_count":5062,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2812,"mirror_url":null,"open_issues_count":1014,"forks":2812,"open_issues":1014,"watchers":5062,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6579"},"html":{"href":"https://github.com/swagger-api/swagger-codegen/pull/6579"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6579"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/6579/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6579/comments"},"review_comment":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/6579/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/d11df6f3e2237970085a27d0a03340aba9fe786f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":4535,"deletions":38,"changed_files":70}}
{"actor":{"display_login":"sdoeringNew"}}