{"action":"opened","number":379,"pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-js/pulls/379","id":33656499,"html_url":"https://github.com/swagger-api/swagger-js/pull/379","diff_url":"https://github.com/swagger-api/swagger-js/pull/379.diff","patch_url":"https://github.com/swagger-api/swagger-js/pull/379.patch","issue_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/379","number":379,"state":"open","locked":false,"title":"Fix documentation and sample code for browser usage","user":{"login":"tlbdk","id":11635,"avatar_url":"https://avatars.githubusercontent.com/u/11635?v=3","gravatar_id":"","url":"https://api.github.com/users/tlbdk","html_url":"https://github.com/tlbdk","followers_url":"https://api.github.com/users/tlbdk/followers","following_url":"https://api.github.com/users/tlbdk/following{/other_user}","gists_url":"https://api.github.com/users/tlbdk/gists{/gist_id}","starred_url":"https://api.github.com/users/tlbdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlbdk/subscriptions","organizations_url":"https://api.github.com/users/tlbdk/orgs","repos_url":"https://api.github.com/users/tlbdk/repos","events_url":"https://api.github.com/users/tlbdk/events{/privacy}","received_events_url":"https://api.github.com/users/tlbdk/received_events","type":"User","site_admin":false},"body":"I have update the documentation and sample index.html to show how to use the SwaggerClient as the current documentation seems to be wrong","created_at":"2015-04-20T11:25:34Z","updated_at":"2015-04-20T11:25:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/swagger-api/swagger-js/pulls/379/commits","review_comments_url":"https://api.github.com/repos/swagger-api/swagger-js/pulls/379/comments","review_comment_url":"https://api.github.com/repos/swagger-api/swagger-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/379/comments","statuses_url":"https://api.github.com/repos/swagger-api/swagger-js/statuses/f623031a98a3f0dc6fc4294469d4c4b7ae82a0b8","head":{"label":"tlbdk:develop_2.0","ref":"develop_2.0","sha":"f623031a98a3f0dc6fc4294469d4c4b7ae82a0b8","user":{"login":"tlbdk","id":11635,"avatar_url":"https://avatars.githubusercontent.com/u/11635?v=3","gravatar_id":"","url":"https://api.github.com/users/tlbdk","html_url":"https://github.com/tlbdk","followers_url":"https://api.github.com/users/tlbdk/followers","following_url":"https://api.github.com/users/tlbdk/following{/other_user}","gists_url":"https://api.github.com/users/tlbdk/gists{/gist_id}","starred_url":"https://api.github.com/users/tlbdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlbdk/subscriptions","organizations_url":"https://api.github.com/users/tlbdk/orgs","repos_url":"https://api.github.com/users/tlbdk/repos","events_url":"https://api.github.com/users/tlbdk/events{/privacy}","received_events_url":"https://api.github.com/users/tlbdk/received_events","type":"User","site_admin":false},"repo":{"id":34249405,"name":"swagger-js","full_name":"tlbdk/swagger-js","owner":{"login":"tlbdk","id":11635,"avatar_url":"https://avatars.githubusercontent.com/u/11635?v=3","gravatar_id":"","url":"https://api.github.com/users/tlbdk","html_url":"https://github.com/tlbdk","followers_url":"https://api.github.com/users/tlbdk/followers","following_url":"https://api.github.com/users/tlbdk/following{/other_user}","gists_url":"https://api.github.com/users/tlbdk/gists{/gist_id}","starred_url":"https://api.github.com/users/tlbdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlbdk/subscriptions","organizations_url":"https://api.github.com/users/tlbdk/orgs","repos_url":"https://api.github.com/users/tlbdk/repos","events_url":"https://api.github.com/users/tlbdk/events{/privacy}","received_events_url":"https://api.github.com/users/tlbdk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tlbdk/swagger-js","description":"Javascript library to connect to swagger-enabled APIs via browser or nodejs","fork":true,"url":"https://api.github.com/repos/tlbdk/swagger-js","forks_url":"https://api.github.com/repos/tlbdk/swagger-js/forks","keys_url":"https://api.github.com/repos/tlbdk/swagger-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tlbdk/swagger-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tlbdk/swagger-js/teams","hooks_url":"https://api.github.com/repos/tlbdk/swagger-js/hooks","issue_events_url":"https://api.github.com/repos/tlbdk/swagger-js/issues/events{/number}","events_url":"https://api.github.com/repos/tlbdk/swagger-js/events","assignees_url":"https://api.github.com/repos/tlbdk/swagger-js/assignees{/user}","branches_url":"https://api.github.com/repos/tlbdk/swagger-js/branches{/branch}","tags_url":"https://api.github.com/repos/tlbdk/swagger-js/tags","blobs_url":"https://api.github.com/repos/tlbdk/swagger-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tlbdk/swagger-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tlbdk/swagger-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/tlbdk/swagger-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tlbdk/swagger-js/statuses/{sha}","languages_url":"https://api.github.com/repos/tlbdk/swagger-js/languages","stargazers_url":"https://api.github.com/repos/tlbdk/swagger-js/stargazers","contributors_url":"https://api.github.com/repos/tlbdk/swagger-js/contributors","subscribers_url":"https://api.github.com/repos/tlbdk/swagger-js/subscribers","subscription_url":"https://api.github.com/repos/tlbdk/swagger-js/subscription","commits_url":"https://api.github.com/repos/tlbdk/swagger-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/tlbdk/swagger-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/tlbdk/swagger-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/tlbdk/swagger-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/tlbdk/swagger-js/contents/{+path}","compare_url":"https://api.github.com/repos/tlbdk/swagger-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tlbdk/swagger-js/merges","archive_url":"https://api.github.com/repos/tlbdk/swagger-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tlbdk/swagger-js/downloads","issues_url":"https://api.github.com/repos/tlbdk/swagger-js/issues{/number}","pulls_url":"https://api.github.com/repos/tlbdk/swagger-js/pulls{/number}","milestones_url":"https://api.github.com/repos/tlbdk/swagger-js/milestones{/number}","notifications_url":"https://api.github.com/repos/tlbdk/swagger-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tlbdk/swagger-js/labels{/name}","releases_url":"https://api.github.com/repos/tlbdk/swagger-js/releases{/id}","created_at":"2015-04-20T08:51:39Z","updated_at":"2015-04-20T10:13:33Z","pushed_at":"2015-04-20T11:24:26Z","git_url":"git://github.com/tlbdk/swagger-js.git","ssh_url":"git@github.com:tlbdk/swagger-js.git","clone_url":"https://github.com/tlbdk/swagger-js.git","svn_url":"https://github.com/tlbdk/swagger-js","homepage":"http://swagger.io","size":10093,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"df643cdb2e65efe737edcf725ed6d39dd6609c72","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":3455070,"name":"swagger-js","full_name":"swagger-api/swagger-js","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-js","description":"Javascript library to connect to swagger-enabled APIs via browser or nodejs","fork":false,"url":"https://api.github.com/repos/swagger-api/swagger-js","forks_url":"https://api.github.com/repos/swagger-api/swagger-js/forks","keys_url":"https://api.github.com/repos/swagger-api/swagger-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swagger-api/swagger-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swagger-api/swagger-js/teams","hooks_url":"https://api.github.com/repos/swagger-api/swagger-js/hooks","issue_events_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/events{/number}","events_url":"https://api.github.com/repos/swagger-api/swagger-js/events","assignees_url":"https://api.github.com/repos/swagger-api/swagger-js/assignees{/user}","branches_url":"https://api.github.com/repos/swagger-api/swagger-js/branches{/branch}","tags_url":"https://api.github.com/repos/swagger-api/swagger-js/tags","blobs_url":"https://api.github.com/repos/swagger-api/swagger-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swagger-api/swagger-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swagger-api/swagger-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/swagger-api/swagger-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swagger-api/swagger-js/statuses/{sha}","languages_url":"https://api.github.com/repos/swagger-api/swagger-js/languages","stargazers_url":"https://api.github.com/repos/swagger-api/swagger-js/stargazers","contributors_url":"https://api.github.com/repos/swagger-api/swagger-js/contributors","subscribers_url":"https://api.github.com/repos/swagger-api/swagger-js/subscribers","subscription_url":"https://api.github.com/repos/swagger-api/swagger-js/subscription","commits_url":"https://api.github.com/repos/swagger-api/swagger-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/swagger-api/swagger-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/swagger-api/swagger-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/swagger-api/swagger-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/swagger-api/swagger-js/contents/{+path}","compare_url":"https://api.github.com/repos/swagger-api/swagger-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swagger-api/swagger-js/merges","archive_url":"https://api.github.com/repos/swagger-api/swagger-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swagger-api/swagger-js/downloads","issues_url":"https://api.github.com/repos/swagger-api/swagger-js/issues{/number}","pulls_url":"https://api.github.com/repos/swagger-api/swagger-js/pulls{/number}","milestones_url":"https://api.github.com/repos/swagger-api/swagger-js/milestones{/number}","notifications_url":"https://api.github.com/repos/swagger-api/swagger-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swagger-api/swagger-js/labels{/name}","releases_url":"https://api.github.com/repos/swagger-api/swagger-js/releases{/id}","created_at":"2012-02-16T00:08:43Z","updated_at":"2015-04-20T05:43:37Z","pushed_at":"2015-04-20T11:25:34Z","git_url":"git://github.com/swagger-api/swagger-js.git","ssh_url":"git@github.com:swagger-api/swagger-js.git","clone_url":"https://github.com/swagger-api/swagger-js.git","svn_url":"https://github.com/swagger-api/swagger-js","homepage":"http://swagger.io","size":10093,"stargazers_count":340,"watchers_count":340,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"open_issues_count":49,"forks":199,"open_issues":49,"watchers":340,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swagger-api/swagger-js/pulls/379"},"html":{"href":"https://github.com/swagger-api/swagger-js/pull/379"},"issue":{"href":"https://api.github.com/repos/swagger-api/swagger-js/issues/379"},"comments":{"href":"https://api.github.com/repos/swagger-api/swagger-js/issues/379/comments"},"review_comments":{"href":"https://api.github.com/repos/swagger-api/swagger-js/pulls/379/comments"},"review_comment":{"href":"https://api.github.com/repos/swagger-api/swagger-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swagger-api/swagger-js/pulls/379/commits"},"statuses":{"href":"https://api.github.com/repos/swagger-api/swagger-js/statuses/f623031a98a3f0dc6fc4294469d4c4b7ae82a0b8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":2}}