apiconnect-refs

API Connect References

Usage no npm install needed!

<script type="module">
  import apiconnectRefs from 'https://cdn.skypack.dev/apiconnect-refs';
</script>

README

APIConnect References

Build Status

Description

This module is used to resolve references within a source document.

findReferences takes in a document and returns a hash of all references found. The key to the hash will be the $ref value itself, and so can be used as a dictionary for looking up $refs without modifying the original source.

By default, any external files will be processed as YAML.