smithy icon indicating copy to clipboard operation
smithy copied to clipboard

Invalid AWS JSON 1.1 protocol tests

Open david-perez opened this issue 2 years ago • 0 comments

We discovered in https://github.com/awslabs/smithy-rs/pull/1708 that at least the following 36 @httpRequestTests (what follows are their ids) from the AWS JSON 1.1. test suite are invalid because they are missing the x-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:

json_1_1_client_sends_empty_payload_for_no_input_shape
json_1_1_service_supports_empty_payload_for_no_input_shape
sends_requests_to_slash

AwsJson11Enums

serializes_blob_shapes
serializes_boolean_shapes_false
serializes_boolean_shapes_true
serializes_double_shapes
serializes_empty_list_shapes
serializes_empty_map_shapes
serializes_empty_structure_shapes
serializes_float_shapes
serializes_integer_shapes
serializes_list_of_map_shapes
serializes_list_of_recursive_structure_shapes
serializes_list_of_structure_shapes
serializes_list_shapes
serializes_long_shapes
serializes_map_of_list_shapes
serializes_map_of_recursive_structure_shapes
serializes_map_of_structure_shapes
serializes_map_shapes
serializes_recursive_structure_shapes
serializes_string_shapes
serializes_string_shapes_with_jsonvalue_trait
serializes_structure_members_with_locationname_traits
serializes_structure_shapes
serializes_structure_which_have_no_members
serializes_timestamp_shapes
serializes_timestamp_shapes_with_httpdate_timestampformat
serializes_timestamp_shapes_with_iso8601_timestampformat
serializes_timestamp_shapes_with_unixtimestamp_timestampformat

AwsJson11ListsSerializeNull
AwsJson11MapsSerializeNullValues
AwsJson11ServersDontDeserializeNullStructureValues
PutAndGetInlineDocumentsInput

david-perez avatar Sep 08 '22 12:09 david-perez