@goast/kotlin 0.3.5 → 0.3.7
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.
|
@@ -269,7 +269,7 @@ class DefaultKotlinSpringControllerGenerator extends file_generator_1.KotlinFile
|
|
|
269
269
|
var _a, _b;
|
|
270
270
|
const { parameter } = args;
|
|
271
271
|
if ((_a = parameter.multipart) === null || _a === void 0 ? void 0 : _a.isFile) {
|
|
272
|
-
return ast_1.kt.refs.
|
|
272
|
+
return ast_1.kt.refs.spring.filePart();
|
|
273
273
|
}
|
|
274
274
|
const type = this.getTypeUsage(ctx, {
|
|
275
275
|
schema: parameter.schema,
|
|
@@ -265,7 +265,7 @@ export class DefaultKotlinSpringControllerGenerator extends KotlinFileGenerator
|
|
|
265
265
|
var _a, _b;
|
|
266
266
|
const { parameter } = args;
|
|
267
267
|
if ((_a = parameter.multipart) === null || _a === void 0 ? void 0 : _a.isFile) {
|
|
268
|
-
return kt.refs.
|
|
268
|
+
return kt.refs.spring.filePart();
|
|
269
269
|
}
|
|
270
270
|
const type = this.getTypeUsage(ctx, {
|
|
271
271
|
schema: parameter.schema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goast/kotlin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"repository": "https://github.com/MaSch0212/goast.git",
|
|
5
5
|
"description": "Provides gOAst generators for generating Kotlin code from OpenAPI specifications.",
|
|
6
6
|
"keywords": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"fs-extra": "^11.2.0",
|
|
26
26
|
"node-fetch": "^2.7.0",
|
|
27
27
|
"yaml": "^2.4.5",
|
|
28
|
-
"@goast/core": "0.3.
|
|
28
|
+
"@goast/core": "0.3.4",
|
|
29
29
|
"tslib": "2.6.3"
|
|
30
30
|
},
|
|
31
31
|
"packageManager": "pnpm@9.5.0",
|