# convert-swagger

`speakeasy openapi transform convert-swagger`  

Given a Swagger 2.0 file, convert it to an OpenAPI 3.x file  

## Usage

```
speakeasy openapi transform convert-swagger [flags]
```

### Options

```
  -h, --help            help for convert-swagger
  -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
