diff --git a/smithy-aws-protocol-tests/model/restXml/document-lists.smithy b/smithy-aws-protocol-tests/model/restXml/document-lists.smithy
index 6792351a94d..5a0ab1f0e82 100644
--- a/smithy-aws-protocol-tests/model/restXml/document-lists.smithy
+++ b/smithy-aws-protocol-tests/model/restXml/document-lists.smithy
@@ -28,6 +28,7 @@ use smithy.test#httpResponseTests
/// 6. Flattened XML lists with @xmlName.
/// 7. Flattened XML lists with @xmlNamespace.
/// 8. Lists of structures.
+/// 9. Flattened XML list of structures
@idempotent
@http(uri: "/XmlLists", method: "PUT")
operation XmlLists {
@@ -96,6 +97,14 @@ apply XmlLists @httpRequestTests([
4
+
+ 5
+ 6
+
+
+ 7
+ 8
+
""",
bodyMediaType: "application/xml",
@@ -122,6 +131,16 @@ apply XmlLists @httpRequestTests([
a: "3",
b: "4",
}
+ ],
+ flattenedStructureList: [
+ {
+ a: "5",
+ b: "6",
+ },
+ {
+ a: "7",
+ b: "8",
+ }
]
}
}
@@ -191,6 +210,14 @@ apply XmlLists @httpResponseTests([
4
+
+ 5
+ 6
+
+
+ 7
+ 8
+
""",
bodyMediaType: "application/xml",
@@ -219,6 +246,16 @@ apply XmlLists @httpResponseTests([
a: "3",
b: "4",
}
+ ],
+ flattenedStructureList: [
+ {
+ a: "5",
+ b: "6",
+ },
+ {
+ a: "7",
+ b: "8",
+ }
]
}
}
@@ -321,7 +358,10 @@ structure XmlListsInputOutput {
flattenedListWithNamespace: ListWithNamespace,
@xmlName("myStructureList")
- structureList: StructureList
+ structureList: StructureList,
+
+ @xmlFlattened
+ flattenedStructureList: StructureList
}
list RenamedListMembers {