@goast/kotlin 0.4.9 → 0.4.10
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.
- package/{script/deps/jsr.io/@std/expect/1.0.12 → esm/deps/jsr.io/@std/expect/1.0.13}/_assert_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_is_error.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_not_equals.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assertions.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_asymmetric_matchers.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_build_message.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_custom_equality_tester.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_equal.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_extend.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_inspect_args.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_matchers.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_mock_util.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_serializer.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_types.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_utils.d.ts.map +1 -1
- package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/expect.d.ts.map +1 -1
- package/esm/src/ast/nodes/annotation.test.js +1 -1
- package/esm/src/ast/nodes/argument.test.js +1 -1
- package/esm/src/ast/nodes/call.test.js +1 -1
- package/esm/src/ast/nodes/class.test.js +1 -1
- package/esm/src/ast/nodes/constructor.test.js +1 -1
- package/esm/src/ast/nodes/doc-tag.test.js +1 -1
- package/esm/src/ast/nodes/doc.test.js +1 -1
- package/esm/src/ast/nodes/enum-value.test.js +1 -1
- package/esm/src/ast/nodes/enum.test.js +1 -1
- package/esm/src/ast/nodes/function.test.js +1 -1
- package/esm/src/ast/nodes/generic-parameter.test.js +1 -1
- package/esm/src/ast/nodes/init-block.test.js +1 -1
- package/esm/src/ast/nodes/interface.test.js +1 -1
- package/esm/src/ast/nodes/object.test.js +1 -1
- package/esm/src/ast/nodes/parameter.test.js +1 -1
- package/esm/src/ast/nodes/property.test.js +1 -1
- package/esm/src/ast/nodes/reference.test.js +1 -1
- package/esm/src/ast/nodes/string.test.js +1 -1
- package/esm/src/ast/references/spring.d.ts +1 -0
- package/esm/src/ast/references/spring.d.ts.map +1 -1
- package/esm/src/ast/references/spring.js +1 -0
- package/esm/src/generators/services/spring-controllers/spring-controller-generator.d.ts.map +1 -1
- package/esm/src/generators/services/spring-controllers/spring-controller-generator.js +10 -1
- package/esm/src/import-collection.test.js +1 -1
- package/package.json +1 -1
- package/{esm/deps/jsr.io/@std/expect/1.0.12 → script/deps/jsr.io/@std/expect/1.0.13}/_assert_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_is_error.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_not_equals.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assertions.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_asymmetric_matchers.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_build_message.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_custom_equality_tester.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_equal.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_extend.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_inspect_args.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_matchers.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_mock_util.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_serializer.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_types.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_utils.d.ts.map +1 -1
- package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/expect.d.ts.map +1 -1
- package/script/src/ast/nodes/annotation.test.js +1 -1
- package/script/src/ast/nodes/argument.test.js +1 -1
- package/script/src/ast/nodes/call.test.js +1 -1
- package/script/src/ast/nodes/class.test.js +1 -1
- package/script/src/ast/nodes/constructor.test.js +1 -1
- package/script/src/ast/nodes/doc-tag.test.js +1 -1
- package/script/src/ast/nodes/doc.test.js +1 -1
- package/script/src/ast/nodes/enum-value.test.js +1 -1
- package/script/src/ast/nodes/enum.test.js +1 -1
- package/script/src/ast/nodes/function.test.js +1 -1
- package/script/src/ast/nodes/generic-parameter.test.js +1 -1
- package/script/src/ast/nodes/init-block.test.js +1 -1
- package/script/src/ast/nodes/interface.test.js +1 -1
- package/script/src/ast/nodes/object.test.js +1 -1
- package/script/src/ast/nodes/parameter.test.js +1 -1
- package/script/src/ast/nodes/property.test.js +1 -1
- package/script/src/ast/nodes/reference.test.js +1 -1
- package/script/src/ast/nodes/string.test.js +1 -1
- package/script/src/ast/references/spring.d.ts +1 -0
- package/script/src/ast/references/spring.d.ts.map +1 -1
- package/script/src/ast/references/spring.js +2 -1
- package/script/src/generators/services/spring-controllers/spring-controller-generator.d.ts.map +1 -1
- package/script/src/generators/services/spring-controllers/spring-controller-generator.js +10 -1
- package/script/src/import-collection.test.js +1 -1
- package/src/src/ast/nodes/annotation.test.ts +1 -1
- package/src/src/ast/nodes/argument.test.ts +1 -1
- package/src/src/ast/nodes/call.test.ts +1 -1
- package/src/src/ast/nodes/class.test.ts +1 -1
- package/src/src/ast/nodes/constructor.test.ts +1 -1
- package/src/src/ast/nodes/doc-tag.test.ts +1 -1
- package/src/src/ast/nodes/doc.test.ts +1 -1
- package/src/src/ast/nodes/enum-value.test.ts +1 -1
- package/src/src/ast/nodes/enum.test.ts +1 -1
- package/src/src/ast/nodes/function.test.ts +1 -1
- package/src/src/ast/nodes/generic-parameter.test.ts +1 -1
- package/src/src/ast/nodes/init-block.test.ts +1 -1
- package/src/src/ast/nodes/interface.test.ts +1 -1
- package/src/src/ast/nodes/object.test.ts +1 -1
- package/src/src/ast/nodes/parameter.test.ts +1 -1
- package/src/src/ast/nodes/property.test.ts +1 -1
- package/src/src/ast/nodes/reference.test.ts +1 -1
- package/src/src/ast/nodes/string.test.ts +1 -1
- package/src/src/ast/references/spring.ts +4 -0
- package/src/src/generators/services/spring-controllers/spring-controller-generator.ts +10 -1
- package/src/src/import-collection.test.ts +1 -1
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_is_error.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_is_error.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_not_equals.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_not_equals.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assertions.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assertions.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_asymmetric_matchers.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_asymmetric_matchers.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_build_message.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_build_message.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_custom_equality_tester.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_custom_equality_tester.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_equal.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_equal.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_extend.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_extend.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_inspect_args.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_inspect_args.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_matchers.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_matchers.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_mock_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_mock_util.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_serializer.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_serializer.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_utils.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_utils.js +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/expect.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/expect.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_equals.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_is_error.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_is_error.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_not_equals.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_not_equals.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assertions.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assertions.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_asymmetric_matchers.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_asymmetric_matchers.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_build_message.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_build_message.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_custom_equality_tester.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_custom_equality_tester.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_equal.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_equal.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_extend.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_extend.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_inspect_args.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_inspect_args.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_matchers.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_matchers.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_mock_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_mock_util.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_serializer.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_serializer.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_types.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_utils.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_utils.js +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/expect.d.ts +0 -0
- /package/script/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/expect.js +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_equals.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_is_error.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assert_not_equals.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_assertions.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_asymmetric_matchers.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_build_message.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_custom_equality_tester.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_equal.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_extend.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_inspect_args.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_matchers.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_mock_util.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_serializer.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_types.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/_utils.ts +0 -0
- /package/src/deps/jsr.io/@std/expect/{1.0.12 → 1.0.13}/expect.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
5
5
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
6
6
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
7
7
|
const argument_js_1 = require("./argument.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
5
5
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
6
6
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
7
7
|
const call_js_1 = require("./call.js");
|
|
@@ -4,7 +4,7 @@ require("../../../_dnt.test_polyfills.js");
|
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
5
|
const core_1 = require("@goast/core");
|
|
6
6
|
const test_utils_1 = require("@goast/test-utils");
|
|
7
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
7
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
8
8
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
9
9
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
10
10
|
const annotation_js_1 = require("./annotation.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const test_utils_1 = require("@goast/test-utils");
|
|
8
8
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
5
5
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
6
6
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
7
7
|
const doc_tag_js_1 = require("./doc-tag.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
8
8
|
const doc_tag_js_1 = require("./doc-tag.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const test_utils_1 = require("@goast/test-utils");
|
|
8
8
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const test_utils_1 = require("@goast/test-utils");
|
|
8
8
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
8
8
|
const annotation_js_1 = require("./annotation.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
5
5
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
6
6
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
7
7
|
const generic_parameter_js_1 = require("./generic-parameter.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
8
8
|
const init_block_js_1 = require("./init-block.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const test_utils_1 = require("@goast/test-utils");
|
|
8
8
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
8
8
|
const object_js_1 = require("./object.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
8
8
|
const annotation_js_1 = require("./annotation.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const test_utils_1 = require("@goast/test-utils");
|
|
8
8
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
5
5
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
6
6
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
7
7
|
const reference_js_1 = require("./reference.js");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../../../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const file_builder_js_1 = require("../../file-builder.js");
|
|
8
8
|
const string_js_1 = require("./string.js");
|
|
@@ -5,6 +5,7 @@ export declare const responseEntity: KtGenericReferenceFactory<1>;
|
|
|
5
5
|
export declare const filePart: KtReferenceFactory;
|
|
6
6
|
export declare const controller: KtReferenceFactory;
|
|
7
7
|
export declare const multiValueMap: KtGenericReferenceFactory<2>;
|
|
8
|
+
export declare const linkedMultiValueMap: KtGenericReferenceFactory<2>;
|
|
8
9
|
export declare const validated: KtReferenceFactory;
|
|
9
10
|
export declare const pathVariable: KtReferenceFactory;
|
|
10
11
|
export declare const requestBody: KtReferenceFactory;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spring.d.ts","sourceRoot":"","sources":["../../../../src/src/ast/references/spring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,yBAAyB,EAAe,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG7G,eAAO,MAAM,SAAS,EAAE,kBAGvB,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,kBAAkF,CAAC;AAC5G,eAAO,MAAM,cAAc,EAAE,yBAAyB,CAAC,CAAC,CAGvD,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,kBAAgG,CAAC;AAGxH,eAAO,MAAM,UAAU,EAAE,kBAAwF,CAAC;AAGlH,eAAO,MAAM,aAAa,EAAE,yBAAyB,CAAC,CAAC,CAGtD,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,kBAGvB,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AACF,eAAO,MAAM,cAAc,EAAE,kBAG5B,CAAC;AACF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AACF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC"}
|
|
1
|
+
{"version":3,"file":"spring.d.ts","sourceRoot":"","sources":["../../../../src/src/ast/references/spring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,yBAAyB,EAAe,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG7G,eAAO,MAAM,SAAS,EAAE,kBAGvB,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,kBAAkF,CAAC;AAC5G,eAAO,MAAM,cAAc,EAAE,yBAAyB,CAAC,CAAC,CAGvD,CAAC;AAGF,eAAO,MAAM,QAAQ,EAAE,kBAAgG,CAAC;AAGxH,eAAO,MAAM,UAAU,EAAE,kBAAwF,CAAC;AAGlH,eAAO,MAAM,aAAa,EAAE,yBAAyB,CAAC,CAAC,CAGtD,CAAC;AACF,eAAO,MAAM,mBAAmB,EAAE,yBAAyB,CAAC,CAAC,CAG5D,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,kBAGvB,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AACF,eAAO,MAAM,cAAc,EAAE,kBAG5B,CAAC;AACF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AACF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AACF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nativeWebRequest = exports.requestPart = exports.requestParam = exports.requestMethod = exports.requestMapping = exports.requestBody = exports.pathVariable = exports.validated = exports.multiValueMap = exports.controller = exports.filePart = exports.responseEntity = exports.httpStatus = exports.autowired = void 0;
|
|
3
|
+
exports.nativeWebRequest = exports.requestPart = exports.requestParam = exports.requestMethod = exports.requestMapping = exports.requestBody = exports.pathVariable = exports.validated = exports.linkedMultiValueMap = exports.multiValueMap = exports.controller = exports.filePart = exports.responseEntity = exports.httpStatus = exports.autowired = void 0;
|
|
4
4
|
const reference_js_1 = require("../nodes/reference.js");
|
|
5
5
|
// org.springframework.beans.factory.annotation
|
|
6
6
|
exports.autowired = reference_js_1.ktReference.factory('Autowired', 'org.springframework.beans.factory.annotation');
|
|
@@ -13,6 +13,7 @@ exports.filePart = reference_js_1.ktReference.factory('FilePart', 'org.springfra
|
|
|
13
13
|
exports.controller = reference_js_1.ktReference.factory('Controller', 'org.springframework.stereotype');
|
|
14
14
|
// org.springframework.util
|
|
15
15
|
exports.multiValueMap = reference_js_1.ktReference.genericFactory('MultiValueMap', 'org.springframework.util');
|
|
16
|
+
exports.linkedMultiValueMap = reference_js_1.ktReference.genericFactory('LinkedMultiValueMap', 'org.springframework.util');
|
|
16
17
|
// org.springframework.validation.annotation
|
|
17
18
|
exports.validated = reference_js_1.ktReference.factory('Validated', 'org.springframework.validation.annotation');
|
|
18
19
|
// org.springframework.web.bind.annotation
|
package/script/src/generators/services/spring-controllers/spring-controller-generator.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spring-controller-generator.d.ts","sourceRoot":"","sources":["../../../../../src/src/generators/services/spring-controllers/spring-controller-generator.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,KAAK,gBAAgB,EAIrB,KAAK,YAAY,EAGjB,aAAa,EAEd,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAEvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,KAAK,EAAE,0CAA0C,IA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F,SAAS,CAAC,cAAc,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,cAAc,GAAG,MAAM;IAO1E,SAAS,CAAC,wBAAwB,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,wBAAwB,GAAG,MAAM;IAK7F,SAAS,CAAC,mBAAmB,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,mBAAmB,GAAG,MAAM;IAIpF,SAAS,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,oBAAoB,GAAG,MAAM;IAItF,SAAS,CAAC,2BAA2B,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,2BAA2B,GAAG,MAAM;IAIpG,SAAS,CAAC,gBAAgB,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,gBAAgB,GAAG,6BAA6B,EAAE;IAuDtG,OAAO,CAAC,kBAAkB;CAgB3B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,GAAG,CAAC,CAQ1D"}
|
|
@@ -221,9 +221,11 @@ class DefaultKotlinSpringControllerGenerator extends file_generator_js_1.KotlinF
|
|
|
221
221
|
...endpoint.responses.map((x) => x.statusCode),
|
|
222
222
|
].filter(core_1.notNullish)))
|
|
223
223
|
.map((code) => {
|
|
224
|
+
var _a;
|
|
224
225
|
const fnName = (0, core_1.toCasing)((0, http_status_codes_1.getReasonPhrase)(code), ctx.config.functionNameCasing);
|
|
225
226
|
const response = endpoint.responses.find((x) => x.statusCode === code);
|
|
226
227
|
const responseType = response ? this.getResponseType(ctx, { endpoint, response }) : undefined;
|
|
228
|
+
const contentType = (_a = response === null || response === void 0 ? void 0 : response.contentOptions.find((x) => x.schema)) === null || _a === void 0 ? void 0 : _a.type;
|
|
227
229
|
const hasResponseBody = responseType && !index_js_1.kt.refs.unit.matches(responseType);
|
|
228
230
|
return index_js_1.kt.function(fnName, {
|
|
229
231
|
parameters: [
|
|
@@ -238,7 +240,14 @@ class DefaultKotlinSpringControllerGenerator extends file_generator_js_1.KotlinF
|
|
|
238
240
|
], [
|
|
239
241
|
hasResponseBody ? index_js_1.kt.argument('body') : index_js_1.kt.toNode(null),
|
|
240
242
|
index_js_1.kt.toNode(code),
|
|
241
|
-
|
|
243
|
+
contentType
|
|
244
|
+
? (0, core_1.builderTemplate) `${index_js_1.kt.refs.spring.linkedMultiValueMap([index_js_1.kt.refs.string(), index_js_1.kt.refs.string()])}().also {
|
|
245
|
+
if (headers != null) {
|
|
246
|
+
it.putAll(headers)
|
|
247
|
+
}
|
|
248
|
+
it.addIfAbsent("Content-Type", ${index_js_1.kt.string(contentType)})
|
|
249
|
+
}`
|
|
250
|
+
: index_js_1.kt.argument('headers'),
|
|
242
251
|
]),
|
|
243
252
|
});
|
|
244
253
|
}),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
require("../_dnt.test_polyfills.js");
|
|
4
4
|
const node_os_1 = require("node:os");
|
|
5
|
-
const expect_js_1 = require("../deps/jsr.io/@std/expect/1.0.
|
|
5
|
+
const expect_js_1 = require("../deps/jsr.io/@std/expect/1.0.13/expect.js");
|
|
6
6
|
const bdd_js_1 = require("../deps/jsr.io/@std/testing/1.0.9/bdd.js");
|
|
7
7
|
const core_1 = require("@goast/core");
|
|
8
8
|
const import_collection_js_1 = require("./import-collection.js");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
2
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
3
3
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
4
4
|
|
|
5
5
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
2
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
3
3
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
4
4
|
|
|
5
5
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -4,7 +4,7 @@ import { EOL } from 'node:os';
|
|
|
4
4
|
import { appendValueGroup } from '@goast/core';
|
|
5
5
|
import { normalizeEOL } from '@goast/test-utils';
|
|
6
6
|
|
|
7
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
7
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
8
8
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
9
9
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
10
10
|
import { ktAnnotation } from './annotation.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { normalizeEOL } from '@goast/test-utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
2
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
3
3
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
4
4
|
|
|
5
5
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { normalizeEOL } from '@goast/test-utils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { normalizeEOL } from '@goast/test-utils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
2
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
3
3
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
4
4
|
|
|
5
5
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { normalizeEOL } from '@goast/test-utils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { normalizeEOL } from '@goast/test-utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
2
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
3
3
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
4
4
|
|
|
5
5
|
import type { KotlinImport } from '../../common-results.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../../../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { beforeEach, describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { KotlinFileBuilder } from '../../file-builder.js';
|
|
@@ -24,6 +24,10 @@ export const multiValueMap: KtGenericReferenceFactory<2> = ktReference.genericFa
|
|
|
24
24
|
'MultiValueMap',
|
|
25
25
|
'org.springframework.util',
|
|
26
26
|
);
|
|
27
|
+
export const linkedMultiValueMap: KtGenericReferenceFactory<2> = ktReference.genericFactory<2>(
|
|
28
|
+
'LinkedMultiValueMap',
|
|
29
|
+
'org.springframework.util',
|
|
30
|
+
);
|
|
27
31
|
|
|
28
32
|
// org.springframework.validation.annotation
|
|
29
33
|
export const validated: KtReferenceFactory = ktReference.factory(
|
|
@@ -349,6 +349,8 @@ export class DefaultKotlinSpringControllerGenerator extends KotlinFileGenerator<
|
|
|
349
349
|
const fnName = toCasing(getReasonPhrase(code), ctx.config.functionNameCasing);
|
|
350
350
|
const response = endpoint.responses.find((x) => x.statusCode === code);
|
|
351
351
|
const responseType = response ? this.getResponseType(ctx, { endpoint, response }) : undefined;
|
|
352
|
+
const contentType = response?.contentOptions.find((x) => x.schema)?.type;
|
|
353
|
+
|
|
352
354
|
const hasResponseBody = responseType && !kt.refs.unit.matches(responseType);
|
|
353
355
|
return kt.function(fnName, {
|
|
354
356
|
parameters: [
|
|
@@ -367,7 +369,14 @@ export class DefaultKotlinSpringControllerGenerator extends KotlinFileGenerator<
|
|
|
367
369
|
], [
|
|
368
370
|
hasResponseBody ? kt.argument('body') : kt.toNode(null),
|
|
369
371
|
kt.toNode(code),
|
|
370
|
-
|
|
372
|
+
contentType
|
|
373
|
+
? s`${kt.refs.spring.linkedMultiValueMap([kt.refs.string(), kt.refs.string()])}().also {
|
|
374
|
+
if (headers != null) {
|
|
375
|
+
it.putAll(headers)
|
|
376
|
+
}
|
|
377
|
+
it.addIfAbsent("Content-Type", ${kt.string(contentType)})
|
|
378
|
+
}`
|
|
379
|
+
: kt.argument('headers'),
|
|
371
380
|
]),
|
|
372
381
|
});
|
|
373
382
|
}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../_dnt.test_polyfills.js";
|
|
2
2
|
import { EOL } from 'node:os';
|
|
3
3
|
|
|
4
|
-
import { expect } from '../deps/jsr.io/@std/expect/1.0.
|
|
4
|
+
import { expect } from '../deps/jsr.io/@std/expect/1.0.13/expect.js';
|
|
5
5
|
import { describe, it } from '../deps/jsr.io/@std/testing/1.0.9/bdd.js';
|
|
6
6
|
|
|
7
7
|
import { StringBuilder } from '@goast/core';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|