test/api: Check responses for all supported content types
In order to catch possible issues for accepted content types different
from application/json
, add helper test functions to also check Web API
HTML responses (documentation) and YAML responses.
Closes #2529 (closed)
Migrated from D3835 (view on Phabricator)