Skip to content

Commit

Permalink
fix: Proper formatting of generated structures (#1860)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins authored Jan 8, 2025
1 parent c5329d4 commit 40666f0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ public struct FooOutput: Swift.Sendable {
public init(
expires: Swift.String? = nil,
payload1: Swift.String? = nil
)
{
) {
self.expires = expires
self.payload1 = payload1
}
Expand All @@ -46,8 +45,7 @@ public struct FooInput: Swift.Sendable {
public init(
expires: Swift.String? = nil,
payload1: Swift.String? = nil
)
{
) {
self.expires = expires
self.payload1 = payload1
}
Expand All @@ -69,8 +67,7 @@ public struct FooOutput: Swift.Sendable {
public init(
expires: Foundation.Date? = nil,
payload1: Swift.String? = nil
)
{
) {
self.expires = expires
self.payload1 = payload1
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ public struct ComplexError: ClientRuntime.ModeledError, AWSClientRuntime.AWSServ
public init(
nested: EC2ProtocolClientTypes.ComplexNestedErrorData? = nil,
topLevel: Swift.String? = nil
)
{
) {
self.properties.nested = nested
self.properties.topLevel = topLevel
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ public struct ComplexXMLError: ClientRuntime.ModeledError, AWSClientRuntime.AWSS
header: Swift.String? = nil,
nested: RestXmlerrorsClientTypes.ComplexXMLNestedErrorData? = nil,
topLevel: Swift.String? = nil
)
{
) {
self.properties.header = header
self.properties.nested = nested
self.properties.topLevel = topLevel
Expand Down

0 comments on commit 40666f0

Please sign in to comment.