Skip to content

Commit 9a4da2f

Browse files
committed
add method response support
1 parent e609bce commit 9a4da2f

31 files changed

+2652
-9
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-04-07T21:09:22Z"
2+
build_date: "2025-04-07T23:58:36Z"
33
build_hash: 66ad2d04c2b520425a0682aae523d45cad967248
44
go_version: go1.24.1
55
version: v0.44.0-2-g66ad2d0
6-
api_directory_checksum: 4b900e2ea6b8bb0fbf91c7d161d9f5b47318f754
6+
api_directory_checksum: 2f02e62d48a5fd74f9b1805dd92b72c1a0889da6
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: 1af493bcc7996c56ee9ac15879a2160531307c5e
10+
file_checksum: af76833060020df86ea19a4b48879ce795d1169b
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/api_method_response.go

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

apis/v1alpha1/generator.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,22 @@ operations:
99
operation_type:
1010
- Create
1111
resource_name: Method
12+
PutMethodResponse:
13+
operation_type:
14+
- Create
15+
resource_name: ApiMethodResponse
16+
DeleteMethodResponse:
17+
operation_type:
18+
- Delete
19+
resource_name: ApiMethodResponse
20+
UpdateMethodResponse:
21+
operation_type:
22+
- Update
23+
resource_name: ApiMethodResponse
24+
GetMethodResponse:
25+
operation_type:
26+
- READ_ONE
27+
resource_name: ApiMethodResponse
1228
ignore:
1329
resource_names:
1430
- ApiKey
@@ -231,3 +247,33 @@ resources:
231247
- InvalidParameter
232248
tags:
233249
ignore: true
250+
ApiMethodResponse:
251+
fields:
252+
ResourceID:
253+
references:
254+
resource: Resource
255+
path: Status.ID
256+
is_required: true
257+
is_immutable: true
258+
is_primary_key: true
259+
RestAPIID:
260+
references:
261+
resource: RestAPI
262+
path: Status.ID
263+
is_required: true
264+
is_immutable: true
265+
HTTPMethod:
266+
is_required: true
267+
is_immutable: true
268+
StatusCode:
269+
is_required: true
270+
is_immutable: true
271+
tags:
272+
ignore: true
273+
hooks:
274+
sdk_update_post_build_request:
275+
template_path: hooks/api_method_response/sdk_update_post_build_request.go.tpl
276+
exceptions:
277+
terminal_codes:
278+
- BadRequestException
279+
- InvalidParameter

apis/v1alpha1/zz_generated.deepcopy.go

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

cmd/controller/main.go

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

0 commit comments

Comments
 (0)