Disable sample response for file transfer
This commit is contained in:
@@ -74,6 +74,10 @@ export const sampleFromSchema = (schema, config={}) => {
|
|||||||
return normalizeArray(schema["enum"])[0]
|
return normalizeArray(schema["enum"])[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (type === "file") {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
return primitive(schema)
|
return primitive(schema)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user