oas-resolver-browser

2.5.6 • Public • Published

oas-resolver

Forked from https://github.com/Mermade/oas-kit

v2.5.0

Usage

const yaml = require('yaml');
const input = yaml.parse(str);
const source = url; // or filename
resolver.resolve(input,source,options)
.then(function(options){
  fs.writeFileSync(outputFile,yaml.stringify(options.openapi),'utf8');
})
.catch(function(ex){
  // ...
});

See here for complete documentation of the options object.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.5.6
    31,764
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.5.6
    31,764
  • 2.5.2
    12,004
  • 2.5.1
    83
  • 2.5.0
    0
  • 2.3.3
    14,498

Package Sidebar

Install

npm i oas-resolver-browser

Weekly Downloads

58,349

Version

2.5.6

License

BSD-3-Clause

Unpacked Size

29.1 kB

Total Files

5

Last publish

Collaborators

  • umeshp7
  • vshingala