Skip to content

Commit c79625e

Browse files
authored
Remove required field from command definitions for now (#1270)
Signed-off-by: Sora Morimoto <[email protected]>
1 parent c8920d5 commit c79625e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.changeset/violet-terms-hear.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+
Remove `required` field from command definitions for now.

index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const generateTemplatesCommand = defineCommand({
4747
alias: "o",
4848
description: "output path of generated templates",
4949
default: templateGenBaseConfig.output,
50-
required: true,
5150
},
5251
rewrite: {
5352
type: "boolean",
@@ -231,7 +230,6 @@ const generateCommand = defineCommand({
231230
type: "string",
232231
alias: "p",
233232
description: "path/url to swagger schema",
234-
required: true,
235233
},
236234
responses: {
237235
type: "boolean",

0 commit comments

Comments
 (0)