使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
bubblev
/
swagger-ui
关注
4
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Disable sample response for file transfer
bubble
Derek Wickern
7 年前
父节点
62785d11ad
当前提交
34c57fb018
共有
1 个文件被更改
,包括
4 次插入
和
0 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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)
}
撰写
预览
正在加载...
取消
保存