We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fb2a97 commit 7484604Copy full SHA for 7484604
samples/client/petstore/android-java/src/main/java/io/swagger/client/ApiInvoker.java
@@ -365,8 +365,10 @@ else if ("PATCH".equals(method)) {
365
366
int code = response.getStatusLine().getStatusCode();
367
String responseString = null;
368
- if(code == 204)
+ if(code == 204) {
369
responseString = "";
370
+ return responseString;
371
+ }
372
else if(code >= 200 && code < 300) {
373
if(response.getEntity() != null) {
374
HttpEntity resEntity = response.getEntity();
0 commit comments