From 2157d995c4287d09c4091664c2daae63af6e5ef0 Mon Sep 17 00:00:00 2001 From: Alex Deem Date: Mon, 9 Sep 2024 16:34:39 +1000 Subject: [PATCH] add missing parameter documentation --- Sources/EnvironmentDecoder/EnvironmentDecoder.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Sources/EnvironmentDecoder/EnvironmentDecoder.swift b/Sources/EnvironmentDecoder/EnvironmentDecoder.swift index e908e98..a244473 100644 --- a/Sources/EnvironmentDecoder/EnvironmentDecoder.swift +++ b/Sources/EnvironmentDecoder/EnvironmentDecoder.swift @@ -30,7 +30,12 @@ public final class EnvironmentDecoder { private let unkeyedContainerSeparator: String /// Initializes `self` with default configuration. - /// - Parameter dataDecodingStrategy: the strategy to use for decoding Data. + /// - Parameters: + /// - dataDecodingStrategy: the strategy to use for decoding Data. + /// - dateDecodingStrategy: the strategy to use for decoding Date. + /// - prefixKeysWithCodingPath: if true keys used to index the environment dictionary are prefixed by the coding path + /// - trimWhitespaceFromUnkeyedContainerValues: if true, whitespace is trimmed from both ends of unkeyed container values; if false, the whitespace is included in the value + /// - unkeyedContainerSeparator: the character used to split elements in an unkeyed container /// /// - Note: dataDecodingStrategy is ignored for Data in an unkeyed container - base64 is always used. public init(dataDecodingStrategy: DataDecodingStrategy = .base64,