Skip to content

Commit b8e7488

Browse files
committed
a
1 parent f0130d4 commit b8e7488

3 files changed

Lines changed: 1156 additions & 38 deletions

File tree

smithy-aws-protocol-tests/model/corpus/core.smithy

Lines changed: 144 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,22 @@ operation ListOfScalars {
136136
structure ListOfScalarsInputOutput {
137137
@jsonName("jsonBooleans") @xmlName("xmlBooleans") @ec2QueryName("ec2Booleans")
138138
booleans: BooleanList
139+
@jsonName("jsonBytes") @xmlName("xmlBytes") @ec2QueryName("ec2Bytes")
140+
bytes: ByteList
141+
@jsonName("jsonShorts") @xmlName("xmlShorts") @ec2QueryName("ec2Shorts")
142+
shorts: ShortList
139143
@jsonName("jsonIntegers") @xmlName("xmlIntegers") @ec2QueryName("ec2Integers")
140144
integers: IntegerList
145+
@jsonName("jsonLongs") @xmlName("xmlLongs") @ec2QueryName("ec2Longs")
146+
longs: LongList
147+
@jsonName("jsonFloats") @xmlName("xmlFloats") @ec2QueryName("ec2Floats")
148+
floats: FloatList
149+
@jsonName("jsonDoubles") @xmlName("xmlDoubles") @ec2QueryName("ec2Doubles")
150+
doubles: DoubleList
151+
@jsonName("jsonBigIntegers") @xmlName("xmlBigIntegers") @ec2QueryName("ec2BigIntegers")
152+
bigIntegers: BigIntegerList
153+
@jsonName("jsonBigDecimals") @xmlName("xmlBigDecimals") @ec2QueryName("ec2BigDecimals")
154+
bigDecimals: BigDecimalList
141155
@jsonName("jsonStrings") @xmlName("xmlStrings") @ec2QueryName("ec2Strings")
142156
strings: StringList
143157
@jsonName("jsonBlobs") @xmlName("xmlBlobs") @ec2QueryName("ec2Blobs")
@@ -156,10 +170,34 @@ operation SparseListOfScalars {
156170
}
157171

158172
structure SparseListOfScalarsInputOutput {
159-
@jsonName("jsonStrings") @xmlName("xmlStrings") @ec2QueryName("ec2Strings")
160-
strings: SparseStringList
173+
@jsonName("jsonBooleans") @xmlName("xmlBooleans") @ec2QueryName("ec2Booleans")
174+
booleans: SparseBooleanList
175+
@jsonName("jsonBytes") @xmlName("xmlBytes") @ec2QueryName("ec2Bytes")
176+
bytes: SparseByteList
177+
@jsonName("jsonShorts") @xmlName("xmlShorts") @ec2QueryName("ec2Shorts")
178+
shorts: SparseShortList
161179
@jsonName("jsonIntegers") @xmlName("xmlIntegers") @ec2QueryName("ec2Integers")
162180
integers: SparseIntegerList
181+
@jsonName("jsonLongs") @xmlName("xmlLongs") @ec2QueryName("ec2Longs")
182+
longs: SparseLongList
183+
@jsonName("jsonFloats") @xmlName("xmlFloats") @ec2QueryName("ec2Floats")
184+
floats: SparseFloatList
185+
@jsonName("jsonDoubles") @xmlName("xmlDoubles") @ec2QueryName("ec2Doubles")
186+
doubles: SparseDoubleList
187+
@jsonName("jsonBigIntegers") @xmlName("xmlBigIntegers") @ec2QueryName("ec2BigIntegers")
188+
bigIntegers: SparseBigIntegerList
189+
@jsonName("jsonBigDecimals") @xmlName("xmlBigDecimals") @ec2QueryName("ec2BigDecimals")
190+
bigDecimals: SparseBigDecimalList
191+
@jsonName("jsonStrings") @xmlName("xmlStrings") @ec2QueryName("ec2Strings")
192+
strings: SparseStringList
193+
@jsonName("jsonBlobs") @xmlName("xmlBlobs") @ec2QueryName("ec2Blobs")
194+
blobs: SparseBlobList
195+
@jsonName("jsonTimestamps") @xmlName("xmlTimestamps") @ec2QueryName("ec2Timestamps")
196+
timestamps: SparseTimestampList
197+
@jsonName("jsonEnums") @xmlName("xmlEnums") @ec2QueryName("ec2Enums")
198+
enums: SparseCorpusStringEnumList
199+
@jsonName("jsonIntEnums") @xmlName("xmlIntEnums") @ec2QueryName("ec2IntEnums")
200+
intEnums: SparseCorpusIntEnumList
163201
}
164202

165203
operation MapOfScalars {
@@ -170,8 +208,22 @@ operation MapOfScalars {
170208
structure MapOfScalarsInputOutput {
171209
@jsonName("jsonBooleans") @xmlName("xmlBooleans") @ec2QueryName("ec2Booleans")
172210
booleans: BooleanMap
211+
@jsonName("jsonBytes") @xmlName("xmlBytes") @ec2QueryName("ec2Bytes")
212+
bytes: ByteMap
213+
@jsonName("jsonShorts") @xmlName("xmlShorts") @ec2QueryName("ec2Shorts")
214+
shorts: ShortMap
173215
@jsonName("jsonIntegers") @xmlName("xmlIntegers") @ec2QueryName("ec2Integers")
174216
integers: IntegerMap
217+
@jsonName("jsonLongs") @xmlName("xmlLongs") @ec2QueryName("ec2Longs")
218+
longs: LongMap
219+
@jsonName("jsonFloats") @xmlName("xmlFloats") @ec2QueryName("ec2Floats")
220+
floats: FloatMap
221+
@jsonName("jsonDoubles") @xmlName("xmlDoubles") @ec2QueryName("ec2Doubles")
222+
doubles: DoubleMap
223+
@jsonName("jsonBigIntegers") @xmlName("xmlBigIntegers") @ec2QueryName("ec2BigIntegers")
224+
bigIntegers: BigIntegerMap
225+
@jsonName("jsonBigDecimals") @xmlName("xmlBigDecimals") @ec2QueryName("ec2BigDecimals")
226+
bigDecimals: BigDecimalMap
175227
@jsonName("jsonStrings") @xmlName("xmlStrings") @ec2QueryName("ec2Strings")
176228
strings: StringMap
177229
@jsonName("jsonBlobs") @xmlName("xmlBlobs") @ec2QueryName("ec2Blobs")
@@ -190,10 +242,34 @@ operation SparseMapOfScalars {
190242
}
191243

192244
structure SparseMapOfScalarsInputOutput {
193-
@jsonName("jsonStrings") @xmlName("xmlStrings") @ec2QueryName("ec2Strings")
194-
strings: SparseStringMap
245+
@jsonName("jsonBooleans") @xmlName("xmlBooleans") @ec2QueryName("ec2Booleans")
246+
booleans: SparseBooleanMap
247+
@jsonName("jsonBytes") @xmlName("xmlBytes") @ec2QueryName("ec2Bytes")
248+
bytes: SparseByteMap
249+
@jsonName("jsonShorts") @xmlName("xmlShorts") @ec2QueryName("ec2Shorts")
250+
shorts: SparseShortMap
195251
@jsonName("jsonIntegers") @xmlName("xmlIntegers") @ec2QueryName("ec2Integers")
196252
integers: SparseIntegerMap
253+
@jsonName("jsonLongs") @xmlName("xmlLongs") @ec2QueryName("ec2Longs")
254+
longs: SparseLongMap
255+
@jsonName("jsonFloats") @xmlName("xmlFloats") @ec2QueryName("ec2Floats")
256+
floats: SparseFloatMap
257+
@jsonName("jsonDoubles") @xmlName("xmlDoubles") @ec2QueryName("ec2Doubles")
258+
doubles: SparseDoubleMap
259+
@jsonName("jsonBigIntegers") @xmlName("xmlBigIntegers") @ec2QueryName("ec2BigIntegers")
260+
bigIntegers: SparseBigIntegerMap
261+
@jsonName("jsonBigDecimals") @xmlName("xmlBigDecimals") @ec2QueryName("ec2BigDecimals")
262+
bigDecimals: SparseBigDecimalMap
263+
@jsonName("jsonStrings") @xmlName("xmlStrings") @ec2QueryName("ec2Strings")
264+
strings: SparseStringMap
265+
@jsonName("jsonBlobs") @xmlName("xmlBlobs") @ec2QueryName("ec2Blobs")
266+
blobs: SparseBlobMap
267+
@jsonName("jsonTimestamps") @xmlName("xmlTimestamps") @ec2QueryName("ec2Timestamps")
268+
timestamps: SparseTimestampMap
269+
@jsonName("jsonEnums") @xmlName("xmlEnums") @ec2QueryName("ec2Enums")
270+
enums: SparseCorpusStringEnumMap
271+
@jsonName("jsonIntEnums") @xmlName("xmlIntEnums") @ec2QueryName("ec2IntEnums")
272+
intEnums: SparseCorpusIntEnumMap
197273
}
198274

199275
// =============================================================================
@@ -625,7 +701,14 @@ structure SimpleStruct {
625701
// --- Lists ---
626702

627703
list BooleanList { member: Boolean }
704+
list ByteList { member: Byte }
705+
list ShortList { member: Short }
628706
list IntegerList { member: Integer }
707+
list LongList { member: Long }
708+
list FloatList { member: Float }
709+
list DoubleList { member: Double }
710+
list BigIntegerList { member: BigInteger }
711+
list BigDecimalList { member: BigDecimal }
629712
list StringList { member: String }
630713
list BlobList { member: Blob }
631714
list TimestampList { member: Timestamp }
@@ -667,16 +750,47 @@ list ListOfCorpusIntEnumMap { member: CorpusIntEnumMap }
667750
list CorpusUnionList { member: CorpusUnion }
668751

669752
@sparse
670-
list SparseStringList { member: String }
753+
list SparseBooleanList { member: Boolean }
754+
@sparse
755+
list SparseByteList { member: Byte }
756+
@sparse
757+
list SparseShortList { member: Short }
671758
@sparse
672759
list SparseIntegerList { member: Integer }
673760
@sparse
761+
list SparseLongList { member: Long }
762+
@sparse
763+
list SparseFloatList { member: Float }
764+
@sparse
765+
list SparseDoubleList { member: Double }
766+
@sparse
767+
list SparseBigIntegerList { member: BigInteger }
768+
@sparse
769+
list SparseBigDecimalList { member: BigDecimal }
770+
@sparse
771+
list SparseStringList { member: String }
772+
@sparse
773+
list SparseBlobList { member: Blob }
774+
@sparse
775+
list SparseTimestampList { member: Timestamp }
776+
@sparse
777+
list SparseCorpusStringEnumList { member: CorpusStringEnum }
778+
@sparse
779+
list SparseCorpusIntEnumList { member: CorpusIntEnum }
780+
@sparse
674781
list SparseSimpleStructList { member: SimpleStruct }
675782

676783
// --- Maps ---
677784

678785
map BooleanMap { key: String, value: Boolean }
786+
map ByteMap { key: String, value: Byte }
787+
map ShortMap { key: String, value: Short }
679788
map IntegerMap { key: String, value: Integer }
789+
map LongMap { key: String, value: Long }
790+
map FloatMap { key: String, value: Float }
791+
map DoubleMap { key: String, value: Double }
792+
map BigIntegerMap { key: String, value: BigInteger }
793+
map BigDecimalMap { key: String, value: BigDecimal }
680794
map StringMap { key: String, value: String }
681795
map BlobMap { key: String, value: Blob }
682796
map TimestampMap { key: String, value: Timestamp }
@@ -700,8 +814,32 @@ map MapOfCorpusIntEnumMap { key: String, value: CorpusIntEnumMap }
700814
map CorpusUnionMap { key: String, value: CorpusUnion }
701815

702816
@sparse
703-
map SparseStringMap { key: String, value: String }
817+
map SparseBooleanMap { key: String, value: Boolean }
818+
@sparse
819+
map SparseByteMap { key: String, value: Byte }
820+
@sparse
821+
map SparseShortMap { key: String, value: Short }
704822
@sparse
705823
map SparseIntegerMap { key: String, value: Integer }
706824
@sparse
825+
map SparseLongMap { key: String, value: Long }
826+
@sparse
827+
map SparseFloatMap { key: String, value: Float }
828+
@sparse
829+
map SparseDoubleMap { key: String, value: Double }
830+
@sparse
831+
map SparseBigIntegerMap { key: String, value: BigInteger }
832+
@sparse
833+
map SparseBigDecimalMap { key: String, value: BigDecimal }
834+
@sparse
835+
map SparseStringMap { key: String, value: String }
836+
@sparse
837+
map SparseBlobMap { key: String, value: Blob }
838+
@sparse
839+
map SparseTimestampMap { key: String, value: Timestamp }
840+
@sparse
841+
map SparseCorpusStringEnumMap { key: String, value: CorpusStringEnum }
842+
@sparse
843+
map SparseCorpusIntEnumMap { key: String, value: CorpusIntEnum }
844+
@sparse
707845
map SparseSimpleStructMap { key: String, value: SimpleStruct }

0 commit comments

Comments
 (0)