File tree 2 files changed +55
-0
lines changed
test/fixtures/protocol/input
2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " feature" ,
3
+ "category" : " protocol" ,
4
+ "description" : " test querystring list of integers for rest-json"
5
+ }
Original file line number Diff line number Diff line change 160
160
}
161
161
]
162
162
},
163
+ {
164
+ "description" : " Querystring list of integers" ,
165
+ "metadata" : {
166
+ "protocol" : " rest-json" ,
167
+ "apiVersion" : " 2014-01-01"
168
+ },
169
+ "shapes" : {
170
+ "InputShape" : {
171
+ "type" : " structure" ,
172
+ "members" : {
173
+ "Items" : {
174
+ "shape" : " IntegerList" ,
175
+ "location" : " querystring" ,
176
+ "locationName" : " item"
177
+ }
178
+ }
179
+ },
180
+ "IntegerList" : {
181
+ "type" : " list" ,
182
+ "member" : {
183
+ "shape" : " Integer"
184
+ }
185
+ },
186
+ "Integer" : {
187
+ "type" : " integer"
188
+ }
189
+ },
190
+ "cases" : [
191
+ {
192
+ "given" : {
193
+ "http" : {
194
+ "method" : " GET" ,
195
+ "requestUri" : " /path"
196
+ },
197
+ "input" : {
198
+ "shape" : " InputShape"
199
+ },
200
+ "name" : " OperationName"
201
+ },
202
+ "params" : {
203
+ "Items" : [1 , 2 , 3 ]
204
+ },
205
+ "serialized" : {
206
+ "body" : " " ,
207
+ "uri" : " /path?item=1&item=2&item=3" ,
208
+ "headers" : {}
209
+ }
210
+ }
211
+ ]
212
+ },
163
213
{
164
214
"description" : " String to string maps in querystring" ,
165
215
"metadata" : {
You can’t perform that action at this time.
0 commit comments