Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/OpenAPIURLSession/URLSessionTransport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import Foundation
/// The ``URLSessionTransport/Configuration-swift.struct`` type allows you to
/// provide a custom URLSession and tweak behaviors such as the default
/// timeouts, authentication challenges, and more.
public struct URLSessionTransport {
public struct URLSessionTransport: ClientTransport {

/// A set of configuration values for the URLSession transport.
public struct Configuration: Sendable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class URLSessionTransportTests: XCTestCase {
body: Data("👋".utf8)
)
)
let transport = URLSessionTransport(
let transport: ClientTransport = URLSessionTransport(
configuration: .init(session: MockURLProtocol.mockURLSession)
)
let request = OpenAPIRuntime.Request(
Expand Down