Skip to content

Commit 13deac7

Browse files
updated comment in async response interceptor
1 parent 27f1469 commit 13deac7

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

  • modules/openapi-generator/src/main/resources/Java/libraries/native
  • samples/client

modules/openapi-generator/src/main/resources/Java/libraries/native/ApiClient.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ public class ApiClient {
392392
* Set a custom async response interceptor. Use this interceptor when asyncNative is set to 'true'.
393393
*
394394
* <p>This is useful for logging, monitoring or extraction of header variables</p>
395-
* <p>If you are using the UnaryInterceptor you can even manipulate the response to a certain degree</p>
395+
*{{#useUnaryInterceptor}} <p>If you are using the UnaryInterceptor you can even manipulate the response to a certain degree</p>{{/useUnaryInterceptor}}
396396
* @param interceptor A function invoked before creating each request. A value
397397
* of null resets the interceptor to a no-op.
398398
* @return This object.

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
@@ -381,7 +381,7 @@ public Consumer<HttpResponse<InputStream>> getResponseInterceptor() {
381381
* Set a custom async response interceptor. Use this interceptor when asyncNative is set to 'true'.
382382
*
383383
* <p>This is useful for logging, monitoring or extraction of header variables</p>
384-
* <p>If you are using the UnaryInterceptor you can even manipulate the response to a certain degree</p>
384+
*
385385
* @param interceptor A function invoked before creating each request. A value
386386
* of null resets the interceptor to a no-op.
387387
* @return This object.

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
@@ -381,7 +381,7 @@ public Consumer<HttpResponse<InputStream>> getResponseInterceptor() {
381381
* Set a custom async response interceptor. Use this interceptor when asyncNative is set to 'true'.
382382
*
383383
* <p>This is useful for logging, monitoring or extraction of header variables</p>
384-
* <p>If you are using the UnaryInterceptor you can even manipulate the response to a certain degree</p>
384+
*
385385
* @param interceptor A function invoked before creating each request. A value
386386
* of null resets the interceptor to a no-op.
387387
* @return This object.

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
@@ -381,7 +381,7 @@ public Consumer<HttpResponse<InputStream>> getResponseInterceptor() {
381381
* Set a custom async response interceptor. Use this interceptor when asyncNative is set to 'true'.
382382
*
383383
* <p>This is useful for logging, monitoring or extraction of header variables</p>
384-
* <p>If you are using the UnaryInterceptor you can even manipulate the response to a certain degree</p>
384+
*
385385
* @param interceptor A function invoked before creating each request. A value
386386
* of null resets the interceptor to a no-op.
387387
* @return This object.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public Consumer<HttpResponse<InputStream>> getResponseInterceptor() {
381381
* Set a custom async response interceptor. Use this interceptor when asyncNative is set to 'true'.
382382
*
383383
* <p>This is useful for logging, monitoring or extraction of header variables</p>
384-
* <p>If you are using the UnaryInterceptor you can even manipulate the response to a certain degree</p>
384+
*
385385
* @param interceptor A function invoked before creating each request. A value
386386
* of null resets the interceptor to a no-op.
387387
* @return This object.

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
@@ -381,7 +381,7 @@ public Consumer<HttpResponse<InputStream>> getResponseInterceptor() {
381381
* Set a custom async response interceptor. Use this interceptor when asyncNative is set to 'true'.
382382
*
383383
* <p>This is useful for logging, monitoring or extraction of header variables</p>
384-
* <p>If you are using the UnaryInterceptor you can even manipulate the response to a certain degree</p>
384+
*
385385
* @param interceptor A function invoked before creating each request. A value
386386
* of null resets the interceptor to a no-op.
387387
* @return This object.

0 commit comments

Comments
 (0)