From 2ed7282a39721103926f7e543c4ac5ed758619de Mon Sep 17 00:00:00 2001 From: Honza Dvorsky Date: Thu, 30 Nov 2023 12:13:00 +0100 Subject: [PATCH] Default the configuration parameter --- Sources/OpenAPIAsyncHTTPClient/AsyncHTTPClientTransport.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/OpenAPIAsyncHTTPClient/AsyncHTTPClientTransport.swift b/Sources/OpenAPIAsyncHTTPClient/AsyncHTTPClientTransport.swift index 6694a42..a43a074 100644 --- a/Sources/OpenAPIAsyncHTTPClient/AsyncHTTPClientTransport.swift +++ b/Sources/OpenAPIAsyncHTTPClient/AsyncHTTPClientTransport.swift @@ -135,7 +135,7 @@ public struct AsyncHTTPClientTransport: ClientTransport { /// Creates a new transport. /// - Parameter configuration: A set of configuration values used by the transport. - public init(configuration: Configuration) { + public init(configuration: Configuration = .init()) { self.init(configuration: configuration, requestSender: AsyncHTTPRequestSender()) }