Zuplo
Zuplo CLI

Zuplo CLI: OpenAPI Convert

Convert OpenAPI files between JSON and YAML formats
TerminalCode
zuplo openapi convert --help
zuplo openapi convert

Options

--input

The input OpenAPI file (JSON or YAML)

TerminalCode
zuplo openapi convert --input <value>
Type: stringAlias: -i

--format

Output format

TerminalCode
zuplo openapi convert --format <value>
Type: stringChoices: json, yamlAlias: -f

--output

Output file path (if not specified, generates based on input)

TerminalCode
zuplo openapi convert --output <value>
Type: stringAlias: -o

--json

Convert to JSON format

TerminalCode
zuplo openapi convert --json
Type: booleanConflicts: --yaml, --format

--yaml

Convert to YAML format

TerminalCode
zuplo openapi convert --yaml
Type: booleanConflicts: --json, --format

Global options

The following global options are available for all commands:

Last modified on