@gct-paas/cli 0.1.5-dev.8 → 0.1.6-dev.1

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.
@@ -55,6 +55,10 @@ class ModelManage {
55
55
  requestEntity = {
56
56
  title: "IObject"
57
57
  };
58
+ } else if (param.name === "file") {
59
+ requestEntity = {
60
+ title: "FormData"
61
+ };
58
62
  } else {
59
63
  const refKey = this.getOriginRef(param.schema);
60
64
  requestEntity = cfg.definitions[refKey];
@@ -55,6 +55,8 @@ export class ModelManage {
55
55
  if (param && param.schema) {
56
56
  if (param.name === "requestBody") {
57
57
  requestEntity = { title: "IObject" };
58
+ } else if (param.name === "file") {
59
+ requestEntity = { title: "FormData" };
58
60
  } else {
59
61
  const refKey = this.getOriginRef(param.schema);
60
62
  requestEntity = cfg.definitions[refKey];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/cli",
3
- "version": "0.1.5-dev.8",
3
+ "version": "0.1.6-dev.1",
4
4
  "type": "module",
5
5
  "description": "paas 平台核心包",
6
6
  "bin": {
@@ -35,8 +35,7 @@
35
35
  "author": "gct",
36
36
  "scripts": {
37
37
  "run": "tsx src/bin.ts",
38
- "build": "npm run lint && unbuild",
39
- "lint": "eslint src/",
38
+ "build": "unbuild",
40
39
  "publish:next": "npm run build && npm publish --access public --tag=next --registry=https://registry.npmjs.org/",
41
40
  "publish:dev": "npm run build && npm publish --access public --tag=dev --registry=https://registry.npmjs.org/",
42
41
  "publish:alpha": "npm run build && npm publish --access public --tag=alpha --registry=https://registry.npmjs.org/",
@@ -65,5 +64,6 @@
65
64
  "tsx": "^4.21.0",
66
65
  "typescript": "^5.9.3",
67
66
  "unbuild": "^3.6.1"
68
- }
67
+ },
68
+ "gitHead": "ac6a576b84157817fa6d5159bb0725ba189aa11e"
69
69
  }