{"action":"created","comment":{"url":"https://api.github.com/repos/raml-org/raml-spec/pulls/comments/55242843","id":55242843,"diff_hunk":"@@ -2028,17 +2028,21 @@ title: Example of Optional Properties\n resourceTypes:\n   - corpResource:\n       post?:\n+        description: Some info about <<TextAboutPost>>.\n         headers:\n           X-Chargeback:\n             required: true\n /servers:\n-  type: corpResource\n+  type:\n+    corpResource:\n+      TextAboutPost: post method # post defined which will force to define the TextAboutPost parameter\n   get:\n   post: # will require the X-Chargeback header\n /queues:\n   type: corpResource\n   get:\n-  # will not have a post method defined\n+  # will not have a post method defined which means one MUST not have to define","path":"versions/raml-10/raml-10.md","position":28,"original_position":28,"commit_id":"ac4f44c6466e72337bf37a0899ca662f7b522d3d","original_commit_id":"ac4f44c6466e72337bf37a0899ca662f7b522d3d","user":{"login":"sichvoge","id":498114,"avatar_url":"https://avatars.githubusercontent.com/u/498114?v=3","gravatar_id":"","url":"https://api.github.com/users/sichvoge","html_url":"https://github.com/sichvoge","followers_url":"https://api.github.com/users/sichvoge/followers","following_url":"https://api.github.com/users/sichvoge/following{/other_user}","gists_url":"https://api.github.com/users/sichvoge/gists{/gist_id}","starred_url":"https://api.github.com/users/sichvoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sichvoge/subscriptions","organizations_url":"https://api.github.com/users/sichvoge/orgs","repos_url":"https://api.github.com/users/sichvoge/repos","events_url":"https://api.github.com/users/sichvoge/events{/privacy}","received_events_url":"https://api.github.com/users/sichvoge/received_events","type":"User","site_admin":false},"body":"Agree - this is the intent right; post has been not used so there is no need to define TextAboutPost","created_at":"2016-03-07T17:56:49Z","updated_at":"2016-03-07T17:56:49Z","html_url":"https://github.com/raml-org/raml-spec/pull/274#discussion_r55242843","pull_request_url":"https://api.github.com/repos/raml-org/raml-spec/pulls/274","_links":{"self":{"href":"https://api.github.com/repos/raml-org/raml-spec/pulls/comments/55242843"},"html":{"href":"https://github.com/raml-org/raml-spec/pull/274#discussion_r55242843"},"pull_request":{"href":"https://api.github.com/repos/raml-org/raml-spec/pulls/274"}}},"pull_request":{"url":"https://api.github.com/repos/raml-org/raml-spec/pulls/274","id":61908867,"html_url":"https://github.com/raml-org/raml-spec/pull/274","diff_url":"https://github.com/raml-org/raml-spec/pull/274.diff","patch_url":"https://github.com/raml-org/raml-spec/pull/274.patch","issue_url":"https://api.github.com/repos/raml-org/raml-spec/issues/274","number":274,"state":"open","locked":false,"title":"Clarification about resource types and optional properties","user":{"login":"sichvoge","id":498114,"avatar_url":"https://avatars.githubusercontent.com/u/498114?v=3","gravatar_id":"","url":"https://api.github.com/users/sichvoge","html_url":"https://github.com/sichvoge","followers_url":"https://api.github.com/users/sichvoge/followers","following_url":"https://api.github.com/users/sichvoge/following{/other_user}","gists_url":"https://api.github.com/users/sichvoge/gists{/gist_id}","starred_url":"https://api.github.com/users/sichvoge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sichvoge/subscriptions","organizations_url":"https://api.github.com/users/sichvoge/orgs","repos_url":"https://api.github.com/users/sichvoge/repos","events_url":"https://api.github.com/users/sichvoge/events{/privacy}","received_events_url":"https://api.github.com/users/sichvoge/received_events","type":"User","site_admin":false},"body":"If someone does not explicitly define the optional property in a resource or method, a processor MUST not force one to define the corresponding custom parameter. Closes #143","created_at":"2016-03-07T12:09:37Z","updated_at":"2016-03-07T17:56:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc7900f1ecbd0811a1647ee1118c8a1c8cc8bdde","assignee":{"login":"usarid","id":39899,"avatar_url":"https://avatars.githubusercontent.com/u/39899?v=3","gravatar_id":"","url":"https://api.github.com/users/usarid","html_url":"https://github.com/usarid","followers_url":"https://api.github.com/users/usarid/followers","following_url":"https://api.github.com/users/usarid/following{/other_user}","gists_url":"https://api.github.com/users/usarid/gists{/gist_id}","starred_url":"https://api.github.com/users/usarid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usarid/subscriptions","organizations_url":"https://api.github.com/users/usarid/orgs","repos_url":"https://api.github.com/users/usarid/repos","events_url":"https://api.github.com/users/usarid/events{/privacy}","received_events_url":"https://api.github.com/users/usarid/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/raml-org/raml-spec/pulls/274/commits","review_comments_url":"https://api.github.com/repos/raml-org/raml-spec/pulls/274/comments","review_comment_url":"https://api.github.com/repos/raml-org/raml-spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raml-org/raml-spec/issues/274/comments","statuses_url":"https://api.github.com/repos/raml-org/raml-spec/statuses/ac4f44c6466e72337bf37a0899ca662f7b522d3d","head":{"label":"raml-org:fix/issue143","ref":"fix/issue143","sha":"ac4f44c6466e72337bf37a0899ca662f7b522d3d","user":{"login":"raml-org","id":5579724,"avatar_url":"https://avatars.githubusercontent.com/u/5579724?v=3","gravatar_id":"","url":"https://api.github.com/users/raml-org","html_url":"https://github.com/raml-org","followers_url":"https://api.github.com/users/raml-org/followers","following_url":"https://api.github.com/users/raml-org/following{/other_user}","gists_url":"https://api.github.com/users/raml-org/gists{/gist_id}","starred_url":"https://api.github.com/users/raml-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raml-org/subscriptions","organizations_url":"https://api.github.com/users/raml-org/orgs","repos_url":"https://api.github.com/users/raml-org/repos","events_url":"https://api.github.com/users/raml-org/events{/privacy}","received_events_url":"https://api.github.com/users/raml-org/received_events","type":"Organization","site_admin":false},"repo":{"id":13226404,"name":"raml-spec","full_name":"raml-org/raml-spec","owner":{"login":"raml-org","id":5579724,"avatar_url":"https://avatars.githubusercontent.com/u/5579724?v=3","gravatar_id":"","url":"https://api.github.com/users/raml-org","html_url":"https://github.com/raml-org","followers_url":"https://api.github.com/users/raml-org/followers","following_url":"https://api.github.com/users/raml-org/following{/other_user}","gists_url":"https://api.github.com/users/raml-org/gists{/gist_id}","starred_url":"https://api.github.com/users/raml-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raml-org/subscriptions","organizations_url":"https://api.github.com/users/raml-org/orgs","repos_url":"https://api.github.com/users/raml-org/repos","events_url":"https://api.github.com/users/raml-org/events{/privacy}","received_events_url":"https://api.github.com/users/raml-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raml-org/raml-spec","description":"RAML Specification","fork":false,"url":"https://api.github.com/repos/raml-org/raml-spec","forks_url":"https://api.github.com/repos/raml-org/raml-spec/forks","keys_url":"https://api.github.com/repos/raml-org/raml-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raml-org/raml-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raml-org/raml-spec/teams","hooks_url":"https://api.github.com/repos/raml-org/raml-spec/hooks","issue_events_url":"https://api.github.com/repos/raml-org/raml-spec/issues/events{/number}","events_url":"https://api.github.com/repos/raml-org/raml-spec/events","assignees_url":"https://api.github.com/repos/raml-org/raml-spec/assignees{/user}","branches_url":"https://api.github.com/repos/raml-org/raml-spec/branches{/branch}","tags_url":"https://api.github.com/repos/raml-org/raml-spec/tags","blobs_url":"https://api.github.com/repos/raml-org/raml-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raml-org/raml-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raml-org/raml-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/raml-org/raml-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raml-org/raml-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/raml-org/raml-spec/languages","stargazers_url":"https://api.github.com/repos/raml-org/raml-spec/stargazers","contributors_url":"https://api.github.com/repos/raml-org/raml-spec/contributors","subscribers_url":"https://api.github.com/repos/raml-org/raml-spec/subscribers","subscription_url":"https://api.github.com/repos/raml-org/raml-spec/subscription","commits_url":"https://api.github.com/repos/raml-org/raml-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/raml-org/raml-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/raml-org/raml-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/raml-org/raml-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/raml-org/raml-spec/contents/{+path}","compare_url":"https://api.github.com/repos/raml-org/raml-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raml-org/raml-spec/merges","archive_url":"https://api.github.com/repos/raml-org/raml-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raml-org/raml-spec/downloads","issues_url":"https://api.github.com/repos/raml-org/raml-spec/issues{/number}","pulls_url":"https://api.github.com/repos/raml-org/raml-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/raml-org/raml-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/raml-org/raml-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raml-org/raml-spec/labels{/name}","releases_url":"https://api.github.com/repos/raml-org/raml-spec/releases{/id}","deployments_url":"https://api.github.com/repos/raml-org/raml-spec/deployments","created_at":"2013-09-30T20:28:05Z","updated_at":"2016-03-05T08:30:44Z","pushed_at":"2016-03-07T17:54:09Z","git_url":"git://github.com/raml-org/raml-spec.git","ssh_url":"git@github.com:raml-org/raml-spec.git","clone_url":"https://github.com/raml-org/raml-spec.git","svn_url":"https://github.com/raml-org/raml-spec","homepage":"http://raml.org/spec.html","size":5554,"stargazers_count":1827,"watchers_count":1827,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":150,"mirror_url":null,"open_issues_count":168,"forks":150,"open_issues":168,"watchers":1827,"default_branch":"master"}},"base":{"label":"raml-org:raml-10-rc2","ref":"raml-10-rc2","sha":"55a9bb699b8d14c50ac846812baac9896898578c","user":{"login":"raml-org","id":5579724,"avatar_url":"https://avatars.githubusercontent.com/u/5579724?v=3","gravatar_id":"","url":"https://api.github.com/users/raml-org","html_url":"https://github.com/raml-org","followers_url":"https://api.github.com/users/raml-org/followers","following_url":"https://api.github.com/users/raml-org/following{/other_user}","gists_url":"https://api.github.com/users/raml-org/gists{/gist_id}","starred_url":"https://api.github.com/users/raml-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raml-org/subscriptions","organizations_url":"https://api.github.com/users/raml-org/orgs","repos_url":"https://api.github.com/users/raml-org/repos","events_url":"https://api.github.com/users/raml-org/events{/privacy}","received_events_url":"https://api.github.com/users/raml-org/received_events","type":"Organization","site_admin":false},"repo":{"id":13226404,"name":"raml-spec","full_name":"raml-org/raml-spec","owner":{"login":"raml-org","id":5579724,"avatar_url":"https://avatars.githubusercontent.com/u/5579724?v=3","gravatar_id":"","url":"https://api.github.com/users/raml-org","html_url":"https://github.com/raml-org","followers_url":"https://api.github.com/users/raml-org/followers","following_url":"https://api.github.com/users/raml-org/following{/other_user}","gists_url":"https://api.github.com/users/raml-org/gists{/gist_id}","starred_url":"https://api.github.com/users/raml-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raml-org/subscriptions","organizations_url":"https://api.github.com/users/raml-org/orgs","repos_url":"https://api.github.com/users/raml-org/repos","events_url":"https://api.github.com/users/raml-org/events{/privacy}","received_events_url":"https://api.github.com/users/raml-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raml-org/raml-spec","description":"RAML Specification","fork":false,"url":"https://api.github.com/repos/raml-org/raml-spec","forks_url":"https://api.github.com/repos/raml-org/raml-spec/forks","keys_url":"https://api.github.com/repos/raml-org/raml-spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raml-org/raml-spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raml-org/raml-spec/teams","hooks_url":"https://api.github.com/repos/raml-org/raml-spec/hooks","issue_events_url":"https://api.github.com/repos/raml-org/raml-spec/issues/events{/number}","events_url":"https://api.github.com/repos/raml-org/raml-spec/events","assignees_url":"https://api.github.com/repos/raml-org/raml-spec/assignees{/user}","branches_url":"https://api.github.com/repos/raml-org/raml-spec/branches{/branch}","tags_url":"https://api.github.com/repos/raml-org/raml-spec/tags","blobs_url":"https://api.github.com/repos/raml-org/raml-spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raml-org/raml-spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raml-org/raml-spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/raml-org/raml-spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raml-org/raml-spec/statuses/{sha}","languages_url":"https://api.github.com/repos/raml-org/raml-spec/languages","stargazers_url":"https://api.github.com/repos/raml-org/raml-spec/stargazers","contributors_url":"https://api.github.com/repos/raml-org/raml-spec/contributors","subscribers_url":"https://api.github.com/repos/raml-org/raml-spec/subscribers","subscription_url":"https://api.github.com/repos/raml-org/raml-spec/subscription","commits_url":"https://api.github.com/repos/raml-org/raml-spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/raml-org/raml-spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/raml-org/raml-spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/raml-org/raml-spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/raml-org/raml-spec/contents/{+path}","compare_url":"https://api.github.com/repos/raml-org/raml-spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raml-org/raml-spec/merges","archive_url":"https://api.github.com/repos/raml-org/raml-spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raml-org/raml-spec/downloads","issues_url":"https://api.github.com/repos/raml-org/raml-spec/issues{/number}","pulls_url":"https://api.github.com/repos/raml-org/raml-spec/pulls{/number}","milestones_url":"https://api.github.com/repos/raml-org/raml-spec/milestones{/number}","notifications_url":"https://api.github.com/repos/raml-org/raml-spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raml-org/raml-spec/labels{/name}","releases_url":"https://api.github.com/repos/raml-org/raml-spec/releases{/id}","deployments_url":"https://api.github.com/repos/raml-org/raml-spec/deployments","created_at":"2013-09-30T20:28:05Z","updated_at":"2016-03-05T08:30:44Z","pushed_at":"2016-03-07T17:54:09Z","git_url":"git://github.com/raml-org/raml-spec.git","ssh_url":"git@github.com:raml-org/raml-spec.git","clone_url":"https://github.com/raml-org/raml-spec.git","svn_url":"https://github.com/raml-org/raml-spec","homepage":"http://raml.org/spec.html","size":5554,"stargazers_count":1827,"watchers_count":1827,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":150,"mirror_url":null,"open_issues_count":168,"forks":150,"open_issues":168,"watchers":1827,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raml-org/raml-spec/pulls/274"},"html":{"href":"https://github.com/raml-org/raml-spec/pull/274"},"issue":{"href":"https://api.github.com/repos/raml-org/raml-spec/issues/274"},"comments":{"href":"https://api.github.com/repos/raml-org/raml-spec/issues/274/comments"},"review_comments":{"href":"https://api.github.com/repos/raml-org/raml-spec/pulls/274/comments"},"review_comment":{"href":"https://api.github.com/repos/raml-org/raml-spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raml-org/raml-spec/pulls/274/commits"},"statuses":{"href":"https://api.github.com/repos/raml-org/raml-spec/statuses/ac4f44c6466e72337bf37a0899ca662f7b522d3d"}}}}