{"action":"created","comment":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/comments/30997954","id":30997954,"diff_hunk":"@@ -44,15 +44,15 @@\n     private Contact contact;\n \n     /** Contract of this API. */\n-    private Contract contract;\n+    private Contract contract = new Contract();\n \n     /**\n      * Endpoints on which one can access the Web API.\n      */\n-    private List<Endpoint> endpoints;\n+    private List<Endpoint> endpoints = new ArrayList<>();\n \n     /** A list of the keywords describing the Web API */\n-    private List<String> keywords;\n+    private List<String> keywords = new ArrayList<>();","path":"modules/org.restlet.ext.apispark/src/org/restlet/ext/apispark/internal/model/Definition.java","position":15,"original_position":15,"commit_id":"cb6adde73e0019124d5b55700b3ea59f2f71c973","original_commit_id":"cb6adde73e0019124d5b55700b3ea59f2f71c973","user":{"login":"boillodmanuel","id":621455,"avatar_url":"https://avatars.githubusercontent.com/u/621455?v=3","gravatar_id":"","url":"https://api.github.com/users/boillodmanuel","html_url":"https://github.com/boillodmanuel","followers_url":"https://api.github.com/users/boillodmanuel/followers","following_url":"https://api.github.com/users/boillodmanuel/following{/other_user}","gists_url":"https://api.github.com/users/boillodmanuel/gists{/gist_id}","starred_url":"https://api.github.com/users/boillodmanuel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boillodmanuel/subscriptions","organizations_url":"https://api.github.com/users/boillodmanuel/orgs","repos_url":"https://api.github.com/users/boillodmanuel/repos","events_url":"https://api.github.com/users/boillodmanuel/events{/privacy}","received_events_url":"https://api.github.com/users/boillodmanuel/received_events","type":"User","site_admin":false},"body":"should the keywords never be null? I don't think so.","created_at":"2015-05-25T23:54:07Z","updated_at":"2015-05-25T23:54:07Z","html_url":"https://github.com/restlet/restlet-framework-java/pull/1075#discussion_r30997954","pull_request_url":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075","_links":{"self":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/comments/30997954"},"html":{"href":"https://github.com/restlet/restlet-framework-java/pull/1075#discussion_r30997954"},"pull_request":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075"}}},"pull_request":{"url":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075","id":36011630,"html_url":"https://github.com/restlet/restlet-framework-java/pull/1075","diff_url":"https://github.com/restlet/restlet-framework-java/pull/1075.diff","patch_url":"https://github.com/restlet/restlet-framework-java/pull/1075.patch","issue_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1075","number":1075,"state":"open","locked":false,"title":"Add Swagger 2.0 import","user":{"login":"quilicicf","id":5594303,"avatar_url":"https://avatars.githubusercontent.com/u/5594303?v=3","gravatar_id":"","url":"https://api.github.com/users/quilicicf","html_url":"https://github.com/quilicicf","followers_url":"https://api.github.com/users/quilicicf/followers","following_url":"https://api.github.com/users/quilicicf/following{/other_user}","gists_url":"https://api.github.com/users/quilicicf/gists{/gist_id}","starred_url":"https://api.github.com/users/quilicicf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quilicicf/subscriptions","organizations_url":"https://api.github.com/users/quilicicf/orgs","repos_url":"https://api.github.com/users/quilicicf/repos","events_url":"https://api.github.com/users/quilicicf/events{/privacy}","received_events_url":"https://api.github.com/users/quilicicf/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-22T08:56:09Z","updated_at":"2015-05-25T23:54:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fcf759ce2e87e8d431af2bdcb7a2c34ebb2002a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075/commits","review_comments_url":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075/comments","review_comment_url":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1075/comments","statuses_url":"https://api.github.com/repos/restlet/restlet-framework-java/statuses/cb6adde73e0019124d5b55700b3ea59f2f71c973","head":{"label":"quilicicf:3.9_3645_import_swagger_2","ref":"3.9_3645_import_swagger_2","sha":"cb6adde73e0019124d5b55700b3ea59f2f71c973","user":{"login":"quilicicf","id":5594303,"avatar_url":"https://avatars.githubusercontent.com/u/5594303?v=3","gravatar_id":"","url":"https://api.github.com/users/quilicicf","html_url":"https://github.com/quilicicf","followers_url":"https://api.github.com/users/quilicicf/followers","following_url":"https://api.github.com/users/quilicicf/following{/other_user}","gists_url":"https://api.github.com/users/quilicicf/gists{/gist_id}","starred_url":"https://api.github.com/users/quilicicf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quilicicf/subscriptions","organizations_url":"https://api.github.com/users/quilicicf/orgs","repos_url":"https://api.github.com/users/quilicicf/repos","events_url":"https://api.github.com/users/quilicicf/events{/privacy}","received_events_url":"https://api.github.com/users/quilicicf/received_events","type":"User","site_admin":false},"repo":{"id":32996274,"name":"restlet-framework-java","full_name":"quilicicf/restlet-framework-java","owner":{"login":"quilicicf","id":5594303,"avatar_url":"https://avatars.githubusercontent.com/u/5594303?v=3","gravatar_id":"","url":"https://api.github.com/users/quilicicf","html_url":"https://github.com/quilicicf","followers_url":"https://api.github.com/users/quilicicf/followers","following_url":"https://api.github.com/users/quilicicf/following{/other_user}","gists_url":"https://api.github.com/users/quilicicf/gists{/gist_id}","starred_url":"https://api.github.com/users/quilicicf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quilicicf/subscriptions","organizations_url":"https://api.github.com/users/quilicicf/orgs","repos_url":"https://api.github.com/users/quilicicf/repos","events_url":"https://api.github.com/users/quilicicf/events{/privacy}","received_events_url":"https://api.github.com/users/quilicicf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quilicicf/restlet-framework-java","description":"Leading REST Framework for Java","fork":true,"url":"https://api.github.com/repos/quilicicf/restlet-framework-java","forks_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/forks","keys_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/teams","hooks_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/hooks","issue_events_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/issues/events{/number}","events_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/events","assignees_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/assignees{/user}","branches_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/branches{/branch}","tags_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/tags","blobs_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/statuses/{sha}","languages_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/languages","stargazers_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/stargazers","contributors_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/contributors","subscribers_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/subscribers","subscription_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/subscription","commits_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/contents/{+path}","compare_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/merges","archive_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/downloads","issues_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/issues{/number}","pulls_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/pulls{/number}","milestones_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/milestones{/number}","notifications_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/labels{/name}","releases_url":"https://api.github.com/repos/quilicicf/restlet-framework-java/releases{/id}","created_at":"2015-03-27T16:12:37Z","updated_at":"2015-03-27T16:12:47Z","pushed_at":"2015-05-25T16:34:28Z","git_url":"git://github.com/quilicicf/restlet-framework-java.git","ssh_url":"git@github.com:quilicicf/restlet-framework-java.git","clone_url":"https://github.com/quilicicf/restlet-framework-java.git","svn_url":"https://github.com/quilicicf/restlet-framework-java","homepage":"http://restlet.com","size":440747,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"restlet:apispark-3.9","ref":"apispark-3.9","sha":"25b144dc3142151d1c06482504000bf722537248","user":{"login":"restlet","id":374452,"avatar_url":"https://avatars.githubusercontent.com/u/374452?v=3","gravatar_id":"","url":"https://api.github.com/users/restlet","html_url":"https://github.com/restlet","followers_url":"https://api.github.com/users/restlet/followers","following_url":"https://api.github.com/users/restlet/following{/other_user}","gists_url":"https://api.github.com/users/restlet/gists{/gist_id}","starred_url":"https://api.github.com/users/restlet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restlet/subscriptions","organizations_url":"https://api.github.com/users/restlet/orgs","repos_url":"https://api.github.com/users/restlet/repos","events_url":"https://api.github.com/users/restlet/events{/privacy}","received_events_url":"https://api.github.com/users/restlet/received_events","type":"Organization","site_admin":false},"repo":{"id":2996995,"name":"restlet-framework-java","full_name":"restlet/restlet-framework-java","owner":{"login":"restlet","id":374452,"avatar_url":"https://avatars.githubusercontent.com/u/374452?v=3","gravatar_id":"","url":"https://api.github.com/users/restlet","html_url":"https://github.com/restlet","followers_url":"https://api.github.com/users/restlet/followers","following_url":"https://api.github.com/users/restlet/following{/other_user}","gists_url":"https://api.github.com/users/restlet/gists{/gist_id}","starred_url":"https://api.github.com/users/restlet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/restlet/subscriptions","organizations_url":"https://api.github.com/users/restlet/orgs","repos_url":"https://api.github.com/users/restlet/repos","events_url":"https://api.github.com/users/restlet/events{/privacy}","received_events_url":"https://api.github.com/users/restlet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/restlet/restlet-framework-java","description":"Leading REST Framework for Java","fork":false,"url":"https://api.github.com/repos/restlet/restlet-framework-java","forks_url":"https://api.github.com/repos/restlet/restlet-framework-java/forks","keys_url":"https://api.github.com/repos/restlet/restlet-framework-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/restlet/restlet-framework-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/restlet/restlet-framework-java/teams","hooks_url":"https://api.github.com/repos/restlet/restlet-framework-java/hooks","issue_events_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/events{/number}","events_url":"https://api.github.com/repos/restlet/restlet-framework-java/events","assignees_url":"https://api.github.com/repos/restlet/restlet-framework-java/assignees{/user}","branches_url":"https://api.github.com/repos/restlet/restlet-framework-java/branches{/branch}","tags_url":"https://api.github.com/repos/restlet/restlet-framework-java/tags","blobs_url":"https://api.github.com/repos/restlet/restlet-framework-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/restlet/restlet-framework-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/restlet/restlet-framework-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/restlet/restlet-framework-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/restlet/restlet-framework-java/statuses/{sha}","languages_url":"https://api.github.com/repos/restlet/restlet-framework-java/languages","stargazers_url":"https://api.github.com/repos/restlet/restlet-framework-java/stargazers","contributors_url":"https://api.github.com/repos/restlet/restlet-framework-java/contributors","subscribers_url":"https://api.github.com/repos/restlet/restlet-framework-java/subscribers","subscription_url":"https://api.github.com/repos/restlet/restlet-framework-java/subscription","commits_url":"https://api.github.com/repos/restlet/restlet-framework-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/restlet/restlet-framework-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/restlet/restlet-framework-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/restlet/restlet-framework-java/contents/{+path}","compare_url":"https://api.github.com/repos/restlet/restlet-framework-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/restlet/restlet-framework-java/merges","archive_url":"https://api.github.com/repos/restlet/restlet-framework-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/restlet/restlet-framework-java/downloads","issues_url":"https://api.github.com/repos/restlet/restlet-framework-java/issues{/number}","pulls_url":"https://api.github.com/repos/restlet/restlet-framework-java/pulls{/number}","milestones_url":"https://api.github.com/repos/restlet/restlet-framework-java/milestones{/number}","notifications_url":"https://api.github.com/repos/restlet/restlet-framework-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/restlet/restlet-framework-java/labels{/name}","releases_url":"https://api.github.com/repos/restlet/restlet-framework-java/releases{/id}","created_at":"2011-12-16T19:04:58Z","updated_at":"2015-05-20T07:16:27Z","pushed_at":"2015-05-25T16:07:14Z","git_url":"git://github.com/restlet/restlet-framework-java.git","ssh_url":"git@github.com:restlet/restlet-framework-java.git","clone_url":"https://github.com/restlet/restlet-framework-java.git","svn_url":"https://github.com/restlet/restlet-framework-java","homepage":"http://restlet.com","size":506680,"stargazers_count":292,"watchers_count":292,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":151,"mirror_url":null,"open_issues_count":739,"forks":151,"open_issues":739,"watchers":292,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075"},"html":{"href":"https://github.com/restlet/restlet-framework-java/pull/1075"},"issue":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1075"},"comments":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/issues/1075/comments"},"review_comments":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075/comments"},"review_comment":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/pulls/1075/commits"},"statuses":{"href":"https://api.github.com/repos/restlet/restlet-framework-java/statuses/cb6adde73e0019124d5b55700b3ea59f2f71c973"}}}}