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

Cannot read property 'startsWith' of undefined at scrapeURL

Open hmz-jer opened this issue 1 year ago • 1 comments

Hello,

I'm encountering an issue with postman-to-openapi when attempting to convert a Postman collection to an OpenAPI specification. The error message is as follows:

TypeError: Cannot read property 'startsWith' of undefined
    at scrapeURL (/path/to/node_modules/postman-to-openapi/lib/index.js:411:28)

This error occurs during the conversion process and seems to be related to handling URL data within the library. I have validated that my Postman collection is correctly formatted and contains the necessary information.

Could you please assist in resolving this error? Is there a known issue or workaround for this problem? Any guidance or updates to address this would be greatly appreciated.

Thank you for your assistance.

hmz-jer avatar Nov 24 '23 15:11 hmz-jer

Maybe can you give us some example of your collection ?

cunkz avatar Nov 29 '23 01:11 cunkz