Page MenuHomePhabricator

💥️ Update the OpenAPI schema
Closed, ResolvedPublic

Description

  • Add optional context field to error responses (ContextError)
  • Add new error response examples
  • Remove any error response examples that no longer exist (e.g. invalid-statement-data and patched-statement-invalid)

Event Timeline

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

[mediawiki/extensions/Wikibase@master] REST: Update OAS for improved error reports

https://gerrit.wikimedia.org/r/870696

Change 870696 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Update OAS for improved error reports

https://gerrit.wikimedia.org/r/870696