{"action":"opened","number":816,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/816","id":36703228,"html_url":"https://github.com/swagger-api/swagger-codegen/pull/816","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/816.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/816.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/816","number":816,"state":"open","locked":false,"title":"[Objc] Add authentication support (API key, HTTP basic)","user":{"login":"geekerzp","id":2854886,"avatar_url":"https://avatars.githubusercontent.com/u/2854886?v=3","gravatar_id":"","url":"https://api.github.com/users/geekerzp","html_url":"https://github.com/geekerzp","followers_url":"https://api.github.com/users/geekerzp/followers","following_url":"https://api.github.com/users/geekerzp/following{/other_user}","gists_url":"https://api.github.com/users/geekerzp/gists{/gist_id}","starred_url":"https://api.github.com/users/geekerzp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekerzp/subscriptions","organizations_url":"https://api.github.com/users/geekerzp/orgs","repos_url":"https://api.github.com/users/geekerzp/repos","events_url":"https://api.github.com/users/geekerzp/events{/privacy}","received_events_url":"https://api.github.com/users/geekerzp/received_events","type":"User","site_admin":false},"body":"* Support API key, HTTP basic\r\n* Add a Configuration class for authentication-related setting\r\n* Added comments for `SWGApiClient`\r\n* Added test cases for authentication\r\n* Tested without issue:\r\n```sh\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 35.371 s\r\n[INFO] Finished at: 2015-06-02T16:03:53+08:00\r\n[INFO] Final Memory: 11M/156M\r\n[INFO] ------------------------------------------------------------------------\r\n```","created_at":"2015-06-02T08:06:07Z","updated_at":"2015-06-02T08:06:07Z","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/816/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/816/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/816/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/699df0029be55ef354437a1766b7f40d2321109d","head":{"label":"geekerzp:develop_2.0_objc_auth","ref":"develop_2.0_objc_auth","sha":"699df0029be55ef354437a1766b7f40d2321109d","user":{"login":"geekerzp","id":2854886,"avatar_url":"https://avatars.githubusercontent.com/u/2854886?v=3","gravatar_id":"","url":"https://api.github.com/users/geekerzp","html_url":"https://github.com/geekerzp","followers_url":"https://api.github.com/users/geekerzp/followers","following_url":"https://api.github.com/users/geekerzp/following{/other_user}","gists_url":"https://api.github.com/users/geekerzp/gists{/gist_id}","starred_url":"https://api.github.com/users/geekerzp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekerzp/subscriptions","organizations_url":"https://api.github.com/users/geekerzp/orgs","repos_url":"https://api.github.com/users/geekerzp/repos","events_url":"https://api.github.com/users/geekerzp/events{/privacy}","received_events_url":"https://api.github.com/users/geekerzp/received_events","type":"User","site_admin":false},"repo":{"id":32446322,"name":"swagger-codegen","full_name":"geekerzp/swagger-codegen","owner":{"login":"geekerzp","id":2854886,"avatar_url":"https://avatars.githubusercontent.com/u/2854886?v=3","gravatar_id":"","url":"https://api.github.com/users/geekerzp","html_url":"https://github.com/geekerzp","followers_url":"https://api.github.com/users/geekerzp/followers","following_url":"https://api.github.com/users/geekerzp/following{/other_user}","gists_url":"https://api.github.com/users/geekerzp/gists{/gist_id}","starred_url":"https://api.github.com/users/geekerzp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekerzp/subscriptions","organizations_url":"https://api.github.com/users/geekerzp/orgs","repos_url":"https://api.github.com/users/geekerzp/repos","events_url":"https://api.github.com/users/geekerzp/events{/privacy}","received_events_url":"https://api.github.com/users/geekerzp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geekerzp/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/geekerzp/swagger-codegen","forks_url":"https://api.github.com/repos/geekerzp/swagger-codegen/forks","keys_url":"https://api.github.com/repos/geekerzp/swagger-codegen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geekerzp/swagger-codegen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geekerzp/swagger-codegen/teams","hooks_url":"https://api.github.com/repos/geekerzp/swagger-codegen/hooks","issue_events_url":"https://api.github.com/repos/geekerzp/swagger-codegen/issues/events{/number}","events_url":"https://api.github.com/repos/geekerzp/swagger-codegen/events","assignees_url":"https://api.github.com/repos/geekerzp/swagger-codegen/assignees{/user}","branches_url":"https://api.github.com/repos/geekerzp/swagger-codegen/branches{/branch}","tags_url":"https://api.github.com/repos/geekerzp/swagger-codegen/tags","blobs_url":"https://api.github.com/repos/geekerzp/swagger-codegen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geekerzp/swagger-codegen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geekerzp/swagger-codegen/git/refs{/sha}","trees_url":"https://api.github.com/repos/geekerzp/swagger-codegen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geekerzp/swagger-codegen/statuses/{sha}","languages_url":"https://api.github.com/repos/geekerzp/swagger-codegen/languages","stargazers_url":"https://api.github.com/repos/geekerzp/swagger-codegen/stargazers","contributors_url":"https://api.github.com/repos/geekerzp/swagger-codegen/contributors","subscribers_url":"https://api.github.com/repos/geekerzp/swagger-codegen/subscribers","subscription_url":"https://api.github.com/repos/geekerzp/swagger-codegen/subscription","commits_url":"https://api.github.com/repos/geekerzp/swagger-codegen/commits{/sha}","git_commits_url":"https://api.github.com/repos/geekerzp/swagger-codegen/git/commits{/sha}","comments_url":"https://api.github.com/repos/geekerzp/swagger-codegen/comments{/number}","issue_comment_url":"https://api.github.com/repos/geekerzp/swagger-codegen/issues/comments{/number}","contents_url":"https://api.github.com/repos/geekerzp/swagger-codegen/contents/{+path}","compare_url":"https://api.github.com/repos/geekerzp/swagger-codegen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geekerzp/swagger-codegen/merges","archive_url":"https://api.github.com/repos/geekerzp/swagger-codegen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geekerzp/swagger-codegen/downloads","issues_url":"https://api.github.com/repos/geekerzp/swagger-codegen/issues{/number}","pulls_url":"https://api.github.com/repos/geekerzp/swagger-codegen/pulls{/number}","milestones_url":"https://api.github.com/repos/geekerzp/swagger-codegen/milestones{/number}","notifications_url":"https://api.github.com/repos/geekerzp/swagger-codegen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geekerzp/swagger-codegen/labels{/name}","releases_url":"https://api.github.com/repos/geekerzp/swagger-codegen/releases{/id}","created_at":"2015-03-18T08:18:31Z","updated_at":"2015-03-25T03:32:13Z","pushed_at":"2015-06-02T07:34:38Z","git_url":"git://github.com/geekerzp/swagger-codegen.git","ssh_url":"git@github.com:geekerzp/swagger-codegen.git","clone_url":"https://github.com/geekerzp/swagger-codegen.git","svn_url":"https://github.com/geekerzp/swagger-codegen","homepage":"http://swagger.io","size":17302,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"swagger-api:develop_2.0","ref":"develop_2.0","sha":"7d7ed15fdcb4d79bbf9c197ed6b8b43807ac1a5c","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-06-02T03:52:17Z","pushed_at":"2015-06-02T07:34:22Z","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":29293,"stargazers_count":901,"watchers_count":901,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":500,"mirror_url":null,"open_issues_count":114,"forks":500,"open_issues":114,"watchers":901,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/816"},"html":{"href":"https://github.com/swagger-api/swagger-codegen/pull/816"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/816"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/816/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/816/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/816/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-codegen/statuses/699df0029be55ef354437a1766b7f40d2321109d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":1182,"deletions":148,"changed_files":30}}