Skip to content

Commit becebc4

Browse files
author
Andrea Scuderi
committed
Update references to swift-serverless
1 parent 5fede54 commit becebc4

File tree

8 files changed

+84
-48
lines changed

8 files changed

+84
-48
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 (c) Andrea Scuderi - https://github.com/swift-sprinter
1+
# Copyright 2023 (c) Andrea Scuderi - https://github.com/swift-serverless
22

33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

Products/Package.resolved

Lines changed: 72 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Products/Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ import PackageDescription
66
let package = Package(
77
name: "swift-rest-api",
88
platforms: [
9-
.macOS(.v12),
9+
.macOS(.v13),
1010
],
1111
products: [
1212
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1313
.executable(name: "Products", targets: ["Products"]),
1414
],
1515
dependencies: [
16-
.package(url: "https://github.com/swift-sprinter/Breeze.git", from: "0.1.0"),
16+
.package(url: "https://github.com/swift-serverless/BreezeLambdaDynamoDBAPI.git", from: "0.4.0"),
1717
],
1818
targets: [
1919
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2020
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2121
.executableTarget(
2222
name: "Products",
2323
dependencies: [
24-
.product(name: "BreezeLambdaAPI", package: "Breeze"),
25-
.product(name: "BreezeDynamoDBService", package: "Breeze"),
24+
.product(name: "BreezeLambdaAPI", package: "BreezeLambdaDynamoDBAPI"),
25+
.product(name: "BreezeDynamoDBService", package: "BreezeLambdaDynamoDBAPI"),
2626
]
2727
),
2828
.testTarget(

Products/Sources/Products/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-sprinter
1+
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-serverless
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

Products/Tests/ProductServiceTests/APIGatewayTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-sprinter
1+
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-serverless
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

Products/Tests/ProductServiceTests/Fixtures.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-sprinter
2+
// Copyright 2020 (c) Andrea Scuderi - https://github.com/swift-serverless
33
//
44
// Licensed under the Apache License, Version 2.0 (the "License");
55
// you may not use this file except in compliance with the License.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This package demonstrates how to write a Scalable REST API with the Serverless s
66

77
## Product API based on Breeze
88

9-
The example shows how to build and deploy a Rest API based on a `Product` swift struct using [Breeze](https://github.com/swift-sprinter/Breeze.git)
9+
The example shows how to build and deploy a Rest API based on a `Product` swift struct using [Breeze](https://github.com/swift-serverless/Breeze.git)
1010

1111
The following code is all you need to implement the engine of a Serverless Rest API in Swift.
1212
The Serverless Rest API implements a CRUD interface to store the `Product` in DynamoDB.
@@ -94,7 +94,7 @@ SDK: 4.3.2
9494
- Clone this repository. From the command line type:
9595

9696
```console
97-
git clone https://github.com/swift-sprinter/aws-serverless-swift-api-template.git
97+
git clone https://github.com/swift-serverless/aws-serverless-swift-api-template.git
9898
cd aws-serverless-swift-api-template
9999
```
100100
- Ensure you can run `make`:

swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"swagger": "2.0",
33
"info": {
44
"version": "2020-05-25T15:42:57Z",
5-
"title": "dev-swift-sprinter-rest-api-swift",
5+
"title": "dev-swift-serverless-rest-api-swift",
66
"contact": {
77
"name": "Andrea Scuderi",
8-
"url": "https://github.com/swift-sprinter"
8+
"url": "https://github.com/swift-serverless"
99
},
1010
"license": {
1111
"name": "Apache 2.0"

0 commit comments

Comments
 (0)