Open aakankshabhende opened 1 month ago
@VShingala please review my PR
@VShingala Please correct me if I'm wrong, libV2/shemaUtils.js
file already has a function resolveRefFromSchema
which seems to resolve the ref.
@aakankshabhende It does but it seems actual handling is not considering it.
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.
test.js
, spec
, .vscode/launch.json
on this branch. You can avoid committing them in your PR changes.test.js
can consume APIs exposed by this module and generate collection in new file named collection.json
. Simply run node test.js
from CLI to see it working.Conversion
which does the same thing, you can use that to debug properly if you're using VSCode.how to reflect changes in my local dev environment
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 libV2/shemaUtils.js
to fix this bug but I'm not able to test it because I'm not able to log anything in the console for this particular libV2/shemaUtils.js file.
@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
Fixes #776