From cce3c963f3e70b464f8f1a7beabda225e337dc08 Mon Sep 17 00:00:00 2001 From: s-jepsen <56965038+s-jepsen@users.noreply.github.com> Date: Wed, 4 Jan 2023 08:26:06 +0100 Subject: [PATCH] Added check for hasHttpSignatureMethods. (#14339) --- .../main/resources/Java/libraries/jersey3/ApiClient.mustache | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/ApiClient.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/ApiClient.mustache index 769f1d96c764..6e93ab629d56 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/ApiClient.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/ApiClient.mustache @@ -1234,7 +1234,12 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} { queryParams, allHeaderParams, cookieParams, + {{#hasHttpSignatureMethods}} serializeToString(body, formParams, contentType, isBodyNullable), + {{/hasHttpSignatureMethods}} + {{^hasHttpSignatureMethods}} + null, + {{/hasHttpSignatureMethods}} method, target.getUri());