Open gdereese opened 7 years ago
@gdereese The transformer has been updated to fix this bug - https://www.npmjs.com/package/postman-collection-transformer. We'll soon be releasing updates to the swagger converter to support folder ordering too.
Thanks for addressing this.
As for the fix to swagger2-to-postman, I submitted pull request #26; feel free to review it and see if that resolves the issue to your liking.
In the case where creating a request element for an endpoint in an input Swagger document that has a body parameter, an invalid value is written to the definitions.request.data element in the output Postman collection for that endpoint.
According to the Postman v1 schema, only null or array values are valid for this element, but in these cases a string value is written here corresponding to the description of the parameter from Swagger.