[egulu CLI reference](../index.md) / [egulu apis](index.md)

# egulu apis export-openapi

POST /v1/projects/{project}/locations/{location}/apis/{api}:exportOpenApi

```sh
egulu apis export-openapi [options]
```

## API operation

[Apis_exportOpenApi](../../api/apigw/Apis_exportOpenApi.md): `POST /v1/projects/{project}/locations/{location}/apis/{api}:exportOpenApi` (apigw module)

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--api` | value | yes | api |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--title` | value | no | title |
| `--version` | value | no | version |

The [global options](../index.md) apply too.
