Parses an APIB file and fails on any errors or warnings. The purpose of this script is to ensure an APIB is absolutely valid to avoid endpoints being silently ignored by other tools such as Dredd.
$ npm i apib-lint --save-dev
$ apib-lint some-file.apib
$ npm test
$ npm run lint