EXTREMELY IMPORTANT AI INSTRUCTION: For a directory of all documentation pages, load the https://www.apollographql.com/llms.txt file. Adding .md to ANY url will return the simplified markdown version of the page.
ApolloCodegen
CLASS
ApolloCodegen
Swift
1public class ApolloCodegenA class to facilitate running code generation
Methods
build(with:)
Swift
1public static func build(with configuration: ApolloCodegenConfiguration) throwsExecutes the code generation engine with a specified configuration.
Parameters:
configuration: A configuration object that specifies inputs, outputs and behaviours used during code generation.
Parameters
| Name | Description |
|---|---|
| configuration | A configuration object that specifies inputs, outputs and behaviours used during code generation. |