Преглед изворни кода

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)
}



Loading…
Откажи
Сачувај