Skip to content
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

Update REST-JSON protocol test implicit request body case #476

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Jun 24, 2020

Updates the restJson1 protocol test to not expect {} as the request body. Instead the test expects no/empty request body. This matches the AWS SDK's expectation of REST-JSON with no input parameters when no document or payload binding are modeled on the input shape.

https://github.com/aws/aws-sdk-go-v2/blob/master/models/protocol_tests/input/rest-json.json#L724-L737

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

Updates the restJson1 protocol test to not expect `{}` as the request
body. Instead the test expects no/empty request body. This matches the AWS SDK's
expectation of REST-JSON with no input parameters when no document or
payload binding are modeled on the input shape.

https://github.com/aws/aws-sdk-go-v2/blob/master/models/protocol_tests/input/rest-json.json#L3-L19
@mtdowling mtdowling merged commit b10ed21 into smithy-lang:master Jun 24, 2020
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