From 1e534201c4df5ea4f615faeedc69d414adbec0b1 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 2 Apr 2024 10:57:42 -0700 Subject: [PATCH] fix ordering of union --- src/smithy.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/smithy.zig b/src/smithy.zig index b6e519b..da8cb24 100644 --- a/src/smithy.zig +++ b/src/smithy.zig @@ -133,8 +133,6 @@ pub const Trait = union(TraitType) { }, aws_protocol: AwsProtocol, ec2_query_name: []const u8, - json_name: []const u8, - xml_name: []const u8, http: struct { method: []const u8, uri: []const u8, @@ -144,6 +142,8 @@ pub const Trait = union(TraitType) { http_label: []const u8, http_query: []const u8, http_payload: struct {}, + json_name: []const u8, + xml_name: []const u8, required: struct {}, client_optional: void, documentation: []const u8,