We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49c3f3b commit 69d93faCopy full SHA for 69d93fa
src/core/plugins/oas3/components/request-body.jsx
@@ -108,13 +108,15 @@ const RequestBody = ({
108
109
const isObjectContent = mediaTypeValue.getIn(["schema", "type"]) === "object"
110
const isBinaryFormat = mediaTypeValue.getIn(["schema", "format"]) === "binary"
111
+ const isBase64Format = mediaTypeValue.getIn(["schema", "format"]) === "base64"
112
113
if(
114
contentType === "application/octet-stream"
115
|| contentType.indexOf("image/") === 0
116
|| contentType.indexOf("audio/") === 0
117
|| contentType.indexOf("video/") === 0
118
|| isBinaryFormat
119
+ || isBase64Format
120
) {
121
const Input = getComponent("Input")
122
0 commit comments