@twin.org/ts-to-openapi 0.0.2-next.2 → 0.0.2-next.3

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.
@@ -665,7 +665,6 @@ async function finaliseOutput(usedCommonResponseTypes, schemas, openApi, securit
665
665
  if (/I[A-Z]/.test(finalName)) {
666
666
  finalName = finalName.slice(1);
667
667
  }
668
- finalName = finalName.replace("<", "_").replace(">", "_");
669
668
  if (finalName.endsWith("[]")) {
670
669
  finalName = `ListOf${finalName.slice(0, -2)}`;
671
670
  }
@@ -1056,7 +1055,7 @@ class CLI extends cliCore.CLIBase {
1056
1055
  return this.execute({
1057
1056
  title: "TWIN TypeScript To OpenAPI",
1058
1057
  appName: "ts-to-openapi",
1059
- version: "0.0.2-next.2", // x-release-please-version
1058
+ version: "0.0.2-next.3", // x-release-please-version
1060
1059
  icon: "⚙️ ",
1061
1060
  supportsEnvFiles: false,
1062
1061
  overrideOutputWidth: options?.overrideOutputWidth
@@ -662,7 +662,6 @@ async function finaliseOutput(usedCommonResponseTypes, schemas, openApi, securit
662
662
  if (/I[A-Z]/.test(finalName)) {
663
663
  finalName = finalName.slice(1);
664
664
  }
665
- finalName = finalName.replace("<", "_").replace(">", "_");
666
665
  if (finalName.endsWith("[]")) {
667
666
  finalName = `ListOf${finalName.slice(0, -2)}`;
668
667
  }
@@ -1053,7 +1052,7 @@ class CLI extends CLIBase {
1053
1052
  return this.execute({
1054
1053
  title: "TWIN TypeScript To OpenAPI",
1055
1054
  appName: "ts-to-openapi",
1056
- version: "0.0.2-next.2", // x-release-please-version
1055
+ version: "0.0.2-next.3", // x-release-please-version
1057
1056
  icon: "⚙️ ",
1058
1057
  supportsEnvFiles: false,
1059
1058
  overrideOutputWidth: options?.overrideOutputWidth
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/ts-to-openapi - Changelog
2
2
 
3
+ ## [0.0.2-next.3](https://github.com/twinfoundation/tools/compare/ts-to-openapi-v0.0.2-next.2...ts-to-openapi-v0.0.2-next.3) (2025-08-05)
4
+
5
+
6
+ ### Features
7
+
8
+ * improve type name normalisation ([1fe28e5](https://github.com/twinfoundation/tools/commit/1fe28e567593e46a41a833fbba95fe4cd958f525))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/tools-core bumped from 0.0.2-next.2 to 0.0.2-next.3
16
+
3
17
  ## [0.0.2-next.2](https://github.com/twinfoundation/tools/compare/ts-to-openapi-v0.0.2-next.1...ts-to-openapi-v0.0.2-next.2) (2025-07-17)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/ts-to-openapi",
3
- "version": "0.0.2-next.2",
3
+ "version": "0.0.2-next.3",
4
4
  "description": "Tool to convert TypeScript REST route definitions to OpenAPI Specifications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  "@twin.org/cli-core": "next",
19
19
  "@twin.org/core": "next",
20
20
  "@twin.org/nameof": "next",
21
- "@twin.org/tools-core": "0.0.2-next.2",
21
+ "@twin.org/tools-core": "0.0.2-next.3",
22
22
  "@twin.org/web": "next",
23
23
  "commander": "14.0.0",
24
24
  "glob": "11.0.3",