You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Make Instantiator generate default values for required field on demand
* Move looping over operations into ServerProtocolTestGenerator
Signed-off-by: Weihang Lo <weihanglo@users.noreply.github.com>
* Add protocol test helper functions
Signed-off-by: Weihang Lo <weihanglo@users.noreply.github.com>
* Add method param to construct http request
* Put request validation logic inside closure
Signed-off-by: Weihang Lo <weihanglo@users.noreply.github.com>
* Make protocol test response instantiate with default values
* Add module meta for helper module
Signed-off-by: Weihang Lo <weihanglo@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: david-perez <d@vidp.dev>
* Address most style suggestions
* add companion object for attribute #[allow(dead_code)]
Signed-off-by: Weihang Lo <weihanglo@users.noreply.github.com>
* Use writable to make code readable
* recursively call `filldefaultValue`
Signed-off-by: Weihang Lo <weihanglo@users.noreply.github.com>
* Exercise with `OperationExtension`
* Temporary protocol tests fix for smithy-lang/smithy#1391
Missing `X-Amz-Target` in response header
* Add `X-Amz-Target` for common models
Signed-off-by: Weihang Lo <weihanglo@users.noreply.github.com>
Co-authored-by: david-perez <d@vidp.dev>
Co-authored-by: Harry Barber <hlbarber@amazon.co.uk>
We discovered in smithy-lang/smithy-rs#1708 that at least the following 36
@httpRequestTests
(what follows are theirid
s) from the AWS JSON 1.1. test suite are invalid because they are missing thex-amz-target
request header, which is required routing information in the AWS JSON 1.x protocols. Our AWS JSON 1.x router implementation in smithy-rs is thus currently failing to route the requests of these tests correctly:The text was updated successfully, but these errors were encountered: