5.0.2 • Published 4 years ago
@kaishuu0123/oas-validator v5.0.2
oas-validator
Usage:
const validator = require('oas-validator');
const 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
});
If the callback argument of validate
is omitted, a Promise is returned instead.
See here for complete documentation of the options
object.
5.0.2
4 years ago