We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f65483 commit 4055f51Copy full SHA for 4055f51
src/core/plugins/oas3/components/request-body.jsx
@@ -36,7 +36,12 @@ const RequestBody = ({
36
return null
37
}
38
39
- if(contentType === "application/octet-stream") {
+ if(
40
+ contentType === "application/octet-stream"
41
+ || contentType.indexOf("image/") === 0
42
+ || contentType.indexOf("audio/") === 0
43
+ || contentType.indexOf("video/") === 0
44
+ ) {
45
const Input = getComponent("Input")
46
47
if(!isExecute) {
0 commit comments