Skip to content

Commit 46e5ddd

Browse files
Daiki Matsudatewing328
authored andcommitted
removing trailing spaces (#7943)
1 parent 260375c commit 46e5ddd

File tree

31 files changed

+56
-56
lines changed

31 files changed

+56
-56
lines changed

modules/swagger-codegen/src/main/resources/swift3/APIHelper.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class APIHelper {
6868
}
6969
}
7070
.flatMap { $0 }
71-
71+
7272
if returnValues.isEmpty { return nil }
7373
return returnValues
7474
}

modules/swagger-codegen/src/main/resources/swift3/Configuration.mustache

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
import Foundation
88

99
open class Configuration {
10-
11-
// This value is used to configure the date formatter that is used to serialize dates into JSON format.
12-
// You must set it prior to encoding any dates, and it will only be read once.
10+
11+
// This value is used to configure the date formatter that is used to serialize dates into JSON format.
12+
// You must set it prior to encoding any dates, and it will only be read once.
1313
open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
14-
15-
}
14+
15+
}

modules/swagger-codegen/src/main/resources/swift3/Models.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class Decoders {
199199
return .success(nil)
200200
}
201201
}
202-
202+
203203
static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
204204
if let source = source as? [AnyObject] {
205205
var values = [T]()
@@ -304,7 +304,7 @@ class Decoders {
304304

305305
{{#models}}
306306
{{#model}}
307-
{{^isArrayModel}}
307+
{{^isArrayModel}}
308308
// Decoder for [{{{classname}}}]
309309
Decoders.addDecoder(clazz: [{{{classname}}}].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[{{{classname}}}]> in
310310
return Decoders.decode(clazz: [{{{classname}}}].self, source: source)

modules/swagger-codegen/src/main/resources/swift3/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ open class {{classname}}: APIBase {
145145
var url = URLComponents(string: URLString)
146146
url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
147147
{{#queryParams}}
148-
{{> _param}}{{#hasMore}}, {{/hasMore}}
148+
{{> _param}}{{#hasMore}},{{/hasMore}}
149149
{{/queryParams}}
150150
]){{/hasQueryParams}}{{^hasQueryParams}}
151151
let url = URLComponents(string: URLString){{/hasQueryParams}}

modules/swagger-codegen/src/main/resources/swift3/git_push.sh.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ git init
2828
# Adds the files in the local repository and stages them for commit.
2929
git add .
3030

31-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
31+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
3232
git commit -m "$release_note"
3333

3434
# Sets the new remote

modules/swagger-codegen/src/main/resources/swift3/gitignore.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Carthage/Build
5454

5555
# fastlane
5656
#
57-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
57+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
5858
# screenshots whenever they are needed.
5959
# For more information about the recommended setup visit:
6060
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md

samples/client/petstore/swift3/default/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Carthage/Build
5454

5555
# fastlane
5656
#
57-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
57+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
5858
# screenshots whenever they are needed.
5959
# For more information about the recommended setup visit:
6060
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md

samples/client/petstore/swift3/default/PetstoreClient/Classes/Swaggers/APIHelper.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class APIHelper {
6868
}
6969
}
7070
.flatMap { $0 }
71-
71+
7272
if returnValues.isEmpty { return nil }
7373
return returnValues
7474
}

samples/client/petstore/swift3/default/PetstoreClient/Classes/Swaggers/Configuration.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
import Foundation
88

99
open class Configuration {
10-
11-
// This value is used to configure the date formatter that is used to serialize dates into JSON format.
12-
// You must set it prior to encoding any dates, and it will only be read once.
10+
11+
// This value is used to configure the date formatter that is used to serialize dates into JSON format.
12+
// You must set it prior to encoding any dates, and it will only be read once.
1313
open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
14-
15-
}
14+
15+
}

samples/client/petstore/swift3/default/PetstoreClient/Classes/Swaggers/Models.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class Decoders {
185185
return .success(nil)
186186
}
187187
}
188-
188+
189189
static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
190190
if let source = source as? [AnyObject] {
191191
var values = [T]()

0 commit comments

Comments
 (0)