@twin.org/ts-to-openapi 0.0.1-next.25 → 0.0.1-next.26
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/dist/cjs/index.cjs
CHANGED
|
@@ -1117,7 +1117,7 @@ class CLI extends cliCore.CLIBase {
|
|
|
1117
1117
|
return this.execute({
|
|
1118
1118
|
title: "TWIN TypeScript To OpenAPI",
|
|
1119
1119
|
appName: "ts-to-openapi",
|
|
1120
|
-
version: "0.0.1-next.
|
|
1120
|
+
version: "0.0.1-next.26", // x-release-please-version
|
|
1121
1121
|
icon: "⚙️ ",
|
|
1122
1122
|
supportsEnvFiles: false,
|
|
1123
1123
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1114,7 +1114,7 @@ class CLI extends CLIBase {
|
|
|
1114
1114
|
return this.execute({
|
|
1115
1115
|
title: "TWIN TypeScript To OpenAPI",
|
|
1116
1116
|
appName: "ts-to-openapi",
|
|
1117
|
-
version: "0.0.1-next.
|
|
1117
|
+
version: "0.0.1-next.26", // x-release-please-version
|
|
1118
1118
|
icon: "⚙️ ",
|
|
1119
1119
|
supportsEnvFiles: false,
|
|
1120
1120
|
overrideOutputWidth: options?.overrideOutputWidth
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AnySchemaObject } from "ajv/dist/2020.js";
|
|
2
2
|
/**
|
|
3
3
|
* Default schema type.
|
|
4
4
|
*/
|
|
5
|
-
export type IJsonSchema =
|
|
5
|
+
export type IJsonSchema = AnySchemaObject;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { JsonSchemaType } from "@hyperjump/json-schema";
|
|
1
|
+
import type { IJsonSchema } from "./IJsonSchema";
|
|
3
2
|
import type { IOpenApiExample } from "./IOpenApiExample";
|
|
4
3
|
import type { IOpenApiResponse } from "./IOpenApiResponse";
|
|
4
|
+
import type { JsonTypeName } from "./jsonTypeName";
|
|
5
5
|
/**
|
|
6
6
|
* The Open API config definition.
|
|
7
7
|
*/
|
|
@@ -27,8 +27,8 @@ export interface IOpenApiPathMethod {
|
|
|
27
27
|
description?: string;
|
|
28
28
|
required: boolean;
|
|
29
29
|
schema: {
|
|
30
|
-
type?:
|
|
31
|
-
enum?:
|
|
30
|
+
type?: JsonTypeName | JsonTypeName[];
|
|
31
|
+
enum?: IJsonSchema[];
|
|
32
32
|
$ref?: string;
|
|
33
33
|
};
|
|
34
34
|
style?: string;
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @twin.org/ts-to-openapi - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.26](https://github.com/twinfoundation/tools/compare/ts-to-openapi-v0.0.1-next.25...ts-to-openapi-v0.0.1-next.26) (2025-06-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use most recent JSON schema specs ([4598cbf](https://github.com/twinfoundation/tools/commit/4598cbf29f7b82dba4a9f3b19f81dfe66f5a6060))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/nameof bumped from 0.0.1-next.25 to 0.0.1-next.26
|
|
16
|
+
* devDependencies
|
|
17
|
+
* @twin.org/merge-locales bumped from 0.0.1-next.25 to 0.0.1-next.26
|
|
18
|
+
* @twin.org/nameof-transformer bumped from 0.0.1-next.25 to 0.0.1-next.26
|
|
19
|
+
* @twin.org/nameof-vitest-plugin bumped from 0.0.1-next.25 to 0.0.1-next.26
|
|
20
|
+
|
|
3
21
|
## [0.0.1-next.25](https://github.com/twinfoundation/tools/compare/ts-to-openapi-v0.0.1-next.24...ts-to-openapi-v0.0.1-next.25) (2025-06-10)
|
|
4
22
|
|
|
5
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/ts-to-openapi",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.26",
|
|
4
4
|
"description": "Tool to convert TypeScript REST route definitions to OpenAPI Specifications",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,13 +14,12 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@hyperjump/json-pointer": "1.1.1",
|
|
18
|
-
"@hyperjump/json-schema": "1.14.1",
|
|
19
17
|
"@twin.org/api-models": "next",
|
|
20
18
|
"@twin.org/cli-core": "next",
|
|
21
19
|
"@twin.org/core": "next",
|
|
22
|
-
"@twin.org/nameof": "0.0.1-next.
|
|
20
|
+
"@twin.org/nameof": "0.0.1-next.26",
|
|
23
21
|
"@twin.org/web": "next",
|
|
22
|
+
"ajv": "8.17.1",
|
|
24
23
|
"commander": "14.0.0",
|
|
25
24
|
"glob": "11.0.2",
|
|
26
25
|
"ts-json-schema-generator": "2.4.0"
|