@typespec/http-specs 0.1.0-alpha.35-dev.4 → 0.1.0-alpha.35-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,26 @@
1
1
  import { ScenarioMockApi } from "@typespec/spec-api";
2
2
  export declare const Scenarios: Record<string, ScenarioMockApi>;
3
3
  export declare const simpleModel = "\n<SimpleModel>\n <name>foo</name>\n <age>123</age>\n</SimpleModel>\n";
4
+ export declare const modelWithRenamedProperty = "\n<ModelWithRenamedProperty>\n <renamedTitle>foo</renamedTitle>\n <author>bar</author>\n</ModelWithRenamedProperty>\n";
5
+ export declare const modelWithRenamedFields = "\n<ModelWithRenamedFieldsSrc>\n <InputData>\n <name>foo</name>\n <age>123</age>\n </InputData>\n <OutputData>\n <name>bar</name>\n <age>456</age>\n </OutputData>\n</ModelWithRenamedFieldsSrc>\n";
6
+ export declare const modelWithNestedModel = "\n<ModelWithNestedModel>\n <nested>\n <name>foo</name>\n <age>123</age>\n </nested>\n</ModelWithNestedModel>\n";
7
+ export declare const modelWithRenamedNestedModel = "\n<ModelWithRenamedNestedModel>\n <author>\n <name>foo</name>\n </author>\n</ModelWithRenamedNestedModel>\n";
4
8
  export declare const modelWithSimpleArrays = "\n<ModelWithSimpleArrays>\n <colors>\n <string>red</string>\n <string>green</string>\n <string>blue</string>\n </colors>\n <counts>\n <int32>1</int32>\n <int32>2</int32>\n </counts>\n</ModelWithSimpleArrays>\n";
5
- export declare const modelWithArrayOfModel = "\n<ModelWithArrayOfModel>\n <items>\n <SimpleModel>\n <name>foo</name>\n <age>123</age>\n </SimpleModel>\n <SimpleModel>\n <name>bar</name>\n <age>456</age>\n </SimpleModel>\n </items>\n</ModelWithArrayOfModel>\n";
6
- export declare const modelWithOptionalField = "\n<ModelWithOptionalField>\n <item>widget</item>\n</ModelWithOptionalField>\n";
7
- export declare const modelWithAttributes = "\n<ModelWithAttributes id1=\"123\" id2=\"foo\">\n <enabled>true</enabled>\n</ModelWithAttributes>\n";
8
9
  export declare const modelWithUnwrappedArray = "\n<ModelWithUnwrappedArray>\n <colors>red</colors>\n <colors>green</colors>\n <colors>blue</colors>\n <counts>\n <int32>1</int32>\n <int32>2</int32>\n </counts>\n</ModelWithUnwrappedArray>\n";
9
10
  export declare const modelWithRenamedArrays = "\n<ModelWithRenamedArrays>\n <Colors>red</Colors>\n <Colors>green</Colors>\n <Colors>blue</Colors>\n <Counts>\n <int32>1</int32>\n <int32>2</int32>\n </Counts>\n</ModelWithRenamedArrays>\n";
10
- export declare const modelWithRenamedFields = "\n<ModelWithRenamedFieldsSrc>\n <InputData>\n <name>foo</name>\n <age>123</age>\n </InputData>\n <OutputData>\n <name>bar</name>\n <age>456</age>\n </OutputData>\n</ModelWithRenamedFieldsSrc>\n";
11
- export declare const modelWithEmptyArray = "\n<ModelWithEmptyArray>\n <items />\n</ModelWithEmptyArray>\n";
11
+ export declare const modelWithWrappedPrimitiveCustomItemNames = "\n<ModelWithWrappedPrimitiveCustomItemNames>\n <ItemsTags>\n <ItemName>fiction</ItemName>\n <ItemName>classic</ItemName>\n </ItemsTags>\n</ModelWithWrappedPrimitiveCustomItemNames>\n";
12
+ export declare const modelWithArrayOfModel = "\n<ModelWithArrayOfModel>\n <items>\n <SimpleModel>\n <name>foo</name>\n <age>123</age>\n </SimpleModel>\n <SimpleModel>\n <name>bar</name>\n <age>456</age>\n </SimpleModel>\n </items>\n</ModelWithArrayOfModel>\n";
13
+ export declare const modelWithUnwrappedModelArray = "\n<ModelWithUnwrappedModelArray>\n <items>\n <name>foo</name>\n <age>123</age>\n </items>\n <items>\n <name>bar</name>\n <age>456</age>\n </items>\n</ModelWithUnwrappedModelArray>\n";
14
+ export declare const modelWithRenamedWrappedModelArray = "\n<ModelWithRenamedWrappedModelArray>\n <AllItems>\n <SimpleModel>\n <name>foo</name>\n <age>123</age>\n </SimpleModel>\n <SimpleModel>\n <name>bar</name>\n <age>456</age>\n </SimpleModel>\n </AllItems>\n</ModelWithRenamedWrappedModelArray>\n";
15
+ export declare const modelWithRenamedUnwrappedModelArray = "\n<ModelWithRenamedUnwrappedModelArray>\n <ModelItem>\n <name>foo</name>\n <age>123</age>\n </ModelItem>\n <ModelItem>\n <name>bar</name>\n <age>456</age>\n </ModelItem>\n</ModelWithRenamedUnwrappedModelArray>\n";
16
+ export declare const modelWithRenamedWrappedAndItemModelArray = "\n<ModelWithRenamedWrappedAndItemModelArray>\n <AllBooks>\n <XmlBook>\n <title>The Great Gatsby</title>\n </XmlBook>\n <XmlBook>\n <title>Les Miserables</title>\n </XmlBook>\n </AllBooks>\n</ModelWithRenamedWrappedAndItemModelArray>\n";
17
+ export declare const modelWithAttributes = "\n<ModelWithAttributes id1=\"123\" id2=\"foo\">\n <enabled>true</enabled>\n</ModelWithAttributes>\n";
18
+ export declare const modelWithRenamedAttribute = "\n<ModelWithRenamedAttribute xml-id=\"123\">\n <title>The Great Gatsby</title>\n <author>F. Scott Fitzgerald</author>\n</ModelWithRenamedAttribute>\n";
19
+ export declare const modelWithNamespace = "\n<smp:ModelWithNamespace xmlns:smp=\"http://example.com/schema\">\n <id>123</id>\n <title>The Great Gatsby</title>\n</smp:ModelWithNamespace>\n";
20
+ export declare const modelWithNamespaceOnProperties = "\n<smp:ModelWithNamespaceOnProperties xmlns:smp=\"http://example.com/schema\" xmlns:ns2=\"http://example.com/ns2\">\n <id>123</id>\n <smp:title>The Great Gatsby</smp:title>\n <ns2:author>F. Scott Fitzgerald</ns2:author>\n</smp:ModelWithNamespaceOnProperties>\n";
12
21
  export declare const modelWithText = "\n<ModelWithText language=\"foo\">\n This is some text.\n</ModelWithText>\n";
22
+ export declare const modelWithOptionalField = "\n<ModelWithOptionalField>\n <item>widget</item>\n</ModelWithOptionalField>\n";
23
+ export declare const modelWithEmptyArray = "\n<ModelWithEmptyArray>\n <items />\n</ModelWithEmptyArray>\n";
13
24
  export declare const modelWithDictionary = "\n<ModelWithDictionary>\n <metadata>\n <Color>blue</Color>\n <Count>123</Count>\n <Enabled>false</Enabled>\n </metadata>\n</ModelWithDictionary>\n";
14
25
  export declare const modelWithEncodedNames = "\n<ModelWithEncodedNamesSrc>\n <SimpleModelData>\n <name>foo</name>\n <age>123</age>\n </SimpleModelData>\n <PossibleColors>\n <string>red</string>\n <string>green</string>\n <string>blue</string>\n </PossibleColors>\n</ModelWithEncodedNamesSrc>\n";
15
26
  export declare const modelWithEnum = "\n<ModelWithEnum>\n <status>success</status>\n</ModelWithEnum>\n";
@@ -1 +1 @@
1
- {"version":3,"file":"mockapi.d.ts","sourceRoot":"","sources":["../../../../specs/payload/xml/mockapi.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0C,eAAe,EAAO,MAAM,oBAAoB,CAAC;AAElG,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAM,CAAC;AAE7D,eAAO,MAAM,WAAW,4EAKvB,CAAC;AAEF,eAAO,MAAM,qBAAqB,yOAYjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,2PAajC,CAAC;AAEF,eAAO,MAAM,sBAAsB,mFAIlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,yGAI/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,8MAUnC,CAAC;AAEF,eAAO,MAAM,sBAAsB,4MAUlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,sNAWlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,mEAI/B,CAAC;AAEF,eAAO,MAAM,aAAa,iFAIzB,CAAC;AAEF,eAAO,MAAM,mBAAmB,kKAQ/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,+QAYjC,CAAC;AAEF,eAAO,MAAM,aAAa,sEAIzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qJAK7B,CAAC;AAsKF,eAAO,MAAM,QAAQ,uGAKpB,CAAC"}
1
+ {"version":3,"file":"mockapi.d.ts","sourceRoot":"","sources":["../../../../specs/payload/xml/mockapi.ts"],"names":[],"mappings":"AAAA,O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spec-api";
2
2
  export const Scenarios = {};
3
+ // ────────────────────────────────────────────────────────────────────────────
4
+ // §1 — Primitive properties
5
+ // ────────────────────────────────────────────────────────────────────────────
3
6
  export const simpleModel = `
4
7
  <SimpleModel>
5
8
  <name>foo</name>
6
9
  <age>123</age>
7
10
  </SimpleModel>
8
11
  `;
12
+ export const modelWithRenamedProperty = `
13
+ <ModelWithRenamedProperty>
14
+ <renamedTitle>foo</renamedTitle>
15
+ <author>bar</author>
16
+ </ModelWithRenamedProperty>
17
+ `;
18
+ export const modelWithRenamedFields = `
19
+ <ModelWithRenamedFieldsSrc>
20
+ <InputData>
21
+ <name>foo</name>
22
+ <age>123</age>
23
+ </InputData>
24
+ <OutputData>
25
+ <name>bar</name>
26
+ <age>456</age>
27
+ </OutputData>
28
+ </ModelWithRenamedFieldsSrc>
29
+ `;
30
+ // ────────────────────────────────────────────────────────────────────────────
31
+ // §2 — Nested models
32
+ // ────────────────────────────────────────────────────────────────────────────
33
+ export const modelWithNestedModel = `
34
+ <ModelWithNestedModel>
35
+ <nested>
36
+ <name>foo</name>
37
+ <age>123</age>
38
+ </nested>
39
+ </ModelWithNestedModel>
40
+ `;
41
+ export const modelWithRenamedNestedModel = `
42
+ <ModelWithRenamedNestedModel>
43
+ <author>
44
+ <name>foo</name>
45
+ </author>
46
+ </ModelWithRenamedNestedModel>
47
+ `;
48
+ // ────────────────────────────────────────────────────────────────────────────
49
+ // §3 — Array of primitive types
50
+ // ────────────────────────────────────────────────────────────────────────────
9
51
  export const modelWithSimpleArrays = `
10
52
  <ModelWithSimpleArrays>
11
53
  <colors>
@@ -19,30 +61,6 @@ export const modelWithSimpleArrays = `
19
61
  </counts>
20
62
  </ModelWithSimpleArrays>
21
63
  `;
22
- export const modelWithArrayOfModel = `
23
- <ModelWithArrayOfModel>
24
- <items>
25
- <SimpleModel>
26
- <name>foo</name>
27
- <age>123</age>
28
- </SimpleModel>
29
- <SimpleModel>
30
- <name>bar</name>
31
- <age>456</age>
32
- </SimpleModel>
33
- </items>
34
- </ModelWithArrayOfModel>
35
- `;
36
- export const modelWithOptionalField = `
37
- <ModelWithOptionalField>
38
- <item>widget</item>
39
- </ModelWithOptionalField>
40
- `;
41
- export const modelWithAttributes = `
42
- <ModelWithAttributes id1="123" id2="foo">
43
- <enabled>true</enabled>
44
- </ModelWithAttributes>
45
- `;
46
64
  export const modelWithUnwrappedArray = `
47
65
  <ModelWithUnwrappedArray>
48
66
  <colors>red</colors>
@@ -65,28 +83,132 @@ export const modelWithRenamedArrays = `
65
83
  </Counts>
66
84
  </ModelWithRenamedArrays>
67
85
  `;
68
- export const modelWithRenamedFields = `
69
- <ModelWithRenamedFieldsSrc>
70
- <InputData>
86
+ export const modelWithWrappedPrimitiveCustomItemNames = `
87
+ <ModelWithWrappedPrimitiveCustomItemNames>
88
+ <ItemsTags>
89
+ <ItemName>fiction</ItemName>
90
+ <ItemName>classic</ItemName>
91
+ </ItemsTags>
92
+ </ModelWithWrappedPrimitiveCustomItemNames>
93
+ `;
94
+ // ────────────────────────────────────────────────────────────────────────────
95
+ // §4 — Array of complex types
96
+ // ────────────────────────────────────────────────────────────────────────────
97
+ export const modelWithArrayOfModel = `
98
+ <ModelWithArrayOfModel>
99
+ <items>
100
+ <SimpleModel>
101
+ <name>foo</name>
102
+ <age>123</age>
103
+ </SimpleModel>
104
+ <SimpleModel>
105
+ <name>bar</name>
106
+ <age>456</age>
107
+ </SimpleModel>
108
+ </items>
109
+ </ModelWithArrayOfModel>
110
+ `;
111
+ export const modelWithUnwrappedModelArray = `
112
+ <ModelWithUnwrappedModelArray>
113
+ <items>
71
114
  <name>foo</name>
72
115
  <age>123</age>
73
- </InputData>
74
- <OutputData>
116
+ </items>
117
+ <items>
75
118
  <name>bar</name>
76
119
  <age>456</age>
77
- </OutputData>
78
- </ModelWithRenamedFieldsSrc>
120
+ </items>
121
+ </ModelWithUnwrappedModelArray>
79
122
  `;
80
- export const modelWithEmptyArray = `
81
- <ModelWithEmptyArray>
82
- <items />
83
- </ModelWithEmptyArray>
123
+ export const modelWithRenamedWrappedModelArray = `
124
+ <ModelWithRenamedWrappedModelArray>
125
+ <AllItems>
126
+ <SimpleModel>
127
+ <name>foo</name>
128
+ <age>123</age>
129
+ </SimpleModel>
130
+ <SimpleModel>
131
+ <name>bar</name>
132
+ <age>456</age>
133
+ </SimpleModel>
134
+ </AllItems>
135
+ </ModelWithRenamedWrappedModelArray>
136
+ `;
137
+ export const modelWithRenamedUnwrappedModelArray = `
138
+ <ModelWithRenamedUnwrappedModelArray>
139
+ <ModelItem>
140
+ <name>foo</name>
141
+ <age>123</age>
142
+ </ModelItem>
143
+ <ModelItem>
144
+ <name>bar</name>
145
+ <age>456</age>
146
+ </ModelItem>
147
+ </ModelWithRenamedUnwrappedModelArray>
148
+ `;
149
+ export const modelWithRenamedWrappedAndItemModelArray = `
150
+ <ModelWithRenamedWrappedAndItemModelArray>
151
+ <AllBooks>
152
+ <XmlBook>
153
+ <title>The Great Gatsby</title>
154
+ </XmlBook>
155
+ <XmlBook>
156
+ <title>Les Miserables</title>
157
+ </XmlBook>
158
+ </AllBooks>
159
+ </ModelWithRenamedWrappedAndItemModelArray>
160
+ `;
161
+ // ────────────────────────────────────────────────────────────────────────────
162
+ // §5 — Attributes
163
+ // ────────────────────────────────────────────────────────────────────────────
164
+ export const modelWithAttributes = `
165
+ <ModelWithAttributes id1="123" id2="foo">
166
+ <enabled>true</enabled>
167
+ </ModelWithAttributes>
168
+ `;
169
+ export const modelWithRenamedAttribute = `
170
+ <ModelWithRenamedAttribute xml-id="123">
171
+ <title>The Great Gatsby</title>
172
+ <author>F. Scott Fitzgerald</author>
173
+ </ModelWithRenamedAttribute>
84
174
  `;
175
+ // ────────────────────────────────────────────────────────────────────────────
176
+ // §6/§7 — Namespace and prefix
177
+ // ────────────────────────────────────────────────────────────────────────────
178
+ export const modelWithNamespace = `
179
+ <smp:ModelWithNamespace xmlns:smp="http://example.com/schema">
180
+ <id>123</id>
181
+ <title>The Great Gatsby</title>
182
+ </smp:ModelWithNamespace>
183
+ `;
184
+ export const modelWithNamespaceOnProperties = `
185
+ <smp:ModelWithNamespaceOnProperties xmlns:smp="http://example.com/schema" xmlns:ns2="http://example.com/ns2">
186
+ <id>123</id>
187
+ <smp:title>The Great Gatsby</smp:title>
188
+ <ns2:author>F. Scott Fitzgerald</ns2:author>
189
+ </smp:ModelWithNamespaceOnProperties>
190
+ `;
191
+ // ────────────────────────────────────────────────────────────────────────────
192
+ // §8 — Text content
193
+ // ────────────────────────────────────────────────────────────────────────────
85
194
  export const modelWithText = `
86
195
  <ModelWithText language="foo">
87
196
  This is some text.
88
197
  </ModelWithText>
89
198
  `;
199
+ // ────────────────────────────────────────────────────────────────────────────
200
+ // Additional scenarios (not in the guide)
201
+ // ────────────────────────────────────────────────────────────────────────────
202
+ export const modelWithOptionalField = `
203
+ <ModelWithOptionalField>
204
+ <item>widget</item>
205
+ </ModelWithOptionalField>
206
+ `;
207
+ export const modelWithEmptyArray = `
208
+ <ModelWithEmptyArray>
209
+ <items />
210
+ </ModelWithEmptyArray>
211
+ `;
90
212
  export const modelWithDictionary = `
91
213
  <ModelWithDictionary>
92
214
  <metadata>
@@ -129,6 +251,15 @@ const modelWithDatetimeNoMs = `
129
251
  <rfc7231>Fri, 26 Aug 2022 14:38:00 GMT</rfc7231>
130
252
  </ModelWithDatetime>
131
253
  `;
254
+ export const xmlError = `
255
+ <XmlErrorBody>
256
+ <message>Something went wrong</message>
257
+ <code>400</code>
258
+ </XmlErrorBody>
259
+ `;
260
+ // ────────────────────────────────────────────────────────────────────────────
261
+ // Scenario registrations
262
+ // ────────────────────────────────────────────────────────────────────────────
132
263
  function createServerTests(uri, data) {
133
264
  return {
134
265
  get: passOnSuccess({
@@ -161,36 +292,93 @@ function createServerTests(uri, data) {
161
292
  }),
162
293
  };
163
294
  }
295
+ // §1 — Primitive properties
164
296
  const Payload_Xml_SimpleModel = createServerTests("/payload/xml/simpleModel", simpleModel);
165
297
  Scenarios.Payload_Xml_SimpleModelValue_get = Payload_Xml_SimpleModel.get;
166
298
  Scenarios.Payload_Xml_SimpleModelValue_put = Payload_Xml_SimpleModel.put;
299
+ const Payload_Xml_ModelWithRenamedProperty = createServerTests("/payload/xml/modelWithRenamedProperty", modelWithRenamedProperty);
300
+ Scenarios.Payload_Xml_ModelWithRenamedPropertyValue_get = Payload_Xml_ModelWithRenamedProperty.get;
301
+ Scenarios.Payload_Xml_ModelWithRenamedPropertyValue_put = Payload_Xml_ModelWithRenamedProperty.put;
302
+ const Payload_Xml_ModelWithRenamedFields = createServerTests("/payload/xml/modelWithRenamedFields", modelWithRenamedFields);
303
+ Scenarios.Payload_Xml_ModelWithRenamedFieldsValue_get = Payload_Xml_ModelWithRenamedFields.get;
304
+ Scenarios.Payload_Xml_ModelWithRenamedFieldsValue_put = Payload_Xml_ModelWithRenamedFields.put;
305
+ // §2 — Nested models
306
+ const Payload_Xml_ModelWithNestedModel = createServerTests("/payload/xml/modelWithNestedModel", modelWithNestedModel);
307
+ Scenarios.Payload_Xml_ModelWithNestedModelValue_get = Payload_Xml_ModelWithNestedModel.get;
308
+ Scenarios.Payload_Xml_ModelWithNestedModelValue_put = Payload_Xml_ModelWithNestedModel.put;
309
+ const Payload_Xml_ModelWithRenamedNestedModel = createServerTests("/payload/xml/modelWithRenamedNestedModel", modelWithRenamedNestedModel);
310
+ Scenarios.Payload_Xml_ModelWithRenamedNestedModelValue_get =
311
+ Payload_Xml_ModelWithRenamedNestedModel.get;
312
+ Scenarios.Payload_Xml_ModelWithRenamedNestedModelValue_put =
313
+ Payload_Xml_ModelWithRenamedNestedModel.put;
314
+ // §3 — Array of primitive types
167
315
  const Payload_Xml_ModelWithSimpleArrays = createServerTests("/payload/xml/modelWithSimpleArrays", modelWithSimpleArrays);
168
316
  Scenarios.Payload_Xml_ModelWithSimpleArraysValue_get = Payload_Xml_ModelWithSimpleArrays.get;
169
317
  Scenarios.Payload_Xml_ModelWithSimpleArraysValue_put = Payload_Xml_ModelWithSimpleArrays.put;
170
- const Payload_Xml_ModelWithArrayOfModel = createServerTests("/payload/xml/modelWithArrayOfModel", modelWithArrayOfModel);
171
- Scenarios.Payload_Xml_ModelWithArrayOfModelValue_get = Payload_Xml_ModelWithArrayOfModel.get;
172
- Scenarios.Payload_Xml_ModelWithArrayOfModelValue_put = Payload_Xml_ModelWithArrayOfModel.put;
173
- const Payload_Xml_ModelWithOptionalField = createServerTests("/payload/xml/modelWithOptionalField", modelWithOptionalField);
174
- Scenarios.Payload_Xml_ModelWithOptionalFieldValue_get = Payload_Xml_ModelWithOptionalField.get;
175
- Scenarios.Payload_Xml_ModelWithOptionalFieldValue_put = Payload_Xml_ModelWithOptionalField.put;
176
- const Payload_Xml_ModelWithAttributes = createServerTests("/payload/xml/modelWithAttributes", modelWithAttributes);
177
- Scenarios.Payload_Xml_ModelWithAttributesValue_get = Payload_Xml_ModelWithAttributes.get;
178
- Scenarios.Payload_Xml_ModelWithAttributesValue_put = Payload_Xml_ModelWithAttributes.put;
179
318
  const Payload_Xml_ModelWithUnwrappedArray = createServerTests("/payload/xml/modelWithUnwrappedArray", modelWithUnwrappedArray);
180
319
  Scenarios.Payload_Xml_ModelWithUnwrappedArrayValue_get = Payload_Xml_ModelWithUnwrappedArray.get;
181
320
  Scenarios.Payload_Xml_ModelWithUnwrappedArrayValue_put = Payload_Xml_ModelWithUnwrappedArray.put;
182
321
  const Payload_Xml_ModelWithRenamedArrays = createServerTests("/payload/xml/modelWithRenamedArrays", modelWithRenamedArrays);
183
322
  Scenarios.Payload_Xml_ModelWithRenamedArraysValue_get = Payload_Xml_ModelWithRenamedArrays.get;
184
323
  Scenarios.Payload_Xml_ModelWithRenamedArraysValue_put = Payload_Xml_ModelWithRenamedArrays.put;
185
- const Payload_Xml_ModelWithRenamedFields = createServerTests("/payload/xml/modelWithRenamedFields", modelWithRenamedFields);
186
- Scenarios.Payload_Xml_ModelWithRenamedFieldsValue_get = Payload_Xml_ModelWithRenamedFields.get;
187
- Scenarios.Payload_Xml_ModelWithRenamedFieldsValue_put = Payload_Xml_ModelWithRenamedFields.put;
188
- const Payload_Xml_ModelWithEmptyArray = createServerTests("/payload/xml/modelWithEmptyArray", modelWithEmptyArray);
189
- Scenarios.Payload_Xml_ModelWithEmptyArrayValue_get = Payload_Xml_ModelWithEmptyArray.get;
190
- Scenarios.Payload_Xml_ModelWithEmptyArrayValue_put = Payload_Xml_ModelWithEmptyArray.put;
324
+ const Payload_Xml_ModelWithWrappedPrimitiveCustomItemNames = createServerTests("/payload/xml/modelWithWrappedPrimitiveCustomItemNames", modelWithWrappedPrimitiveCustomItemNames);
325
+ Scenarios.Payload_Xml_ModelWithWrappedPrimitiveCustomItemNamesValue_get =
326
+ Payload_Xml_ModelWithWrappedPrimitiveCustomItemNames.get;
327
+ Scenarios.Payload_Xml_ModelWithWrappedPrimitiveCustomItemNamesValue_put =
328
+ Payload_Xml_ModelWithWrappedPrimitiveCustomItemNames.put;
329
+ // §4 — Array of complex types
330
+ const Payload_Xml_ModelWithArrayOfModel = createServerTests("/payload/xml/modelWithArrayOfModel", modelWithArrayOfModel);
331
+ Scenarios.Payload_Xml_ModelWithArrayOfModelValue_get = Payload_Xml_ModelWithArrayOfModel.get;
332
+ Scenarios.Payload_Xml_ModelWithArrayOfModelValue_put = Payload_Xml_ModelWithArrayOfModel.put;
333
+ const Payload_Xml_ModelWithUnwrappedModelArray = createServerTests("/payload/xml/modelWithUnwrappedModelArray", modelWithUnwrappedModelArray);
334
+ Scenarios.Payload_Xml_ModelWithUnwrappedModelArrayValue_get =
335
+ Payload_Xml_ModelWithUnwrappedModelArray.get;
336
+ Scenarios.Payload_Xml_ModelWithUnwrappedModelArrayValue_put =
337
+ Payload_Xml_ModelWithUnwrappedModelArray.put;
338
+ const Payload_Xml_ModelWithRenamedWrappedModelArray = createServerTests("/payload/xml/modelWithRenamedWrappedModelArray", modelWithRenamedWrappedModelArray);
339
+ Scenarios.Payload_Xml_ModelWithRenamedWrappedModelArrayValue_get =
340
+ Payload_Xml_ModelWithRenamedWrappedModelArray.get;
341
+ Scenarios.Payload_Xml_ModelWithRenamedWrappedModelArrayValue_put =
342
+ Payload_Xml_ModelWithRenamedWrappedModelArray.put;
343
+ const Payload_Xml_ModelWithRenamedUnwrappedModelArray = createServerTests("/payload/xml/modelWithRenamedUnwrappedModelArray", modelWithRenamedUnwrappedModelArray);
344
+ Scenarios.Payload_Xml_ModelWithRenamedUnwrappedModelArrayValue_get =
345
+ Payload_Xml_ModelWithRenamedUnwrappedModelArray.get;
346
+ Scenarios.Payload_Xml_ModelWithRenamedUnwrappedModelArrayValue_put =
347
+ Payload_Xml_ModelWithRenamedUnwrappedModelArray.put;
348
+ const Payload_Xml_ModelWithRenamedWrappedAndItemModelArray = createServerTests("/payload/xml/modelWithRenamedWrappedAndItemModelArray", modelWithRenamedWrappedAndItemModelArray);
349
+ Scenarios.Payload_Xml_ModelWithRenamedWrappedAndItemModelArrayValue_get =
350
+ Payload_Xml_ModelWithRenamedWrappedAndItemModelArray.get;
351
+ Scenarios.Payload_Xml_ModelWithRenamedWrappedAndItemModelArrayValue_put =
352
+ Payload_Xml_ModelWithRenamedWrappedAndItemModelArray.put;
353
+ // §5 — Attributes
354
+ const Payload_Xml_ModelWithAttributes = createServerTests("/payload/xml/modelWithAttributes", modelWithAttributes);
355
+ Scenarios.Payload_Xml_ModelWithAttributesValue_get = Payload_Xml_ModelWithAttributes.get;
356
+ Scenarios.Payload_Xml_ModelWithAttributesValue_put = Payload_Xml_ModelWithAttributes.put;
357
+ const Payload_Xml_ModelWithRenamedAttribute = createServerTests("/payload/xml/modelWithRenamedAttribute", modelWithRenamedAttribute);
358
+ Scenarios.Payload_Xml_ModelWithRenamedAttributeValue_get =
359
+ Payload_Xml_ModelWithRenamedAttribute.get;
360
+ Scenarios.Payload_Xml_ModelWithRenamedAttributeValue_put =
361
+ Payload_Xml_ModelWithRenamedAttribute.put;
362
+ // §6/§7 — Namespace and prefix
363
+ const Payload_Xml_ModelWithNamespace = createServerTests("/payload/xml/modelWithNamespace", modelWithNamespace);
364
+ Scenarios.Payload_Xml_ModelWithNamespaceValue_get = Payload_Xml_ModelWithNamespace.get;
365
+ Scenarios.Payload_Xml_ModelWithNamespaceValue_put = Payload_Xml_ModelWithNamespace.put;
366
+ const Payload_Xml_ModelWithNamespaceOnProperties = createServerTests("/payload/xml/modelWithNamespaceOnProperties", modelWithNamespaceOnProperties);
367
+ Scenarios.Payload_Xml_ModelWithNamespaceOnPropertiesValue_get =
368
+ Payload_Xml_ModelWithNamespaceOnProperties.get;
369
+ Scenarios.Payload_Xml_ModelWithNamespaceOnPropertiesValue_put =
370
+ Payload_Xml_ModelWithNamespaceOnProperties.put;
371
+ // §8 — Text content
191
372
  const Payload_Xml_ModelWithText = createServerTests("/payload/xml/modelWithText", modelWithText);
192
373
  Scenarios.Payload_Xml_ModelWithTextValue_get = Payload_Xml_ModelWithText.get;
193
374
  Scenarios.Payload_Xml_ModelWithTextValue_put = Payload_Xml_ModelWithText.put;
375
+ // Additional scenarios
376
+ const Payload_Xml_ModelWithOptionalField = createServerTests("/payload/xml/modelWithOptionalField", modelWithOptionalField);
377
+ Scenarios.Payload_Xml_ModelWithOptionalFieldValue_get = Payload_Xml_ModelWithOptionalField.get;
378
+ Scenarios.Payload_Xml_ModelWithOptionalFieldValue_put = Payload_Xml_ModelWithOptionalField.put;
379
+ const Payload_Xml_ModelWithEmptyArray = createServerTests("/payload/xml/modelWithEmptyArray", modelWithEmptyArray);
380
+ Scenarios.Payload_Xml_ModelWithEmptyArrayValue_get = Payload_Xml_ModelWithEmptyArray.get;
381
+ Scenarios.Payload_Xml_ModelWithEmptyArrayValue_put = Payload_Xml_ModelWithEmptyArray.put;
194
382
  const Payload_Xml_ModelWithDictionary = createServerTests("/payload/xml/modelWithDictionary", modelWithDictionary);
195
383
  Scenarios.Payload_Xml_ModelWithDictionaryValue_get = Payload_Xml_ModelWithDictionary.get;
196
384
  Scenarios.Payload_Xml_ModelWithDictionaryValue_put = Payload_Xml_ModelWithDictionary.put;
@@ -238,12 +426,6 @@ Scenarios.Payload_Xml_ModelWithDatetimeValue_put = passOnSuccess({
238
426
  },
239
427
  kind: "MockApiDefinition",
240
428
  });
241
- export const xmlError = `
242
- <XmlErrorBody>
243
- <message>Something went wrong</message>
244
- <code>400</code>
245
- </XmlErrorBody>
246
- `;
247
429
  Scenarios.Payload_Xml_XmlErrorValue_get = passOnCode(400, {
248
430
  uri: "/payload/xml/error",
249
431
  method: "get",
@@ -1 +1 @@
1
- {"version":3,"file":"mockapi.js","sourceRoot":"","sources":["../../../../specs/payload/xml/mockapi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,UAAU,EAAE,aAAa,EAAmB,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAElG,MAAM,CAAC,MAAM,SAAS,GAAoC,EAAE,CAAC;AAE7D,MAAM,CAAC,MAAM,WAAW,GAAG;;;;;CAK1B,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;CAYpC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;;CAapC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;CAIrC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;CAIlC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;CAUtC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;;;;;;;CAUrC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;;;;;;;;CAWrC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;CAIlC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG;;;;CAI5B,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;;;;;;;;CAQlC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;CAYpC,CAAC;AAEF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