Skip to content

buildGeneratorArgs

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/openapi/sdk-packaging.ts

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

NameType
options`{
jarPath: string;
language: SdkGeneratedLanguage;
specPath: string;
outDir: string;
packageBase: string;
}`

Returns: string[]

Was this page helpful?

Download as PDF