@overspeed/oas3-remote-refs

0.0.2 • Public • Published

OpenAPI 3 Remote Ref Merge Tool

JavaScript Style Guide

Usage

const apiMergeRemoteRefs = require('@overspeed/oas3-remote-refs');

apiMergeRemoteRefs(apiSpecUri)
  .then((apiSpec) => {
    // api spec with all local refs
    console.log(apiSpec);
  })
  .catch((err) => {
    // make sure to track errors
    console.error(err);
  });

Dependencies (3)

Dev Dependencies (9)

Package Sidebar

Install

npm i @overspeed/oas3-remote-refs

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

8.6 kB

Total Files

8

Last publish

Collaborators

  • kgosd