@goast/kotlin 0.5.11-beta.1 → 0.5.11-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,7 @@ export class DefaultKotlinSpringReactiveWebClientGenerator extends KotlinFileGen
103
103
  const parameterNames = parameters.map((p) => toCasing(p.name, ctx.config.parameterNameCasing));
104
104
  result.values.push(s `return ${kt.call([
105
105
  kt.call(['this', requestFunctionName], parameterNames),
106
- kt.call(['awaitExchange'], ['responseHandler']),
106
+ kt.call([kt.refs.springReactive.awaitExchange()], ['responseHandler']),
107
107
  ])}`);
108
108
  return result;
109
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goast/kotlin",
3
- "version": "0.5.11-beta.1",
3
+ "version": "0.5.11-beta.2",
4
4
  "description": "Provides gOAst generators for generating Kotlin code from OpenAPI specifications.",
5
5
  "author": {
6
6
  "name": "Marc Schmidt (MaSch0212)",
@@ -106,7 +106,7 @@ class DefaultKotlinSpringReactiveWebClientGenerator extends file_generator_js_1.
106
106
  const parameterNames = parameters.map((p) => (0, core_1.toCasing)(p.name, ctx.config.parameterNameCasing));
107
107
  result.values.push((0, core_1.builderTemplate) `return ${index_js_1.kt.call([
108
108
  index_js_1.kt.call(['this', requestFunctionName], parameterNames),
109
- index_js_1.kt.call(['awaitExchange'], ['responseHandler']),
109
+ index_js_1.kt.call([index_js_1.kt.refs.springReactive.awaitExchange()], ['responseHandler']),
110
110
  ])}`);
111
111
  return result;
112
112
  }