The new error should follow this format:
"code": "invalid-value", "message": "Invalid value at '{json-pointer}'", "context": { "path": "{json-pointer}" }
Note: remember to check if the OAS needs updating as well.
The new error should follow this format:
"code": "invalid-value", "message": "Invalid value at '{json-pointer}'", "context": { "path": "{json-pointer}" }
Note: remember to check if the OAS needs updating as well.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
REST: Replace label-empty errors with invalid-value | mediawiki/extensions/Wikibase | master | +27 -77 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ifrahkhanyaree_WMDE | T366181 🚫 [Generalised error] invalid-value in request body | |||
Resolved | Jakob_WMDE | T369067 🚫 Replace `label-empty` errors with generic `invalid-value` error |
Change #1052704 had a related patch set uploaded (by Jakob; author: Jakob):
[mediawiki/extensions/Wikibase@master] REST: Replace label-empty errors with invalid-value
Change #1052704 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] REST: Replace label-empty errors with invalid-value