forked from loafle/openapi-generator-original
issue-890 correct fix for deprecated Jersey method
additionally - fixed EnumValueTest to the directory structure based on the declared package - regenerated samples/client/java/jersey1
This commit is contained in:
@@ -609,7 +609,7 @@ public class ApiClient {
|
||||
statusCode = response.getStatusInfo().getStatusCode();
|
||||
responseHeaders = response.getHeaders();
|
||||
|
||||
if(response.getStatusInfo() == ClientResponse.Status.NO_CONTENT) {
|
||||
if(response.getStatusInfo().getStatusCode() == ClientResponse.Status.NO_CONTENT.getStatusCode()) {
|
||||
return null;
|
||||
} else if (response.getStatusInfo().getFamily() == Family.SUCCESSFUL) {
|
||||
if (returnType == null)
|
||||
|
||||
Reference in New Issue
Block a user