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

data did not match any variant of untagged enum RequestUnion at line 1 column 1208 #50

Open
dmahesh19 opened this issue Aug 21, 2023 · 1 comment

Comments

@dmahesh19
Copy link

While Using this Library to try to convert the postman collection to openapi file . Getting the following error

/Users/*******/node_modules/postman2openapi/postman2openapi.js:125
throw takeObject(r1);
^
data did not match any variant of untagged enum RequestUnion at line 1 column 1208
Thrown at:
at module.exports.transpile (/Users/*****/node_modules/postman2openapi/postman2openapi.js:125:13)
at /Users/
/PactBroker/pactbroker-app/tests_bidirectional/transform.js:18:17
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Module._load (node:internal/modules/cjs/loader:839:12)
at executeUserEntryPoint (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47

@kevinswiber
Copy link
Owner

Hey, @dmahesh19, thanks for reporting! Do you have a collection I can use to reproduce the error?

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

2 participants