We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
no-client
1 parent 49be7e1 commit 1e3b70eCopy full SHA for 1e3b70e
.changeset/easy-paths-check.md
@@ -2,4 +2,4 @@
2
"swagger-typescript-api": patch
3
---
4
5
-Fix generateClient logic to exclude only 'no-client' argument.
+Fix generateClient logic to exclude only `no-client` argument.
.changeset/five-moles-wonder.md
@@ -0,0 +1,5 @@
1
+---
+"swagger-typescript-api": patch
+
+Fix default value for `no-client` argument in command configuration.
index.ts
@@ -137,7 +137,7 @@ const generateCommand = defineCommand({
137
"no-client": {
138
type: "boolean",
139
description: "do not generate an API class",
140
- default: codeGenBaseConfig.generateClient,
+ default: !codeGenBaseConfig.generateClient,
141
},
142
"enum-names-as-values": {
143
0 commit comments