@bandwidth/oas-linter-cli

2.1.0 • Public • Published

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.

Flag Description
-s Save linter result to users home directory
-j Output JSON
-r Path to custom spectral ruleset file
-h Print help menu
-v Print package version

Uninstall

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

Readme

Keywords

none

Package Sidebar

Install

npm i @bandwidth/oas-linter-cli

Weekly Downloads

448

Version

2.1.0

License

ISC

Unpacked Size

59.1 kB

Total Files

18

Last publish

Collaborators

  • jmulford-bandwidth
  • tbowen
  • zelitzsi
  • themikez
  • nguyer
  • developerhelp-bandwidth
  • cejohnson-bw
  • mhamer-bw