Skip to content

Commit 6293788

Browse files
committed
regenerated samples
1 parent 93368f2 commit 6293788

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • samples/client

samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478
if (encoding.isPresent()) {
479479
for (String token : encoding.get().split(",")) {
480480
if ("gzip".equalsIgnoreCase(token.trim())) {
481-
return new GZIPInputStream(body);
481+
return new GZIPInputStream(body, 8192);
482482
}
483483
}
484484
}

samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478
if (encoding.isPresent()) {
479479
for (String token : encoding.get().split(",")) {
480480
if ("gzip".equalsIgnoreCase(token.trim())) {
481-
return new GZIPInputStream(body);
481+
return new GZIPInputStream(body, 8192);
482482
}
483483
}
484484
}

samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478
if (encoding.isPresent()) {
479479
for (String token : encoding.get().split(",")) {
480480
if ("gzip".equalsIgnoreCase(token.trim())) {
481-
return new GZIPInputStream(body);
481+
return new GZIPInputStream(body, 8192);
482482
}
483483
}
484484
}

samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ public static InputStream getResponseBody(HttpResponse<InputStream> response) th
478478
if (encoding.isPresent()) {
479479
for (String token : encoding.get().split(",")) {
480480
if ("gzip".equalsIgnoreCase(token.trim())) {
481-
return new GZIPInputStream(body);
481+
return new GZIPInputStream(body, 8192);
482482
}
483483
}
484484
}

0 commit comments

Comments
 (0)