1.25.0 • Published 2 months ago

ibm-openapi-validator v1.25.0

Weekly downloads
16,836
License
Apache-2.0
Repository
github
Last release
2 months ago

OpenAPI Validator

The IBM OpenAPI Validator lets you validate OpenAPI 3.0.x and OpenAPI 3.1.x documents for compliance with the OpenAPI specifications, as well as IBM-defined best practices.

Note: this page displays abbreviated usage info for getting started. Visit this page for the full documentation.

Installation

npm install -g ibm-openapi-validator

The -g flag installs the tool globally so that the validator can be run from anywhere in the file system. Alternatively, you can pass no flag or the --save-dev flag to add the validator as a dependency to your project and run it from your NPM scripts or JavaScript code.

Usage

Command Syntax

Usage: lint-openapi [options] [file...]

Run the validator on one or more OpenAPI 3.x documents

Options:
  -c, --config <file>            use configuration stored in <file> (*.json, *.yaml, *.js)
  -e, --errors-only              include only errors in the output and skip warnings (default is false)
  -i, --ignore <file>            avoid validating <file> (e.g. -i /dir1/ignore-file1.json --ignore /dir2/ignore-file2.yaml ...) (default is []) (default: [])
  -j, --json                     produce JSON output (default is text)
  -l, --log-level <loglevel>     set the log level for one or more loggers (e.g. -l root=info -l ibm-schema-description-exists=debug ...)  (default: [])
  -n, --no-colors                disable colorizing of the output (default is false)
  -r, --ruleset <file>           use Spectral ruleset contained in `<file>` ("default" forces use of default IBM Cloud Validation Ruleset)
  -s, --summary-only             include only the summary information and skip individual errors and warnings (default is false)
  -w, --warnings-limit <number>  set warnings limit to <number> (default is -1)
  --version                      output the version number
  -h, --help                     display help for command

where [file...] is a space-separated list containing the filenames of one or more OpenAPI 3.x documents to be validated.

Detailed usage information for the validator can be found here.

1.21.0

3 months ago

1.22.0

3 months ago

1.22.1

2 months ago

1.22.2

2 months ago

1.23.0

2 months ago

1.24.1

2 months ago

1.24.0

2 months ago

1.25.0

2 months ago

1.18.1

5 months ago

1.18.0

6 months ago

1.19.0

5 months ago

1.19.2

5 months ago

1.19.1

5 months ago

1.20.0

3 months ago

1.17.0

6 months ago

1.16.10

7 months ago

1.16.9

7 months ago

1.16.8

8 months ago

1.16.7

8 months ago

1.16.6

8 months ago

1.16.5

8 months ago

1.16.4

8 months ago

1.16.3

9 months ago

1.16.2

10 months ago

1.16.1

10 months ago

1.16.0

10 months ago

1.14.2

1 year ago

1.15.0

1 year ago

1.10.0

1 year ago

1.12.0

1 year ago

1.11.0

1 year ago

1.13.0

1 year ago

1.14.1

1 year ago

1.14.0

1 year ago

1.9.0

1 year ago

1.8.0

1 year ago

1.6.1

1 year ago

1.7.0

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.2

1 year ago

1.0.8

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0-rc.3

2 years ago

1.0.0-rc.1

2 years ago

1.0.0-rc.2

2 years ago

0.97.4

2 years ago

0.97.5

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.97.3

2 years ago

0.97.2

2 years ago

0.97.0

2 years ago

0.97.1

2 years ago

0.96.3

2 years ago

0.96.4

2 years ago

0.96.5

2 years ago

0.96.0

2 years ago

0.96.1

2 years ago

0.96.2

2 years ago

0.93.0

2 years ago

0.94.0

2 years ago

0.91.0

2 years ago

0.92.0

2 years ago

0.89.0

2 years ago

0.90.0

2 years ago

0.95.0

2 years ago

0.95.1

2 years ago

0.88.1

2 years ago

0.88.2

2 years ago

0.88.3

2 years ago

0.85.0

2 years ago

0.81.0

2 years ago

0.81.1

2 years ago

0.81.2

2 years ago

0.78.0

2 years ago

0.86.0

2 years ago

0.82.0

2 years ago

0.82.1

2 years ago

0.79.0

2 years ago

0.83.1

2 years ago

0.83.2

2 years ago

0.83.3

2 years ago

0.87.0

2 years ago

0.83.0

2 years ago

0.88.0

2 years ago

0.84.0

2 years ago

0.84.1

2 years ago

0.84.2

2 years ago

0.80.0

2 years ago

0.77.1

2 years ago

0.77.0

2 years ago

0.74.0

3 years ago

0.70.0

3 years ago

0.67.0

3 years ago

0.75.0

3 years ago

0.71.0

3 years ago

0.68.0

3 years ago

0.76.2

3 years ago

0.76.1

3 years ago

0.72.2

3 years ago

0.72.1

3 years ago

0.76.0

3 years ago

0.72.0

3 years ago

0.65.1

3 years ago

0.69.0

3 years ago

0.73.0

3 years ago

0.66.0

3 years ago

0.62.1

3 years ago

0.62.0

3 years ago

0.59.0

3 years ago

0.63.0

3 years ago

0.64.0

3 years ago

0.60.0

3 years ago

0.65.0

3 years ago

0.61.0

3 years ago

0.58.1

3 years ago

0.58.2

3 years ago

0.58.0

3 years ago

0.57.4

3 years ago

0.57.3

3 years ago

0.55.0

3 years ago

0.56.1

3 years ago

0.56.2

3 years ago

0.56.0

3 years ago

0.52.1

3 years ago

0.52.2

3 years ago

0.52.0

3 years ago

0.57.2

3 years ago

0.57.0

3 years ago

0.57.1

3 years ago

0.53.0

3 years ago

0.53.1

3 years ago

0.54.1

3 years ago

0.54.0

3 years ago

0.51.2

3 years ago

0.51.3

3 years ago

0.51.0

3 years ago

0.51.1

3 years ago

0.50.1

3 years ago

0.50.0

3 years ago

0.49.0

3 years ago

0.48.0

3 years ago

0.47.1

3 years ago

0.47.0

3 years ago

0.46.4

3 years ago

0.46.3

3 years ago

0.46.2

3 years ago

0.46.1

3 years ago

0.43.0

4 years ago

0.44.0

4 years ago

0.45.0

4 years ago

0.46.0

4 years ago

0.43.1

4 years ago

0.40.2

4 years ago

0.40.3

4 years ago

0.41.0

4 years ago

0.42.0

4 years ago

0.40.1

4 years ago

0.40.0

4 years ago

0.39.0

4 years ago

0.38.0

4 years ago

0.37.1

4 years ago

0.37.0

4 years ago

0.36.0

4 years ago

0.35.2

4 years ago

0.35.1

4 years ago

0.35.0

4 years ago

0.34.4

4 years ago

0.34.3

4 years ago

0.34.2

4 years ago

0.34.1

4 years ago

0.34.0

4 years ago

0.33.2

4 years ago

0.33.1

4 years ago

0.33.0

4 years ago

0.32.0

4 years ago

0.31.1

4 years ago

0.31.0

4 years ago

0.30.1

4 years ago

0.30.0

4 years ago

0.29.4

4 years ago

0.29.3

4 years ago

0.29.2

4 years ago

0.29.1

4 years ago

0.29.0

4 years ago

0.28.1

4 years ago

0.28.0

4 years ago

0.27.1

5 years ago

0.27.0

5 years ago

0.26.1

5 years ago

0.26.0

5 years ago

0.25.0

5 years ago

0.24.3

5 years ago

0.24.2

5 years ago

0.24.1

5 years ago

0.24.0

5 years ago

0.23.0

5 years ago

0.22.0

5 years ago

0.21.0

5 years ago

0.20.0

5 years ago

0.19.3

5 years ago

0.19.2

5 years ago

0.19.1

5 years ago

0.19.0

5 years ago

0.18.0

5 years ago

0.17.1

5 years ago

0.17.0

5 years ago

0.16.2

5 years ago

0.16.1

5 years ago

0.16.0

5 years ago

0.15.2

5 years ago

0.15.1

5 years ago

0.15.0

5 years ago

0.14.0

5 years ago

0.13.6

5 years ago

0.13.5

5 years ago

0.13.4

5 years ago

0.13.3

5 years ago

0.13.2

5 years ago

0.13.1

5 years ago

0.13.0

5 years ago

0.12.5

5 years ago

0.12.4

5 years ago

0.12.3

5 years ago

0.12.2

5 years ago

0.12.1

5 years ago

0.12.0

5 years ago

0.11.2

5 years ago

0.11.1

5 years ago

0.11.0

5 years ago

0.10.5

5 years ago

0.10.4

5 years ago

0.10.3

5 years ago

0.10.2

5 years ago

0.10.1

5 years ago

0.10.0

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

1.0.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago