spectral-report

1.0.3 • Public • Published

Spectral Report

Overview

spectral-report is a tool for linting and reporting openAPI specifications. It is built over @stoplight/spectral.

Installation

You can install spectral-report using npm:

npm install -g spectral-report

Usage

You can run spectral-report using command:

spectral-report -s "path-to-spec-file"

For more options:

Usage: spectral-report -s "path-to-spec-file" [-r "path-to-rule-file"] [-n "report-name"] [-f "report-format"]

Options:
  -v, --version                   output the current version
  -s, --specPath <openapi spec>   path to openapi specification
  -r, --rulesetpath <rule file>   path to rules file
  -n, --reportName <report name>  report name (default: "spectral-report")
  -f, --reportFormat <format>     report format (choices: "json", "html", "csv", default: json)
  -h, --help                      display help for command

License

This project is licensed under the MIT License - see the LICENSE file for details.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.30latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i spectral-report

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

12.6 kB

Total Files

10

Last publish

Collaborators

  • ahemanna