# buildGeneratorArgs

**Kind:** Function

**Source:** [`atloria-monorepo/libs/parser-core/src/openapi/sdk-packaging.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/parser-core/src/openapi/sdk-packaging.ts#L202)

Full argv for `java <argv...>` — the single source of truth for how the
sdk-worker invokes the pinned generator jar (unit-tested without a JRE).

## Signature

```ts
function buildGeneratorArgs(options: {
  jarPath: string;
  language: SdkGeneratedLanguage;
  specPath: string;
  outDir: string;
  packageBase: string;
}): string[]
```

## Parameters

| Name | Type |
|---|---|
| `options` | `{
  jarPath: string;
  language: SdkGeneratedLanguage;
  specPath: string;
  outDir: string;
  packageBase: string;
}` |

**Returns:** `string[]`
