Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@bandwidth/oas-linter-cli

Package Overview
Dependencies
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bandwidth/oas-linter-cli

Bandwidth CLI Linter for OAS Files

latest
Source
npmnpm
Version
2.2.0
Version published
Weekly downloads
475
533.33%
Maintainers
8
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 17 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts