Skip to content

CLI

format

speakeasy openapi transform format

Format an OpenAPI document to be more human-readable

Format an OpenAPI document to be more human-readable by sorting the keys in a specific order best suited for each level in the OpenAPI specification

speakeasy openapi transform format [flags]
-h, --help help for format
-o, --out string write directly to a file instead of stdout
-s, --schema string the schema to transform
--logLevel string the log level (available options: [info, warn, error]) (default "info")