npm

Need private packages and team management tools?Check out npm Orgs. »

oas-validator

3.3.1 • Public • Published

oas-validator

Usage:

var validator = require('oas-validator');
var options = {};
validator.validate(openapi, options, function(err, options){
  // options.valid contains the result of the validation
  // options.context now contains a stack (array) of JSON-Pointer strings
});
// also available is a synchronous validateSync method which returns a boolean

See here for complete documentation of the options object.

install

npm i oas-validator

Downloadsweekly downloads

84,503

version

3.3.1

license

BSD-3-Clause

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability