Skip to content

Update query params output test in rest-json#2739

Merged
JordonPhillips merged 1 commit into
smithy-lang:mainfrom
mullermp:fix-protocol-test
Aug 26, 2025
Merged

Update query params output test in rest-json#2739
JordonPhillips merged 1 commit into
smithy-lang:mainfrom
mullermp:fix-protocol-test

Conversation

@mullermp
Copy link
Copy Markdown
Contributor

Background

This change updates the RestJsonIgnoreQueryParamsInResponse test to enforce deserializing a body element that is also bound as a query parameter.

This test has a rest-xml equivalent that follows this same pattern.

Additionally, the extra test about "no payload" does not seem to make sense anymore in this context and has been deleted - the description of the test above says that server implementations have been updated to always return an empty json. Additionally, an empty string would never be returned in this case because there will be a payload that needs to be deserialized.

Testing

Smithy Ruby


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mullermp mullermp requested a review from a team as a code owner August 13, 2025 15:00
@mullermp mullermp requested a review from kstich August 13, 2025 15:00
@JordonPhillips JordonPhillips merged commit c827947 into smithy-lang:main Aug 26, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants