Skip to content

Commit 1ab51fe

Browse files
authored
Add visionOS platform support (#31)
### Motivation While this isn't technically necessary, as all versions of a platform not explicitly mentioned are assumed to be supported, it's better to be explicit here. ### Modifications Add `visionOS(.v1)` to the list of supported platforms. ### Result Clearer support matrix. ### Test Plan N/A, this is basically just a documentation change.
1 parent 0859ead commit 1ab51fe

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let swiftSettings: [SwiftSetting] = [
2525
let package = Package(
2626
name: "swift-openapi-async-http-client",
2727
platforms: [
28-
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6),
28+
.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .visionOS(.v1)
2929
],
3030
products: [
3131
.library(

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ A client transport that uses the [HTTPClient](https://swiftpackageindex.com/swif
99
Use the transport with client code generated by [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator).
1010

1111
## Supported platforms and minimum versions
12-
| macOS | Linux | iOS | tvOS | watchOS |
13-
| :-: | :-: | :-: | :-: | :-: |
14-
| ✅ 10.15+ || ✅ 13+ | ✅ 13+ | ✅ 6+ |
12+
| macOS | Linux | iOS | tvOS | watchOS | visionOS |
13+
| :-: | :-: | :-: | :-: | :-: | :-: |
14+
| ✅ 10.15+ | | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ |
1515

1616
## Usage
1717

Sources/OpenAPIAsyncHTTPClient/Documentation.docc/Documentation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ A client transport that uses the [HTTPClient](https://swiftpackageindex.com/swif
99
Use the transport with client code generated by [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator).
1010

1111
### Supported platforms and minimum versions
12-
| macOS | Linux | iOS | tvOS | watchOS |
13-
| :-: | :-: | :-: | :-: | :-: |
14-
| ✅ 10.15+ || ✅ 13+ | ✅ 13+ | ✅ 6+ |
12+
| macOS | Linux | iOS | tvOS | watchOS | visionOS |
13+
| :-: | :-: | :-: | :-: | :-: | :-: |
14+
| ✅ 10.15+ | | ✅ 13+ | ✅ 13+ | ✅ 6+ | ✅ 1+ |
1515

1616
### Usage
1717

0 commit comments

Comments
 (0)