#776: Fixed bug for request body not resolving schema when using $ref#830
#776: Fixed bug for request body not resolving schema when using $ref#830aakankshabhende wants to merge 2 commits intopostmanlabs:developfrom
Conversation
Signed-off-by: Aakanksha <aakanksha0407@gmail.com>
|
@VShingala please review my PR |
VShingala
left a comment
There was a problem hiding this comment.
@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 |
VShingala
left a comment
There was a problem hiding this comment.
@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