Skip to content

Commit 9df230c

Browse files
committed
fixing testing issues
1 parent fb49a88 commit 9df230c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Sources/OpenAPIURLSession/URLSessionTransport.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public struct URLSessionTransport: ClientTransport {
7575
self.init(session: session, implementation: implementation)
7676
}
7777
/// Specifies the mode in which HTTP request and response bodies are processed.
78-
78+
7979
public struct HTTPBodyProcessingMode: Sendable {
8080
/// Exposing the internal implementation directly.
8181
fileprivate let implementation: Configuration.Implementation
@@ -95,7 +95,6 @@ public struct URLSessionTransport: ClientTransport {
9595
}
9696

9797
var implementation: Implementation
98-
9998
init(session: URLSession = .shared, implementation: Implementation = .platformDefault) {
10099
self.session = session
101100
if case .streaming = implementation {
@@ -111,7 +110,9 @@ public struct URLSessionTransport: ClientTransport {
111110

112111
/// Creates a new URLSession-based transport.
113112
/// - Parameter configuration: A set of configuration values used by the transport.
114-
public init(configuration: Configuration = .init(httpBodyProcessingMode: .platformDefault)) { self.configuration = configuration }
113+
public init(configuration: Configuration = .init(httpBodyProcessingMode: .platformDefault)) {
114+
self.configuration = configuration
115+
}
115116

116117
/// Sends the underlying HTTP request and returns the received HTTP response.
117118
/// - Parameters:

0 commit comments

Comments
 (0)