Checks structural and semantic errors in OPENAPI files (json and yaml) by posting passed files to https://validator.swagger.io/.
- Run
npm install -g openapi-checker - Run
openapi-checker /path/to/fileto validate yourOPENAPIfile.
Checks structural and semantic errors in OPENAPI files (json and yaml) by posting passed files to https://validator.swagger.io/.
npm install -g openapi-checkeropenapi-checker /path/to/file to validate your OPENAPI file.