Skip to content

Commit

Permalink
Add note about acceptable extensions for types of schema file. (apoll…
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd authored and Maxim Globak committed Jun 1, 2022
1 parent beb42f6 commit 019affb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ApolloCodegenLib/ApolloCodegenOptions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public struct ApolloCodegenOptions {
/// - outputFormat: The `OutputFormat` enum option to use to output generated code.
/// - customScalarFormat: How to handle properties using a custom scalar from the schema.
/// - suppressSwiftMultilineStringLiterals: Don't use multi-line string literals when generating code. Defaults to false.
/// - urlToSchemaFile: The URL to your schema file.
/// - urlToSchemaFile: The URL to your schema file. Accepted file types are `.json` for JSON files, or either `.graphqls` or `.sdl` for Schema Definition Language files.
/// - downloadTimeout: The maximum time to wait before indicating that the download timed out, in seconds. Defaults to 30 seconds.
public init(codegenEngine: CodeGenerationEngine = .default,
includes: String = "./**/*.graphql",
Expand Down

0 comments on commit 019affb

Please sign in to comment.