From fc5df6619b7b46907d9c49ea8ed634b4d1c31acc Mon Sep 17 00:00:00 2001 From: Nika Hassani Date: Fri, 26 Jan 2024 12:39:32 -0800 Subject: [PATCH] chore(smithy): run dart format to fix format for generated smithy goldens --- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- ..._content_type_without_body_empty_input_operation.dart | 9 ++++++--- ...p_request_with_labels_and_timestamp_format_input.dart | 4 ++-- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- ..._content_type_without_body_empty_input_operation.dart | 9 ++++++--- ...p_request_with_labels_and_timestamp_format_input.dart | 4 ++-- ...quest_with_labels_and_timestamp_format_operation.dart | 9 ++++++--- 8 files changed, 40 insertions(+), 22 deletions(-) diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 2b35a3d7f0..2843b79b37 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, diff --git a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart index ab5930f525..d087945c92 100644 --- a/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart +++ b/packages/smithy/goldens/lib/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart @@ -12,9 +12,12 @@ import 'package:rest_json1_v1/src/rest_json_protocol/model/malformed_content_typ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; -class MalformedContentTypeWithoutBodyEmptyInputOperation extends _i1 - .HttpOperation { +class MalformedContentTypeWithoutBodyEmptyInputOperation + extends _i1.HttpOperation< + MalformedContentTypeWithoutBodyEmptyInputInputPayload, + MalformedContentTypeWithoutBodyEmptyInputInput, + _i1.Unit, + _i1.Unit> { MalformedContentTypeWithoutBodyEmptyInputOperation({ required String region, Uri? baseUri, diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index 22f7c0f730..166e01179f 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -223,8 +223,8 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload } } -class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i1 - .StructuredSmithySerializer< +class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer + extends _i1.StructuredSmithySerializer< HttpRequestWithLabelsAndTimestampFormatInputPayload> { const HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer() : super('HttpRequestWithLabelsAndTimestampFormatInput'); diff --git a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 1cd2f9a3d7..1428155eb5 100644 --- a/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 5c6e34f8d7..322a14f819 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region, diff --git a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart index 6a51c3afc0..1ba66c95df 100644 --- a/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart +++ b/packages/smithy/goldens/lib2/restJson1/lib/src/rest_json_protocol/operation/malformed_content_type_without_body_empty_input_operation.dart @@ -12,9 +12,12 @@ import 'package:rest_json1_v2/src/rest_json_protocol/model/malformed_content_typ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; -class MalformedContentTypeWithoutBodyEmptyInputOperation extends _i1 - .HttpOperation { +class MalformedContentTypeWithoutBodyEmptyInputOperation + extends _i1.HttpOperation< + MalformedContentTypeWithoutBodyEmptyInputInputPayload, + MalformedContentTypeWithoutBodyEmptyInputInput, + _i1.Unit, + _i1.Unit> { MalformedContentTypeWithoutBodyEmptyInputOperation({ required String region, Uri? baseUri, diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart index 5ca5c2253e..58c6397e27 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/model/http_request_with_labels_and_timestamp_format_input.dart @@ -223,8 +223,8 @@ abstract class HttpRequestWithLabelsAndTimestampFormatInputPayload } } -class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer extends _i1 - .StructuredSmithySerializer< +class HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer + extends _i1.StructuredSmithySerializer< HttpRequestWithLabelsAndTimestampFormatInputPayload> { const HttpRequestWithLabelsAndTimestampFormatInputRestXmlSerializer() : super('HttpRequestWithLabelsAndTimestampFormatInput'); diff --git a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart index 4b9a7e9b4b..c49465ccf6 100644 --- a/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart +++ b/packages/smithy/goldens/lib2/restXml/lib/src/rest_xml_protocol/operation/http_request_with_labels_and_timestamp_format_operation.dart @@ -13,9 +13,12 @@ import 'package:smithy/smithy.dart' as _i1; import 'package:smithy_aws/smithy_aws.dart' as _i2; /// The example tests how requests serialize different timestamp formats in the URI path. -class HttpRequestWithLabelsAndTimestampFormatOperation extends _i1 - .HttpOperation { +class HttpRequestWithLabelsAndTimestampFormatOperation + extends _i1.HttpOperation< + HttpRequestWithLabelsAndTimestampFormatInputPayload, + HttpRequestWithLabelsAndTimestampFormatInput, + _i1.Unit, + _i1.Unit> { /// The example tests how requests serialize different timestamp formats in the URI path. HttpRequestWithLabelsAndTimestampFormatOperation({ required String region,