schema-utils-js
schema-utils-js copied to clipboard
feat: add support for custom protocol dereffing
Enables options to be passed to both parseOpenRPCDocument
& dereferenceDocument
fixes #587
CC https://github.com/json-schema-tools/reference-resolver/pull/146
Codecov Report
Merging #637 (20c7cc7) into master (b3e6711) will decrease coverage by
0.32%
. The diff coverage is96.87%
.
@@ Coverage Diff @@
## master #637 +/- ##
===========================================
- Coverage 100.00% 99.67% -0.33%
===========================================
Files 12 12
Lines 307 305 -2
Branches 73 73
===========================================
- Hits 307 304 -3
- Misses 0 1 +1
Impacted Files | Coverage Δ | |
---|---|---|
src/dereference-document.ts | 98.79% <96.77%> (-1.21%) |
:arrow_down: |
src/parse-open-rpc-document.ts | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update b3e6711...20c7cc7. Read the comment docs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @BelfordZ , thank you for this functionality! I have checked it in my case and it works really fine and completely covers my cases.
I found that dereferenceDocument function is only exposed in the node environment. Can I ask you to export it also for the web?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.