-
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
Changes to enable importing multiple response examples. #350
base: develop
Are you sure you want to change the base?
Conversation
…sponse, convertToPmResponseBody, convertToPmBodyData now return a list of bodies, changed getExampleData to handle one example at a time.
@meenakshi-dhanani Could you look into this. Cheers |
@pcgamer1 -- Thanks for your hard work on this! Hoping it can make it into the codebase as we'd love this functionality! |
Any chance this could be merged? Thanks. |
Hi, has anyone some idea if this would be merged anytime soon? I have several request examples in my OAS contract and postman-openapi importer doesn't reflect them in the import. Cann we help unblocking the code of this? |
Fixes #89.
I had to change the return type of
convertToPmResponse
,convertToPmResponseBody
,convertToPmBodyData
to return a list of response bodies.@VShingala @umeshp7 @abhijitkane Please do have a look. Thanks.
I have also added a test for the same.
Please omit the duplicate commit names, I had not figured out how to run the tests locally at that time.