mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
Merge remote-tracking branch 'origin/master' into java-global-security
This commit is contained in:
commit
65e63a8c52
@ -365,8 +365,10 @@ public class ApiInvoker {
|
||||
|
||||
int code = response.getStatusLine().getStatusCode();
|
||||
String responseString = null;
|
||||
if(code == 204)
|
||||
if(code == 204) {
|
||||
responseString = "";
|
||||
return responseString;
|
||||
}
|
||||
else if(code >= 200 && code < 300) {
|
||||
if(response.getEntity() != null) {
|
||||
HttpEntity resEntity = response.getEntity();
|
||||
|
@ -365,8 +365,10 @@ public class ApiInvoker {
|
||||
|
||||
int code = response.getStatusLine().getStatusCode();
|
||||
String responseString = null;
|
||||
if(code == 204)
|
||||
if(code == 204) {
|
||||
responseString = "";
|
||||
return responseString;
|
||||
}
|
||||
else if(code >= 200 && code < 300) {
|
||||
if(response.getEntity() != null) {
|
||||
HttpEntity resEntity = response.getEntity();
|
||||
|
Loading…
Reference in New Issue
Block a user