move from branch to from in the README file

This commit is contained in:
Sebastien Stormacq
2023-12-14 09:03:48 -05:00
parent e5c37fc874
commit 742da3d569
+6 -6
View File
@@ -38,9 +38,9 @@ To expose your OpenAPI implementation as an AWS Lambda function:
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.0.0"),
// add these three dependencies
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "1.0.0-alpha.1"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", branch: "main"),
.package(url: "https://github.com/sebsto/swift-openapi-lambda", branch: "main")
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "1.0.0-alpha.1"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", from: "0.1.0"),
.package(url: "https://github.com/sebsto/swift-openapi-lambda", from: "0.1.1")
],
```
@@ -203,9 +203,9 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-generator.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-openapi-runtime.git", from: "1.0.0"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "1.0.0-alpha.1"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", branch: "main"),
.package(url: "https://github.com/sebsto/swift-openapi-lambda", branch: "main")
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", from: "1.0.0-alpha.1"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", from: "0.1.0"),
.package(url: "https://github.com/sebsto/swift-openapi-lambda", from: "0.1.1")
],
targets: [
.executableTarget(