3xx and 4xx statuses the spec does not mention, usually auth or not-found cases.
Show 28 findings
GET /repos/{owner}/{repo}/branches/{branch}/protection > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection"
GET /repos/octocat/Hello-World/branches/master/protection → 401 application/json; charset=utf-8
expected ["200","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"
GET /repos/octocat/Hello-World/branches/master/protection/enforce_admins → 401 application/json; charset=utf-8
expected ["200"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200) from GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"
GET /repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews → 401 application/json; charset=utf-8
expected ["200"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200) from GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"
GET /repos/octocat/Hello-World/branches/master/protection/required_signatures → 401 application/json; charset=utf-8
expected ["200","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
GET /repos/octocat/Hello-World/branches/master/protection/required_status_checks → 401 application/json; charset=utf-8
expected ["200","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"
GET /repos/octocat/Hello-World/branches/master/protection/required_status_checks/contexts → 401 application/json; charset=utf-8
expected ["200","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"
GET /repos/octocat/Hello-World/branches/master/protection/restrictions → 401 application/json; charset=utf-8
expected ["200","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/restrictions"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"
GET /repos/octocat/Hello-World/branches/master/protection/restrictions/apps → 401 application/json; charset=utf-8
expected ["200","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"
GET /repos/octocat/Hello-World/branches/master/protection/restrictions/teams → 403 application/json; charset=utf-8
expected ["200","404"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"].get.responses.
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"
GET /repos/octocat/Hello-World/branches/master/protection/restrictions/users → 403 application/json; charset=utf-8
expected ["200","404"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"].get.responses.
GET /repos/{owner}/{repo}/commits > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits"
GET /repos/octocat/Hello-World/commits?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","400","404","409","422","429","500"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 400, 404, 409, 422, 429, 500) from GET /repos/{owner}/{repo}/commits.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits"].get.responses.
GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"
GET /repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/branches-where-head → 403 application/json; charset=utf-8
expected ["200","409","422"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 409, 422) from GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"].get.responses.
GET /repos/{owner}/{repo}/commits/{commit_sha}/comments > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"
GET /repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200) from GET /repos/{owner}/{repo}/commits/{commit_sha}/comments.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{commit_sha}/comments"].get.responses.
GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"
GET /repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/pulls?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","409"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 409) from GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{commit_sha}/pulls"].get.responses.
GET /repos/{owner}/{repo}/commits/{ref} > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{ref}"
GET /repos/octocat/Hello-World/commits/master?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","404","409","422","429","500","503"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 404, 409, 422, 429, 500, 503) from GET /repos/{owner}/{repo}/commits/{ref}.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{ref}"].get.responses.
GET /repos/{owner}/{repo}/commits/{ref}/check-runs > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{ref}/check-runs"
GET /repos/octocat/Hello-World/commits/master/check-runs?filter=latest&page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200) from GET /repos/{owner}/{repo}/commits/{ref}/check-runs.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{ref}/check-runs"].get.responses.
GET /repos/{owner}/{repo}/commits/{ref}/check-suites > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{ref}/check-suites"
GET /repos/octocat/Hello-World/commits/master/check-suites?app_id=1&page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200) from GET /repos/{owner}/{repo}/commits/{ref}/check-suites.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{ref}/check-suites"].get.responses.
GET /repos/{owner}/{repo}/commits/{ref}/status > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{ref}/status"
GET /repos/octocat/Hello-World/commits/master/status?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","404"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 404) from GET /repos/{owner}/{repo}/commits/{ref}/status.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{ref}/status"].get.responses.
GET /repos/{owner}/{repo}/commits/{ref}/statuses > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/commits/{ref}/statuses"
GET /repos/octocat/Hello-World/commits/master/statuses?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","301"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 301) from GET /repos/{owner}/{repo}/commits/{ref}/statuses.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/commits/{ref}/statuses"].get.responses.
GET /repos/{owner}/{repo}/issues > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues"
GET /repos/octocat/Hello-World/issues?direction=desc&page=1&per_page=30&sort=created&state=open → 403 application/json; charset=utf-8
expected ["200","301","404","422"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 301, 404, 422) from GET /repos/{owner}/{repo}/issues.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number} > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}"
GET /repos/octocat/Hello-World/issues/1 → 403 application/json; charset=utf-8
expected ["200","301","304","404","410"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 301, 304, 404, 410) from GET /repos/{owner}/{repo}/issues/{issue_number}.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number}/artifacts > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}/artifacts"
GET /repos/octocat/Hello-World/issues/1/artifacts?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","404","410","503"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 404, 410, 503) from GET /repos/{owner}/{repo}/issues/{issue_number}/artifacts.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}/artifacts"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number}/comments > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}/comments"
GET /repos/octocat/Hello-World/issues/1/comments?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","404","410"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 404, 410) from GET /repos/{owner}/{repo}/issues/{issue_number}/comments.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}/comments"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"
GET /repos/octocat/Hello-World/issues/1/dependencies/blocked_by?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","301","404","410"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 301, 404, 410) from GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"
GET /repos/octocat/Hello-World/issues/1/dependencies/blocking?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","301","404","410"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 301, 404, 410) from GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number}/events > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}/events"
GET /repos/octocat/Hello-World/issues/1/events?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","410"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 410) from GET /repos/{owner}/{repo}/issues/{issue_number}/events.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}/events"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values"
GET /repos/octocat/Hello-World/issues/1/issue-field-values?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","301","404","410"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 301, 404, 410) from GET /repos/{owner}/{repo}/issues/{issue_number}/issue-field-values.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}/issue-field-values"].get.responses.
GET /repos/{owner}/{repo}/issues/{issue_number}/labels > response 403
status 403 is not documented for "GET /repos/{owner}/{repo}/issues/{issue_number}/labels"
GET /repos/octocat/Hello-World/issues/1/labels?page=1&per_page=30 → 403 application/json; charset=utf-8
expected ["200","301","404","410"] actual 403
- If the spec is the source of truth: Return one of the documented statuses (200, 301, 404, 410) from GET /repos/{owner}/{repo}/issues/{issue_number}/labels.
- If the implementation is the source of truth: Add a "403" response under paths["/repos/{owner}/{repo}/issues/{issue_number}/labels"].get.responses.