Zuplo CLI

Zuplo CLI: OpenAPI Overlay

Applies to
Gatewayruntime for API, AI, and MCP gateways
Hosting
Managed EdgeManaged DedicatedSelf-Hosted
Apply an OpenAPI Overlay to an OpenAPI document
Code
zuplo oas overlay --input <file> --overlay <file> --output <file> [options]

Examples

Apply an overlay to an OpenAPI document

Code
zuplo oas overlay --input openapi.json --overlay changes.json --output result.json

Apply overlay and output in YAML format

Code
zuplo oas overlay -i api.yaml -v overlay.yaml -o result.yaml --yaml

Apply overlay and convert format in one step

Code
zuplo oas overlay \ --input openapi.json \ --overlay overlay.json \ --output result.yaml \ --format yaml

Watch input and overlay files for changes and automatically re-apply

Code
zuplo oas overlay \ --input openapi.json \ --overlay changes.json \ --output result.json \ --watch

Options

--input

The input OpenAPI file

Type: stringAlias: -i

--overlay

The overlay file

Type: stringAlias: -l

--output

The output OpenAPI file path

Type: stringAlias: -o

--format

Output format

Type: stringChoices: json, yamlAlias: -f

--json

Output in JSON format

Type: booleanConflicts: --yaml, --format

--yaml

Output in YAML format

Type: booleanConflicts: --json, --format

--watch

Watch input and overlay files for changes and automatically re-apply

Type: booleanDefault: false

Global options

The following global options are available for all commands:

Last modified on