Skip to content

Commit 85d3fc5

Browse files
ran-isenbergRan Isenberg
and
Ran Isenberg
authored
chore: update deps (#818)
--------- Co-authored-by: Ran Isenberg <ran.isenberg@ranthebuilder.cloud>
1 parent dc54690 commit 85d3fc5

File tree

8 files changed

+365
-391
lines changed

8 files changed

+365
-391
lines changed

.github/workflows/pr-serverless-service.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,6 @@ jobs:
7070
cache: "npm"
7171
- name: Install dependencies
7272
run: make dev
73-
# NOTE: unit tests are connecting to AWS to instantiate boto3 clients/resources
74-
# once that's discussed we can move unit and infra tests as part of the fast quality standards
75-
# see https://github.com/ran-isenberg/serverless-python-demo/pull/38#discussion_r1299372169
7673
- name: Configure AWS credentials
7774
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
7875
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
exclude: "^(?!helpers/)"
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
2828
# Ruff version.
29-
rev: v0.3.0
29+
rev: v0.3.4
3030
hooks:
3131
# Run the Ruff linter.
3232
- id: ruff

docs/swagger/openapi.json

Lines changed: 25 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"openapi": "3.0.0",
2+
"openapi": "3.1.0",
33
"info": {
44
"title": "AWS Lambda Handler Cookbook - Orders Service",
55
"version": "1.0.0"
@@ -29,22 +29,22 @@
2929
"required": true
3030
},
3131
"responses": {
32-
"200": {
33-
"description": "The created order",
32+
"422": {
33+
"description": "Validation Error",
3434
"content": {
3535
"application/json": {
3636
"schema": {
37-
"$ref": "#/components/schemas/CreateOrderOutput"
37+
"$ref": "#/components/schemas/HTTPValidationError"
3838
}
3939
}
4040
}
4141
},
42-
"442": {
43-
"description": "Invalid create order request",
42+
"200": {
43+
"description": "The created order",
4444
"content": {
4545
"application/json": {
4646
"schema": {
47-
"$ref": "#/components/schemas/InvalidRestApiRequest"
47+
"$ref": "#/components/schemas/CreateOrderOutput"
4848
}
4949
}
5050
}
@@ -117,6 +117,19 @@
117117
],
118118
"title": "CreateOrderRequest"
119119
},
120+
"HTTPValidationError": {
121+
"properties": {
122+
"detail": {
123+
"items": {
124+
"$ref": "#/components/schemas/ValidationError"
125+
},
126+
"type": "array",
127+
"title": "Detail"
128+
}
129+
},
130+
"type": "object",
131+
"title": "HTTPValidationError"
132+
},
120133
"InternalServerErrorOutput": {
121134
"properties": {
122135
"error": {
@@ -129,24 +142,7 @@
129142
"type": "object",
130143
"title": "InternalServerErrorOutput"
131144
},
132-
"InvalidRestApiRequest": {
133-
"properties": {
134-
"details": {
135-
"items": {
136-
"$ref": "#/components/schemas/PydanticError"
137-
},
138-
"type": "array",
139-
"title": "Details",
140-
"description": "Error details"
141-
}
142-
},
143-
"type": "object",
144-
"required": [
145-
"details"
146-
],
147-
"title": "InvalidRestApiRequest"
148-
},
149-
"PydanticError": {
145+
"ValidationError": {
150146
"properties": {
151147
"loc": {
152148
"items": {
@@ -160,27 +156,20 @@
160156
]
161157
},
162158
"type": "array",
163-
"title": "Loc",
164-
"description": "Error location"
159+
"title": "Location"
165160
},
166161
"type": {
167162
"type": "string",
168-
"title": "Type",
169-
"description": "Error type"
170-
},
171-
"msg": {
172-
"type": "string",
173-
"title": "Msg",
174-
"description": "Error message",
175-
"default": ""
163+
"title": "Error Type"
176164
}
177165
},
178166
"type": "object",
179167
"required": [
180168
"loc",
169+
"msg",
181170
"type"
182171
],
183-
"title": "PydanticError"
172+
"title": "ValidationError"
184173
}
185174
}
186175
}

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"aws-cdk": "2.131.0"
3+
"aws-cdk": "2.134.0"
44
}
55
}

0 commit comments

Comments
 (0)