Zuplo CLI

Zuplo CLI: Lint

Applies to
Gatewayruntime for API, AI, and MCP gateways
Hosting
Managed EdgeManaged DedicatedSelf-Hosted
Lints your OpenAPI specs and policies for errors and Zuplo conventions
Code
zuplo lint [options]

Examples

Lint the project in the current directory

Code
zuplo lint

Apply the fixes that can be made automatically

Code
zuplo lint --fix

Fail the command on warnings as well as errors

Code
zuplo lint --fail-on warn

Emit SARIF for GitHub Code Scanning

Code
zuplo lint --format sarif > results.sarif

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: false

Global options

The following global options are available for all commands:

Last modified on