@wx-sab/renkei 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wx-sab/renkei",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "解析swagger转为ts代码,日本动漫《游戏王》中的‘Renkei’,意为连携或协作。",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -117,7 +117,7 @@ const dataTypes = [
117
117
  const dataArgs = [
118
118
  {
119
119
  // name: 'data',
120
- name: pathParams.length ? `{ ${_.join(pathParamsNames, ", ")}, ...${queryName} }` : 'data',
120
+ name: pathParams.length ? `{ ${_.join(pathParamsNames, ", ")}, ...data }` : 'data',
121
121
  type: dataTypes.map(getFullType).join(' & '),
122
122
  optional: false,
123
123
  },