Skip to content

Commit

Permalink
Add server protocol test for handling static query params
Browse files Browse the repository at this point in the history
  • Loading branch information
JordonPhillips committed Oct 22, 2021
1 parent 306fa1a commit d295598
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions smithy-aws-protocol-tests/model/restJson1/http-query.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,21 @@ apply OmitsNullSerializesEmptyString @httpRequestTests([
emptyString: "",
},
},
{
id: "RestJsonServersAcceptStaticQueryParamAsEmptyString",
documentation: "Servers accept static query params as empty strings.",
protocol: restJson1,
method: "GET",
uri: "/OmitsNullSerializesEmptyString",
body: "",
queryParams: [
"Empty",
],
params: {
emptyString: "",
},
appliesTo: "server"
},
])

structure OmitsNullSerializesEmptyStringInput {
Expand Down

0 comments on commit d295598

Please sign in to comment.