Forum Discussion

rahulll's avatar
rahulll
New Member
2 years ago

Could not render n, see the console." in multipart/form-data request

I have defined in doc the request this way :

"multipart/form-data": {
"schema": {
"type" : "object",
"properties":{
"name": "string",
"email": "string",
"file": {
"type": "string",
"format": "binary"
},
}
},
"encoding": {
"file":{
"contentType": "image/png, image/jpg, image/jpeg"
}
},
 
but getting error "Could not render n, see the console." in multipart/form-data request" in swagger UI for this request.
No RepliesBe the first to reply