-
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
#776: Fixed bug for request body not resolving schema when using $ref #830
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Aakanksha <aakanksha0407@gmail.com>
@VShingala please review my PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aakankshabhende We'll also need to make changes in libV2/schemaUtils.js
file. Current file is only responsible for older v1 APIs.
Also, we should add unit tests for the related fix under test/unit/convertV2.test.js
file. You can look at the other unit tests added for other fixes for reference.
@VShingala Please correct me if I'm wrong, |
@aakankshabhende It does but it seems actual handling is not considering it. openapi-to-postman/libV2/schemaUtils.js Line 1748 in c6b3852
Here, the schema passed to the corresponding function should be resolved but it seems it's need resolved first hand. Due to this, we see issues with even v2 APIs. |
@VShingala I'm new to contributing to this project and am eager to get involved, but I’m having some trouble understanding how to reflect changes in my local dev environment as there is no contribution guide available. Could you please provide some guidance on this? |
@aakankshabhende Sure, If you mean setting up local development environment, below is what I usually follow.
I didn't exactly get above part so feel free to add more details if above guide doesn't help you with your question. |
Thanks a lot for the info, I have made changes in |
@aakankshabhende Not sure why you're not getting logs. Are you able to generate the collection from the steps I mentioned? |
Yes, I'm able to generate logs. Thank you @VShingala |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aakankshabhende As discussed, we'll also need changes in schemaUtilsV2 to address the issue in Postman App since it's using v2 APIs, feel free to request a review once you've made the changes.
Fixes #776