11$ version : " 2.0"
2+ $ operationInputSuffix : " Request"
3+ $ operationOutputSuffix : " Response"
24
35namespace aws.protocoltests.restxml.xmlns
46
@@ -33,8 +35,8 @@ service RestXmlWithNamespace {
3335@idempotent
3436@http (uri : " /SimpleScalarProperties" , method : " PUT" )
3537operation SimpleScalarProperties {
36- input : SimpleScalarPropertiesInputOutput ,
37- output : SimpleScalarPropertiesInputOutput
38+ input := with [ SimpleScalarPropertiesInputOutput ] {}
39+ output := with [ SimpleScalarPropertiesInputOutput ] {}
3840}
3941
4042apply SimpleScalarProperties @httpRequestTests ([
@@ -45,7 +47,7 @@ apply SimpleScalarProperties @httpRequestTests([
4547 method : " PUT" ,
4648 uri : " /SimpleScalarProperties" ,
4749 body : """
48- <SimpleScalarPropertiesInputOutput xmlns="https://example.com">
50+ <SimpleScalarPropertiesRequest xmlns="https://example.com">
4951 <stringValue>string</stringValue>
5052 <trueBooleanValue>true</trueBooleanValue>
5153 <falseBooleanValue>false</falseBooleanValue>
@@ -56,7 +58,7 @@ apply SimpleScalarProperties @httpRequestTests([
5658 <floatValue>5.5</floatValue>
5759 <DoubleDribble>6.5</DoubleDribble>
5860 <Nested xmlns:xsi="https://example.com" xsi:someName="nestedAttrValue"></Nested>
59- </SimpleScalarPropertiesInputOutput >
61+ </SimpleScalarPropertiesRequest >
6062 """ ,
6163 bodyMediaType : " application/xml" ,
6264 headers : {
@@ -88,7 +90,7 @@ apply SimpleScalarProperties @httpResponseTests([
8890 protocol : restXml ,
8991 code : 200 ,
9092 body : """
91- <SimpleScalarPropertiesInputOutput xmlns="https://example.com">
93+ <SimpleScalarPropertiesResponse xmlns="https://example.com">
9294 <stringValue>string</stringValue>
9395 <trueBooleanValue>true</trueBooleanValue>
9496 <falseBooleanValue>false</falseBooleanValue>
@@ -99,7 +101,7 @@ apply SimpleScalarProperties @httpResponseTests([
99101 <floatValue>5.5</floatValue>
100102 <DoubleDribble>6.5</DoubleDribble>
101103 <Nested xmlns:xsi="https://example.com" xsi:someName="nestedAttrValue"></Nested>
102- </SimpleScalarPropertiesInputOutput >
104+ </SimpleScalarPropertiesResponse >
103105 """ ,
104106 bodyMediaType : " application/xml" ,
105107 headers : {
@@ -124,6 +126,7 @@ apply SimpleScalarProperties @httpResponseTests([
124126 }
125127])
126128
129+ @mixin
127130structure SimpleScalarPropertiesInputOutput {
128131 @httpHeader (" X-Foo" )
129132 foo : String ,
0 commit comments