{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/3","id":46743206,"html_url":"https://github.com/etwillbefine/annotation-api/pull/3","diff_url":"https://github.com/etwillbefine/annotation-api/pull/3.diff","patch_url":"https://github.com/etwillbefine/annotation-api/pull/3.patch","issue_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues/3","number":3,"state":"open","locked":false,"title":"add constraint class to to validate the payload","user":{"login":"etwillbefine","id":6608072,"avatar_url":"https://avatars.githubusercontent.com/u/6608072?v=3","gravatar_id":"","url":"https://api.github.com/users/etwillbefine","html_url":"https://github.com/etwillbefine","followers_url":"https://api.github.com/users/etwillbefine/followers","following_url":"https://api.github.com/users/etwillbefine/following{/other_user}","gists_url":"https://api.github.com/users/etwillbefine/gists{/gist_id}","starred_url":"https://api.github.com/users/etwillbefine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etwillbefine/subscriptions","organizations_url":"https://api.github.com/users/etwillbefine/orgs","repos_url":"https://api.github.com/users/etwillbefine/repos","events_url":"https://api.github.com/users/etwillbefine/events{/privacy}","received_events_url":"https://api.github.com/users/etwillbefine/received_events","type":"User","site_admin":false},"body":"default validation rules [can be found here](/src/filter/validator.js)\r\n\r\nusage:\r\n```js\r\n/**\r\n * @Body({\r\n *    \"key\": { \"rules\": { \"equals\": \"something\", \"regexp\": \"mustmatch\" }}\r\n * });\r\n**/\r\n```","created_at":"2015-10-05T04:12:31Z","updated_at":"2015-10-05T04:12:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/3/commits","review_comments_url":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/3/comments","review_comment_url":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues/3/comments","statuses_url":"https://api.github.com/repos/etwillbefine/annotation-api/statuses/51712350ee678ce3bf9d4f06bf94d9fed31f4577","head":{"label":"etwillbefine:separate_dev_dependencies","ref":"separate_dev_dependencies","sha":"51712350ee678ce3bf9d4f06bf94d9fed31f4577","user":{"login":"etwillbefine","id":6608072,"avatar_url":"https://avatars.githubusercontent.com/u/6608072?v=3","gravatar_id":"","url":"https://api.github.com/users/etwillbefine","html_url":"https://github.com/etwillbefine","followers_url":"https://api.github.com/users/etwillbefine/followers","following_url":"https://api.github.com/users/etwillbefine/following{/other_user}","gists_url":"https://api.github.com/users/etwillbefine/gists{/gist_id}","starred_url":"https://api.github.com/users/etwillbefine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etwillbefine/subscriptions","organizations_url":"https://api.github.com/users/etwillbefine/orgs","repos_url":"https://api.github.com/users/etwillbefine/repos","events_url":"https://api.github.com/users/etwillbefine/events{/privacy}","received_events_url":"https://api.github.com/users/etwillbefine/received_events","type":"User","site_admin":false},"repo":{"id":43614315,"name":"annotation-api","full_name":"etwillbefine/annotation-api","owner":{"login":"etwillbefine","id":6608072,"avatar_url":"https://avatars.githubusercontent.com/u/6608072?v=3","gravatar_id":"","url":"https://api.github.com/users/etwillbefine","html_url":"https://github.com/etwillbefine","followers_url":"https://api.github.com/users/etwillbefine/followers","following_url":"https://api.github.com/users/etwillbefine/following{/other_user}","gists_url":"https://api.github.com/users/etwillbefine/gists{/gist_id}","starred_url":"https://api.github.com/users/etwillbefine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etwillbefine/subscriptions","organizations_url":"https://api.github.com/users/etwillbefine/orgs","repos_url":"https://api.github.com/users/etwillbefine/repos","events_url":"https://api.github.com/users/etwillbefine/events{/privacy}","received_events_url":"https://api.github.com/users/etwillbefine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/etwillbefine/annotation-api","description":"Define your routes with annotations","fork":false,"url":"https://api.github.com/repos/etwillbefine/annotation-api","forks_url":"https://api.github.com/repos/etwillbefine/annotation-api/forks","keys_url":"https://api.github.com/repos/etwillbefine/annotation-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etwillbefine/annotation-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etwillbefine/annotation-api/teams","hooks_url":"https://api.github.com/repos/etwillbefine/annotation-api/hooks","issue_events_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues/events{/number}","events_url":"https://api.github.com/repos/etwillbefine/annotation-api/events","assignees_url":"https://api.github.com/repos/etwillbefine/annotation-api/assignees{/user}","branches_url":"https://api.github.com/repos/etwillbefine/annotation-api/branches{/branch}","tags_url":"https://api.github.com/repos/etwillbefine/annotation-api/tags","blobs_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etwillbefine/annotation-api/statuses/{sha}","languages_url":"https://api.github.com/repos/etwillbefine/annotation-api/languages","stargazers_url":"https://api.github.com/repos/etwillbefine/annotation-api/stargazers","contributors_url":"https://api.github.com/repos/etwillbefine/annotation-api/contributors","subscribers_url":"https://api.github.com/repos/etwillbefine/annotation-api/subscribers","subscription_url":"https://api.github.com/repos/etwillbefine/annotation-api/subscription","commits_url":"https://api.github.com/repos/etwillbefine/annotation-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/etwillbefine/annotation-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/etwillbefine/annotation-api/contents/{+path}","compare_url":"https://api.github.com/repos/etwillbefine/annotation-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etwillbefine/annotation-api/merges","archive_url":"https://api.github.com/repos/etwillbefine/annotation-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etwillbefine/annotation-api/downloads","issues_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues{/number}","pulls_url":"https://api.github.com/repos/etwillbefine/annotation-api/pulls{/number}","milestones_url":"https://api.github.com/repos/etwillbefine/annotation-api/milestones{/number}","notifications_url":"https://api.github.com/repos/etwillbefine/annotation-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etwillbefine/annotation-api/labels{/name}","releases_url":"https://api.github.com/repos/etwillbefine/annotation-api/releases{/id}","created_at":"2015-10-03T20:46:24Z","updated_at":"2015-10-03T20:48:06Z","pushed_at":"2015-10-05T04:12:32Z","git_url":"git://github.com/etwillbefine/annotation-api.git","ssh_url":"git@github.com:etwillbefine/annotation-api.git","clone_url":"https://github.com/etwillbefine/annotation-api.git","svn_url":"https://github.com/etwillbefine/annotation-api","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"etwillbefine:master","ref":"master","sha":"19f73a894bb589950f6ce3bfc83a8f549409cac9","user":{"login":"etwillbefine","id":6608072,"avatar_url":"https://avatars.githubusercontent.com/u/6608072?v=3","gravatar_id":"","url":"https://api.github.com/users/etwillbefine","html_url":"https://github.com/etwillbefine","followers_url":"https://api.github.com/users/etwillbefine/followers","following_url":"https://api.github.com/users/etwillbefine/following{/other_user}","gists_url":"https://api.github.com/users/etwillbefine/gists{/gist_id}","starred_url":"https://api.github.com/users/etwillbefine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etwillbefine/subscriptions","organizations_url":"https://api.github.com/users/etwillbefine/orgs","repos_url":"https://api.github.com/users/etwillbefine/repos","events_url":"https://api.github.com/users/etwillbefine/events{/privacy}","received_events_url":"https://api.github.com/users/etwillbefine/received_events","type":"User","site_admin":false},"repo":{"id":43614315,"name":"annotation-api","full_name":"etwillbefine/annotation-api","owner":{"login":"etwillbefine","id":6608072,"avatar_url":"https://avatars.githubusercontent.com/u/6608072?v=3","gravatar_id":"","url":"https://api.github.com/users/etwillbefine","html_url":"https://github.com/etwillbefine","followers_url":"https://api.github.com/users/etwillbefine/followers","following_url":"https://api.github.com/users/etwillbefine/following{/other_user}","gists_url":"https://api.github.com/users/etwillbefine/gists{/gist_id}","starred_url":"https://api.github.com/users/etwillbefine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etwillbefine/subscriptions","organizations_url":"https://api.github.com/users/etwillbefine/orgs","repos_url":"https://api.github.com/users/etwillbefine/repos","events_url":"https://api.github.com/users/etwillbefine/events{/privacy}","received_events_url":"https://api.github.com/users/etwillbefine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/etwillbefine/annotation-api","description":"Define your routes with annotations","fork":false,"url":"https://api.github.com/repos/etwillbefine/annotation-api","forks_url":"https://api.github.com/repos/etwillbefine/annotation-api/forks","keys_url":"https://api.github.com/repos/etwillbefine/annotation-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/etwillbefine/annotation-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/etwillbefine/annotation-api/teams","hooks_url":"https://api.github.com/repos/etwillbefine/annotation-api/hooks","issue_events_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues/events{/number}","events_url":"https://api.github.com/repos/etwillbefine/annotation-api/events","assignees_url":"https://api.github.com/repos/etwillbefine/annotation-api/assignees{/user}","branches_url":"https://api.github.com/repos/etwillbefine/annotation-api/branches{/branch}","tags_url":"https://api.github.com/repos/etwillbefine/annotation-api/tags","blobs_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/etwillbefine/annotation-api/statuses/{sha}","languages_url":"https://api.github.com/repos/etwillbefine/annotation-api/languages","stargazers_url":"https://api.github.com/repos/etwillbefine/annotation-api/stargazers","contributors_url":"https://api.github.com/repos/etwillbefine/annotation-api/contributors","subscribers_url":"https://api.github.com/repos/etwillbefine/annotation-api/subscribers","subscription_url":"https://api.github.com/repos/etwillbefine/annotation-api/subscription","commits_url":"https://api.github.com/repos/etwillbefine/annotation-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/etwillbefine/annotation-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/etwillbefine/annotation-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/etwillbefine/annotation-api/contents/{+path}","compare_url":"https://api.github.com/repos/etwillbefine/annotation-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/etwillbefine/annotation-api/merges","archive_url":"https://api.github.com/repos/etwillbefine/annotation-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/etwillbefine/annotation-api/downloads","issues_url":"https://api.github.com/repos/etwillbefine/annotation-api/issues{/number}","pulls_url":"https://api.github.com/repos/etwillbefine/annotation-api/pulls{/number}","milestones_url":"https://api.github.com/repos/etwillbefine/annotation-api/milestones{/number}","notifications_url":"https://api.github.com/repos/etwillbefine/annotation-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/etwillbefine/annotation-api/labels{/name}","releases_url":"https://api.github.com/repos/etwillbefine/annotation-api/releases{/id}","created_at":"2015-10-03T20:46:24Z","updated_at":"2015-10-03T20:48:06Z","pushed_at":"2015-10-05T04:12:32Z","git_url":"git://github.com/etwillbefine/annotation-api.git","ssh_url":"git@github.com:etwillbefine/annotation-api.git","clone_url":"https://github.com/etwillbefine/annotation-api.git","svn_url":"https://github.com/etwillbefine/annotation-api","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/3"},"html":{"href":"https://github.com/etwillbefine/annotation-api/pull/3"},"issue":{"href":"https://api.github.com/repos/etwillbefine/annotation-api/issues/3"},"comments":{"href":"https://api.github.com/repos/etwillbefine/annotation-api/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/etwillbefine/annotation-api/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/etwillbefine/annotation-api/statuses/51712350ee678ce3bf9d4f06bf94d9fed31f4577"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":309,"deletions":149,"changed_files":12}}