-
Notifications
You must be signed in to change notification settings - Fork 206
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
Requests at root [/] crash the converter #80
Comments
same bug with
throwing:
|
Here's the PR fixing it: #81 |
Duplicate of #44 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example spec
Description
Calling
convert
on a spec like the one above produces the following error:The problem is here:
openapi-to-postman/lib/util.js
Lines 274 to 276 in d344eed
The root node of the trie does not have anything in
requests
, so the first attempt to add a request to it throws this error.The text was updated successfully, but these errors were encountered: