Some responses are expected to have an empty response body and in such cases our docs should simply not show examples for response bodies. They currently show an example saying "string" which is confusing.
Example:
in https://doc.wikimedia.org/Wikibase/master/js/rest-api/#/items/getItem
This was likely caused by an update to the latest version of swagger-ui, the software that generates the docs based on the spec.
Possible solutions:
- attempt to fix upstream. https://github.com/swagger-api/swagger-ui/issues/9199 is the relevant issue.
- work around it somehow