Skip to main content

RunGeneratorContext

@the-codegen-project/cliDocs


Home / RunGeneratorContext

Interface: RunGeneratorContext

Properties

PropertyTypeDefined in
asyncapiDocument?AsyncAPIDocumentInterfacesrc/codegen/types.ts:127
configFilePathstringsrc/codegen/types.ts:125
configuration{ $schema: string; generators: ( | { dependencies: string[]; id: string; language: "typescript"; outputPath: string; preset: "parameters"; serializationType: "json"; } | { dependencies: string[]; enum: "enum" | "union"; id: string; language: "typescript"; map: "map" | "indexedObject" | "record"; outputPath: string; preset: "payloads"; rawPropertyNames: boolean; serializationType: "json"; useForJavaScript: boolean; } | { dependencies: string[]; id: string; language: "typescript"; outputPath: string; parameterGeneratorId: string; payloadGeneratorId: string; preset: "channels"; protocols: "nats"[]; } | { channelsGeneratorId: string; dependencies: string[]; id: string; language: "typescript"; outputPath: string; preset: "client"; protocols: "nats"[]; } | { dependencies: string[]; id: string; language: "typescript"; outputPath: string; preset: "headers"; serializationType: "json"; } | { dependencies: string[]; id: string; options: any; preset: "custom"; renderFunction: (...args) => any; })[]; inputPath: string; inputType: "asyncapi"; language: "typescript"; }src/codegen/types.ts:124
configuration.$schema?stringsrc/codegen/types.ts:104
configuration.generators( | { dependencies: string[]; id: string; language: "typescript"; outputPath: string; preset: "parameters"; serializationType: "json"; } | { dependencies: string[]; enum: "enum" | "union"; id: string; language: "typescript"; map: "map" | "indexedObject" | "record"; outputPath: string; preset: "payloads"; rawPropertyNames: boolean; serializationType: "json"; useForJavaScript: boolean; } | { dependencies: string[]; id: string; language: "typescript"; outputPath: string; parameterGeneratorId: string; payloadGeneratorId: string; preset: "channels"; protocols: "nats"[]; } | { channelsGeneratorId: string; dependencies: string[]; id: string; language: "typescript"; outputPath: string; preset: "client"; protocols: "nats"[]; } | { dependencies: string[]; id: string; language: "typescript"; outputPath: string; preset: "headers"; serializationType: "json"; } | { dependencies: string[]; id: string; options: any; preset: "custom"; renderFunction: (...args) => any; })[]src/codegen/types.ts:108
configuration.inputPathstringsrc/codegen/types.ts:106
configuration.inputType"asyncapi"src/codegen/types.ts:105
configuration.language?"typescript"src/codegen/types.ts:107
documentPathstringsrc/codegen/types.ts:126