Skip to content

Commit

Permalink
Fix RestJsonAllQueryStringTypes protocol test
Browse files Browse the repository at this point in the history
  • Loading branch information
david-perez authored and kstich committed Jan 9, 2023
1 parent 07bab5b commit 6754a8d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions smithy-aws-protocol-tests/model/restJson1/http-query.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,26 @@ apply AllQueryStringTypes @httpRequestTests([
queryEnumList: ["Foo", "Baz", "Bar"],
queryIntegerEnum: 1,
queryIntegerEnumList: [1, 2, 3],
queryParamsMapOfStringList: {
"String": ["Hello there"],
"StringList": ["a", "b", "c"],
"StringSet": ["a", "b", "c"],
"Byte": ["1"],
"Short": ["2"],
"Integer": ["3"],
"IntegerList": ["1", "2", "3"],
"IntegerSet": ["1", "2", "3"],
"Long": ["4"],
"Float": ["1.1"],
"Double": ["1.1"],
"DoubleList": ["1.1", "2.1", "3.1"],
"Boolean": ["true"],
"BooleanList": ["true", "false", "true"],
"Timestamp": ["1970-01-01T00:00:01Z"],
"TimestampList": ["1970-01-01T00:00:01Z", "1970-01-01T00:00:02Z", "1970-01-01T00:00:03Z"],
"Enum": ["Foo"],
"EnumList": ["Foo", "Baz", "Bar"]
},
}
},
{
Expand Down

0 comments on commit 6754a8d

Please sign in to comment.