Skip to content

Update query params output test in rest-json #2739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mullermp
Copy link
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
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