joolfe / postman-to-openapi

🛸 Convert postman collection to OpenAPI
MIT License
596 stars 104 forks source link

Support for formdata #123

Closed devNoiseConsulting closed 3 years ago

devNoiseConsulting commented 3 years ago

The collection I was trying to convert was using multipart/form-data for the POST requests. The resulting YAML file didn't include any of the form data.

Is there any interest in added formdata support to the parseBody function? I've created a case in the switch statement to create the content object. May need some help with creating the test for this code. Let me know.

joolfe commented 3 years ago

Hi @devNoiseConsulting sure,

Any feature is always welcome, if you create a pull request with your code I can create a branch and merge for review code, add test, lint...

Best regards

joolfe commented 3 years ago

Feature releases in version ´1.14.0´, thanks for the support @devNoiseConsulting