Skip to content

Commit 43fd210

Browse files
committed
improving comments
1 parent 57dfdeb commit 43fd210

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/OpenAPIURLSession/URLSessionTransport.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ public struct URLSessionTransport: ClientTransport {
6969
/// Creates a new configuration with the provided session.
7070
/// - Parameters:
7171
/// - session: The URLSession used for performing HTTP operations.
72-
/// If none is provided, the system uses the shared URLSession.
72+
/// If none is provided, the system uses the shared URLSession.
7373
/// - httpBodyProcessingMode: The mode used to process HTTP request and response bodies.
7474
public init(session: URLSession = .shared, httpBodyProcessingMode: HTTPBodyProcessingMode = .platformDefault) {
7575
let implementation = httpBodyProcessingMode.implementation
7676
self.init(session: session, implementation: implementation)
7777
}
7878
/// Creates a new configuration with the provided session.
7979
/// - Parameter session: The URLSession used for performing HTTP operations.
80-
/// If none is provided, the system uses the shared URLSession.
80+
/// If none is provided, the system uses the shared URLSession.
8181
public init(session: URLSession) { self.init(session: session, implementation: .platformDefault) }
8282
/// Specifies the mode in which HTTP request and response bodies are processed.
8383
public struct HTTPBodyProcessingMode: Sendable {

Tests/OpenAPIURLSessionTests/TaskCancellationTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import HTTPTypes
1818
import NIO
1919
import OpenAPIRuntime
2020
import XCTest
21-
import NIOHTTP1
2221
@testable import OpenAPIURLSession
2322

2423
enum CancellationPoint: CaseIterable {

0 commit comments

Comments
 (0)