Skip to content

Commit 28d43b4

Browse files
committed
Add required property to output path in generateTemplatesCommand
Signed-off-by: Sora Morimoto <[email protected]>
1 parent bdb3277 commit 28d43b4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/silver-shirts-visit.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+
Add `required` property to output path in `generateTemplatesCommand`.

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const generateTemplatesCommand = defineCommand({
4343
alias: "o",
4444
description: "output path of generated templates",
4545
default: templateGenBaseConfig.output,
46+
required: true,
4647
},
4748
rewrite: {
4849
type: "boolean",

0 commit comments

Comments
 (0)