# Ruby Configuration Options

This section details the available configuration options for the Ruby SDK. All configuration is managed in the `gen.yaml` file under the `ruby` section.

## Version and general configuration

```yml
ruby:
  version: 1.2.3
  author: "Author Name"
  packageName: "custom-sdk"
```

## Method and parameter management
```yml
ruby:
  maxMethodParams: 4
```

## Module management

```yml
ruby:
  module: "OpenApiSdk"
```

## Import management

```yml
ruby:
  imports:
    option: "openapi"
    paths:
      callbacks: models/callbacks
      errors: models/errors
      operations: models/operations
      shared: models/components
      webhooks: models/webhooks
```

### Import paths

## Forward compatibility

These options control how the SDK handles API evolution, allowing older SDK versions to continue working when APIs add new enum values or union types.

```yml
ruby:
  forwardCompatibleEnumsByDefault: true
  unionStrategy: populated-fields
```
