On investigating why a unit test failed with
Operation returned an invalid status code \'UnsupportedMediaType\'
I discovered that Autorest was not generating code