Skip to content

format

Output serialization format. A different team could pick the other format and still be correct, and the CLI --format flag overrides this setting for individual commands.

Fileconfig/settings.yaml
Pathspec.format
Typeenum
DefaultYAML

Options

ValueDescription
YAMLHuman-readable YAML. Default — a spec is read and hand-edited far more often than it is parsed
JSONJavaScript Object Notation

Example

spec:
format: JSON # Generate JSON instead