Skip to content

Commit 3cc0194

Browse files
authored
Search swagger-typescript-api.config instead of config by default (#1200)
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 973d655 commit 3cc0194

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/spicy-cougars-travel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"swagger-typescript-api": patch
3+
---
4+
5+
Search `swagger-typescript-api.config` instead of `config` by default.

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ const generateCommand = defineCommand({
288288
},
289289
run: async ({ args }) => {
290290
const customConfig = await loadConfig<GenerateApiParams>({
291+
name: "swagger-typescript-api",
291292
configFile: args["custom-config"],
292293
});
293294

0 commit comments

Comments
 (0)