smithy-lang / smithy

Smithy is a protocol-agnostic interface definition language and set of tools for generating clients, servers, and documentation for any programming language.
https://smithy.io
Apache License 2.0
1.7k stars 201 forks source link

Fix expected defaultTimestamp value in RestJsonClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse #2341

Open ysaito1001 opened 4 days ago

ysaito1001 commented 4 days ago

This PR updates the expected defaultTimestamp to 2 in RestJsonClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse. The value 1 may have been incorrectly specified in this PR based on the corresponding Rails Json test where the timestamp format is httpdate instead of epoch seconds.

The issue was discovered while upgrading Smithy to 1.50.0 in the smithy-rs repository.


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