forked from loafle/openapi-generator-original
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();
|
int code = response.getStatusLine().getStatusCode();
|
||||||
String responseString = null;
|
String responseString = null;
|
||||||
if(code == 204)
|
if(code == 204) {
|
||||||
responseString = "";
|
responseString = "";
|
||||||
|
return responseString;
|
||||||
|
}
|
||||||
else if(code >= 200 && code < 300) {
|
else if(code >= 200 && code < 300) {
|
||||||
if(response.getEntity() != null) {
|
if(response.getEntity() != null) {
|
||||||
HttpEntity resEntity = response.getEntity();
|
HttpEntity resEntity = response.getEntity();
|
||||||
|
@ -365,8 +365,10 @@ public class ApiInvoker {
|
|||||||
|
|
||||||
int code = response.getStatusLine().getStatusCode();
|
int code = response.getStatusLine().getStatusCode();
|
||||||
String responseString = null;
|
String responseString = null;
|
||||||
if(code == 204)
|
if(code == 204) {
|
||||||
responseString = "";
|
responseString = "";
|
||||||
|
return responseString;
|
||||||
|
}
|
||||||
else if(code >= 200 && code < 300) {
|
else if(code >= 200 && code < 300) {
|
||||||
if(response.getEntity() != null) {
|
if(response.getEntity() != null) {
|
||||||
HttpEntity resEntity = response.getEntity();
|
HttpEntity resEntity = response.getEntity();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user