Examples of the request and the corresponding response don't always match in our swagger docs. This is something that should be fixed, in order to ensure quality documentation
As an example see here: https://doc.wikimedia.org/Wikibase/master/js/rest-api/#/statements/patchPropertyStatement