Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items in v2 not getting populated with requests in v1 #365

Open
surbhi114 opened this issue Feb 8, 2021 · 6 comments
Open

Items in v2 not getting populated with requests in v1 #365

surbhi114 opened this issue Feb 8, 2021 · 6 comments

Comments

@surbhi114
Copy link

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!

@codenirvana
Copy link
Member

@surbhi114 Can you share a scaled-down collection (without sensitive information) that we can use to reproduce this issue?

@pristinesource
Copy link

I can also replicate this using the v1 json at https://triposcert.vantiv.com/api/postman

@pristinesource
Copy link

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.

@lykhouzov
Copy link

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.

@0x326
Copy link

0x326 commented Dec 30, 2022

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.

@osynavets
Copy link

I have same problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants