Open gdereese opened 7 years ago
Thanks @gdereese. Reviewing this.
@abhijitkane Assigning this to you.
@gdereese Can you share what Postman version you're using? Postman doesn't support the folders_order property yet.
Also, can you share output from swagger2-postman that you're feeding to the transformer?
I am using the Chrome extension version 4.10.7.
Attached is a Postman Collection v1 file generated by version 1.1.6 of swagger2-to-postman. ctuit-postman-v1.json.txt
When exporting a v1 collection from the Postman Chrome extension of the above version, the JSON will include a folders_order element.
When exporting a Postman collection containing folders in v1 format from the Postman UI, the exported JSON contains a folders_order property containing an array of folder UUIDs specifying their display order.
From this library, in the event that the Postman collection being generated will contains folders, this same folders_order element is not added or populated. This creates problems if the output from swagger2-to-postman is fed into postman-collection-transformer downstream to convert up to v2, as the requests will be dropped from the output v2 collection file upon conversion.