Skip to content

Commit bdc7d6e

Browse files
author
FalkWolsky
committed
Updating OpenAPI Spec
1 parent 2123eb7 commit bdc7d6e

File tree

2 files changed

+22358
-2
lines changed

2 files changed

+22358
-2
lines changed

server/node-service/src/plugins/openAi/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ import { ConfigToType, DataSourcePlugin } from "lowcoder-sdk/dataSource";
66
import { runOpenApi } from "../openApi";
77
import { parseOpenApi, ParseOpenApiOptions } from "../openApi/parse";
88

9-
const spec = readYaml(path.join(__dirname, "./openAi.yaml"));
9+
const spec_1_2_0 = readYaml(path.join(__dirname, "./openAi.yaml"));
10+
const spec_2_3_0 = readYaml(path.join(__dirname, "./openAI_v2.3.0.yaml"));
11+
1012
const specs = {
11-
"v1.0": spec,
13+
"v1.2.0": spec_1_2_0,
14+
"v2.3.0": spec_2_3_0,
1215
}
1316

1417
const dataSourceConfig = {

0 commit comments

Comments
 (0)