-
Notifications
You must be signed in to change notification settings - Fork 199
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
ConfigFile options are overwritten by CLI options #315
Comments
Proposal to solve this: openapi2postmanv2.js - Line 55
Replace with
openapi2postmanv2.js Line 82
Replace with
|
Thanks for raising issue and PR as well 😄. I have reviewed the PR and it looks good to me apart from the change suggested. Let me know when you address the change. I will approve and merge the PR. |
@VShingala I'll look into the suggested change of correct if possible |
PR is updated and should be ready to go |
ConfigFile options are overwritten by CLI options #315
Resolved as part of the 2.1.0 release |
The options from the ConfigFile are getting overwritten by the DefinedOptions, which should contain the CLI -O values but they contain all the CLI options and not the property
openapi2postmanv2 -s openapi.yaml -o postman.json -p -c postman/openapi-to-postman-config.json
openapi2postmanv2.js - Line 122
OUTPUT
If you use
openapi2postmanv2 -s openapi.yaml -o postman.json -p -c postman/openapi-to-postman-config.json -O folderStrategy=Tags
Then the OUTPUT is correct
The text was updated successfully, but these errors were encountered: