{"action":"created","comment":{"url":"https://api.github.com/repos/strongloop/loopback.io/pulls/comments/150803560","pull_request_review_id":76403640,"id":150803560,"diff_hunk":"@@ -0,0 +1,9 @@\n+#!/bin/bash\n+\n+# This script copies files from `swagger-ui-dist` module into `api-explorer`","path":"update-swagger-ui.sh","position":3,"original_position":3,"commit_id":"3c7c493e56e354dae2862d2e3f1301d85a5989f8","original_commit_id":"3c7c493e56e354dae2862d2e3f1301d85a5989f8","user":{"login":"bajtos","id":1140553,"avatar_url":"https://avatars1.githubusercontent.com/u/1140553?v=4","gravatar_id":"","url":"https://api.github.com/users/bajtos","html_url":"https://github.com/bajtos","followers_url":"https://api.github.com/users/bajtos/followers","following_url":"https://api.github.com/users/bajtos/following{/other_user}","gists_url":"https://api.github.com/users/bajtos/gists{/gist_id}","starred_url":"https://api.github.com/users/bajtos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajtos/subscriptions","organizations_url":"https://api.github.com/users/bajtos/orgs","repos_url":"https://api.github.com/users/bajtos/repos","events_url":"https://api.github.com/users/bajtos/events{/privacy}","received_events_url":"https://api.github.com/users/bajtos/received_events","type":"User","site_admin":false},"body":"Shell/bash scripts won't work on Windows, could you please rewrite this in Node.js?\r\n\r\nHere are few modules you may find useful:\r\n\r\n - [rimraf](https://www.npmjs.com/search?q=rimraf) instead of `rm -rf` (if needed) \r\n - [cpr](https://www.npmjs.com/package/cpr) instead of `cp`\r\n - [fs-extra](https://www.npmjs.com/package/fs-extra) provides both copy & remove\r\n - [shelljs](https://www.npmjs.com/package/shelljs) (similar to fs-extra)","created_at":"2017-11-14T11:12:41Z","updated_at":"2017-11-14T11:15:14Z","html_url":"https://github.com/strongloop/loopback.io/pull/530#discussion_r150803560","pull_request_url":"https://api.github.com/repos/strongloop/loopback.io/pulls/530","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback.io/pulls/comments/150803560"},"html":{"href":"https://github.com/strongloop/loopback.io/pull/530#discussion_r150803560"},"pull_request":{"href":"https://api.github.com/repos/strongloop/loopback.io/pulls/530"}}},"pull_request":{"url":"https://api.github.com/repos/strongloop/loopback.io/pulls/530","id":151971874,"html_url":"https://github.com/strongloop/loopback.io/pull/530","diff_url":"https://github.com/strongloop/loopback.io/pull/530.diff","patch_url":"https://github.com/strongloop/loopback.io/pull/530.patch","issue_url":"https://api.github.com/repos/strongloop/loopback.io/issues/530","number":530,"state":"open","locked":false,"title":"Add a hosted swagger UI for LoopBack apps","user":{"login":"raymondfeng","id":540892,"avatar_url":"https://avatars0.githubusercontent.com/u/540892?v=4","gravatar_id":"","url":"https://api.github.com/users/raymondfeng","html_url":"https://github.com/raymondfeng","followers_url":"https://api.github.com/users/raymondfeng/followers","following_url":"https://api.github.com/users/raymondfeng/following{/other_user}","gists_url":"https://api.github.com/users/raymondfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/raymondfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raymondfeng/subscriptions","organizations_url":"https://api.github.com/users/raymondfeng/orgs","repos_url":"https://api.github.com/users/raymondfeng/repos","events_url":"https://api.github.com/users/raymondfeng/events{/privacy}","received_events_url":"https://api.github.com/users/raymondfeng/received_events","type":"User","site_admin":false},"body":"The PR enables https://loopback.io/api-explorer as the hosted UI for LoopBack 4 api explorer.","created_at":"2017-11-10T18:18:15Z","updated_at":"2017-11-14T11:15:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af4a995207e26f5934cc55dd26dd4455028c9312","assignee":null,"assignees":[],"requested_reviewers":[{"login":"crandmck","id":2925364,"avatar_url":"https://avatars2.githubusercontent.com/u/2925364?v=4","gravatar_id":"","url":"https://api.github.com/users/crandmck","html_url":"https://github.com/crandmck","followers_url":"https://api.github.com/users/crandmck/followers","following_url":"https://api.github.com/users/crandmck/following{/other_user}","gists_url":"https://api.github.com/users/crandmck/gists{/gist_id}","starred_url":"https://api.github.com/users/crandmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crandmck/subscriptions","organizations_url":"https://api.github.com/users/crandmck/orgs","repos_url":"https://api.github.com/users/crandmck/repos","events_url":"https://api.github.com/users/crandmck/events{/privacy}","received_events_url":"https://api.github.com/users/crandmck/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/strongloop/loopback.io/pulls/530/commits","review_comments_url":"https://api.github.com/repos/strongloop/loopback.io/pulls/530/comments","review_comment_url":"https://api.github.com/repos/strongloop/loopback.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/strongloop/loopback.io/issues/530/comments","statuses_url":"https://api.github.com/repos/strongloop/loopback.io/statuses/3c7c493e56e354dae2862d2e3f1301d85a5989f8","head":{"label":"strongloop:add-api-explorer","ref":"add-api-explorer","sha":"3c7c493e56e354dae2862d2e3f1301d85a5989f8","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars1.githubusercontent.com/u/3020012?v=4","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":16320387,"name":"loopback.io","full_name":"strongloop/loopback.io","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars1.githubusercontent.com/u/3020012?v=4","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback.io","description":"LoopBack project site - now with documentation!","fork":false,"url":"https://api.github.com/repos/strongloop/loopback.io","forks_url":"https://api.github.com/repos/strongloop/loopback.io/forks","keys_url":"https://api.github.com/repos/strongloop/loopback.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback.io/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback.io/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback.io/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback.io/events","assignees_url":"https://api.github.com/repos/strongloop/loopback.io/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback.io/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback.io/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback.io/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback.io/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback.io/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback.io/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback.io/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback.io/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback.io/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback.io/merges","archive_url":"https://api.github.com/repos/strongloop/loopback.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback.io/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback.io/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback.io/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback.io/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback.io/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback.io/releases{/id}","deployments_url":"https://api.github.com/repos/strongloop/loopback.io/deployments","created_at":"2014-01-28T18:00:00Z","updated_at":"2017-11-08T03:06:04Z","pushed_at":"2017-11-13T23:15:13Z","git_url":"git://github.com/strongloop/loopback.io.git","ssh_url":"git@github.com:strongloop/loopback.io.git","clone_url":"https://github.com/strongloop/loopback.io.git","svn_url":"https://github.com/strongloop/loopback.io","homepage":"http://loopback.io","size":28605,"stargazers_count":103,"watchers_count":103,"language":"CSS","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":225,"mirror_url":null,"archived":false,"open_issues_count":34,"forks":225,"open_issues":34,"watchers":103,"default_branch":"gh-pages"}},"base":{"label":"strongloop:gh-pages","ref":"gh-pages","sha":"d8a29d5ab707b68ea95d4dca5084adc74fb3d5d2","user":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars1.githubusercontent.com/u/3020012?v=4","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"repo":{"id":16320387,"name":"loopback.io","full_name":"strongloop/loopback.io","owner":{"login":"strongloop","id":3020012,"avatar_url":"https://avatars1.githubusercontent.com/u/3020012?v=4","gravatar_id":"","url":"https://api.github.com/users/strongloop","html_url":"https://github.com/strongloop","followers_url":"https://api.github.com/users/strongloop/followers","following_url":"https://api.github.com/users/strongloop/following{/other_user}","gists_url":"https://api.github.com/users/strongloop/gists{/gist_id}","starred_url":"https://api.github.com/users/strongloop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strongloop/subscriptions","organizations_url":"https://api.github.com/users/strongloop/orgs","repos_url":"https://api.github.com/users/strongloop/repos","events_url":"https://api.github.com/users/strongloop/events{/privacy}","received_events_url":"https://api.github.com/users/strongloop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/strongloop/loopback.io","description":"LoopBack project site - now with documentation!","fork":false,"url":"https://api.github.com/repos/strongloop/loopback.io","forks_url":"https://api.github.com/repos/strongloop/loopback.io/forks","keys_url":"https://api.github.com/repos/strongloop/loopback.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strongloop/loopback.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strongloop/loopback.io/teams","hooks_url":"https://api.github.com/repos/strongloop/loopback.io/hooks","issue_events_url":"https://api.github.com/repos/strongloop/loopback.io/issues/events{/number}","events_url":"https://api.github.com/repos/strongloop/loopback.io/events","assignees_url":"https://api.github.com/repos/strongloop/loopback.io/assignees{/user}","branches_url":"https://api.github.com/repos/strongloop/loopback.io/branches{/branch}","tags_url":"https://api.github.com/repos/strongloop/loopback.io/tags","blobs_url":"https://api.github.com/repos/strongloop/loopback.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strongloop/loopback.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strongloop/loopback.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/strongloop/loopback.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strongloop/loopback.io/statuses/{sha}","languages_url":"https://api.github.com/repos/strongloop/loopback.io/languages","stargazers_url":"https://api.github.com/repos/strongloop/loopback.io/stargazers","contributors_url":"https://api.github.com/repos/strongloop/loopback.io/contributors","subscribers_url":"https://api.github.com/repos/strongloop/loopback.io/subscribers","subscription_url":"https://api.github.com/repos/strongloop/loopback.io/subscription","commits_url":"https://api.github.com/repos/strongloop/loopback.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/strongloop/loopback.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/strongloop/loopback.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/strongloop/loopback.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/strongloop/loopback.io/contents/{+path}","compare_url":"https://api.github.com/repos/strongloop/loopback.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strongloop/loopback.io/merges","archive_url":"https://api.github.com/repos/strongloop/loopback.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strongloop/loopback.io/downloads","issues_url":"https://api.github.com/repos/strongloop/loopback.io/issues{/number}","pulls_url":"https://api.github.com/repos/strongloop/loopback.io/pulls{/number}","milestones_url":"https://api.github.com/repos/strongloop/loopback.io/milestones{/number}","notifications_url":"https://api.github.com/repos/strongloop/loopback.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strongloop/loopback.io/labels{/name}","releases_url":"https://api.github.com/repos/strongloop/loopback.io/releases{/id}","deployments_url":"https://api.github.com/repos/strongloop/loopback.io/deployments","created_at":"2014-01-28T18:00:00Z","updated_at":"2017-11-08T03:06:04Z","pushed_at":"2017-11-13T23:15:13Z","git_url":"git://github.com/strongloop/loopback.io.git","ssh_url":"git@github.com:strongloop/loopback.io.git","clone_url":"https://github.com/strongloop/loopback.io.git","svn_url":"https://github.com/strongloop/loopback.io","homepage":"http://loopback.io","size":28605,"stargazers_count":103,"watchers_count":103,"language":"CSS","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":225,"mirror_url":null,"archived":false,"open_issues_count":34,"forks":225,"open_issues":34,"watchers":103,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/strongloop/loopback.io/pulls/530"},"html":{"href":"https://github.com/strongloop/loopback.io/pull/530"},"issue":{"href":"https://api.github.com/repos/strongloop/loopback.io/issues/530"},"comments":{"href":"https://api.github.com/repos/strongloop/loopback.io/issues/530/comments"},"review_comments":{"href":"https://api.github.com/repos/strongloop/loopback.io/pulls/530/comments"},"review_comment":{"href":"https://api.github.com/repos/strongloop/loopback.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/strongloop/loopback.io/pulls/530/commits"},"statuses":{"href":"https://api.github.com/repos/strongloop/loopback.io/statuses/3c7c493e56e354dae2862d2e3f1301d85a5989f8"}},"author_association":"OWNER"}}
{"actor":{"display_login":"bajtos"}}