Skip to content

Commit 684c110

Browse files
committed
fix one more place
1 parent f0cb2a4 commit 684c110

File tree

2 files changed

+2
-2
lines changed
  • modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley
  • samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/apis

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{#isFormParam}}{{{paramName}}}: {{{dataType}}}{{#required}}{{#defaultValue}} = {{^isNumber}}{{#lambda.escapeDollar}}{{{defaultValue}}}{{/lambda.escapeDollar}}{{/isNumber}}{{#isNumber}}{{{dataType}}}("{{{defaultValue}}}"){{/isNumber}}{{/defaultValue}}{{/required}}{{^required}}?{{#defaultValue}} = {{^isNumber}}{{{defaultValue}}}{{/isNumber}}{{#isNumber}}{{{dataType}}}("{{{defaultValue}}}"){{/isNumber}}{{/defaultValue}}{{^defaultValue}} = null{{/defaultValue}}{{/required}}{{/isFormParam}}
1+
{{#isFormParam}}{{{paramName}}}: {{{dataType}}}{{#required}}{{#defaultValue}} = {{^isNumber}}{{#lambda.escapeDollar}}{{{defaultValue}}}{{/lambda.escapeDollar}}{{/isNumber}}{{#isNumber}}{{{dataType}}}("{{{defaultValue}}}"){{/isNumber}}{{/defaultValue}}{{/required}}{{^required}}?{{#defaultValue}} = {{^isNumber}}{{#lambda.escapeDollar}}{{{defaultValue}}}{{/lambda.escapeDollar}}{{/isNumber}}{{#isNumber}}{{{dataType}}}("{{{defaultValue}}}"){{/isNumber}}{{/defaultValue}}{{^defaultValue}} = null{{/defaultValue}}{{/required}}{{/isFormParam}}

samples/client/petstore/kotlin-jvm-volley/src/main/java/org/openapitools/client/apis/DefaultApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class DefaultApi (
116116
* @param formDollarValue SQ = \\\"; SBS = \\\\; DBS = \\\\\\\\; SD = $some (optional, default to "SQ = \"; SBS = \\; DBS = \\\\; SD = $some")
117117
* @return ItemWithDollarAttributesAndExamples
118118
*/
119-
suspend fun itemsPost(xPostHeader: kotlin.String? = null, formDollarName: kotlin.String? = null, formDollarValue: kotlin.String? = "SQ = \"; SBS = \\; DBS = \\\\; SD = $some"): ItemWithDollarAttributesAndExamples? {
119+
suspend fun itemsPost(xPostHeader: kotlin.String? = null, formDollarName: kotlin.String? = null, formDollarValue: kotlin.String? = "SQ = \"; SBS = \\; DBS = \\\\; SD = \$some"): ItemWithDollarAttributesAndExamples? {
120120
val body: Any? = null
121121

122122
val contentTypes : Array<String> = arrayOf("application/x-www-form-urlencoded")

0 commit comments

Comments
 (0)