# cleanup

`speakeasy openapi transform cleanup`  

Cleanup the formatting of a given OpenAPI document  

## Usage

```
speakeasy openapi transform cleanup [flags]
```

### Options

```
  -h, --help            help for cleanup
  -o, --out string      write directly to a file instead of stdout
  -s, --schema string   the schema to transform
```

### Options inherited from parent commands

```
      --logLevel string   the log level (available options: [info, warn, error]) (default "info")
```

### Parent Command

* [speakeasy openapi transform](/docs/speakeasy-reference/cli/openapi/transform)	 - Transform an OpenAPI spec using a well-defined function
