Page MenuHomePhabricator

🟦 Add OpenAPI spec validation tests for error responses
Closed, ResolvedPublic


Based on the spec changes for error responses in Gerrit patch 770444, new OpenAPI validation tests are needed to cover the error responses:

  • for the 400 case (Bad Request, validation errors) ✅️ Done
  • for the 404 case (Not Found) ✅️ Done
  • for the 500 case (Unexpected error) ❌️ no spec validation test, as the response can't be triggered from outside

Event Timeline

Change 771860 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Add OpenAPI schema tests for error responses

The 404 change is ready for review now.

Change 771860 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Add OpenAPI schema tests for error responses

Silvan_WMDE updated the task description. (Show Details)
Silvan_WMDE moved this task from Doing to Done on the Wikibase Product Platform (v1) (Sprint 2) board.