@@ -154,8 +154,10 @@ structure ConstrainedHttpBoundShapesOperationInputOutput {
154
154
// @httpHeader("X-Length-MediaType")
155
155
// lengthStringHeaderWithMediaType: MediaTypeLengthString,
156
156
157
- @httpHeader (" X-Length-Set" )
158
- lengthStringSetHeader : SetOfLengthString ,
157
+ // TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
158
+ // just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
159
+ // @httpHeader("X-Length-Set")
160
+ // lengthStringSetHeader: SetOfLengthString,
159
161
160
162
@httpHeader (" X-Length-List" )
161
163
lengthStringListHeader : ListOfLengthString ,
@@ -176,8 +178,10 @@ structure ConstrainedHttpBoundShapesOperationInputOutput {
176
178
@httpQuery (" lengthStringList" )
177
179
lengthStringListQuery : ListOfLengthString ,
178
180
179
- @httpQuery (" lengthStringSet" )
180
- lengthStringSetQuery : SetOfLengthString ,
181
+ // TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
182
+ // just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
183
+ // @httpQuery("lengthStringSet")
184
+ // lengthStringSetQuery: SetOfLengthString,
181
185
182
186
@httpQuery (" enumStringList" )
183
187
enumStringListQuery : ListOfEnumString ,
@@ -277,7 +281,9 @@ structure ConA {
277
281
conBList : ConBList ,
278
282
conBList2 : ConBList2 ,
279
283
280
- conBSet : ConBSet ,
284
+ // TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
285
+ // just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
286
+ // conBSet: ConBSet,
281
287
282
288
conBMap : ConBMap ,
283
289
@@ -287,7 +293,9 @@ structure ConA {
287
293
enumString : EnumString ,
288
294
289
295
listOfLengthString : ListOfLengthString ,
290
- setOfLengthString : SetOfLengthString ,
296
+ // TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
297
+ // just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
298
+ // setOfLengthString: SetOfLengthString,
291
299
mapOfLengthString : MapOfLengthString ,
292
300
293
301
nonStreamingBlob : NonStreamingBlob
@@ -315,7 +323,10 @@ map MapOfListOfEnumString {
315
323
316
324
map MapOfSetOfLengthString {
317
325
key : LengthString ,
318
- value : SetOfLengthString ,
326
+ // TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
327
+ // just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
328
+ // value: SetOfLengthString,
329
+ value : ListOfLengthString
319
330
}
320
331
321
332
@length (min : 2 , max : 8 )
@@ -346,7 +357,9 @@ union ConstrainedUnion {
346
357
347
358
constrainedStructure : ConB ,
348
359
conBList : ConBList ,
349
- conBSet : ConBSet ,
360
+ // TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
361
+ // just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
362
+ // conBSet: ConBSet,
350
363
conBMap : ConBMap ,
351
364
}
352
365
@@ -420,13 +433,15 @@ list NestedList {
420
433
member : ConB
421
434
}
422
435
423
- set ConBSet {
424
- member : NestedSet
425
- }
426
-
427
- set NestedSet {
428
- member : String
429
- }
436
+ // TODO(https://github.com/awslabs/smithy-rs/issues/1401): a `set` shape is
437
+ // just a `list` shape with `uniqueItems`, which hasn't been implemented yet.
438
+ // set ConBSet {
439
+ // member: NestedSet
440
+ // }
441
+ //
442
+ // set NestedSet {
443
+ // member: String
444
+ // }
430
445
431
446
@length (min : 1 , max : 69 )
432
447
map ConBMap {
0 commit comments