Skip to content

Commit 0880ac6

Browse files
committed
Add string document map to smithy.rules#staticContextParams
1 parent fcd91ce commit 0880ac6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Sources/SotoSmithy/Traits/Types/RulesTraits.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,11 @@ public struct ClientContextParamsTrait: StaticTrait {
3939
public init() {}
4040
}
4141

42-
public struct StaticContextParamsTrait: StaticTrait {
42+
public struct StaticContextParamsTrait: SingleValueTrait {
4343
public static let staticName: ShapeId = "smithy.rules#staticContextParams"
4444
public var selector: Selector { TypeSelector<OperationShape>() }
45-
public init() {}
45+
public var value: [String: Document]
46+
public init(value: [String: Document]) {
47+
self.value = value
48+
}
4649
}

0 commit comments

Comments
 (0)