This website works better with JavaScript.
Home
Explore
Help
Sign In
bubblev
/
swagger-ui
Watch
4
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Disable sample response for file transfer
bubble
Derek Wickern
7 years ago
parent
62785d11ad
commit
34c57fb018
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
src/core/plugins/samples/fn.js
+ 4
- 0
src/core/plugins/samples/fn.js
View File
@@ -74,6 +74,10 @@ export const sampleFromSchema = (schema, config={}) => {
return normalizeArray(schema["enum"])[0]
}
if (type === "file") {
return
}
return primitive(schema)
}
Write
Preview
Loading…
Cancel
Save