forked from loafle/openapi-generator-original
Co-authored-by: Grigory Tihonov <grigory.tihonov@lamoda.ru>
This commit is contained in:
parent
73b0762f36
commit
e598d1afe7
@ -189,7 +189,7 @@ import {{packageName}}.infrastructure.toMultiValue
|
|||||||
}}{{#bodyParams}}{{{paramName}}}{{/bodyParams}}{{/hasBodyParam}}{{^hasBodyParam}}{{!
|
}}{{#bodyParams}}{{{paramName}}}{{/bodyParams}}{{/hasBodyParam}}{{^hasBodyParam}}{{!
|
||||||
}}{{^hasFormParams}}null{{/hasFormParams}}{{!
|
}}{{^hasFormParams}}null{{/hasFormParams}}{{!
|
||||||
}}{{#hasFormParams}}mapOf({{#formParams}}
|
}}{{#hasFormParams}}mapOf({{#formParams}}
|
||||||
"{{{baseName}}}" to PartConfig(body = {{{paramName}}}, headers = mutableMapOf({{#contentType}}"Content-Type" to "{{contentType}}"{{/contentType}})),{{!
|
"{{{baseName}}}" to PartConfig(body = {{{paramName}}}{{#isEnum}}.value{{/isEnum}}, headers = mutableMapOf({{#contentType}}"Content-Type" to "{{contentType}}"{{/contentType}})),{{!
|
||||||
}}{{/formParams}}){{/hasFormParams}}{{!
|
}}{{/formParams}}){{/hasFormParams}}{{!
|
||||||
}}{{/hasBodyParam}}
|
}}{{/hasBodyParam}}
|
||||||
val localVariableQuery: MultiValueMap = {{^hasQueryParams}}mutableMapOf()
|
val localVariableQuery: MultiValueMap = {{^hasQueryParams}}mutableMapOf()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user