Closed yang closed 2 years ago
I probably overlooked this, but if I already have the spec as a string, how do I pass that into parse/dereference/etc.? Thanks!
This seems to be working
let specObj = jsYaml.load(specText); SwaggerParser.validate(specObj, function(err, api){ console.log(err, api); });
I probably overlooked this, but if I already have the spec as a string, how do I pass that into parse/dereference/etc.? Thanks!