postman-collection-transformer
postman-collection-transformer copied to clipboard
Items in v2 not getting populated with requests in v1
I am trying to transform a few collections from v2 to v1 using CLI: postman-collection-transformer convert -i ~/work/user.json -o ~/work/user2.json -j 1.0.0 -p 2.0.0 --pretty --overwrite --retain-ids the conversion happens successfully but the items don't get populated in the response collection. Please advice!
@surbhi114 Can you share a scaled-down collection (without sensitive information) that we can use to reproduce this issue?
I can also replicate this using the v1 json at https://triposcert.vantiv.com/api/postman
I found the issue with the example I gave. It is missing the order item. According to the Postman docs at https://schema.postman.com/collection/json/v1.0.0/draft-07/docs/index.html that is a required field and should be an array of uuids. It even states that if it is not in that array, it will not show.
I have the same issue, that convert does nothing, almost.
So no requests are passed to v2 file.
even if I add order:[] to collection as a required field it does not work.
I can confirm this as well. We use some older ServiceStack APIs with the ServiceStack.Api.Swagger package, version 4.5.14.0. The Postman v1 metadata available at http://apiUrl/v1/postman does not contain an order property.
See postman-v1.0.0.zip for an example.
I have same problem here