forked from loafle/openapi-generator-original
Fix problem when uploading file using form-data in jersey2 client (#12563)
* Fix problem when uploading file using form-data in jersey2 client * Remove serialization that is not required for most cases * Small fix
This commit is contained in:
committed by
GitHub
parent
14aef2c93d
commit
45f430f5c8
@@ -1218,7 +1218,12 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
|
||||
queryParams,
|
||||
allHeaderParams,
|
||||
cookieParams,
|
||||
{{#hasHttpSignatureMethods}}
|
||||
serializeToString(body, formParams, contentType, isBodyNullable),
|
||||
{{/hasHttpSignatureMethods}}
|
||||
{{^hasHttpSignatureMethods}}
|
||||
null,
|
||||
{{/hasHttpSignatureMethods}}
|
||||
method,
|
||||
target.getUri());
|
||||
|
||||
|
||||
@@ -1139,7 +1139,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
queryParams,
|
||||
allHeaderParams,
|
||||
cookieParams,
|
||||
serializeToString(body, formParams, contentType, isBodyNullable),
|
||||
null,
|
||||
method,
|
||||
target.getUri());
|
||||
|
||||
|
||||
@@ -1139,7 +1139,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
queryParams,
|
||||
allHeaderParams,
|
||||
cookieParams,
|
||||
serializeToString(body, formParams, contentType, isBodyNullable),
|
||||
null,
|
||||
method,
|
||||
target.getUri());
|
||||
|
||||
|
||||
@@ -1069,7 +1069,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
queryParams,
|
||||
allHeaderParams,
|
||||
cookieParams,
|
||||
serializeToString(body, formParams, contentType, isBodyNullable),
|
||||
null,
|
||||
method,
|
||||
target.getUri());
|
||||
|
||||
|
||||
@@ -1014,7 +1014,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
queryParams,
|
||||
allHeaderParams,
|
||||
cookieParams,
|
||||
serializeToString(body, formParams, contentType, isBodyNullable),
|
||||
null,
|
||||
method,
|
||||
target.getUri());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user