Text format used instead of file for binary fields in form-data #795
Labels
bug
Something isn't working
good-first-issue
Good first issues that can be picked up by beginner contributors.
request-body
Whenever a binary field is included in a request-body (
"type": "string"
,"format": "binary"
), e.g.:That's is wrongly converted into a text field (
"type": "text"
instead of"type": "file"
), with an value field ("value": "<string>"
) which should perhaps be dropped:This seems to be a regression of interface v2 compared with v1; for v1 fix below (not present in v2) has been found:
c338289
Version: 4.21.0
To reproduce:
minimal-collection-v1.json
minimal-collection-v2.json
minimal-openapi.json
The text was updated successfully, but these errors were encountered: