diff --git a/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy b/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy index f0d5ebc3896..aa0b670ab8a 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-headers.smithy @@ -57,8 +57,8 @@ apply InputAndOutputWithHeaders @httpRequestTests([ "X-Short": "123", "X-Integer": "123", "X-Long": "123", - "X-Float": "1.0", - "X-Double": "1.0", + "X-Float": "1.1", + "X-Double": "1.1", "X-IntegerList": "1, 2, 3", }, body: "", @@ -67,8 +67,8 @@ apply InputAndOutputWithHeaders @httpRequestTests([ headerShort: 123, headerInteger: 123, headerLong: 123, - headerFloat: 1.0, - headerDouble: 1.0, + headerFloat: 1.1, + headerDouble: 1.1, headerIntegerList: [1, 2, 3], } }, @@ -150,8 +150,8 @@ apply InputAndOutputWithHeaders @httpResponseTests([ "X-Short": "123", "X-Integer": "123", "X-Long": "123", - "X-Float": "1.0", - "X-Double": "1.0", + "X-Float": "1.1", + "X-Double": "1.1", "X-IntegerList": "1, 2, 3", }, body: "", @@ -160,8 +160,8 @@ apply InputAndOutputWithHeaders @httpResponseTests([ headerShort: 123, headerInteger: 123, headerLong: 123, - headerFloat: 1.0, - headerDouble: 1.0, + headerFloat: 1.1, + headerDouble: 1.1, headerIntegerList: [1, 2, 3], } }, diff --git a/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy b/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy index 160c4f22abf..dc71bec9867 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-labels.smithy @@ -26,15 +26,15 @@ apply HttpRequestWithLabels @httpRequestTests([ documentation: "Sends a GET request that uses URI label bindings", protocol: restJson1, method: "GET", - uri: "/HttpRequestWithLabels/string/1/2/3/4.0/5.0/true/2019-12-16T23%3A48%3A18Z", + uri: "/HttpRequestWithLabels/string/1/2/3/4.1/5.1/true/2019-12-16T23%3A48%3A18Z", body: "", params: { string: "string", short: 1, integer: 2, long: 3, - float: 4.0, - double: 5.0, + float: 4.1, + double: 5.1, boolean: true, timestamp: 1576540098 } diff --git a/smithy-aws-protocol-tests/model/restJson1/http-query.smithy b/smithy-aws-protocol-tests/model/restJson1/http-query.smithy index 5d8aaca1020..a11857d94f8 100644 --- a/smithy-aws-protocol-tests/model/restJson1/http-query.smithy +++ b/smithy-aws-protocol-tests/model/restJson1/http-query.smithy @@ -51,16 +51,16 @@ apply AllQueryStringTypes @httpRequestTests([ "IntegerSet=2", "IntegerSet=3", "Long=4", - "Float=1", - "Double=1", - "DoubleList=1.0", - "DoubleList=2.0", - "DoubleList=3.0", + "Float=1.1", + "Double=1.1", + "DoubleList=1.1", + "DoubleList=2.1", + "DoubleList=3.1", "Boolean=true", "BooleanList=true", "BooleanList=false", "BooleanList=true", - "Timestamp=1", + "Timestamp=1970-01-01T00%3A00%3A01Z", "TimestampList=1970-01-01T00%3A00%3A01Z", "TimestampList=1970-01-01T00%3A00%3A02Z", "TimestampList=1970-01-01T00%3A00%3A03Z", @@ -79,9 +79,9 @@ apply AllQueryStringTypes @httpRequestTests([ queryIntegerList: [1, 2, 3], queryIntegerSet: [1, 2, 3], queryLong: 4, - queryFloat: 1, - queryDouble: 1, - queryDoubleList: [1.0, 2.0, 3.0], + queryFloat: 1.1, + queryDouble: 1.1, + queryDoubleList: [1.1, 2.1, 3.1], queryBoolean: true, queryBooleanList: [true, false, true], queryTimestamp: 1, diff --git a/smithy-aws-protocol-tests/model/restXml/http-headers.smithy b/smithy-aws-protocol-tests/model/restXml/http-headers.smithy index a329ef37ff2..84c9a8580bf 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-headers.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-headers.smithy @@ -57,8 +57,8 @@ apply InputAndOutputWithHeaders @httpRequestTests([ "X-Short": "123", "X-Integer": "123", "X-Long": "123", - "X-Float": "1.0", - "X-Double": "1.0", + "X-Float": "1.1", + "X-Double": "1.1", "X-IntegerList": "1, 2, 3", }, body: "", @@ -67,8 +67,8 @@ apply InputAndOutputWithHeaders @httpRequestTests([ headerShort: 123, headerInteger: 123, headerLong: 123, - headerFloat: 1.0, - headerDouble: 1.0, + headerFloat: 1.1, + headerDouble: 1.1, headerIntegerList: [1, 2, 3], } }, @@ -150,8 +150,8 @@ apply InputAndOutputWithHeaders @httpResponseTests([ "X-Short": "123", "X-Integer": "123", "X-Long": "123", - "X-Float": "1.0", - "X-Double": "1.0", + "X-Float": "1.1", + "X-Double": "1.1", "X-IntegerList": "1, 2, 3", }, body: "", @@ -160,8 +160,8 @@ apply InputAndOutputWithHeaders @httpResponseTests([ headerShort: 123, headerInteger: 123, headerLong: 123, - headerFloat: 1.0, - headerDouble: 1.0, + headerFloat: 1.1, + headerDouble: 1.1, headerIntegerList: [1, 2, 3], } }, diff --git a/smithy-aws-protocol-tests/model/restXml/http-labels.smithy b/smithy-aws-protocol-tests/model/restXml/http-labels.smithy index e57fb1ebbb1..cdd23c9fcca 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-labels.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-labels.smithy @@ -26,15 +26,15 @@ apply HttpRequestWithLabels @httpRequestTests([ documentation: "Sends a GET request that uses URI label bindings", protocol: restXml, method: "GET", - uri: "/HttpRequestWithLabels/string/1/2/3/4.0/5.0/true/2019-12-16T23%3A48%3A18Z", + uri: "/HttpRequestWithLabels/string/1/2/3/4.1/5.1/true/2019-12-16T23%3A48%3A18Z", body: "", params: { string: "string", short: 1, integer: 2, long: 3, - float: 4.0, - double: 5.0, + float: 4.1, + double: 5.1, boolean: true, timestamp: 1576540098 } diff --git a/smithy-aws-protocol-tests/model/restXml/http-query.smithy b/smithy-aws-protocol-tests/model/restXml/http-query.smithy index 923126e4e6b..8acf301694e 100644 --- a/smithy-aws-protocol-tests/model/restXml/http-query.smithy +++ b/smithy-aws-protocol-tests/model/restXml/http-query.smithy @@ -51,16 +51,16 @@ apply AllQueryStringTypes @httpRequestTests([ "IntegerSet=2", "IntegerSet=3", "Long=4", - "Float=1", - "Double=1", - "DoubleList=1.0", - "DoubleList=2.0", - "DoubleList=3.0", + "Float=1.1", + "Double=1.1", + "DoubleList=1.1", + "DoubleList=2.1", + "DoubleList=3.1", "Boolean=true", "BooleanList=true", "BooleanList=false", "BooleanList=true", - "Timestamp=1", + "Timestamp=1970-01-01T00%3A00%3A01Z", "TimestampList=1970-01-01T00%3A00%3A01Z", "TimestampList=1970-01-01T00%3A00%3A02Z", "TimestampList=1970-01-01T00%3A00%3A03Z", @@ -79,9 +79,9 @@ apply AllQueryStringTypes @httpRequestTests([ queryIntegerList: [1, 2, 3], queryIntegerSet: [1, 2, 3], queryLong: 4, - queryFloat: 1, - queryDouble: 1, - queryDoubleList: [1.0, 2.0, 3.0], + queryFloat: 1.1, + queryDouble: 1.1, + queryDoubleList: [1.1, 2.1, 3.1], queryBoolean: true, queryBooleanList: [true, false, true], queryTimestamp: 1,