Zuplo CLI
Zuplo CLI: Lint
Lints your OpenAPI specs and policies for errors and Zuplo conventions
Code
Examples
Lint the project in the current directory
Code
Apply the fixes that can be made automatically
Code
Fail the command on warnings as well as errors
Code
Emit SARIF for GitHub Code Scanning
Code
Options
--dir
The directory containing your Zuplo API
Type:
stringDefault: "."--config
Path to a lint config file. Defaults to zuplo.lint.jsonc or zuplo.lint.json in the project directory.
Type:
string--format
Output format
Type:
stringDefault: "text"Choices: text, json, sarif--fail-on
Severity threshold that fails the command. Defaults to the failOn value in your lint config, or 'error'.
Type:
stringChoices: error, warn, none--fix
Rewrite your OpenAPI files to fix what can be fixed automatically, then report what is left
Type:
booleanDefault: falseGlobal options
The following global options are available for all commands:
Last modified on