{"action":"closed","number":3573,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/3573","id":80873153,"html_url":"https://github.com/swagger-api/swagger-codegen/pull/3573","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/3573.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/3573.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3573","number":3573,"state":"closed","locked":false,"title":"Go: Replace `.Username` with `.UserName` in generated API methods.","user":{"login":"ivucica","id":477596,"avatar_url":"https://avatars.githubusercontent.com/u/477596?v=3","gravatar_id":"","url":"https://api.github.com/users/ivucica","html_url":"https://github.com/ivucica","followers_url":"https://api.github.com/users/ivucica/followers","following_url":"https://api.github.com/users/ivucica/following{/other_user}","gists_url":"https://api.github.com/users/ivucica/gists{/gist_id}","starred_url":"https://api.github.com/users/ivucica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivucica/subscriptions","organizations_url":"https://api.github.com/users/ivucica/orgs","repos_url":"https://api.github.com/users/ivucica/repos","events_url":"https://api.github.com/users/ivucica/events{/privacy}","received_events_url":"https://api.github.com/users/ivucica/received_events","type":"User","site_admin":false},"body":"Right now, any generated code where the http basic authentication is\r\nrequired is broken, as it tries to access nonexistent field in the\r\ngenerated `Configuration` struct.\r\n\r\nThe alternative is to fix `configuration.mustache` to replace the\r\n`UserName` field with `Username` field.","created_at":"2016-08-10T21:44:43Z","updated_at":"2016-08-11T04:19:42Z","closed_at":"2016-08-11T04:19:42Z","merged_at":"2016-08-11T04:19:42Z","merge_commit_sha":"f41264c9581181d20e4862aff667ca2f685e1b26","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.2","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13/labels","id":1928763,"number":13,"title":"v2.2.2","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","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":200,"closed_issues":17,"state":"open","created_at":"2016-08-08T09:16:56Z","updated_at":"2016-08-11T04:19:42Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/3573/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/3573/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/3573/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/cf0d9b48fd71eeac78e78c388a77fca3ed989f82","head":{"label":"ivucica:ivucica_go_fix-username-capitalization","ref":"ivucica_go_fix-username-capitalization","sha":"cf0d9b48fd71eeac78e78c388a77fca3ed989f82","user":{"login":"ivucica","id":477596,"avatar_url":"https://avatars.githubusercontent.com/u/477596?v=3","gravatar_id":"","url":"https://api.github.com/users/ivucica","html_url":"https://github.com/ivucica","followers_url":"https://api.github.com/users/ivucica/followers","following_url":"https://api.github.com/users/ivucica/following{/other_user}","gists_url":"https://api.github.com/users/ivucica/gists{/gist_id}","starred_url":"https://api.github.com/users/ivucica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivucica/subscriptions","organizations_url":"https://api.github.com/users/ivucica/orgs","repos_url":"https://api.github.com/users/ivucica/repos","events_url":"https://api.github.com/users/ivucica/events{/privacy}","received_events_url":"https://api.github.com/users/ivucica/received_events","type":"User","site_admin":false},"repo":{"id":65296722,"name":"swagger-codegen","full_name":"ivucica/swagger-codegen","owner":{"login":"ivucica","id":477596,"avatar_url":"https://avatars.githubusercontent.com/u/477596?v=3","gravatar_id":"","url":"https://api.github.com/users/ivucica","html_url":"https://github.com/ivucica","followers_url":"https://api.github.com/users/ivucica/followers","following_url":"https://api.github.com/users/ivucica/following{/other_user}","gists_url":"https://api.github.com/users/ivucica/gists{/gist_id}","starred_url":"https://api.github.com/users/ivucica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivucica/subscriptions","organizations_url":"https://api.github.com/users/ivucica/orgs","repos_url":"https://api.github.com/users/ivucica/repos","events_url":"https://api.github.com/users/ivucica/events{/privacy}","received_events_url":"https://api.github.com/users/ivucica/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivucica/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/ivucica/swagger-codegen","forks_url":"https://api.github.com/repos/ivucica/swagger-codegen/forks","keys_url":"https://api.github.com/repos/ivucica/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivucica/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivucica/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/ivucica/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/ivucica/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/ivucica/swagger-codegen/events","assignees_url":"https://api.github.com/repos/ivucica/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/ivucica/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/ivucica/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/ivucica/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivucica/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivucica/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivucica/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivucica/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/ivucica/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/ivucica/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/ivucica/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/ivucica/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/ivucica/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/ivucica/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivucica/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivucica/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivucica/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivucica/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/ivucica/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivucica/swagger-codegen/merges","archive_url":"https://api.github.com/repos/ivucica/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivucica/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/ivucica/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/ivucica/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/ivucica/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/ivucica/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivucica/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/ivucica/swagger-codegen/releases{/id}","deployments_url":"https://api.github.com/repos/ivucica/swagger-codegen/deployments","created_at":"2016-08-09T13:20:55Z","updated_at":"2016-08-09T13:21:05Z","pushed_at":"2016-08-10T22:57:50Z","git_url":"git://github.com/ivucica/swagger-codegen.git","ssh_url":"git@github.com:ivucica/swagger-codegen.git","clone_url":"https://github.com/ivucica/swagger-codegen.git","svn_url":"https://github.com/ivucica/swagger-codegen","homepage":"http://swagger.io","size":37443,"stargazers_count":0,"watchers_count":0,"language":"HTML","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:master","ref":"master","sha":"eefb2152e9f51b7392f2a9f9f02f1e1d1875eed3","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 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":"2016-08-11T02:29:07Z","pushed_at":"2016-08-11T04:19:42Z","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":55211,"stargazers_count":2513,"watchers_count":2513,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1418,"mirror_url":null,"open_issues_count":444,"forks":1418,"open_issues":444,"watchers":2513,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/3573"},"html":{"href":"https://github.com/swagger-api/swagger-codegen/pull/3573"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3573"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3573/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/3573/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/3573/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/cf0d9b48fd71eeac78e78c388a77fca3ed989f82"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","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},"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"wing328"}}