1. 2.
Finally, run `cargo fmt`
You need to install Open API Generator:
```sh
brew install openapi-generator
```
Regenerate models:
```bash
cd rust/cubesql
openapi-generator generate -i ../../packages/cubejs-api-gateway/openspec.yml -g rust -o cubeclient
```
The above command will also overwrite `src/apis/default_api.rs`, remember to do the following: