浏览代码

Disable sample response for file transfer

bubble
Derek Wickern 7 年前
父节点
当前提交
34c57fb018
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      src/core/plugins/samples/fn.js

+ 4
- 0
src/core/plugins/samples/fn.js 查看文件

@@ -74,6 +74,10 @@ export const sampleFromSchema = (schema, config={}) => {
return normalizeArray(schema["enum"])[0]
}

if (type === "file") {
return
}

return primitive(schema)
}



正在加载...
取消
保存