Skip to content

Commit 32f3ae2

Browse files
authored
Relax deployment target to macOS 10.15 (#6)
### Motivation Relax deployment target to macOS 10.15 ### Modifications - Reduced requirement from macOS 13 to macOS 10.15 - Added the minimum version to readme and documentation ### Result - Users will be able to deploy it on projects with a minimum deployment target of 10.15
1 parent 84cf5f4 commit 32f3ae2

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import PackageDescription
1818
let package = Package(
1919
name: "swift-openapi-async-http-client",
2020
platforms: [
21-
.macOS(.v13),
21+
.macOS(.v10_15),
2222
],
2323
products: [
2424
.library(
@@ -29,7 +29,7 @@ let package = Package(
2929
dependencies: [
3030
.package(url: "https://github.com/apple/swift-nio", from: "2.51.0"),
3131
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.17.0"),
32-
.package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.0")),
32+
.package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.3")),
3333
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
3434
],
3535
targets: [

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ A client transport that uses the [HTTPClient](https://swift-server.github.io/asy
44

55
Use the transport with client code generated by [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator).
66

7+
## Supported platforms and minimum versions
8+
| macOS | Linux |
9+
| :-: | :-: |
10+
| ✅ 10.15+ ||
11+
712
## Usage
813

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

Sources/OpenAPIAsyncHTTPClient/Documentation.docc/Documentation.md

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ A client transport that uses the [HTTPClient](https://swift-server.github.io/asy
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 |
13+
| :-: | :-: |
14+
| ✅ 10.15+ ||
15+
1116
### Usage
1217

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

0 commit comments

Comments
 (0)