Skip to content

Commit 460a12e

Browse files
authored
updated file creation (#518)
1 parent 55b5ecd commit 460a12e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/generate-sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ async function main() {
1111

1212
// Save the JSON response to a file
1313
fs.writeFileSync(
14-
"./dist/openapi.json",
14+
"openapi.json",
1515
JSON.stringify(jsonData, null, 2),
1616
"utf-8",
1717
);
1818

1919
execSync(
20-
"yarn openapi --input ./dist/openapi.json --output ./sdk/src --name Engine",
20+
"yarn openapi --input ./openapi.json --output ./sdk/src --name Engine",
2121
);
2222

2323
const code = fs

0 commit comments

Comments
 (0)