2.1.0 • Published 1 year ago

@bandwidth/oas-linter-cli v2.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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