Commit graph

552 commits

Author SHA1 Message Date
bc18fcca75
Merge branch 'handle-empty-filenames'
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 7m52s
2025-05-29 14:54:55 -07:00
d6be1d4c5c
Merge cli progress bar for codegen (PR #22)
Some checks failed
AWS-Zig Build / build-zig-amd64-host (push) Has been cancelled
2025-05-29 14:50:20 -07:00
6ed3a7e8d6
get exact count of number of model files, then use that in progress 2025-05-29 14:50:02 -07:00
ebe170414e
upgrade setup-zig to latest (handles difference in tarball name)
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 6m7s
2025-05-26 10:29:22 -07:00
Simon Hartcher
03f49b7416 fix: use file name for output when generated file name is empty 2025-05-22 14:30:52 +10:00
Simon Hartcher
78819b4290 feat: progress output for codegen 2025-05-22 14:03:08 +10:00
c81163ed35
Merge branch 'refactor-iso-date-parsing'
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 6m0s
2025-05-18 10:25:35 -07:00
Simon Hartcher
e98c792244 chore: update zeit to master 2025-05-15 13:32:35 +10:00
Simon Hartcher
cab0d70c33 chore: removed now irrelevant comment 2025-05-15 12:02:35 +10:00
Simon Hartcher
307e4b985f refactor: remove old code 2025-05-15 11:57:20 +10:00
Simon Hartcher
c828dfdcb0 chore: update zeit with pre-release fix for iso 8601 basic format 2025-05-15 11:55:52 +10:00
Simon Hartcher
df09ed2bdd refactor: parse iso dates using zeit 2025-05-15 11:48:41 +10:00
Simon Hartcher
b01771df66 fix: json stringifying of generated map types
Some checks failed
AWS-Zig Build / build-zig-amd64-host (push) Has been cancelled
2025-05-14 16:41:42 +10:00
Simon Hartcher
a056d763ca chore: add comments 2025-05-14 15:31:04 +10:00
Simon Hartcher
934323acf1 refactor: generate types for maps
TODO: handle json stringify for generated map types
2025-05-14 15:29:21 +10:00
Simon Hartcher
522ab72296 feat: run zig fmt on generated models 2025-05-08 15:57:05 +10:00
Simon Hartcher
87fc872f7d chore: replace custom snake case with case package 2025-05-08 15:21:11 +10:00
Simon Hartcher
3e06eeca66 refactor(codegen): create concrete types for request and response structures 2025-05-08 15:17:58 +10:00
464218b02c
update smithy to reduce noise in codegen output
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 7m19s
2025-05-07 12:35:48 -07:00
f0b66d3cca
update models to 2025-05-05 (requires additional reserved word guard for "inline")
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 7m12s
2025-05-07 12:26:41 -07:00
c6a1bb2418
upgrade smithy to 4187d899 (enables optional service version) 2025-05-07 12:25:21 -07:00
57a7cf3190
centralize module configuration in build.zig
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 7m9s
2025-04-30 07:39:42 -07:00
Simon Hartcher
a91b2e8ddb refactor(detectArrayStyle): remove void value from hashmap generation 2025-04-30 09:56:41 +10:00
Simon Hartcher
622a815628 refactor(detectArrayStyle): avoid nested loop by using a hash map 2025-04-30 09:53:58 +10:00
Simon Hartcher
007c5a8a15 refactor(detectArrayStyle): use elements iterator 2025-04-30 09:48:14 +10:00
Simon Hartcher
288f88dfb6 chore: use scoped log 2025-04-29 17:08:17 +10:00
Simon Hartcher
7438642d91 fix: xml parser can now handle repeated root arrays 2025-04-29 16:57:11 +10:00
Simon Hartcher
a420528a59 refactor(build.zig): move dependency loading to one place 2025-04-29 16:57:01 +10:00
68a77db6d9
Merge PR 15: Handle empty response bodies and multiple types of timestamps
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 7m18s
2025-04-28 20:15:12 -07:00
Simon Hartcher
040a1f1d00 refactor: remove usingnamespace 2025-04-29 10:07:04 +10:00
Simon Hartcher
dc05b20bda fix: undefined behaviour for responses with no body 2025-04-24 16:50:46 +10:00
Simon Hartcher
0ac10d5798 chore: 404 is not an error in most situations 2025-04-24 11:00:14 +10:00
Simon Hartcher
324ed9a7e3 chore: add URL to reportTraffic output 2025-04-24 10:33:47 +10:00
Simon Hartcher
dc50fd882c fix: restore accidentally commented code 2025-04-24 10:32:48 +10:00
Simon Hartcher
3c7b336298 fix: use arena so that set headers no longer leak memory 2025-04-23 16:41:06 +10:00
Simon Hartcher
0fe727c7eb fix: xml memory leaks using arena 2025-04-23 16:39:04 +10:00
Simon Hartcher
bc328e72ad fix: json memory leaks using arena 2025-04-23 16:37:28 +10:00
Simon Hartcher
5a8cceaa0b chore: wip refactor of FullResponse to use arena allocator to simplify memory management 2025-04-23 16:33:20 +10:00
Simon Hartcher
bd2aede64e chore(date): unused code cleanup 2025-04-23 14:31:18 +10:00
Simon Hartcher
6028255aa3 refactor(date): replace most date parsing with zeit functions 2025-04-23 12:48:53 +10:00
Simon Hartcher
e22b4246c1 chore: add type for options param into Timestamp.jsonStringify 2025-04-23 12:34:54 +10:00
Simon Hartcher
8007a910dd refactor: create shared lib for json 2025-04-23 12:15:04 +10:00
Simon Hartcher
631d014215 chore: remove old date code 2025-04-23 11:53:28 +10:00
Simon Hartcher
29e9dd481b refactor: extract date methods into shared date lib 2025-04-23 11:51:53 +10:00
Simon Hartcher
3cae1882f7 refactor(endPointFromUri): parse Uri using standard library
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 7m13s
2025-04-23 10:44:56 +10:00
Simon Hartcher
0192c1e888 deps: update zeit to track main repository 2025-04-23 10:12:26 +10:00
Simon Hartcher
3fea7d9f0e refactor: handle empty response bodies and multiple types of timestamps 2025-04-22 16:06:50 +10:00
f4c306a2df
support rest_xml with non-string payloads (e.g. S3 create bucket)
All checks were successful
AWS-Zig Build / build-zig-amd64-host (push) Successful in 7m17s
2025-04-18 15:04:43 -07:00
52f99bb35f
split strings from other types that need xml serialization 2025-04-18 11:21:42 -07:00
0a21a9f184
add failing test for S3 create bucket 2025-04-18 11:20:58 -07:00