{"action":"created","comment":{"url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments/80721088","pull_request_review_id":1757553,"id":80721088,"diff_hunk":"@@ -116,7 +116,7 @@ describe('Transformation • Refract • getUriParameters' , ->\n           }\n         ]\n       },\n-      # Parameter is required by default with no type attributes\n+      # Parameter is optional by default with no type attributes","path":"test/getUriParameters-test.coffee","position":5,"original_position":5,"commit_id":"5402ca453cd67b728a43ca8abdac8f9dd962317b","original_commit_id":"5402ca453cd67b728a43ca8abdac8f9dd962317b","user":{"login":"kylef","id":44164,"avatar_url":"https://avatars.githubusercontent.com/u/44164?v=3","gravatar_id":"","url":"https://api.github.com/users/kylef","html_url":"https://github.com/kylef","followers_url":"https://api.github.com/users/kylef/followers","following_url":"https://api.github.com/users/kylef/following{/other_user}","gists_url":"https://api.github.com/users/kylef/gists{/gist_id}","starred_url":"https://api.github.com/users/kylef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylef/subscriptions","organizations_url":"https://api.github.com/users/kylef/orgs","repos_url":"https://api.github.com/users/kylef/repos","events_url":"https://api.github.com/users/kylef/events{/privacy}","received_events_url":"https://api.github.com/users/kylef/received_events","type":"User","site_admin":false},"body":"I think it would be great to add a test coverage for each scenario. Required parameter, optional parameter and a parameter with no type attributes.\r\n\r\nCould you add two more parameters to the above list and change this section on parameter required/optional/behaviour?","created_at":"2016-09-27T15:30:13Z","updated_at":"2016-09-27T15:30:13Z","html_url":"https://github.com/apiaryio/metamorphoses/pull/58#discussion_r80721088","pull_request_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments/80721088"},"html":{"href":"https://github.com/apiaryio/metamorphoses/pull/58#discussion_r80721088"},"pull_request":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/58","id":86949565,"html_url":"https://github.com/apiaryio/metamorphoses/pull/58","diff_url":"https://github.com/apiaryio/metamorphoses/pull/58.diff","patch_url":"https://github.com/apiaryio/metamorphoses/pull/58.patch","issue_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/58","number":58,"state":"open","locked":false,"title":"fix(refract): Parameters should be optional by default","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":"Depends on apiaryio/drafter#400","created_at":"2016-09-27T15:09:04Z","updated_at":"2016-09-27T15:30:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6dec8e67ac049a9d36d8085dc1ffc6683bd107ab","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/58/commits","review_comments_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/58/comments","review_comment_url":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apiaryio/metamorphoses/issues/58/comments","statuses_url":"https://api.github.com/repos/apiaryio/metamorphoses/statuses/5402ca453cd67b728a43ca8abdac8f9dd962317b","head":{"label":"apiaryio:pksunkara/parameter-default","ref":"pksunkara/parameter-default","sha":"5402ca453cd67b728a43ca8abdac8f9dd962317b","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-27T15:11:38Z","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":220,"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":"0ef2d737a4ec1c07ab296a5a6b015a120e5bc075","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-27T15:11:38Z","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":220,"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/58"},"html":{"href":"https://github.com/apiaryio/metamorphoses/pull/58"},"issue":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/issues/58"},"comments":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/apiaryio/metamorphoses/statuses/5402ca453cd67b728a43ca8abdac8f9dd962317b"}}}}
{"actor":{"display_login":"kylef"}}