Skip to content

Commit

Permalink
Add string document map to smithy.rules#staticContextParams
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Dec 16, 2024
1 parent fcd91ce commit 0880ac6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Sources/SotoSmithy/Traits/Types/RulesTraits.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ public struct ClientContextParamsTrait: StaticTrait {
public init() {}
}

public struct StaticContextParamsTrait: StaticTrait {
public struct StaticContextParamsTrait: SingleValueTrait {
public static let staticName: ShapeId = "smithy.rules#staticContextParams"
public var selector: Selector { TypeSelector<OperationShape>() }
public init() {}
public var value: [String: Document]
public init(value: [String: Document]) {
self.value = value
}
}

0 comments on commit 0880ac6

Please sign in to comment.