Commit graph

  • 3979d32a1d fix(json): need to write null when structure is null master Simon Hartcher 2025-06-05 13:47:37 +10:00
  • 6e775e20bb refactor: handle unsupported shape types explicitly Simon Hartcher 2025-06-05 11:10:19 +10:00
  • d60ce20305 refactor: simplify switches using inline Simon Hartcher 2025-06-05 11:05:54 +10:00
  • 90d1091b66 chore: cleanup debug code Simon Hartcher 2025-06-05 10:56:28 +10:00
  • 4a6c84e0ae refactor: reorganise modules and methods Simon Hartcher 2025-06-05 10:54:10 +10:00
  • 9d1d8f26c9 chore: add comment to explain fix Simon Hartcher 2025-06-04 15:59:00 +10:00
  • 045150964b fix: handle structures with no members Simon Hartcher 2025-06-04 15:56:02 +10:00
  • 7aeb43a8c6 chore: code cleanup Simon Hartcher 2025-06-04 15:09:23 +10:00
  • 895918c1a9 chore: remove commented code Simon Hartcher 2025-06-04 15:01:31 +10:00
  • af0d4d92b3 refactor: rewrite json stringification to write json directly Simon Hartcher 2025-06-04 14:58:16 +10:00
  • c893a7cb31 chore: remove set (not used) Simon Hartcher 2025-06-04 13:03:12 +10:00
  • 2cd581f27f refactor: rename Simon Hartcher 2025-06-04 13:00:21 +10:00
  • 7233b87efc refactor: extract all json writing functions Simon Hartcher 2025-06-04 12:58:21 +10:00
  • 8a9d571c8e refactor: extract writeStructureMemberJson function Simon Hartcher 2025-06-04 12:43:11 +10:00
  • 36a894d776 build: disable zlint pre-commit hook for now Simon Hartcher 2025-06-04 12:35:58 +10:00
  • e43b827576 chore: remove old stringify code Simon Hartcher 2025-06-04 12:35:32 +10:00
  • 60f1863557 chore: fix broken tests Simon Hartcher 2025-06-04 12:26:34 +10:00
  • ee16fcf6cb chore: zlint auto fix Simon Hartcher 2025-06-04 10:59:57 +10:00
  • 7908c13bb4 build: add mise + pre-commit hooks Simon Hartcher 2025-06-04 10:59:08 +10:00
  • 489581ead2 feat: optional lists and maps to json Simon Hartcher 2025-06-04 10:50:38 +10:00
  • 9bc13d932a feat: add jsonStringify method to request objects Simon Hartcher 2025-06-03 10:37:10 +10:00
  • 9b673b0ff3 fix: map to json Simon Hartcher 2025-05-29 16:01:12 +10:00
  • db0dde50e5 fix: singular kvp type Simon Hartcher 2025-05-29 15:24:33 +10:00
  • a4d4da348f fix: checking if member is required Simon Hartcher 2025-05-29 15:24:18 +10:00
  • d2ba0af842 feat: adds toJson function to request objects that converts to a json Value Simon Hartcher 2025-05-29 12:53:49 +10:00
  • 13a926af70 refactor(codegen): improve type generation Simon Hartcher 2025-05-28 11:14:53 +10:00
  • bc18fcca75
    Merge branch 'handle-empty-filenames' Emil Lerch 2025-05-29 14:54:55 -07:00
  • d6be1d4c5c
    Merge cli progress bar for codegen (PR #22) Emil Lerch 2025-05-29 14:50:20 -07:00
  • 6ed3a7e8d6
    get exact count of number of model files, then use that in progress Emil Lerch 2025-05-29 14:50:02 -07:00
  • ebe170414e
    upgrade setup-zig to latest (handles difference in tarball name) Emil Lerch 2025-05-26 10:29:22 -07:00
  • 03f49b7416 fix: use file name for output when generated file name is empty Simon Hartcher 2025-05-22 14:30:52 +10:00
  • 78819b4290 feat: progress output for codegen Simon Hartcher 2025-05-22 14:03:08 +10:00
  • c81163ed35
    Merge branch 'refactor-iso-date-parsing' Emil Lerch 2025-05-18 10:25:35 -07:00
  • e98c792244 chore: update zeit to master Simon Hartcher 2025-05-15 13:32:35 +10:00
  • cab0d70c33 chore: removed now irrelevant comment Simon Hartcher 2025-05-15 12:02:35 +10:00
  • 307e4b985f refactor: remove old code Simon Hartcher 2025-05-15 11:57:20 +10:00
  • c828dfdcb0 chore: update zeit with pre-release fix for iso 8601 basic format Simon Hartcher 2025-05-15 11:49:53 +10:00
  • df09ed2bdd refactor: parse iso dates using zeit Simon Hartcher 2025-05-15 11:48:41 +10:00
  • b01771df66 fix: json stringifying of generated map types Simon Hartcher 2025-05-14 16:41:42 +10:00
  • a056d763ca chore: add comments Simon Hartcher 2025-05-14 15:31:04 +10:00
  • 934323acf1 refactor: generate types for maps Simon Hartcher 2025-05-14 15:29:21 +10:00
  • 522ab72296 feat: run zig fmt on generated models Simon Hartcher 2025-05-08 15:57:05 +10:00
  • 87fc872f7d chore: replace custom snake case with case package Simon Hartcher 2025-04-30 14:19:42 +10:00
  • 3e06eeca66 refactor(codegen): create concrete types for request and response structures Simon Hartcher 2025-04-24 14:23:29 +10:00
  • 464218b02c
    update smithy to reduce noise in codegen output Emil Lerch 2025-05-07 12:35:48 -07:00
  • f0b66d3cca
    update models to 2025-05-05 (requires additional reserved word guard for "inline") Emil Lerch 2025-05-07 12:26:41 -07:00
  • c6a1bb2418
    upgrade smithy to 4187d899 (enables optional service version) Emil Lerch 2025-05-07 12:25:21 -07:00
  • 57a7cf3190
    centralize module configuration in build.zig Emil Lerch 2025-04-30 07:39:42 -07:00
  • a91b2e8ddb refactor(detectArrayStyle): remove void value from hashmap generation Simon Hartcher 2025-04-30 09:56:41 +10:00
  • 622a815628 refactor(detectArrayStyle): avoid nested loop by using a hash map Simon Hartcher 2025-04-30 09:53:58 +10:00
  • 007c5a8a15 refactor(detectArrayStyle): use elements iterator Simon Hartcher 2025-04-30 09:48:14 +10:00
  • 288f88dfb6 chore: use scoped log Simon Hartcher 2025-04-29 17:08:17 +10:00
  • 7438642d91 fix: xml parser can now handle repeated root arrays Simon Hartcher 2025-04-29 16:56:40 +10:00
  • a420528a59 refactor(build.zig): move dependency loading to one place Simon Hartcher 2025-04-29 14:44:49 +10:00
  • 68a77db6d9
    Merge PR 15: Handle empty response bodies and multiple types of timestamps Emil Lerch 2025-04-28 20:15:12 -07:00
  • 040a1f1d00 refactor: remove usingnamespace Simon Hartcher 2025-04-29 10:07:04 +10:00
  • dc05b20bda fix: undefined behaviour for responses with no body Simon Hartcher 2025-04-24 16:50:46 +10:00
  • 0ac10d5798 chore: 404 is not an error in most situations Simon Hartcher 2025-04-24 11:00:14 +10:00
  • 324ed9a7e3 chore: add URL to reportTraffic output Simon Hartcher 2025-04-24 10:33:47 +10:00
  • dc50fd882c fix: restore accidentally commented code Simon Hartcher 2025-04-24 10:32:48 +10:00
  • 3c7b336298 fix: use arena so that set headers no longer leak memory Simon Hartcher 2025-04-23 16:41:06 +10:00
  • 0fe727c7eb fix: xml memory leaks using arena Simon Hartcher 2025-04-23 16:39:04 +10:00
  • bc328e72ad fix: json memory leaks using arena Simon Hartcher 2025-04-23 16:37:28 +10:00
  • 5a8cceaa0b chore: wip refactor of FullResponse to use arena allocator to simplify memory management Simon Hartcher 2025-04-23 16:33:20 +10:00
  • bd2aede64e chore(date): unused code cleanup Simon Hartcher 2025-04-23 14:31:18 +10:00
  • 6028255aa3 refactor(date): replace most date parsing with zeit functions Simon Hartcher 2025-04-23 12:48:53 +10:00
  • e22b4246c1 chore: add type for options param into Timestamp.jsonStringify Simon Hartcher 2025-04-23 12:34:54 +10:00
  • 8007a910dd refactor: create shared lib for json Simon Hartcher 2025-04-23 12:15:04 +10:00
  • 631d014215 chore: remove old date code Simon Hartcher 2025-04-23 11:53:28 +10:00
  • 29e9dd481b refactor: extract date methods into shared date lib Simon Hartcher 2025-04-23 11:51:53 +10:00
  • 3cae1882f7 refactor(endPointFromUri): parse Uri using standard library Simon Hartcher 2025-04-23 10:44:56 +10:00
  • 0192c1e888 deps: update zeit to track main repository Simon Hartcher 2025-04-23 10:12:26 +10:00
  • 3fea7d9f0e refactor: handle empty response bodies and multiple types of timestamps Simon Hartcher 2025-04-22 16:06:50 +10:00
  • f4c306a2df
    support rest_xml with non-string payloads (e.g. S3 create bucket) Emil Lerch 2025-04-18 15:04:43 -07:00
  • 52f99bb35f
    split strings from other types that need xml serialization Emil Lerch 2025-04-18 11:21:42 -07:00
  • 0a21a9f184
    add failing test for S3 create bucket Emil Lerch 2025-04-18 11:20:58 -07:00
  • 28698e8ec4
    add xml serialization capabilities Emil Lerch 2025-04-18 10:20:22 -07:00
  • 219bd32aa0
    diagnose fd issue Emil Lerch 2025-04-17 18:00:48 -07:00
  • ab47cb9deb
    better test web server management zig-mach Emil Lerch 2025-04-17 17:42:10 -07:00
  • ea14e3b90a
    better test web server management Emil Lerch 2025-04-17 17:42:10 -07:00
  • ae8298b18c
    update CI based on master Emil Lerch 2025-04-16 19:38:49 -07:00
  • 5cb0c3cc88
    add test server timeout Emil Lerch 2025-04-16 19:35:47 -07:00
  • 12c7c46594
    add test server timeout Emil Lerch 2025-04-16 19:35:47 -07:00
  • ebb727c464
    disable release mode test in zig-mach nightly run Emil Lerch 2025-04-16 19:11:18 -07:00
  • 393a034df5
    Merge branch 'master' into zig-develop zig-develop Emil Lerch 2025-04-16 19:07:47 -07:00
  • 0d575c92bb
    add test filter option Emil Lerch 2025-04-16 19:07:20 -07:00
  • 2a61160ef8
    Merge branch 'master' into zig-develop Emil Lerch 2025-04-16 19:06:00 -07:00
  • 98fff010dd
    update dependency on example Emil Lerch 2025-04-16 19:01:25 -07:00
  • 072dcc1cec
    remove GitHub actions as they seem to be looking for payment info for free accounts Emil Lerch 2025-04-16 19:00:18 -07:00
  • 7a6086447c
    update CI for release mode and forgejo install Emil Lerch 2025-04-16 18:51:34 -07:00
  • 1b4788f469 fix: undefined behaviour in parseJsonData Simon Hartcher 2025-04-08 12:49:59 +10:00
  • b5cd321263 fix(TestSetup): undefined behaviour Simon Hartcher 2025-04-08 11:39:19 +10:00
  • 1fcfa3003c
    update package url for nightly after forgejo migration Emil Lerch 2025-03-31 09:02:31 -07:00
  • 8ac7aa47f7
    add workflow_dispatch to main build Emil Lerch 2025-03-30 18:12:37 -07:00
  • 6322c465d5
    Merge branch 'master' into zig-develop Emil Lerch 2025-03-25 09:32:51 -07:00
  • e194debb96
    update envrc to better zvm_direnv Emil Lerch 2025-03-25 09:32:38 -07:00
  • aac7b03c2e
    Merge branch 'master' into zig-develop Emil Lerch 2025-03-23 16:24:49 -07:00
  • e0e09fb19e
    add no-bin option as recommended in zig 0.14.0 rlease notes Emil Lerch 2025-03-23 16:24:20 -07:00
  • 8421fd9e55
    merge pr #6 allowing dependency on service model Emil Lerch 2025-03-23 16:17:04 -07:00
  • 3e146f143c
    sync workflows from master branch to zig-mach branch Emil Lerch 2025-03-21 12:48:55 -07:00