3xx and 4xx statuses the spec does not mention, usually auth or not-found cases.
Show 9 findings
GET /account/loan-history.json > response 303
status 303 is not documented for "GET /account/loan-history.json"
GET /account/loan-history.json?page=1 → 303 text/html
expected ["200","422"] actual 303
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /account/loan-history.json.
- If the implementation is the source of truth: Add a "303" response under paths["/account/loan-history.json"].get.responses.
GET /account/loans.json > response 303
status 303 is not documented for "GET /account/loans.json"
GET /account/loans.json → 303 text/html
expected ["200"] actual 303
- If the spec is the source of truth: Return one of the documented statuses (200) from GET /account/loans.json.
- If the implementation is the source of truth: Add a "303" response under paths["/account/loans.json"].get.responses.
GET /import/preview.json > response 401
status 401 is not documented for "GET /import/preview.json"
GET /import/preview.json → 401 application/json
expected ["200","422"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /import/preview.json.
- If the implementation is the source of truth: Add a "401" response under paths["/import/preview.json"].get.responses.
GET /lists/{olid}/editions.json > response 404
status 404 is not documented for "GET /lists/{olid}/editions.json"
GET /lists/OL1L/editions.json?limit=50&offset=0 → 404 application/json
expected ["200","422"] actual 404
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /lists/{olid}/editions.json.
- If the implementation is the source of truth: Add a "404" response under paths["/lists/{olid}/editions.json"].get.responses.
GET /lists/{olid}/seeds.json > response 404
status 404 is not documented for "GET /lists/{olid}/seeds.json"
GET /lists/OL1L/seeds.json → 404 application/json
expected ["200","422"] actual 404
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /lists/{olid}/seeds.json.
- If the implementation is the source of truth: Add a "404" response under paths["/lists/{olid}/seeds.json"].get.responses.
GET /lists/{olid}/subjects.json > response 404
status 404 is not documented for "GET /lists/{olid}/subjects.json"
GET /lists/OL1L/subjects.json?limit=20 → 404 application/json
expected ["200","422"] actual 404
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /lists/{olid}/subjects.json.
- If the implementation is the source of truth: Add a "404" response under paths["/lists/{olid}/subjects.json"].get.responses.
GET /reading-goal.json > response 401
status 401 is not documented for "GET /reading-goal.json"
GET /reading-goal.json → 401 application/json
expected ["200","422"] actual 401
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /reading-goal.json.
- If the implementation is the source of truth: Add a "401" response under paths["/reading-goal.json"].get.responses.
GET /search/editions.json > response 404
status 404 is not documented for "GET /search/editions.json"
GET /search/editions.json?fields=cover_i,ebook_access,isbn,key,language,publish_date,publisher,subtitle,title,work_key&limit=100&q=the lord of the rings&sort=&work_key=/works/OL82536W → 404
expected ["200","422"] actual 404
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /search/editions.json.
- If the implementation is the source of truth: Add a "404" response under paths["/search/editions.json"].get.responses.
GET /series/{olid}/editions.json > response 404
status 404 is not documented for "GET /series/{olid}/editions.json"
GET /series/OL1L/editions.json?limit=50&offset=0 → 404 application/json
expected ["200","422"] actual 404
- If the spec is the source of truth: Return one of the documented statuses (200, 422) from GET /series/{olid}/editions.json.
- If the implementation is the source of truth: Add a "404" response under paths["/series/{olid}/editions.json"].get.responses.