@@ -653,10 +653,11 @@ apply NestedXmlMaps @httpResponseTests([
653653/// Nested Xml Maps with key/values with @xmlName
654654@http (uri : " /NestedXmlMapWithXmlName" , method : " POST" )
655655operation NestedXmlMapWithXmlName {
656- input : NestedXmlMapWithXmlNameInputOutput
657- output : NestedXmlMapWithXmlNameInputOutput
656+ input := with [ NestedXmlMapWithXmlNameInputOutput ] {}
657+ output := with [ NestedXmlMapWithXmlNameInputOutput ] {}
658658}
659659
660+ @mixin
660661structure NestedXmlMapWithXmlNameInputOutput {
661662 nestedXmlMapWithXmlNameMap : NestedXmlMapWithXmlNameMap
662663}
@@ -684,7 +685,7 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
684685 method : " POST" ,
685686 uri : " /NestedXmlMapWithXmlName" ,
686687 body : """
687- <NestedXmlMapWithXmlNameInputOutput >
688+ <NestedXmlMapWithXmlNameRequest >
688689 <nestedXmlMapWithXmlNameMap>
689690 <entry>
690691 <OuterKey>foo</OuterKey>
@@ -713,7 +714,7 @@ apply NestedXmlMapWithXmlName @httpRequestTests([
713714 </value>
714715 </entry>
715716 </nestedXmlMapWithXmlNameMap>
716- </NestedXmlMapWithXmlNameInputOutput >
717+ </NestedXmlMapWithXmlNameRequest >
717718 """ ,
718719 bodyMediaType : " application/xml" ,
719720 headers : {
@@ -741,7 +742,7 @@ apply NestedXmlMapWithXmlName @httpResponseTests([
741742 protocol : restXml ,
742743 code : 200 ,
743744 body : """
744- <NestedXmlMapWithXmlNameInputOutput >
745+ <NestedXmlMapWithXmlNameResponse >
745746 <nestedXmlMapWithXmlNameMap>
746747 <entry>
747748 <OuterKey>foo</OuterKey>
@@ -770,7 +771,7 @@ apply NestedXmlMapWithXmlName @httpResponseTests([
770771 </value>
771772 </entry>
772773 </nestedXmlMapWithXmlNameMap>
773- </NestedXmlMapWithXmlNameInputOutput >
774+ </NestedXmlMapWithXmlNameResponse >
774775 """
775776 bodyMediaType : " application/xml" ,
776777 headers : {
0 commit comments