When using the resttemplate library for a java client with an endpoint to download a binary file the generated code does not work. It throws and error that no ...
if (responseEntity.getStatusCode().is2xxSuccessful()) { return responseEntity; } else { // The error handler built into the RestTemplate should handle 400 and 500 ...