2.2.0 • Published 9 months ago

@bandwidth/oas-linter-cli v2.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

oas-linter-cli

This is a CLI tool that enables users to run an OAS (Open API Spec) file through Bandwidth's custom Stoplight ruleset.

Setup and Install

npm install -g @bandwidth/oas-linter-cli

Usage

bw-oas-linter lint ../path/to/my/spec.yml    # json also supported

Options

Run bw-oas-linter lint -h for a list of options.

FlagDescription
-sSave linter result to users home directory
-jOutput JSON
-rPath to custom spectral ruleset file
-hPrint help menu
-vPrint package version

Uninstall

npm uninstall -g @bandwidth/oas-linter-cli