File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Sources/OpenAPIURLSession Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public struct URLSessionTransport: ClientTransport {
78
78
/// Creates a new configuration with the provided session.
79
79
/// - Parameter session: The URLSession used for performing HTTP operations.
80
80
/// If none is provided, the system uses the shared URLSession.
81
- public init ( session: URLSession ) { self . init ( session: session, implementation: . platformDefault) }
81
+ public init ( session: URLSession = . shared ) { self . init ( session: session, implementation: . platformDefault) }
82
82
/// Specifies the mode in which HTTP request and response bodies are processed.
83
83
public struct HTTPBodyProcessingMode : Sendable {
84
84
/// Exposing the internal implementation directly.
You can’t perform that action at this time.
0 commit comments