Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Cannot convert collection retrieved with cURL #161

Closed
weskoerber opened this issue Oct 11, 2021 · 1 comment
Closed

Cannot convert collection retrieved with cURL #161

weskoerber opened this issue Oct 11, 2021 · 1 comment

Comments

@weskoerber
Copy link
Contributor

When exporting a collection with the Postman Web and Desktop clients conversion completes successfully. However, when using the curl command, conversion fails.

@justinyoo discovered in #120 that this was due to another wrapper attribute called collection in the json response. I've confirmed this to be the case. p2o converts the collection successfully after removing the collections wrapper attribute.

I'm trying to use curl in a script with p2o to automate documentation updates, and it would be really nice if we had support for collections with this extra wrapper attribute!

@joolfe
Copy link
Owner

joolfe commented Oct 16, 2021

Merged, Thanks!

@joolfe joolfe closed this as completed Oct 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants