File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-ktor
samples/client/petstore/kotlin-jvm-ktor-gson/src/main/kotlin/org/openapitools/client/apis Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -69,10 +69,10 @@ import com.fasterxml.jackson.databind.ObjectMapper
6969 { {^isArray} }
7070 { {^isString} }
7171 { {^isNumber} }
72- { {{paramName} }}?.apply { append(" {{{baseName}}}" , {{{paramName} }}? .toString()) }
72+ { {{paramName} }}?.apply { append(" {{{baseName}}}" , {{{paramName} }}.toString()) }
7373 { {/isNumber} }
7474 { {#isNumber} }
75- { {{paramName} }}?.apply { append(" {{{baseName}}}" , {{{paramName} }}? .toString()) }
75+ { {{paramName} }}?.apply { append(" {{{baseName}}}" , {{{paramName} }}.toString()) }
7676 { {/isNumber} }
7777 { {/isString} }
7878 { {#isString} }
@@ -98,10 +98,10 @@ import com.fasterxml.jackson.databind.ObjectMapper
9898 { {^isArray} }
9999 { {^isString} }
100100 { {^isNumber} }
101- { {{paramName} }}?.apply { it.append(" {{{baseName}}}" , {{{paramName} }}? .toString()) }
101+ { {{paramName} }}?.apply { it.append(" {{{baseName}}}" , {{{paramName} }}.toString()) }
102102 { {/isNumber} }
103103 { {#isNumber} }
104- { {{paramName} }}?.apply { it.append(" {{{baseName}}}" , {{{paramName} }}? .toString()) }
104+ { {{paramName} }}?.apply { it.append(" {{{baseName}}}" , {{{paramName} }}.toString()) }
105105 { {/isNumber} }
106106 { {/isString} }
107107 { {#isString} }
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ import java.text.DateFormat
8787 val localVariableBody =
8888 ParametersBuilder ().also {
8989 name?.apply { it.append(" name" , name) }
90- status?.apply { it.append(" status" , status? .toString()) }
91- status2?.apply { it.append(" status2" , status2? .toString()) }
90+ status?.apply { it.append(" status" , status.toString()) }
91+ status2?.apply { it.append(" status2" , status2.toString()) }
9292 }.build()
9393
9494 val localVariableQuery = mutableMapOf<String , List <String >>()
You can’t perform that action at this time.
0 commit comments