{"action":"created","comment":{"url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments/79382351","id":79382351,"diff_hunk":"@@ -298,9 +297,9 @@ legacyResourcesFrom1AResource = (legacyUrlConverterFn, resource, sourcemap, opti\n       legacyResource.model = {}\n \n     legacyResource.resourceParameters = resourceParameters or []\n-    legacyResource.actionParameters   = actionParameters or []\n+    legacyResource.actionParameters   = getParametersOf(action, options) or []\n \n-    legacyResource.parameters = actionParameters or resourceParameters or []\n+    legacyResource.parameters = legacyResource.resourceParameters.concat(legacyResource.actionParameters)","path":"src/adapters/api-blueprint-adapter.coffee","position":16,"original_position":16,"commit_id":"49b943168cf16d16470493ffdbd1a163095487a6","original_commit_id":"49b943168cf16d16470493ffdbd1a163095487a6","user":{"login":"kuba-kubula","id":136198,"avatar_url":"https://avatars.githubusercontent.com/u/136198?v=3","gravatar_id":"","url":"https://api.github.com/users/kuba-kubula","html_url":"https://github.com/kuba-kubula","followers_url":"https://api.github.com/users/kuba-kubula/followers","following_url":"https://api.github.com/users/kuba-kubula/following{/other_user}","gists_url":"https://api.github.com/users/kuba-kubula/gists{/gist_id}","starred_url":"https://api.github.com/users/kuba-kubula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuba-kubula/subscriptions","organizations_url":"https://api.github.com/users/kuba-kubula/orgs","repos_url":"https://api.github.com/users/kuba-kubula/repos","events_url":"https://api.github.com/users/kuba-kubula/events{/privacy}","received_events_url":"https://api.github.com/users/kuba-kubula/received_events","type":"User","site_admin":false},"body":"What Kyle suggests here looks as ok","created_at":"2016-09-19T12:46:41Z","updated_at":"2016-09-19T12:46:45Z","html_url":"https://github.com/apiaryio/metamorphoses/pull/49#discussion_r79382351","pull_request_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments/79382351"},"html":{"href":"https://github.com/apiaryio/metamorphoses/pull/49#discussion_r79382351"},"pull_request":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49","id":85588381,"html_url":"https://github.com/apiaryio/metamorphoses/pull/49","diff_url":"https://github.com/apiaryio/metamorphoses/pull/49.diff","patch_url":"https://github.com/apiaryio/metamorphoses/pull/49.patch","issue_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/49","number":49,"state":"open","locked":false,"title":"fix: Concat parameters in APIB AST adapter","user":{"login":"pksunkara","id":174703,"avatar_url":"https://avatars.githubusercontent.com/u/174703?v=3","gravatar_id":"","url":"https://api.github.com/users/pksunkara","html_url":"https://github.com/pksunkara","followers_url":"https://api.github.com/users/pksunkara/followers","following_url":"https://api.github.com/users/pksunkara/following{/other_user}","gists_url":"https://api.github.com/users/pksunkara/gists{/gist_id}","starred_url":"https://api.github.com/users/pksunkara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pksunkara/subscriptions","organizations_url":"https://api.github.com/users/pksunkara/orgs","repos_url":"https://api.github.com/users/pksunkara/repos","events_url":"https://api.github.com/users/pksunkara/events{/privacy}","received_events_url":"https://api.github.com/users/pksunkara/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-16T15:00:04Z","updated_at":"2016-09-19T12:46:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"65eac2309b682d572038171b1dda183fe9900552","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49/commits","review_comments_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49/comments","review_comment_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/49/comments","statuses_url":"https://api.github.com/repos/apiaryio/metamorphoses/statuses/49b943168cf16d16470493ffdbd1a163095487a6","head":{"label":"apiaryio:pksunkara/fixes-2","ref":"pksunkara/fixes-2","sha":"49b943168cf16d16470493ffdbd1a163095487a6","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":41679462,"name":"metamorphoses","full_name":"apiaryio/metamorphoses","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/metamorphoses","description":"Transforms API Blueprint AST or legacy Apiary Blueprint AST into Apiary Application AST","fork":false,"url":"https://api.github.com/repos/apiaryio/metamorphoses","forks_url":"https://api.github.com/repos/apiaryio/metamorphoses/forks","keys_url":"https://api.github.com/repos/apiaryio/metamorphoses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/metamorphoses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/metamorphoses/teams","hooks_url":"https://api.github.com/repos/apiaryio/metamorphoses/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/metamorphoses/events","assignees_url":"https://api.github.com/repos/apiaryio/metamorphoses/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/metamorphoses/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/metamorphoses/tags","blobs_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/metamorphoses/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/metamorphoses/languages","stargazers_url":"https://api.github.com/repos/apiaryio/metamorphoses/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/metamorphoses/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/metamorphoses/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/metamorphoses/subscription","commits_url":"https://api.github.com/repos/apiaryio/metamorphoses/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/metamorphoses/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/metamorphoses/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/metamorphoses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/metamorphoses/merges","archive_url":"https://api.github.com/repos/apiaryio/metamorphoses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/metamorphoses/downloads","issues_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/metamorphoses/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/metamorphoses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/metamorphoses/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/metamorphoses/releases{/id}","deployments_url":"https://api.github.com/repos/apiaryio/metamorphoses/deployments","created_at":"2015-08-31T14:18:17Z","updated_at":"2016-01-27T13:16:59Z","pushed_at":"2016-09-16T15:48:24Z","git_url":"git://github.com/apiaryio/metamorphoses.git","ssh_url":"git@github.com:apiaryio/metamorphoses.git","clone_url":"https://github.com/apiaryio/metamorphoses.git","svn_url":"https://github.com/apiaryio/metamorphoses","homepage":"","size":203,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"base":{"label":"apiaryio:master","ref":"master","sha":"83de6ebf74202da098d2f8ce835a6dbf0461ae90","user":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"repo":{"id":41679462,"name":"metamorphoses","full_name":"apiaryio/metamorphoses","owner":{"login":"apiaryio","id":765943,"avatar_url":"https://avatars.githubusercontent.com/u/765943?v=3","gravatar_id":"","url":"https://api.github.com/users/apiaryio","html_url":"https://github.com/apiaryio","followers_url":"https://api.github.com/users/apiaryio/followers","following_url":"https://api.github.com/users/apiaryio/following{/other_user}","gists_url":"https://api.github.com/users/apiaryio/gists{/gist_id}","starred_url":"https://api.github.com/users/apiaryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apiaryio/subscriptions","organizations_url":"https://api.github.com/users/apiaryio/orgs","repos_url":"https://api.github.com/users/apiaryio/repos","events_url":"https://api.github.com/users/apiaryio/events{/privacy}","received_events_url":"https://api.github.com/users/apiaryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apiaryio/metamorphoses","description":"Transforms API Blueprint AST or legacy Apiary Blueprint AST into Apiary Application AST","fork":false,"url":"https://api.github.com/repos/apiaryio/metamorphoses","forks_url":"https://api.github.com/repos/apiaryio/metamorphoses/forks","keys_url":"https://api.github.com/repos/apiaryio/metamorphoses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apiaryio/metamorphoses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apiaryio/metamorphoses/teams","hooks_url":"https://api.github.com/repos/apiaryio/metamorphoses/hooks","issue_events_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/events{/number}","events_url":"https://api.github.com/repos/apiaryio/metamorphoses/events","assignees_url":"https://api.github.com/repos/apiaryio/metamorphoses/assignees{/user}","branches_url":"https://api.github.com/repos/apiaryio/metamorphoses/branches{/branch}","tags_url":"https://api.github.com/repos/apiaryio/metamorphoses/tags","blobs_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/refs{/sha}","trees_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apiaryio/metamorphoses/statuses/{sha}","languages_url":"https://api.github.com/repos/apiaryio/metamorphoses/languages","stargazers_url":"https://api.github.com/repos/apiaryio/metamorphoses/stargazers","contributors_url":"https://api.github.com/repos/apiaryio/metamorphoses/contributors","subscribers_url":"https://api.github.com/repos/apiaryio/metamorphoses/subscribers","subscription_url":"https://api.github.com/repos/apiaryio/metamorphoses/subscription","commits_url":"https://api.github.com/repos/apiaryio/metamorphoses/commits{/sha}","git_commits_url":"https://api.github.com/repos/apiaryio/metamorphoses/git/commits{/sha}","comments_url":"https://api.github.com/repos/apiaryio/metamorphoses/comments{/number}","issue_comment_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/comments{/number}","contents_url":"https://api.github.com/repos/apiaryio/metamorphoses/contents/{+path}","compare_url":"https://api.github.com/repos/apiaryio/metamorphoses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apiaryio/metamorphoses/merges","archive_url":"https://api.github.com/repos/apiaryio/metamorphoses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apiaryio/metamorphoses/downloads","issues_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues{/number}","pulls_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls{/number}","milestones_url":"https://api.github.com/repos/apiaryio/metamorphoses/milestones{/number}","notifications_url":"https://api.github.com/repos/apiaryio/metamorphoses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apiaryio/metamorphoses/labels{/name}","releases_url":"https://api.github.com/repos/apiaryio/metamorphoses/releases{/id}","deployments_url":"https://api.github.com/repos/apiaryio/metamorphoses/deployments","created_at":"2015-08-31T14:18:17Z","updated_at":"2016-01-27T13:16:59Z","pushed_at":"2016-09-16T15:48:24Z","git_url":"git://github.com/apiaryio/metamorphoses.git","ssh_url":"git@github.com:apiaryio/metamorphoses.git","clone_url":"https://github.com/apiaryio/metamorphoses.git","svn_url":"https://github.com/apiaryio/metamorphoses","homepage":"","size":203,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49"},"html":{"href":"https://github.com/apiaryio/metamorphoses/pull/49"},"issue":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/issues/49"},"comments":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/statuses/49b943168cf16d16470493ffdbd1a163095487a6"}}}}
{"actor":{"display_login":"kuba-kubula"}}