{"action":"created","comment":{"url":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/comments/169972127","pull_request_review_id":98583273,"id":169972127,"diff_hunk":"@@ -85,6 +87,18 @@ public SwaggerAssert isEqualTo(String expectedLocation) {\n         return isEqualTo(new SwaggerParser().read(expectedLocation));\n     }\n \n+    /**\n+     * Verifies that the actual value is equal to the given one.\n+     * @param expectedLocation the location of the given value to compare the actual value to.\n+     * @param auths List of io.swagger.models.auth.AuthorizationValue for access to the expectedLocation\n+     * @return {@code this} assertion object.\n+     * @throws AssertionError if the actual value is not equal to the given one or if the actual value is {@code null}..\n+     */\n+    public SwaggerAssert isEqualTo(String expectedLocation, List<AuthorizationValue> auths) {\n+","path":"src/main/java/io/github/robwin/swagger/test/SwaggerAssert.java","position":26,"original_position":26,"commit_id":"854b12325ffecb3e9b1dcc0a56ffdbaf86cf65cc","original_commit_id":"854b12325ffecb3e9b1dcc0a56ffdbaf86cf65cc","user":{"login":"marcelstoer","id":624195,"avatar_url":"https://avatars0.githubusercontent.com/u/624195?v=4","gravatar_id":"","url":"https://api.github.com/users/marcelstoer","html_url":"https://github.com/marcelstoer","followers_url":"https://api.github.com/users/marcelstoer/followers","following_url":"https://api.github.com/users/marcelstoer/following{/other_user}","gists_url":"https://api.github.com/users/marcelstoer/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelstoer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelstoer/subscriptions","organizations_url":"https://api.github.com/users/marcelstoer/orgs","repos_url":"https://api.github.com/users/marcelstoer/repos","events_url":"https://api.github.com/users/marcelstoer/events{/privacy}","received_events_url":"https://api.github.com/users/marcelstoer/received_events","type":"User","site_admin":false},"body":"Why the extra blank line?","created_at":"2018-02-22T14:29:33Z","updated_at":"2018-02-22T14:29:33Z","html_url":"https://github.com/RobWin/assertj-swagger/pull/35#discussion_r169972127","pull_request_url":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/comments/169972127"},"html":{"href":"https://github.com/RobWin/assertj-swagger/pull/35#discussion_r169972127"},"pull_request":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35","id":170162543,"html_url":"https://github.com/RobWin/assertj-swagger/pull/35","diff_url":"https://github.com/RobWin/assertj-swagger/pull/35.diff","patch_url":"https://github.com/RobWin/assertj-swagger/pull/35.patch","issue_url":"https://api.github.com/repos/RobWin/assertj-swagger/issues/35","number":35,"state":"open","locked":false,"title":"Add new isEqualTo with auth for secured endpoints.","user":{"login":"jsfrench","id":1777455,"avatar_url":"https://avatars2.githubusercontent.com/u/1777455?v=4","gravatar_id":"","url":"https://api.github.com/users/jsfrench","html_url":"https://github.com/jsfrench","followers_url":"https://api.github.com/users/jsfrench/followers","following_url":"https://api.github.com/users/jsfrench/following{/other_user}","gists_url":"https://api.github.com/users/jsfrench/gists{/gist_id}","starred_url":"https://api.github.com/users/jsfrench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsfrench/subscriptions","organizations_url":"https://api.github.com/users/jsfrench/orgs","repos_url":"https://api.github.com/users/jsfrench/repos","events_url":"https://api.github.com/users/jsfrench/events{/privacy}","received_events_url":"https://api.github.com/users/jsfrench/received_events","type":"User","site_admin":false},"body":"Added a new isEqualTo method which supports authorization for accessing Swagger definitions stored at non-public URLs, e.g. private APIs on SwaggerHub.\r\nIt may be better not to require io.swagger.models.auth.AuthorizationValue as input to the assertj-swagger API, see what you think anyway.","created_at":"2018-02-20T11:12:47Z","updated_at":"2018-02-22T14:29:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a58837a69677a829501a91016b9cf977b15de14d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35/commits","review_comments_url":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35/comments","review_comment_url":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RobWin/assertj-swagger/issues/35/comments","statuses_url":"https://api.github.com/repos/RobWin/assertj-swagger/statuses/854b12325ffecb3e9b1dcc0a56ffdbaf86cf65cc","head":{"label":"jsfrench:feature/addAuth","ref":"feature/addAuth","sha":"854b12325ffecb3e9b1dcc0a56ffdbaf86cf65cc","user":{"login":"jsfrench","id":1777455,"avatar_url":"https://avatars2.githubusercontent.com/u/1777455?v=4","gravatar_id":"","url":"https://api.github.com/users/jsfrench","html_url":"https://github.com/jsfrench","followers_url":"https://api.github.com/users/jsfrench/followers","following_url":"https://api.github.com/users/jsfrench/following{/other_user}","gists_url":"https://api.github.com/users/jsfrench/gists{/gist_id}","starred_url":"https://api.github.com/users/jsfrench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsfrench/subscriptions","organizations_url":"https://api.github.com/users/jsfrench/orgs","repos_url":"https://api.github.com/users/jsfrench/repos","events_url":"https://api.github.com/users/jsfrench/events{/privacy}","received_events_url":"https://api.github.com/users/jsfrench/received_events","type":"User","site_admin":false},"repo":{"id":122085812,"name":"assertj-swagger","full_name":"jsfrench/assertj-swagger","owner":{"login":"jsfrench","id":1777455,"avatar_url":"https://avatars2.githubusercontent.com/u/1777455?v=4","gravatar_id":"","url":"https://api.github.com/users/jsfrench","html_url":"https://github.com/jsfrench","followers_url":"https://api.github.com/users/jsfrench/followers","following_url":"https://api.github.com/users/jsfrench/following{/other_user}","gists_url":"https://api.github.com/users/jsfrench/gists{/gist_id}","starred_url":"https://api.github.com/users/jsfrench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsfrench/subscriptions","organizations_url":"https://api.github.com/users/jsfrench/orgs","repos_url":"https://api.github.com/users/jsfrench/repos","events_url":"https://api.github.com/users/jsfrench/events{/privacy}","received_events_url":"https://api.github.com/users/jsfrench/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsfrench/assertj-swagger","description":"A Swagger assertj test library which compares a contract-first Swagger YAML/JSON file with a code-first Swagger JSON","fork":true,"url":"https://api.github.com/repos/jsfrench/assertj-swagger","forks_url":"https://api.github.com/repos/jsfrench/assertj-swagger/forks","keys_url":"https://api.github.com/repos/jsfrench/assertj-swagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsfrench/assertj-swagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsfrench/assertj-swagger/teams","hooks_url":"https://api.github.com/repos/jsfrench/assertj-swagger/hooks","issue_events_url":"https://api.github.com/repos/jsfrench/assertj-swagger/issues/events{/number}","events_url":"https://api.github.com/repos/jsfrench/assertj-swagger/events","assignees_url":"https://api.github.com/repos/jsfrench/assertj-swagger/assignees{/user}","branches_url":"https://api.github.com/repos/jsfrench/assertj-swagger/branches{/branch}","tags_url":"https://api.github.com/repos/jsfrench/assertj-swagger/tags","blobs_url":"https://api.github.com/repos/jsfrench/assertj-swagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsfrench/assertj-swagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsfrench/assertj-swagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsfrench/assertj-swagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsfrench/assertj-swagger/statuses/{sha}","languages_url":"https://api.github.com/repos/jsfrench/assertj-swagger/languages","stargazers_url":"https://api.github.com/repos/jsfrench/assertj-swagger/stargazers","contributors_url":"https://api.github.com/repos/jsfrench/assertj-swagger/contributors","subscribers_url":"https://api.github.com/repos/jsfrench/assertj-swagger/subscribers","subscription_url":"https://api.github.com/repos/jsfrench/assertj-swagger/subscription","commits_url":"https://api.github.com/repos/jsfrench/assertj-swagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsfrench/assertj-swagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsfrench/assertj-swagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsfrench/assertj-swagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsfrench/assertj-swagger/contents/{+path}","compare_url":"https://api.github.com/repos/jsfrench/assertj-swagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsfrench/assertj-swagger/merges","archive_url":"https://api.github.com/repos/jsfrench/assertj-swagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsfrench/assertj-swagger/downloads","issues_url":"https://api.github.com/repos/jsfrench/assertj-swagger/issues{/number}","pulls_url":"https://api.github.com/repos/jsfrench/assertj-swagger/pulls{/number}","milestones_url":"https://api.github.com/repos/jsfrench/assertj-swagger/milestones{/number}","notifications_url":"https://api.github.com/repos/jsfrench/assertj-swagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsfrench/assertj-swagger/labels{/name}","releases_url":"https://api.github.com/repos/jsfrench/assertj-swagger/releases{/id}","deployments_url":"https://api.github.com/repos/jsfrench/assertj-swagger/deployments","created_at":"2018-02-19T15:59:17Z","updated_at":"2018-02-19T15:59:18Z","pushed_at":"2018-02-20T11:04:54Z","git_url":"git://github.com/jsfrench/assertj-swagger.git","ssh_url":"git@github.com:jsfrench/assertj-swagger.git","clone_url":"https://github.com/jsfrench/assertj-swagger.git","svn_url":"https://github.com/jsfrench/assertj-swagger","homepage":"","size":202,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RobWin:master","ref":"master","sha":"6f2ea6860d829aa91be3de9a98ac68f118d1fb43","user":{"login":"RobWin","id":5815046,"avatar_url":"https://avatars0.githubusercontent.com/u/5815046?v=4","gravatar_id":"","url":"https://api.github.com/users/RobWin","html_url":"https://github.com/RobWin","followers_url":"https://api.github.com/users/RobWin/followers","following_url":"https://api.github.com/users/RobWin/following{/other_user}","gists_url":"https://api.github.com/users/RobWin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobWin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobWin/subscriptions","organizations_url":"https://api.github.com/users/RobWin/orgs","repos_url":"https://api.github.com/users/RobWin/repos","events_url":"https://api.github.com/users/RobWin/events{/privacy}","received_events_url":"https://api.github.com/users/RobWin/received_events","type":"User","site_admin":false},"repo":{"id":35221452,"name":"assertj-swagger","full_name":"RobWin/assertj-swagger","owner":{"login":"RobWin","id":5815046,"avatar_url":"https://avatars0.githubusercontent.com/u/5815046?v=4","gravatar_id":"","url":"https://api.github.com/users/RobWin","html_url":"https://github.com/RobWin","followers_url":"https://api.github.com/users/RobWin/followers","following_url":"https://api.github.com/users/RobWin/following{/other_user}","gists_url":"https://api.github.com/users/RobWin/gists{/gist_id}","starred_url":"https://api.github.com/users/RobWin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobWin/subscriptions","organizations_url":"https://api.github.com/users/RobWin/orgs","repos_url":"https://api.github.com/users/RobWin/repos","events_url":"https://api.github.com/users/RobWin/events{/privacy}","received_events_url":"https://api.github.com/users/RobWin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RobWin/assertj-swagger","description":"A Swagger assertj test library which compares a contract-first Swagger YAML/JSON file with a code-first Swagger JSON","fork":false,"url":"https://api.github.com/repos/RobWin/assertj-swagger","forks_url":"https://api.github.com/repos/RobWin/assertj-swagger/forks","keys_url":"https://api.github.com/repos/RobWin/assertj-swagger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RobWin/assertj-swagger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RobWin/assertj-swagger/teams","hooks_url":"https://api.github.com/repos/RobWin/assertj-swagger/hooks","issue_events_url":"https://api.github.com/repos/RobWin/assertj-swagger/issues/events{/number}","events_url":"https://api.github.com/repos/RobWin/assertj-swagger/events","assignees_url":"https://api.github.com/repos/RobWin/assertj-swagger/assignees{/user}","branches_url":"https://api.github.com/repos/RobWin/assertj-swagger/branches{/branch}","tags_url":"https://api.github.com/repos/RobWin/assertj-swagger/tags","blobs_url":"https://api.github.com/repos/RobWin/assertj-swagger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RobWin/assertj-swagger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RobWin/assertj-swagger/git/refs{/sha}","trees_url":"https://api.github.com/repos/RobWin/assertj-swagger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RobWin/assertj-swagger/statuses/{sha}","languages_url":"https://api.github.com/repos/RobWin/assertj-swagger/languages","stargazers_url":"https://api.github.com/repos/RobWin/assertj-swagger/stargazers","contributors_url":"https://api.github.com/repos/RobWin/assertj-swagger/contributors","subscribers_url":"https://api.github.com/repos/RobWin/assertj-swagger/subscribers","subscription_url":"https://api.github.com/repos/RobWin/assertj-swagger/subscription","commits_url":"https://api.github.com/repos/RobWin/assertj-swagger/commits{/sha}","git_commits_url":"https://api.github.com/repos/RobWin/assertj-swagger/git/commits{/sha}","comments_url":"https://api.github.com/repos/RobWin/assertj-swagger/comments{/number}","issue_comment_url":"https://api.github.com/repos/RobWin/assertj-swagger/issues/comments{/number}","contents_url":"https://api.github.com/repos/RobWin/assertj-swagger/contents/{+path}","compare_url":"https://api.github.com/repos/RobWin/assertj-swagger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RobWin/assertj-swagger/merges","archive_url":"https://api.github.com/repos/RobWin/assertj-swagger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RobWin/assertj-swagger/downloads","issues_url":"https://api.github.com/repos/RobWin/assertj-swagger/issues{/number}","pulls_url":"https://api.github.com/repos/RobWin/assertj-swagger/pulls{/number}","milestones_url":"https://api.github.com/repos/RobWin/assertj-swagger/milestones{/number}","notifications_url":"https://api.github.com/repos/RobWin/assertj-swagger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RobWin/assertj-swagger/labels{/name}","releases_url":"https://api.github.com/repos/RobWin/assertj-swagger/releases{/id}","deployments_url":"https://api.github.com/repos/RobWin/assertj-swagger/deployments","created_at":"2015-05-07T13:25:14Z","updated_at":"2018-02-19T15:51:57Z","pushed_at":"2018-02-22T14:27:20Z","git_url":"git://github.com/RobWin/assertj-swagger.git","ssh_url":"git@github.com:RobWin/assertj-swagger.git","clone_url":"https://github.com/RobWin/assertj-swagger.git","svn_url":"https://github.com/RobWin/assertj-swagger","homepage":"","size":207,"stargazers_count":101,"watchers_count":101,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":22,"open_issues":6,"watchers":101,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35"},"html":{"href":"https://github.com/RobWin/assertj-swagger/pull/35"},"issue":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/issues/35"},"comments":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/RobWin/assertj-swagger/statuses/854b12325ffecb3e9b1dcc0a56ffdbaf86cf65cc"}},"author_association":"NONE"}}
{"actor":{"display_login":"marcelstoer"}}