3xx and 4xx statuses the spec does not mention, usually auth or not-found cases.
Show 14 findings
GET /orgs/{org}/blocks > response 401
status 401 is not documented for "GET /orgs/{org}/blocks"
GET /orgs/gitea/blocks → 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 /orgs/{org}/blocks.
- If the implementation is the source of truth: Add a "401" response under paths["/orgs/{org}/blocks"].get.responses.
GET /orgs/{org}/blocks/{username} > response 401
status 401 is not documented for "GET /orgs/{org}/blocks/{username}"
GET /orgs/gitea/blocks/gitea → 401 application/json;charset=utf-8
expected ["204","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (204, 404) from GET /orgs/{org}/blocks/{username}.
- If the implementation is the source of truth: Add a "401" response under paths["/orgs/{org}/blocks/{username}"].get.responses.
GET /orgs/{org}/labels/{id} > response 401
status 401 is not documented for "GET /orgs/{org}/labels/{id}"
GET /orgs/gitea/labels/1 → 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 /orgs/{org}/labels/{id}.
- If the implementation is the source of truth: Add a "401" response under paths["/orgs/{org}/labels/{id}"].get.responses.
GET /packages/{owner} > response 401
status 401 is not documented for "GET /packages/{owner}"
GET /packages/gitea → 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 /packages/{owner}.
- If the implementation is the source of truth: Add a "401" response under paths["/packages/{owner}"].get.responses.
GET /repos/{owner}/{repo}/actions/jobs > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/actions/jobs"
GET /repos/gitea/tea/actions/jobs → 401 application/json;charset=utf-8
expected ["200","400","404","422"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 400, 404, 422) from GET /repos/{owner}/{repo}/actions/jobs.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/actions/jobs"].get.responses.
GET /repos/{owner}/{repo}/actions/runners > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/actions/runners"
GET /repos/gitea/tea/actions/runners → 401 application/json;charset=utf-8
expected ["200","400","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 400, 404) from GET /repos/{owner}/{repo}/actions/runners.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/actions/runners"].get.responses.
GET /repos/{owner}/{repo}/actions/runs > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/actions/runs"
GET /repos/gitea/tea/actions/runs → 401 application/json;charset=utf-8
expected ["200","400","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 400, 404) from GET /repos/{owner}/{repo}/actions/runs.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/actions/runs"].get.responses.
GET /repos/{owner}/{repo}/actions/secrets > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/actions/secrets"
GET /repos/gitea/tea/actions/secrets → 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}/actions/secrets.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/actions/secrets"].get.responses.
GET /repos/{owner}/{repo}/actions/variables > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/actions/variables"
GET /repos/gitea/tea/actions/variables → 401 application/json;charset=utf-8
expected ["200","400","404"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 400, 404) from GET /repos/{owner}/{repo}/actions/variables.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/actions/variables"].get.responses.
GET /repos/{owner}/{repo}/actions/workflows > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/actions/workflows"
GET /repos/gitea/tea/actions/workflows → 401 application/json;charset=utf-8
expected ["200","400","403","404","422","500"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 400, 403, 404, 422, 500) from GET /repos/{owner}/{repo}/actions/workflows.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/actions/workflows"].get.responses.
GET /repos/{owner}/{repo}/assignees > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/assignees"
GET /repos/gitea/tea/assignees → 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}/assignees.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/assignees"].get.responses.
GET /repos/{owner}/{repo}/branch_protections > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branch_protections"
GET /repos/gitea/tea/branch_protections → 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}/branch_protections.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branch_protections"].get.responses.
GET /repos/{owner}/{repo}/branch_protections/{name} > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/branch_protections/{name}"
GET /repos/gitea/tea/branch_protections/gitea → 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}/branch_protections/{name}.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/branch_protections/{name}"].get.responses.
GET /repos/{owner}/{repo}/collaborators > response 401
status 401 is not documented for "GET /repos/{owner}/{repo}/collaborators"
GET /repos/gitea/tea/collaborators → 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}/collaborators.
- If the implementation is the source of truth: Add a "401" response under paths["/repos/{owner}/{repo}/collaborators"].get.responses.