Closed ssduman closed 2 years ago
Hi @ssduman,
As described in the documentation the supported body formats are
Support postman “raw” body (Json and Text), “form-data” and “x-www-form-urlencoded”.
So this is just not supported by the library in this moment.
Best regards
Hello,
If we send a file in binary form from Postman,
p2o
threats it astext/plain
. Here is the example Postman andp2o
result:result:
I believe this behavior due to this line: https://github.com/joolfe/postman-to-openapi/blob/master/lib/index.js#L180
And also, postman and OpenAPI support this: https://spec.openapis.org/oas/v3.0.3.html#considerations-for-file-uploads Thanks in advance.