Skip to content

Commit 78a675d

Browse files
committed
Address Suggestions
1 parent 21df998 commit 78a675d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Sources/OpenAPIURLSession/Documentation.docc/Documentation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ A client transport that uses the [URLSession](https://developer.apple.com/docume
88

99
Use 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

1318
Add the package dependency in your `Package.swift`:

Sources/OpenAPIURLSession/URLSessionTransport.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)