This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
bubblev
/
swagger-ui
Прати
4
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
0
Вики
Activity
Преглед изворни кода
Disable sample response for file transfer
bubble
Derek Wickern
пре 7 година
родитељ
62785d11ad
комит
34c57fb018
1 измењених фајлова
са
4 додато
и
0 уклоњено
Подељен поглед
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
Прегледај датотеку
@@ -74,6 +74,10 @@ export const sampleFromSchema = (schema, config={}) => {
return normalizeArray(schema["enum"])[0]
}
if (type === "file") {
return
}
return primitive(schema)
}
Write
Preview
Loading…
Откажи
Сачувај