schema-utils-js icon indicating copy to clipboard operation
schema-utils-js copied to clipboard

feat: add support for custom protocol dereffing

Open BelfordZ opened this issue 3 years ago • 4 comments

Enables options to be passed to both parseOpenRPCDocument & dereferenceDocument

fixes #587

CC https://github.com/json-schema-tools/reference-resolver/pull/146

BelfordZ avatar May 10 '21 23:05 BelfordZ

Codecov Report

Merging #637 (20c7cc7) into master (b3e6711) will decrease coverage by 0.32%. The diff coverage is 96.87%.

Impacted file tree graph

@@             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.

codecov[bot] avatar May 10 '21 23:05 codecov[bot]

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.

stale[bot] avatar Jul 13 '21 01:07 stale[bot]

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?

raman-kananovich avatar Aug 16 '21 17:08 raman-kananovich

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.

stale[bot] avatar Jun 13 '22 00:06 stale[bot]