File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Sources/OpenAPIURLSession Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ A client transport that uses the [URLSession](https://developer.apple.com/docume
88
99Use the transport with client code generated by [ Swift OpenAPI Generator] ( https://github.com/apple/swift-openapi-generator ) .
1010
11+ ### Supported platforms and minimum versions
12+ | macOS | Linux | iOS | tvOS | watchOS |
13+ | :-: | :-: | :-: | :-: | :-: |
14+ | ✅ 10.15+ | ✅ | ✅ 13+ | ✅ 13+ | ✅ 6+ |
15+
1116### Usage
1217
1318Add the package dependency in your ` Package.swift ` :
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ extension URLSessionTransportError: CustomStringConvertible {
179179 case . notHTTPResponse( let response) :
180180 return " Received a non-HTTP response, of type: \( String ( describing: type ( of: response) ) ) "
181181 case . noResponse( let url) :
182- return " Received a nil response for \( url? . absoluteString ?? " " ) "
182+ return " Received a nil response for \( url? . absoluteString ?? " <nil URL> " ) "
183183 }
184184 }
185185}
You can’t perform that action at this time.
0 commit comments