Skip to content

Commit

Permalink
Add test for map of sets to restJson protocol test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kggilmer authored and mtdowling committed Jun 11, 2021
1 parent c730b33 commit 301436a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions smithy-aws-protocol-tests/model/restJson1/json-maps.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,8 @@ structure JsonMapsInputOutput {
sparseNumberMap: SparseNumberMap,
sparseBooleanMap: SparseBooleanMap,
sparseStringMap: SparseStringMap,
denseSetMap: DenseSetMap,
sparseSetMap: SparseSetMap,
}

map DenseStructMap {
Expand Down Expand Up @@ -325,3 +327,14 @@ map SparseNumberMap {
key: String,
value: Integer
}

map DenseSetMap {
key: String,
value: aws.protocoltests.shared#StringSet
}

@sparse
map SparseSetMap {
key: String,
value: aws.protocoltests.shared#StringSet
}

0 comments on commit 301436a

Please sign in to comment.