Skip to content

Commit a2d214d

Browse files
authored
fix(cli): fix Unknown argument: swaggerPath (#1884)
1 parent a1c4fb1 commit a2d214d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

schematics/tpl/schema.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,13 @@
154154
"default": true,
155155
"description": "指定是否使用模态框 (Specifies using modal mode)",
156156
"x-prompt": "Would you like to modal mode?"
157+
},
158+
"swaggerPath": {
159+
"type": "string",
160+
"description": "Specify the swagger path, for example: https://petstore.swagger.io/v2/swagger.json (Only tpl wagger-list u)"
161+
},
162+
"swaggerMethod": {
163+
"type": "string"
157164
}
158165
},
159166
"required": ["tplName", "name", "module", "modal"]

0 commit comments

Comments
 (0)