open-api
open-api copied to clipboard
require('openapi-schema-validator') no longer works as documented
currently available build (v3.0.3) exports a default so the example in readme will throw because it's not calling a constructor.
Should the build be fixed or the docs?
Should the build be fixed or the docs?
yes. please open a PR!
I will, just wanted to know if exporting default was intended behavior. I'd only update readme in that case
@naugtur it is. we refactored to es6 and now only export to .default for commonJS.