{"action":"opened","number":681,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/681","id":34016162,"html_url":"https://github.com/swagger-api/swagger-codegen/pull/681","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/681.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/681.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/681","number":681,"state":"open","locked":false,"title":"Add form parameters support to POST operations in Java codegen","user":{"login":"xhh","id":159740,"avatar_url":"https://avatars.githubusercontent.com/u/159740?v=3","gravatar_id":"","url":"https://api.github.com/users/xhh","html_url":"https://github.com/xhh","followers_url":"https://api.github.com/users/xhh/followers","following_url":"https://api.github.com/users/xhh/following{/other_user}","gists_url":"https://api.github.com/users/xhh/gists{/gist_id}","starred_url":"https://api.github.com/users/xhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhh/subscriptions","organizations_url":"https://api.github.com/users/xhh/orgs","repos_url":"https://api.github.com/users/xhh/repos","events_url":"https://api.github.com/users/xhh/events{/privacy}","received_events_url":"https://api.github.com/users/xhh/received_events","type":"User","site_admin":false},"body":"Only PUT operations handle form parameters currently, this PR handles them for POST too.\r\n\r\nRefactor is also done for handling query and form parameters to let jersey-client does the work of encoding.","created_at":"2015-04-24T03:27:33Z","updated_at":"2015-04-24T03:27:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/681/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/681/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/681/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/fcabd7cb159f26c4f8ecb7a72d663bca45ccf800","head":{"label":"xhh:java-form-params","ref":"java-form-params","sha":"fcabd7cb159f26c4f8ecb7a72d663bca45ccf800","user":{"login":"xhh","id":159740,"avatar_url":"https://avatars.githubusercontent.com/u/159740?v=3","gravatar_id":"","url":"https://api.github.com/users/xhh","html_url":"https://github.com/xhh","followers_url":"https://api.github.com/users/xhh/followers","following_url":"https://api.github.com/users/xhh/following{/other_user}","gists_url":"https://api.github.com/users/xhh/gists{/gist_id}","starred_url":"https://api.github.com/users/xhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhh/subscriptions","organizations_url":"https://api.github.com/users/xhh/orgs","repos_url":"https://api.github.com/users/xhh/repos","events_url":"https://api.github.com/users/xhh/events{/privacy}","received_events_url":"https://api.github.com/users/xhh/received_events","type":"User","site_admin":false},"repo":{"id":23334303,"name":"swagger-codegen","full_name":"xhh/swagger-codegen","owner":{"login":"xhh","id":159740,"avatar_url":"https://avatars.githubusercontent.com/u/159740?v=3","gravatar_id":"","url":"https://api.github.com/users/xhh","html_url":"https://github.com/xhh","followers_url":"https://api.github.com/users/xhh/followers","following_url":"https://api.github.com/users/xhh/following{/other_user}","gists_url":"https://api.github.com/users/xhh/gists{/gist_id}","starred_url":"https://api.github.com/users/xhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xhh/subscriptions","organizations_url":"https://api.github.com/users/xhh/orgs","repos_url":"https://api.github.com/users/xhh/repos","events_url":"https://api.github.com/users/xhh/events{/privacy}","received_events_url":"https://api.github.com/users/xhh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xhh/swagger-codegen","description":"swagger-codegen contains a template-driven engine to generate client code in different languages by parsing your Swagger Resource Declaration.","fork":true,"url":"https://api.github.com/repos/xhh/swagger-codegen","forks_url":"https://api.github.com/repos/xhh/swagger-codegen/forks","keys_url":"https://api.github.com/repos/xhh/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xhh/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xhh/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/xhh/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/xhh/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/xhh/swagger-codegen/events","assignees_url":"https://api.github.com/repos/xhh/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/xhh/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/xhh/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/xhh/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xhh/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xhh/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/xhh/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xhh/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/xhh/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/xhh/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/xhh/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/xhh/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/xhh/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/xhh/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/xhh/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/xhh/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/xhh/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/xhh/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/xhh/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xhh/swagger-codegen/merges","archive_url":"https://api.github.com/repos/xhh/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xhh/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/xhh/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/xhh/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/xhh/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/xhh/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xhh/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/xhh/swagger-codegen/releases{/id}","created_at":"2014-08-26T01:17:43Z","updated_at":"2014-08-25T18:32:43Z","pushed_at":"2015-04-24T03:21:44Z","git_url":"git://github.com/xhh/swagger-codegen.git","ssh_url":"git@github.com:xhh/swagger-codegen.git","clone_url":"https://github.com/xhh/swagger-codegen.git","svn_url":"https://github.com/xhh/swagger-codegen","homepage":"http:/swagger.wordnik.com","size":16187,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"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:develop_2.0","ref":"develop_2.0","sha":"5c935a4c29aa97443d590a9eabe64e5813fd0ef2","user":{"login":"swagger-api","id":7658037,"avatar_url":"https://avatars.githubusercontent.com/u/7658037?v=3","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://avatars.githubusercontent.com/u/7658037?v=3","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 client code in different languages by parsing your Swagger Resource Declaration.","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}","created_at":"2011-07-06T14:26:48Z","updated_at":"2015-04-23T20:59:28Z","pushed_at":"2015-04-23T10:21:28Z","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":24346,"stargazers_count":797,"watchers_count":797,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":442,"mirror_url":null,"open_issues_count":98,"forks":442,"open_issues":98,"watchers":797,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/681"},"html":{"href":"https://github.com/swagger-api/swagger-codegen/pull/681"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/681"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/681/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/681/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/681/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/fcabd7cb159f26c4f8ecb7a72d663bca45ccf800"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":50,"deletions":78,"changed_files":3}}