openapi-to-postman icon indicating copy to clipboard operation
openapi-to-postman copied to clipboard

Could not import openAPI v3 as collection

Open rajesh-k-g opened this issue 2 years ago • 1 comments

Hi,

We have an OpenAPI v3 file that's around 5mb in size with 300+ endpoints. When we try to import this as a collection, the following error is shown. However, we are able to successfully import this in Swagger Editor.

image

Is there a solution or workaround for this?

Also, when we try with a subset of the file(around 2.5mb), we are able to reproduce https://github.com/postmanlabs/postman-app-support/issues/10692

Thanks

rajesh-k-g avatar May 06 '22 09:05 rajesh-k-g

Hey @rajesh-k-g, On postman app we have this limitation at the moment. Usually, for larger API definitions, collection does get generated but modal shows error message but eventually collection does get generated after some time and will show up in collection sidebar.

You can also use this module for converting the API definition to collection. Checkout the CLI Usage.

If you're facing issue with this module not generating, could you share API definition you're working with for further debugging?

VShingala avatar Jun 24 '22 15:06 VShingala

As part of our v10 release, we have improved the collection generation workflow to handle extensive collections. I am closing this issue for now. @rajesh-k-g, feel free to open it if you are still facing any issues 🙇‍♂

akshaydeo avatar Feb 07 '23 08:02 akshaydeo