You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

ApolloCodegenOptions.OutputFormat


ENUM

ApolloCodegenOptions.OutputFormat

Swift
1public enum OutputFormat

Enum to select how you want to export your API files.

Cases

singleFile(atFileURL:)

Swift
1case singleFile(atFileURL: URL)

Outputs everything into a single file at the given URL. NOTE: URL must be a file URL

multipleFiles(inFolderAtURL:)

Swift
1case multipleFiles(inFolderAtURL: URL)

Outputs everything into individual files in a folder a the given URL NOTE: URL must be a folder URL

Feedback

Edit on GitHub

Forums