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.
extract-request-params
1 parent 9fed833 commit 9208816Copy full SHA for 9208816
.changeset/early-kings-marry.md
@@ -0,0 +1,5 @@
1
+---
2
+"swagger-typescript-api": patch
3
4
+
5
+Add boolean type for `extract-request-params` in command configuration.
index.ts
@@ -146,6 +146,7 @@ const generateCommand = defineCommand({
146
default: codeGenBaseConfig.enumNamesAsValues,
147
},
148
"extract-request-params": {
149
+ type: "boolean",
150
description:
151
"extract request params to data contract (Also combine path params and query params into one object)",
152
default: codeGenBaseConfig.extractRequestParams,
0 commit comments