Skip to content

Commit fc916f3

Browse files
committed
Reformat
1 parent 6e1ff4d commit fc916f3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Sources/SwiftlyCore/HTTPClient.swift

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import NIOHTTP1
88
import OpenAPIAsyncHTTPClient
99
import OpenAPIRuntime
1010

11-
public extension Components.Schemas.SwiftlyRelease {
11+
extension Components.Schemas.SwiftlyRelease {
1212
public var swiftlyVersion: SwiftlyVersion {
1313
get throws {
1414
guard let releaseVersion = try? SwiftlyVersion(parsing: self.version) else {
@@ -20,7 +20,7 @@ public extension Components.Schemas.SwiftlyRelease {
2020
}
2121
}
2222

23-
public extension Components.Schemas.SwiftlyReleasePlatformArtifacts {
23+
extension Components.Schemas.SwiftlyReleasePlatformArtifacts {
2424
public var isDarwin: Bool {
2525
self.platform.value1 == .darwin
2626
}
@@ -50,8 +50,8 @@ public extension Components.Schemas.SwiftlyReleasePlatformArtifacts {
5050
}
5151
}
5252

53-
public extension Components.Schemas.SwiftlyPlatformIdentifier {
54-
init(_ knownSwiftlyPlatformIdentifier: Components.Schemas.KnownSwiftlyPlatformIdentifier) {
53+
extension Components.Schemas.SwiftlyPlatformIdentifier {
54+
public init(_ knownSwiftlyPlatformIdentifier: Components.Schemas.KnownSwiftlyPlatformIdentifier) {
5555
self.init(value1: knownSwiftlyPlatformIdentifier)
5656
}
5757
}
@@ -185,32 +185,32 @@ extension Components.Schemas.Release {
185185
}
186186
}
187187

188-
public extension Components.Schemas.Architecture {
189-
init(_ knownArchitecture: Components.Schemas.KnownArchitecture) {
188+
extension Components.Schemas.Architecture {
189+
public init(_ knownArchitecture: Components.Schemas.KnownArchitecture) {
190190
self.init(value1: knownArchitecture, value2: knownArchitecture.rawValue)
191191
}
192192

193-
init(_ string: String) {
193+
public init(_ string: String) {
194194
self.init(value2: string)
195195
}
196196
}
197197

198-
public extension Components.Schemas.PlatformIdentifier {
199-
init(_ knownPlatformIdentifier: Components.Schemas.KnownPlatformIdentifier) {
198+
extension Components.Schemas.PlatformIdentifier {
199+
public init(_ knownPlatformIdentifier: Components.Schemas.KnownPlatformIdentifier) {
200200
self.init(value1: knownPlatformIdentifier)
201201
}
202202

203-
init(_ string: String) {
203+
public init(_ string: String) {
204204
self.init(value2: string)
205205
}
206206
}
207207

208-
public extension Components.Schemas.SourceBranch {
209-
init(_ knownSourceBranch: Components.Schemas.KnownSourceBranch) {
208+
extension Components.Schemas.SourceBranch {
209+
public init(_ knownSourceBranch: Components.Schemas.KnownSourceBranch) {
210210
self.init(value1: knownSourceBranch)
211211
}
212212

213-
init(_ string: String) {
213+
public init(_ string: String) {
214214
self.init(value2: string)
215215
}
216216
}

0 commit comments

Comments
 (0)