Skip to content

Commit 0779747

Browse files
authored
[Examples] Remove an extension that was only needed temporarily (#473)
### Motivation See title. ### Modifications Removed the extension and bumped dependency versions. ### Result Closer to 1.0. ### Test Plan All tests passed.
1 parent 330771a commit 0779747

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Examples/hello-world-async-http-client-example/Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ let package = Package(
1919
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .visionOS(.v1)],
2020
dependencies: [
2121
.package(url: "https://github.com/apple/swift-openapi-generator", exact: "1.0.0-alpha.1"),
22-
.package(url: "https://github.com/apple/swift-openapi-runtime", exact: "1.0.0-alpha.1"),
23-
.package(url: "https://github.com/swift-server/swift-openapi-async-http-client", exact: "1.0.0-alpha.1"),
22+
.package(url: "https://github.com/apple/swift-openapi-runtime", from: "1.0.0"),
23+
.package(url: "https://github.com/swift-server/swift-openapi-async-http-client", from: "1.0.0"),
2424
],
2525
targets: [
2626
.executableTarget(

Examples/hello-world-async-http-client-example/Sources/HelloWorldAsyncHTTPClient/HelloWorldAsyncHTTPClient.swift

-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,3 @@ import Foundation
2222
print(try response.ok.body.json.message)
2323
}
2424
}
25-
26-
// TODO: Remove this once 1.0.0 is released with https://github.com/swift-server/swift-openapi-async-http-client/pull/32.
27-
extension AsyncHTTPClientTransport { init() { self.init(configuration: .init()) } }

0 commit comments

Comments
 (0)