Added check for hasHttpSignatureMethods. (#14339)

This commit is contained in:
s-jepsen 2023-01-04 08:26:06 +01:00 committed by GitHub
parent babfdff78a
commit cce3c963f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1234,7 +1234,12 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
queryParams, queryParams,
allHeaderParams, allHeaderParams,
cookieParams, cookieParams,
{{#hasHttpSignatureMethods}}
serializeToString(body, formParams, contentType, isBodyNullable), serializeToString(body, formParams, contentType, isBodyNullable),
{{/hasHttpSignatureMethods}}
{{^hasHttpSignatureMethods}}
null,
{{/hasHttpSignatureMethods}}
method, method,
target.getUri()); target.getUri());