From 019affbe110df2ddb62d3f74eba8cf2c98b0479b Mon Sep 17 00:00:00 2001 From: Ellen Shapiro Date: Tue, 18 Jan 2022 22:31:49 -0600 Subject: [PATCH] Add note about acceptable extensions for types of schema file. (#2059) --- Sources/ApolloCodegenLib/ApolloCodegenOptions.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ApolloCodegenLib/ApolloCodegenOptions.swift b/Sources/ApolloCodegenLib/ApolloCodegenOptions.swift index 0d699aece6..844be15a3a 100644 --- a/Sources/ApolloCodegenLib/ApolloCodegenOptions.swift +++ b/Sources/ApolloCodegenLib/ApolloCodegenOptions.swift @@ -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",