Closed dvacca-onfido closed 3 weeks ago
@dvacca-onfido Thanks for reporting the issue! We'll work on the fix for this soon and inform here once this is fixed.
@VShingala & @dvacca-onfido I created PR, which should solve the reported issue. I used your provided openapi as input for a test.
@VShingala & @dvacca-onfido I created PR, which should solve the reported issue. I used your provided openapi as input for a test.
LGTM, thanks @thim81
Issue is solved after https://github.com/postmanlabs/openapi-to-postman/pull/805
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: https://github.com/postmanlabs/openapi-to-postman/commit/c3382897ea0334b1753bcd6c75887669de4e7110
Version: 4.21.0
To reproduce:
minimal-collection-v1.json minimal-collection-v2.json minimal-openapi.json