Skip to content

Commit e8c1733

Browse files
authored
fixes internal typo in source parameter (#42)
1 parent 4290b2c commit e8c1733

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/OpenAPIURLSession/URLSessionTransport.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ public struct URLSessionTransport: ClientTransport {
8282
case streaming(requestBodyStreamBufferSize: Int, responseBodyStreamWatermarks: (low: Int, high: Int))
8383
}
8484

85-
var implemenation: Implementation
85+
var implementation: Implementation
8686

8787
init(session: URLSession = .shared, implementation: Implementation = .platformDefault) {
8888
self.session = session
8989
if case .streaming = implementation {
9090
precondition(Implementation.platformSupportsStreaming, "Streaming not supported on platform")
9191
}
92-
self.implemenation = implementation
92+
self.implementation = implementation
9393
}
9494
}
9595

@@ -111,7 +111,7 @@ public struct URLSessionTransport: ClientTransport {
111111
public func send(_ request: HTTPRequest, body requestBody: HTTPBody?, baseURL: URL, operationID: String)
112112
async throws -> (HTTPResponse, HTTPBody?)
113113
{
114-
switch self.configuration.implemenation {
114+
switch self.configuration.implementation {
115115
case .streaming(let requestBodyStreamBufferSize, let responseBodyStreamWatermarks):
116116
#if canImport(Darwin)
117117
guard #available(macOS 12, iOS 15, tvOS 15, watchOS 8, *) else {

0 commit comments

Comments
 (0)