From 56903b5c6a79dabf9b824121e2b0f35810178280 Mon Sep 17 00:00:00 2001 From: Denil Chungath Date: Tue, 13 Jun 2023 15:12:15 +0530 Subject: [PATCH 1/3] Relax deployment target to macOS 10.15 --- Package.swift | 4 ++-- README.md | 5 +++++ .../Documentation.docc/Documentation.md | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 1e2e087..cec8251 100644 --- a/Package.swift +++ b/Package.swift @@ -18,7 +18,7 @@ import PackageDescription let package = Package( name: "swift-openapi-async-http-client", platforms: [ - .macOS(.v13), + .macOS(.v10_15), ], products: [ .library( @@ -29,7 +29,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/apple/swift-nio", from: "2.51.0"), .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.17.0"), - .package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.0")), + .package(url: "https://github.com/apple/swift-openapi-runtime", branch: "main"), .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"), ], targets: [ diff --git a/README.md b/README.md index 1c77902..1dad359 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ A client transport that uses the [HTTPClient](https://swift-server.github.io/asy Use the transport with client code generated by [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator). +## Supported platforms and minimum versions + | macOS | Linux | + | :-: | :-: | + | ✅ 10.15+ | ✅ | + ## Usage Add the package dependency in your `Package.swift`: diff --git a/Sources/OpenAPIAsyncHTTPClient/Documentation.docc/Documentation.md b/Sources/OpenAPIAsyncHTTPClient/Documentation.docc/Documentation.md index 03ba2b0..517afbe 100644 --- a/Sources/OpenAPIAsyncHTTPClient/Documentation.docc/Documentation.md +++ b/Sources/OpenAPIAsyncHTTPClient/Documentation.docc/Documentation.md @@ -8,6 +8,11 @@ A client transport that uses the [HTTPClient](https://swift-server.github.io/asy Use the transport with client code generated by [Swift OpenAPI Generator](https://github.com/apple/swift-openapi-generator). +### Supported platforms and minimum versions +| macOS | Linux | +| :-: | :-: | +| ✅ 10.15+ | ✅ | + ### Usage Add the package dependency in your `Package.swift`: From 7c839e1bf2e0482db806a8adc9654401c01547a4 Mon Sep 17 00:00:00 2001 From: Denil Chungath Date: Tue, 13 Jun 2023 17:11:52 +0530 Subject: [PATCH 2/3] update package --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index cec8251..a76ad83 100644 --- a/Package.swift +++ b/Package.swift @@ -29,7 +29,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/apple/swift-nio", from: "2.51.0"), .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.17.0"), - .package(url: "https://github.com/apple/swift-openapi-runtime", branch: "main"), + .package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.0")), .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"), ], targets: [ From c24b2cadf7122a48c4bda3c56fe8cb04846903df Mon Sep 17 00:00:00 2001 From: Denil Chungath <95201442+denil-ct@users.noreply.github.com> Date: Tue, 13 Jun 2023 17:34:03 +0530 Subject: [PATCH 3/3] Update minimum runtime version to 0.1.3 --- Package.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index a76ad83..d89db3c 100644 --- a/Package.swift +++ b/Package.swift @@ -29,7 +29,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/apple/swift-nio", from: "2.51.0"), .package(url: "https://github.com/swift-server/async-http-client.git", from: "1.17.0"), - .package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.0")), + .package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.1.3")), .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"), ], targets: [