Skip to content

CLI

remove-unused

speakeasy openapi transform remove-unused

Given an OpenAPI file, remove all unused options

speakeasy openapi transform remove-unused [flags]
-h, --help help for remove-unused
-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")