@nestia/migrate 0.13.4 → 0.13.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.
|
@@ -54,7 +54,7 @@ class MigrateApplication {
|
|
|
54
54
|
const $io10 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
55
55
|
const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -2147483648 <= input["default"] && input["default"] <= 2147483647)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -2147483648 <= input.minimum && input.minimum <= 2147483647)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -2147483648 <= input.maximum && input.maximum <= 2147483647)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 4294967295)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
56
56
|
const $io12 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
57
|
-
const $io13 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input
|
|
57
|
+
const $io13 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 4294967295)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 4294967295)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
58
58
|
const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 4294967295)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 4294967295)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
59
59
|
const $io15 = input => Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (null !== input.additionalItems && undefined !== input.additionalItems && ("boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu0(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 4294967295)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 4294967295)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
60
60
|
const $io16 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io8(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu0(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
@@ -1196,18 +1196,6 @@ class MigrateApplication {
|
|
|
1196
1196
|
path: _path + "[\"default\"]",
|
|
1197
1197
|
expected: "(string | undefined)",
|
|
1198
1198
|
value: input["default"]
|
|
1199
|
-
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
|
1200
|
-
path: _path + "[\"enum\"]",
|
|
1201
|
-
expected: "(Array<string> | undefined)",
|
|
1202
|
-
value: input["enum"]
|
|
1203
|
-
})) && input["enum"].map((elem, _index5) => "string" === typeof elem || $report(_exceptionable, {
|
|
1204
|
-
path: _path + "[\"enum\"][" + _index5 + "]",
|
|
1205
|
-
expected: "string",
|
|
1206
|
-
value: elem
|
|
1207
|
-
})).every(flag => flag) || $report(_exceptionable, {
|
|
1208
|
-
path: _path + "[\"enum\"]",
|
|
1209
|
-
expected: "(Array<string> | undefined)",
|
|
1210
|
-
value: input["enum"]
|
|
1211
1199
|
}), undefined === input.format || "string" === typeof input.format || $report(_exceptionable, {
|
|
1212
1200
|
path: _path + ".format",
|
|
1213
1201
|
expected: "(string | undefined)",
|
|
@@ -1294,12 +1282,12 @@ class MigrateApplication {
|
|
|
1294
1282
|
path: _path + ".prefixItems",
|
|
1295
1283
|
expected: "Array<OpenApi.IJsonSchema>",
|
|
1296
1284
|
value: input.prefixItems
|
|
1297
|
-
})) && input.prefixItems.map((elem,
|
|
1298
|
-
path: _path + ".prefixItems[" +
|
|
1285
|
+
})) && input.prefixItems.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
1286
|
+
path: _path + ".prefixItems[" + _index5 + "]",
|
|
1299
1287
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
|
1300
1288
|
value: elem
|
|
1301
|
-
})) && $vu0(elem, _path + ".prefixItems[" +
|
|
1302
|
-
path: _path + ".prefixItems[" +
|
|
1289
|
+
})) && $vu0(elem, _path + ".prefixItems[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1290
|
+
path: _path + ".prefixItems[" + _index5 + "]",
|
|
1303
1291
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
|
1304
1292
|
value: elem
|
|
1305
1293
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -1379,8 +1367,8 @@ class MigrateApplication {
|
|
|
1379
1367
|
path: _path + ".required",
|
|
1380
1368
|
expected: "(Array<string> | undefined)",
|
|
1381
1369
|
value: input.required
|
|
1382
|
-
})) && input.required.map((elem,
|
|
1383
|
-
path: _path + ".required[" +
|
|
1370
|
+
})) && input.required.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable, {
|
|
1371
|
+
path: _path + ".required[" + _index6 + "]",
|
|
1384
1372
|
expected: "string",
|
|
1385
1373
|
value: elem
|
|
1386
1374
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -1425,12 +1413,12 @@ class MigrateApplication {
|
|
|
1425
1413
|
path: _path + ".oneOf",
|
|
1426
1414
|
expected: "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
|
|
1427
1415
|
value: input.oneOf
|
|
1428
|
-
})) && input.oneOf.map((elem,
|
|
1429
|
-
path: _path + ".oneOf[" +
|
|
1416
|
+
})) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
1417
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
1430
1418
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
|
1431
1419
|
value: elem
|
|
1432
|
-
})) && $vu1(elem, _path + ".oneOf[" +
|
|
1433
|
-
path: _path + ".oneOf[" +
|
|
1420
|
+
})) && $vu1(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1421
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
|
1434
1422
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
|
1435
1423
|
value: elem
|
|
1436
1424
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -1695,12 +1683,12 @@ class MigrateApplication {
|
|
|
1695
1683
|
path: _path + ".servers",
|
|
1696
1684
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
|
1697
1685
|
value: input.servers
|
|
1698
|
-
})) && input.servers.map((elem,
|
|
1699
|
-
path: _path + ".servers[" +
|
|
1686
|
+
})) && input.servers.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
1687
|
+
path: _path + ".servers[" + _index8 + "]",
|
|
1700
1688
|
expected: "OpenApi.IServer",
|
|
1701
1689
|
value: elem
|
|
1702
|
-
})) && $vo1(elem, _path + ".servers[" +
|
|
1703
|
-
path: _path + ".servers[" +
|
|
1690
|
+
})) && $vo1(elem, _path + ".servers[" + _index8 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1691
|
+
path: _path + ".servers[" + _index8 + "]",
|
|
1704
1692
|
expected: "OpenApi.IServer",
|
|
1705
1693
|
value: elem
|
|
1706
1694
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -1788,12 +1776,12 @@ class MigrateApplication {
|
|
|
1788
1776
|
path: _path + ".parameters",
|
|
1789
1777
|
expected: "(Array<OpenApi.IOperation.IParameter> | undefined)",
|
|
1790
1778
|
value: input.parameters
|
|
1791
|
-
})) && input.parameters.map((elem,
|
|
1792
|
-
path: _path + ".parameters[" +
|
|
1779
|
+
})) && input.parameters.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
1780
|
+
path: _path + ".parameters[" + _index9 + "]",
|
|
1793
1781
|
expected: "OpenApi.IOperation.IParameter",
|
|
1794
1782
|
value: elem
|
|
1795
|
-
})) && $vo35(elem, _path + ".parameters[" +
|
|
1796
|
-
path: _path + ".parameters[" +
|
|
1783
|
+
})) && $vo35(elem, _path + ".parameters[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1784
|
+
path: _path + ".parameters[" + _index9 + "]",
|
|
1797
1785
|
expected: "OpenApi.IOperation.IParameter",
|
|
1798
1786
|
value: elem
|
|
1799
1787
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -1820,12 +1808,12 @@ class MigrateApplication {
|
|
|
1820
1808
|
path: _path + ".servers",
|
|
1821
1809
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
|
1822
1810
|
value: input.servers
|
|
1823
|
-
})) && input.servers.map((elem,
|
|
1824
|
-
path: _path + ".servers[" +
|
|
1811
|
+
})) && input.servers.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
1812
|
+
path: _path + ".servers[" + _index10 + "]",
|
|
1825
1813
|
expected: "OpenApi.IServer",
|
|
1826
1814
|
value: elem
|
|
1827
|
-
})) && $vo1(elem, _path + ".servers[" +
|
|
1828
|
-
path: _path + ".servers[" +
|
|
1815
|
+
})) && $vo1(elem, _path + ".servers[" + _index10 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1816
|
+
path: _path + ".servers[" + _index10 + "]",
|
|
1829
1817
|
expected: "OpenApi.IServer",
|
|
1830
1818
|
value: elem
|
|
1831
1819
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -1844,12 +1832,12 @@ class MigrateApplication {
|
|
|
1844
1832
|
path: _path + ".security",
|
|
1845
1833
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
|
1846
1834
|
value: input.security
|
|
1847
|
-
})) && input.security.map((elem,
|
|
1848
|
-
path: _path + ".security[" +
|
|
1835
|
+
})) && input.security.map((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
1836
|
+
path: _path + ".security[" + _index11 + "]",
|
|
1849
1837
|
expected: "Record<string, Array<string>>",
|
|
1850
1838
|
value: elem
|
|
1851
|
-
})) && $vo42(elem, _path + ".security[" +
|
|
1852
|
-
path: _path + ".security[" +
|
|
1839
|
+
})) && $vo42(elem, _path + ".security[" + _index11 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
1840
|
+
path: _path + ".security[" + _index11 + "]",
|
|
1853
1841
|
expected: "Record<string, Array<string>>",
|
|
1854
1842
|
value: elem
|
|
1855
1843
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -1860,8 +1848,8 @@ class MigrateApplication {
|
|
|
1860
1848
|
path: _path + ".tags",
|
|
1861
1849
|
expected: "(Array<string> | undefined)",
|
|
1862
1850
|
value: input.tags
|
|
1863
|
-
})) && input.tags.map((elem,
|
|
1864
|
-
path: _path + ".tags[" +
|
|
1851
|
+
})) && input.tags.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable, {
|
|
1852
|
+
path: _path + ".tags[" + _index12 + "]",
|
|
1865
1853
|
expected: "string",
|
|
1866
1854
|
value: elem
|
|
1867
1855
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2049,8 +2037,8 @@ class MigrateApplication {
|
|
|
2049
2037
|
path: _path + $join(key),
|
|
2050
2038
|
expected: "Array<string>",
|
|
2051
2039
|
value: value
|
|
2052
|
-
})) && value.map((elem,
|
|
2053
|
-
path: _path + $join(key) + "[" +
|
|
2040
|
+
})) && value.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable, {
|
|
2041
|
+
path: _path + $join(key) + "[" + _index13 + "]",
|
|
2054
2042
|
expected: "string",
|
|
2055
2043
|
value: elem
|
|
2056
2044
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2131,8 +2119,8 @@ class MigrateApplication {
|
|
|
2131
2119
|
path: _path + ".consumes",
|
|
2132
2120
|
expected: "(Array<string> | undefined)",
|
|
2133
2121
|
value: input.consumes
|
|
2134
|
-
})) && input.consumes.map((elem,
|
|
2135
|
-
path: _path + ".consumes[" +
|
|
2122
|
+
})) && input.consumes.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable, {
|
|
2123
|
+
path: _path + ".consumes[" + _index14 + "]",
|
|
2136
2124
|
expected: "string",
|
|
2137
2125
|
value: elem
|
|
2138
2126
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2143,8 +2131,8 @@ class MigrateApplication {
|
|
|
2143
2131
|
path: _path + ".produces",
|
|
2144
2132
|
expected: "(Array<string> | undefined)",
|
|
2145
2133
|
value: input.produces
|
|
2146
|
-
})) && input.produces.map((elem,
|
|
2147
|
-
path: _path + ".produces[" +
|
|
2134
|
+
})) && input.produces.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable, {
|
|
2135
|
+
path: _path + ".produces[" + _index15 + "]",
|
|
2148
2136
|
expected: "string",
|
|
2149
2137
|
value: elem
|
|
2150
2138
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2187,12 +2175,12 @@ class MigrateApplication {
|
|
|
2187
2175
|
path: _path + ".security",
|
|
2188
2176
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
|
2189
2177
|
value: input.security
|
|
2190
|
-
})) && input.security.map((elem,
|
|
2191
|
-
path: _path + ".security[" +
|
|
2178
|
+
})) && input.security.map((elem, _index16) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
2179
|
+
path: _path + ".security[" + _index16 + "]",
|
|
2192
2180
|
expected: "Record<string, Array<string>>",
|
|
2193
2181
|
value: elem
|
|
2194
|
-
})) && $vo42(elem, _path + ".security[" +
|
|
2195
|
-
path: _path + ".security[" +
|
|
2182
|
+
})) && $vo42(elem, _path + ".security[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
2183
|
+
path: _path + ".security[" + _index16 + "]",
|
|
2196
2184
|
expected: "Record<string, Array<string>>",
|
|
2197
2185
|
value: elem
|
|
2198
2186
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2211,12 +2199,12 @@ class MigrateApplication {
|
|
|
2211
2199
|
path: _path + ".tags",
|
|
2212
2200
|
expected: "(Array<SwaggerV2.IDocument.ITag> | undefined)",
|
|
2213
2201
|
value: input.tags
|
|
2214
|
-
})) && input.tags.map((elem,
|
|
2215
|
-
path: _path + ".tags[" +
|
|
2202
|
+
})) && input.tags.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
2203
|
+
path: _path + ".tags[" + _index17 + "]",
|
|
2216
2204
|
expected: "SwaggerV2.IDocument.ITag",
|
|
2217
2205
|
value: elem
|
|
2218
|
-
})) && $vo93(elem, _path + ".tags[" +
|
|
2219
|
-
path: _path + ".tags[" +
|
|
2206
|
+
})) && $vo93(elem, _path + ".tags[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
2207
|
+
path: _path + ".tags[" + _index17 + "]",
|
|
2220
2208
|
expected: "SwaggerV2.IDocument.ITag",
|
|
2221
2209
|
value: elem
|
|
2222
2210
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2301,8 +2289,8 @@ class MigrateApplication {
|
|
|
2301
2289
|
path: _path + "[\"enum\"]",
|
|
2302
2290
|
expected: "(Array<boolean> | undefined)",
|
|
2303
2291
|
value: input["enum"]
|
|
2304
|
-
})) && input["enum"].map((elem,
|
|
2305
|
-
path: _path + "[\"enum\"][" +
|
|
2292
|
+
})) && input["enum"].map((elem, _index18) => "boolean" === typeof elem || $report(_exceptionable, {
|
|
2293
|
+
path: _path + "[\"enum\"][" + _index18 + "]",
|
|
2306
2294
|
expected: "boolean",
|
|
2307
2295
|
value: elem
|
|
2308
2296
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2342,8 +2330,8 @@ class MigrateApplication {
|
|
|
2342
2330
|
path: _path + "[\"enum\"]",
|
|
2343
2331
|
expected: "(Array<number> | undefined)",
|
|
2344
2332
|
value: input["enum"]
|
|
2345
|
-
})) && input["enum"].map((elem,
|
|
2346
|
-
path: _path + "[\"enum\"][" +
|
|
2333
|
+
})) && input["enum"].map((elem, _index19) => "number" === typeof elem || $report(_exceptionable, {
|
|
2334
|
+
path: _path + "[\"enum\"][" + _index19 + "]",
|
|
2347
2335
|
expected: "number",
|
|
2348
2336
|
value: elem
|
|
2349
2337
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2411,8 +2399,8 @@ class MigrateApplication {
|
|
|
2411
2399
|
path: _path + "[\"enum\"]",
|
|
2412
2400
|
expected: "(Array<number> | undefined)",
|
|
2413
2401
|
value: input["enum"]
|
|
2414
|
-
})) && input["enum"].map((elem,
|
|
2415
|
-
path: _path + "[\"enum\"][" +
|
|
2402
|
+
})) && input["enum"].map((elem, _index20) => "number" === typeof elem || $report(_exceptionable, {
|
|
2403
|
+
path: _path + "[\"enum\"][" + _index20 + "]",
|
|
2416
2404
|
expected: "number",
|
|
2417
2405
|
value: elem
|
|
2418
2406
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2468,8 +2456,8 @@ class MigrateApplication {
|
|
|
2468
2456
|
path: _path + "[\"enum\"]",
|
|
2469
2457
|
expected: "(Array<string> | undefined)",
|
|
2470
2458
|
value: input["enum"]
|
|
2471
|
-
})) && input["enum"].map((elem,
|
|
2472
|
-
path: _path + "[\"enum\"][" +
|
|
2459
|
+
})) && input["enum"].map((elem, _index21) => "string" === typeof elem || $report(_exceptionable, {
|
|
2460
|
+
path: _path + "[\"enum\"][" + _index21 + "]",
|
|
2473
2461
|
expected: "string",
|
|
2474
2462
|
value: elem
|
|
2475
2463
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2582,8 +2570,8 @@ class MigrateApplication {
|
|
|
2582
2570
|
path: _path + ".required",
|
|
2583
2571
|
expected: "(Array<string> | undefined)",
|
|
2584
2572
|
value: input.required
|
|
2585
|
-
})) && input.required.map((elem,
|
|
2586
|
-
path: _path + ".required[" +
|
|
2573
|
+
})) && input.required.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable, {
|
|
2574
|
+
path: _path + ".required[" + _index22 + "]",
|
|
2587
2575
|
expected: "string",
|
|
2588
2576
|
value: elem
|
|
2589
2577
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2690,12 +2678,12 @@ class MigrateApplication {
|
|
|
2690
2678
|
path: _path + ".allOf",
|
|
2691
2679
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
2692
2680
|
value: input.allOf
|
|
2693
|
-
})) && input.allOf.map((elem,
|
|
2694
|
-
path: _path + ".allOf[" +
|
|
2681
|
+
})) && input.allOf.map((elem, _index23) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
2682
|
+
path: _path + ".allOf[" + _index23 + "]",
|
|
2695
2683
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
2696
2684
|
value: elem
|
|
2697
|
-
})) && $vu2(elem, _path + ".allOf[" +
|
|
2698
|
-
path: _path + ".allOf[" +
|
|
2685
|
+
})) && $vu2(elem, _path + ".allOf[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
2686
|
+
path: _path + ".allOf[" + _index23 + "]",
|
|
2699
2687
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
2700
2688
|
value: elem
|
|
2701
2689
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2719,12 +2707,12 @@ class MigrateApplication {
|
|
|
2719
2707
|
path: _path + "[\"x-anyOf\"]",
|
|
2720
2708
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
2721
2709
|
value: input["x-anyOf"]
|
|
2722
|
-
})) && input["x-anyOf"].map((elem,
|
|
2723
|
-
path: _path + "[\"x-anyOf\"][" +
|
|
2710
|
+
})) && input["x-anyOf"].map((elem, _index24) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
2711
|
+
path: _path + "[\"x-anyOf\"][" + _index24 + "]",
|
|
2724
2712
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
2725
2713
|
value: elem
|
|
2726
|
-
})) && $vu2(elem, _path + "[\"x-anyOf\"][" +
|
|
2727
|
-
path: _path + "[\"x-anyOf\"][" +
|
|
2714
|
+
})) && $vu2(elem, _path + "[\"x-anyOf\"][" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
2715
|
+
path: _path + "[\"x-anyOf\"][" + _index24 + "]",
|
|
2728
2716
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
2729
2717
|
value: elem
|
|
2730
2718
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2748,12 +2736,12 @@ class MigrateApplication {
|
|
|
2748
2736
|
path: _path + "[\"x-oneOf\"]",
|
|
2749
2737
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
2750
2738
|
value: input["x-oneOf"]
|
|
2751
|
-
})) && input["x-oneOf"].map((elem,
|
|
2752
|
-
path: _path + "[\"x-oneOf\"][" +
|
|
2739
|
+
})) && input["x-oneOf"].map((elem, _index25) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
2740
|
+
path: _path + "[\"x-oneOf\"][" + _index25 + "]",
|
|
2753
2741
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
2754
2742
|
value: elem
|
|
2755
|
-
})) && $vu2(elem, _path + "[\"x-oneOf\"][" +
|
|
2756
|
-
path: _path + "[\"x-oneOf\"][" +
|
|
2743
|
+
})) && $vu2(elem, _path + "[\"x-oneOf\"][" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
2744
|
+
path: _path + "[\"x-oneOf\"][" + _index25 + "]",
|
|
2757
2745
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
2758
2746
|
value: elem
|
|
2759
2747
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2795,8 +2783,8 @@ class MigrateApplication {
|
|
|
2795
2783
|
path: _path + "[\"enum\"]",
|
|
2796
2784
|
expected: "(Array<boolean> | undefined)",
|
|
2797
2785
|
value: input["enum"]
|
|
2798
|
-
})) && input["enum"].map((elem,
|
|
2799
|
-
path: _path + "[\"enum\"][" +
|
|
2786
|
+
})) && input["enum"].map((elem, _index26) => "boolean" === typeof elem || $report(_exceptionable, {
|
|
2787
|
+
path: _path + "[\"enum\"][" + _index26 + "]",
|
|
2800
2788
|
expected: "boolean",
|
|
2801
2789
|
value: elem
|
|
2802
2790
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2844,8 +2832,8 @@ class MigrateApplication {
|
|
|
2844
2832
|
path: _path + "[\"enum\"]",
|
|
2845
2833
|
expected: "(Array<number> | undefined)",
|
|
2846
2834
|
value: input["enum"]
|
|
2847
|
-
})) && input["enum"].map((elem,
|
|
2848
|
-
path: _path + "[\"enum\"][" +
|
|
2835
|
+
})) && input["enum"].map((elem, _index27) => "number" === typeof elem || $report(_exceptionable, {
|
|
2836
|
+
path: _path + "[\"enum\"][" + _index27 + "]",
|
|
2849
2837
|
expected: "number",
|
|
2850
2838
|
value: elem
|
|
2851
2839
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2921,8 +2909,8 @@ class MigrateApplication {
|
|
|
2921
2909
|
path: _path + "[\"enum\"]",
|
|
2922
2910
|
expected: "(Array<number> | undefined)",
|
|
2923
2911
|
value: input["enum"]
|
|
2924
|
-
})) && input["enum"].map((elem,
|
|
2925
|
-
path: _path + "[\"enum\"][" +
|
|
2912
|
+
})) && input["enum"].map((elem, _index28) => "number" === typeof elem || $report(_exceptionable, {
|
|
2913
|
+
path: _path + "[\"enum\"][" + _index28 + "]",
|
|
2926
2914
|
expected: "number",
|
|
2927
2915
|
value: elem
|
|
2928
2916
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -2986,8 +2974,8 @@ class MigrateApplication {
|
|
|
2986
2974
|
path: _path + "[\"enum\"]",
|
|
2987
2975
|
expected: "(Array<string> | undefined)",
|
|
2988
2976
|
value: input["enum"]
|
|
2989
|
-
})) && input["enum"].map((elem,
|
|
2990
|
-
path: _path + "[\"enum\"][" +
|
|
2977
|
+
})) && input["enum"].map((elem, _index29) => "string" === typeof elem || $report(_exceptionable, {
|
|
2978
|
+
path: _path + "[\"enum\"][" + _index29 + "]",
|
|
2991
2979
|
expected: "string",
|
|
2992
2980
|
value: elem
|
|
2993
2981
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3116,8 +3104,8 @@ class MigrateApplication {
|
|
|
3116
3104
|
path: _path + ".required",
|
|
3117
3105
|
expected: "(Array<string> | undefined)",
|
|
3118
3106
|
value: input.required
|
|
3119
|
-
})) && input.required.map((elem,
|
|
3120
|
-
path: _path + ".required[" +
|
|
3107
|
+
})) && input.required.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable, {
|
|
3108
|
+
path: _path + ".required[" + _index30 + "]",
|
|
3121
3109
|
expected: "string",
|
|
3122
3110
|
value: elem
|
|
3123
3111
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3256,12 +3244,12 @@ class MigrateApplication {
|
|
|
3256
3244
|
path: _path + ".allOf",
|
|
3257
3245
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
3258
3246
|
value: input.allOf
|
|
3259
|
-
})) && input.allOf.map((elem,
|
|
3260
|
-
path: _path + ".allOf[" +
|
|
3247
|
+
})) && input.allOf.map((elem, _index31) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
3248
|
+
path: _path + ".allOf[" + _index31 + "]",
|
|
3261
3249
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
3262
3250
|
value: elem
|
|
3263
|
-
})) && $vu2(elem, _path + ".allOf[" +
|
|
3264
|
-
path: _path + ".allOf[" +
|
|
3251
|
+
})) && $vu2(elem, _path + ".allOf[" + _index31 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3252
|
+
path: _path + ".allOf[" + _index31 + "]",
|
|
3265
3253
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
3266
3254
|
value: elem
|
|
3267
3255
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3293,12 +3281,12 @@ class MigrateApplication {
|
|
|
3293
3281
|
path: _path + "[\"x-anyOf\"]",
|
|
3294
3282
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
3295
3283
|
value: input["x-anyOf"]
|
|
3296
|
-
})) && input["x-anyOf"].map((elem,
|
|
3297
|
-
path: _path + "[\"x-anyOf\"][" +
|
|
3284
|
+
})) && input["x-anyOf"].map((elem, _index32) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
3285
|
+
path: _path + "[\"x-anyOf\"][" + _index32 + "]",
|
|
3298
3286
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
3299
3287
|
value: elem
|
|
3300
|
-
})) && $vu2(elem, _path + "[\"x-anyOf\"][" +
|
|
3301
|
-
path: _path + "[\"x-anyOf\"][" +
|
|
3288
|
+
})) && $vu2(elem, _path + "[\"x-anyOf\"][" + _index32 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3289
|
+
path: _path + "[\"x-anyOf\"][" + _index32 + "]",
|
|
3302
3290
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
3303
3291
|
value: elem
|
|
3304
3292
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3330,12 +3318,12 @@ class MigrateApplication {
|
|
|
3330
3318
|
path: _path + "[\"x-oneOf\"]",
|
|
3331
3319
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
3332
3320
|
value: input["x-oneOf"]
|
|
3333
|
-
})) && input["x-oneOf"].map((elem,
|
|
3334
|
-
path: _path + "[\"x-oneOf\"][" +
|
|
3321
|
+
})) && input["x-oneOf"].map((elem, _index33) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
3322
|
+
path: _path + "[\"x-oneOf\"][" + _index33 + "]",
|
|
3335
3323
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
3336
3324
|
value: elem
|
|
3337
|
-
})) && $vu2(elem, _path + "[\"x-oneOf\"][" +
|
|
3338
|
-
path: _path + "[\"x-oneOf\"][" +
|
|
3325
|
+
})) && $vu2(elem, _path + "[\"x-oneOf\"][" + _index33 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3326
|
+
path: _path + "[\"x-oneOf\"][" + _index33 + "]",
|
|
3339
3327
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
|
3340
3328
|
value: elem
|
|
3341
3329
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3589,12 +3577,12 @@ class MigrateApplication {
|
|
|
3589
3577
|
path: _path + ".parameters",
|
|
3590
3578
|
expected: "(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",
|
|
3591
3579
|
value: input.parameters
|
|
3592
|
-
})) && input.parameters.map((elem,
|
|
3593
|
-
path: _path + ".parameters[" +
|
|
3580
|
+
})) && input.parameters.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
3581
|
+
path: _path + ".parameters[" + _index34 + "]",
|
|
3594
3582
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
|
3595
3583
|
value: elem
|
|
3596
|
-
})) && $vu3(elem, _path + ".parameters[" +
|
|
3597
|
-
path: _path + ".parameters[" +
|
|
3584
|
+
})) && $vu3(elem, _path + ".parameters[" + _index34 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3585
|
+
path: _path + ".parameters[" + _index34 + "]",
|
|
3598
3586
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
|
3599
3587
|
value: elem
|
|
3600
3588
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3691,12 +3679,12 @@ class MigrateApplication {
|
|
|
3691
3679
|
path: _path + ".parameters",
|
|
3692
3680
|
expected: "(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",
|
|
3693
3681
|
value: input.parameters
|
|
3694
|
-
})) && input.parameters.map((elem,
|
|
3695
|
-
path: _path + ".parameters[" +
|
|
3682
|
+
})) && input.parameters.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
3683
|
+
path: _path + ".parameters[" + _index35 + "]",
|
|
3696
3684
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
|
3697
3685
|
value: elem
|
|
3698
|
-
})) && $vu4(elem, _path + ".parameters[" +
|
|
3699
|
-
path: _path + ".parameters[" +
|
|
3686
|
+
})) && $vu4(elem, _path + ".parameters[" + _index35 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3687
|
+
path: _path + ".parameters[" + _index35 + "]",
|
|
3700
3688
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
|
3701
3689
|
value: elem
|
|
3702
3690
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3723,12 +3711,12 @@ class MigrateApplication {
|
|
|
3723
3711
|
path: _path + ".security",
|
|
3724
3712
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
|
3725
3713
|
value: input.security
|
|
3726
|
-
})) && input.security.map((elem,
|
|
3727
|
-
path: _path + ".security[" +
|
|
3714
|
+
})) && input.security.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
3715
|
+
path: _path + ".security[" + _index36 + "]",
|
|
3728
3716
|
expected: "Record<string, Array<string>>",
|
|
3729
3717
|
value: elem
|
|
3730
|
-
})) && $vo42(elem, _path + ".security[" +
|
|
3731
|
-
path: _path + ".security[" +
|
|
3718
|
+
})) && $vo42(elem, _path + ".security[" + _index36 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3719
|
+
path: _path + ".security[" + _index36 + "]",
|
|
3732
3720
|
expected: "Record<string, Array<string>>",
|
|
3733
3721
|
value: elem
|
|
3734
3722
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3739,8 +3727,8 @@ class MigrateApplication {
|
|
|
3739
3727
|
path: _path + ".tags",
|
|
3740
3728
|
expected: "(Array<string> | undefined)",
|
|
3741
3729
|
value: input.tags
|
|
3742
|
-
})) && input.tags.map((elem,
|
|
3743
|
-
path: _path + ".tags[" +
|
|
3730
|
+
})) && input.tags.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable, {
|
|
3731
|
+
path: _path + ".tags[" + _index37 + "]",
|
|
3744
3732
|
expected: "string",
|
|
3745
3733
|
value: elem
|
|
3746
3734
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3825,12 +3813,12 @@ class MigrateApplication {
|
|
|
3825
3813
|
path: _path + ".servers",
|
|
3826
3814
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
|
3827
3815
|
value: input.servers
|
|
3828
|
-
})) && input.servers.map((elem,
|
|
3829
|
-
path: _path + ".servers[" +
|
|
3816
|
+
})) && input.servers.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
3817
|
+
path: _path + ".servers[" + _index38 + "]",
|
|
3830
3818
|
expected: "OpenApiV3.IServer",
|
|
3831
3819
|
value: elem
|
|
3832
|
-
})) && $vo95(elem, _path + ".servers[" +
|
|
3833
|
-
path: _path + ".servers[" +
|
|
3820
|
+
})) && $vo95(elem, _path + ".servers[" + _index38 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3821
|
+
path: _path + ".servers[" + _index38 + "]",
|
|
3834
3822
|
expected: "OpenApiV3.IServer",
|
|
3835
3823
|
value: elem
|
|
3836
3824
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3865,12 +3853,12 @@ class MigrateApplication {
|
|
|
3865
3853
|
path: _path + ".security",
|
|
3866
3854
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
|
3867
3855
|
value: input.security
|
|
3868
|
-
})) && input.security.map((elem,
|
|
3869
|
-
path: _path + ".security[" +
|
|
3856
|
+
})) && input.security.map((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
3857
|
+
path: _path + ".security[" + _index39 + "]",
|
|
3870
3858
|
expected: "Record<string, Array<string>>",
|
|
3871
3859
|
value: elem
|
|
3872
|
-
})) && $vo42(elem, _path + ".security[" +
|
|
3873
|
-
path: _path + ".security[" +
|
|
3860
|
+
})) && $vo42(elem, _path + ".security[" + _index39 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3861
|
+
path: _path + ".security[" + _index39 + "]",
|
|
3874
3862
|
expected: "Record<string, Array<string>>",
|
|
3875
3863
|
value: elem
|
|
3876
3864
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3881,12 +3869,12 @@ class MigrateApplication {
|
|
|
3881
3869
|
path: _path + ".tags",
|
|
3882
3870
|
expected: "(Array<OpenApiV3.IDocument.ITag> | undefined)",
|
|
3883
3871
|
value: input.tags
|
|
3884
|
-
})) && input.tags.map((elem,
|
|
3885
|
-
path: _path + ".tags[" +
|
|
3872
|
+
})) && input.tags.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
3873
|
+
path: _path + ".tags[" + _index40 + "]",
|
|
3886
3874
|
expected: "OpenApiV3.IDocument.ITag",
|
|
3887
3875
|
value: elem
|
|
3888
|
-
})) && $vo144(elem, _path + ".tags[" +
|
|
3889
|
-
path: _path + ".tags[" +
|
|
3876
|
+
})) && $vo144(elem, _path + ".tags[" + _index40 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
3877
|
+
path: _path + ".tags[" + _index40 + "]",
|
|
3890
3878
|
expected: "OpenApiV3.IDocument.ITag",
|
|
3891
3879
|
value: elem
|
|
3892
3880
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -3933,8 +3921,8 @@ class MigrateApplication {
|
|
|
3933
3921
|
path: _path + "[\"enum\"]",
|
|
3934
3922
|
expected: "(Array<string> | undefined)",
|
|
3935
3923
|
value: input["enum"]
|
|
3936
|
-
})) && input["enum"].map((elem,
|
|
3937
|
-
path: _path + "[\"enum\"][" +
|
|
3924
|
+
})) && input["enum"].map((elem, _index41) => "string" === typeof elem || $report(_exceptionable, {
|
|
3925
|
+
path: _path + "[\"enum\"][" + _index41 + "]",
|
|
3938
3926
|
expected: "string",
|
|
3939
3927
|
value: elem
|
|
3940
3928
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4072,8 +4060,8 @@ class MigrateApplication {
|
|
|
4072
4060
|
path: _path + "[\"enum\"]",
|
|
4073
4061
|
expected: "(Array<boolean> | undefined)",
|
|
4074
4062
|
value: input["enum"]
|
|
4075
|
-
})) && input["enum"].map((elem,
|
|
4076
|
-
path: _path + "[\"enum\"][" +
|
|
4063
|
+
})) && input["enum"].map((elem, _index42) => "boolean" === typeof elem || $report(_exceptionable, {
|
|
4064
|
+
path: _path + "[\"enum\"][" + _index42 + "]",
|
|
4077
4065
|
expected: "boolean",
|
|
4078
4066
|
value: elem
|
|
4079
4067
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4113,8 +4101,8 @@ class MigrateApplication {
|
|
|
4113
4101
|
path: _path + "[\"enum\"]",
|
|
4114
4102
|
expected: "(Array<number> | undefined)",
|
|
4115
4103
|
value: input["enum"]
|
|
4116
|
-
})) && input["enum"].map((elem,
|
|
4117
|
-
path: _path + "[\"enum\"][" +
|
|
4104
|
+
})) && input["enum"].map((elem, _index43) => "number" === typeof elem || $report(_exceptionable, {
|
|
4105
|
+
path: _path + "[\"enum\"][" + _index43 + "]",
|
|
4118
4106
|
expected: "number",
|
|
4119
4107
|
value: elem
|
|
4120
4108
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4182,8 +4170,8 @@ class MigrateApplication {
|
|
|
4182
4170
|
path: _path + "[\"enum\"]",
|
|
4183
4171
|
expected: "(Array<number> | undefined)",
|
|
4184
4172
|
value: input["enum"]
|
|
4185
|
-
})) && input["enum"].map((elem,
|
|
4186
|
-
path: _path + "[\"enum\"][" +
|
|
4173
|
+
})) && input["enum"].map((elem, _index44) => "number" === typeof elem || $report(_exceptionable, {
|
|
4174
|
+
path: _path + "[\"enum\"][" + _index44 + "]",
|
|
4187
4175
|
expected: "number",
|
|
4188
4176
|
value: elem
|
|
4189
4177
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4239,8 +4227,8 @@ class MigrateApplication {
|
|
|
4239
4227
|
path: _path + "[\"enum\"]",
|
|
4240
4228
|
expected: "(Array<string> | undefined)",
|
|
4241
4229
|
value: input["enum"]
|
|
4242
|
-
})) && input["enum"].map((elem,
|
|
4243
|
-
path: _path + "[\"enum\"][" +
|
|
4230
|
+
})) && input["enum"].map((elem, _index45) => "string" === typeof elem || $report(_exceptionable, {
|
|
4231
|
+
path: _path + "[\"enum\"][" + _index45 + "]",
|
|
4244
4232
|
expected: "string",
|
|
4245
4233
|
value: elem
|
|
4246
4234
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4353,8 +4341,8 @@ class MigrateApplication {
|
|
|
4353
4341
|
path: _path + ".required",
|
|
4354
4342
|
expected: "(Array<string> | undefined)",
|
|
4355
4343
|
value: input.required
|
|
4356
|
-
})) && input.required.map((elem,
|
|
4357
|
-
path: _path + ".required[" +
|
|
4344
|
+
})) && input.required.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable, {
|
|
4345
|
+
path: _path + ".required[" + _index46 + "]",
|
|
4358
4346
|
expected: "string",
|
|
4359
4347
|
value: elem
|
|
4360
4348
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4461,12 +4449,12 @@ class MigrateApplication {
|
|
|
4461
4449
|
path: _path + ".allOf",
|
|
4462
4450
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
4463
4451
|
value: input.allOf
|
|
4464
|
-
})) && input.allOf.map((elem,
|
|
4465
|
-
path: _path + ".allOf[" +
|
|
4452
|
+
})) && input.allOf.map((elem, _index47) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
4453
|
+
path: _path + ".allOf[" + _index47 + "]",
|
|
4466
4454
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
|
4467
4455
|
value: elem
|
|
4468
|
-
})) && $vu5(elem, _path + ".allOf[" +
|
|
4469
|
-
path: _path + ".allOf[" +
|
|
4456
|
+
})) && $vu5(elem, _path + ".allOf[" + _index47 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
4457
|
+
path: _path + ".allOf[" + _index47 + "]",
|
|
4470
4458
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
|
4471
4459
|
value: elem
|
|
4472
4460
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4490,12 +4478,12 @@ class MigrateApplication {
|
|
|
4490
4478
|
path: _path + ".anyOf",
|
|
4491
4479
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
4492
4480
|
value: input.anyOf
|
|
4493
|
-
})) && input.anyOf.map((elem,
|
|
4494
|
-
path: _path + ".anyOf[" +
|
|
4481
|
+
})) && input.anyOf.map((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
4482
|
+
path: _path + ".anyOf[" + _index48 + "]",
|
|
4495
4483
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
|
4496
4484
|
value: elem
|
|
4497
|
-
})) && $vu5(elem, _path + ".anyOf[" +
|
|
4498
|
-
path: _path + ".anyOf[" +
|
|
4485
|
+
})) && $vu5(elem, _path + ".anyOf[" + _index48 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
4486
|
+
path: _path + ".anyOf[" + _index48 + "]",
|
|
4499
4487
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
|
4500
4488
|
value: elem
|
|
4501
4489
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4519,12 +4507,12 @@ class MigrateApplication {
|
|
|
4519
4507
|
path: _path + ".oneOf",
|
|
4520
4508
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
4521
4509
|
value: input.oneOf
|
|
4522
|
-
})) && input.oneOf.map((elem,
|
|
4523
|
-
path: _path + ".oneOf[" +
|
|
4510
|
+
})) && input.oneOf.map((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
4511
|
+
path: _path + ".oneOf[" + _index49 + "]",
|
|
4524
4512
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
|
4525
4513
|
value: elem
|
|
4526
|
-
})) && $vu5(elem, _path + ".oneOf[" +
|
|
4527
|
-
path: _path + ".oneOf[" +
|
|
4514
|
+
})) && $vu5(elem, _path + ".oneOf[" + _index49 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
4515
|
+
path: _path + ".oneOf[" + _index49 + "]",
|
|
4528
4516
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
|
4529
4517
|
value: elem
|
|
4530
4518
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4935,12 +4923,12 @@ class MigrateApplication {
|
|
|
4935
4923
|
path: _path + ".parameters",
|
|
4936
4924
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",
|
|
4937
4925
|
value: input.parameters
|
|
4938
|
-
})) && input.parameters.map((elem,
|
|
4939
|
-
path: _path + ".parameters[" +
|
|
4926
|
+
})) && input.parameters.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
4927
|
+
path: _path + ".parameters[" + _index50 + "]",
|
|
4940
4928
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
|
4941
4929
|
value: elem
|
|
4942
|
-
})) && $vu6(elem, _path + ".parameters[" +
|
|
4943
|
-
path: _path + ".parameters[" +
|
|
4930
|
+
})) && $vu6(elem, _path + ".parameters[" + _index50 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
4931
|
+
path: _path + ".parameters[" + _index50 + "]",
|
|
4944
4932
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
|
4945
4933
|
value: elem
|
|
4946
4934
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -4951,12 +4939,12 @@ class MigrateApplication {
|
|
|
4951
4939
|
path: _path + ".servers",
|
|
4952
4940
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
|
4953
4941
|
value: input.servers
|
|
4954
|
-
})) && input.servers.map((elem,
|
|
4955
|
-
path: _path + ".servers[" +
|
|
4942
|
+
})) && input.servers.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
4943
|
+
path: _path + ".servers[" + _index51 + "]",
|
|
4956
4944
|
expected: "OpenApiV3.IServer",
|
|
4957
4945
|
value: elem
|
|
4958
|
-
})) && $vo95(elem, _path + ".servers[" +
|
|
4959
|
-
path: _path + ".servers[" +
|
|
4946
|
+
})) && $vo95(elem, _path + ".servers[" + _index51 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
4947
|
+
path: _path + ".servers[" + _index51 + "]",
|
|
4960
4948
|
expected: "OpenApiV3.IServer",
|
|
4961
4949
|
value: elem
|
|
4962
4950
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5061,12 +5049,12 @@ class MigrateApplication {
|
|
|
5061
5049
|
path: _path + ".parameters",
|
|
5062
5050
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",
|
|
5063
5051
|
value: input.parameters
|
|
5064
|
-
})) && input.parameters.map((elem,
|
|
5065
|
-
path: _path + ".parameters[" +
|
|
5052
|
+
})) && input.parameters.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
5053
|
+
path: _path + ".parameters[" + _index52 + "]",
|
|
5066
5054
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
|
5067
5055
|
value: elem
|
|
5068
|
-
})) && $vu6(elem, _path + ".parameters[" +
|
|
5069
|
-
path: _path + ".parameters[" +
|
|
5056
|
+
})) && $vu6(elem, _path + ".parameters[" + _index52 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5057
|
+
path: _path + ".parameters[" + _index52 + "]",
|
|
5070
5058
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
|
5071
5059
|
value: elem
|
|
5072
5060
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5093,12 +5081,12 @@ class MigrateApplication {
|
|
|
5093
5081
|
path: _path + ".servers",
|
|
5094
5082
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
|
5095
5083
|
value: input.servers
|
|
5096
|
-
})) && input.servers.map((elem,
|
|
5097
|
-
path: _path + ".servers[" +
|
|
5084
|
+
})) && input.servers.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
5085
|
+
path: _path + ".servers[" + _index53 + "]",
|
|
5098
5086
|
expected: "OpenApiV3.IServer",
|
|
5099
5087
|
value: elem
|
|
5100
|
-
})) && $vo95(elem, _path + ".servers[" +
|
|
5101
|
-
path: _path + ".servers[" +
|
|
5088
|
+
})) && $vo95(elem, _path + ".servers[" + _index53 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5089
|
+
path: _path + ".servers[" + _index53 + "]",
|
|
5102
5090
|
expected: "OpenApiV3.IServer",
|
|
5103
5091
|
value: elem
|
|
5104
5092
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5117,12 +5105,12 @@ class MigrateApplication {
|
|
|
5117
5105
|
path: _path + ".security",
|
|
5118
5106
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
|
5119
5107
|
value: input.security
|
|
5120
|
-
})) && input.security.map((elem,
|
|
5121
|
-
path: _path + ".security[" +
|
|
5108
|
+
})) && input.security.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5109
|
+
path: _path + ".security[" + _index54 + "]",
|
|
5122
5110
|
expected: "Record<string, Array<string>>",
|
|
5123
5111
|
value: elem
|
|
5124
|
-
})) && $vo42(elem, _path + ".security[" +
|
|
5125
|
-
path: _path + ".security[" +
|
|
5112
|
+
})) && $vo42(elem, _path + ".security[" + _index54 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5113
|
+
path: _path + ".security[" + _index54 + "]",
|
|
5126
5114
|
expected: "Record<string, Array<string>>",
|
|
5127
5115
|
value: elem
|
|
5128
5116
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5133,8 +5121,8 @@ class MigrateApplication {
|
|
|
5133
5121
|
path: _path + ".tags",
|
|
5134
5122
|
expected: "(Array<string> | undefined)",
|
|
5135
5123
|
value: input.tags
|
|
5136
|
-
})) && input.tags.map((elem,
|
|
5137
|
-
path: _path + ".tags[" +
|
|
5124
|
+
})) && input.tags.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable, {
|
|
5125
|
+
path: _path + ".tags[" + _index55 + "]",
|
|
5138
5126
|
expected: "string",
|
|
5139
5127
|
value: elem
|
|
5140
5128
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5211,12 +5199,12 @@ class MigrateApplication {
|
|
|
5211
5199
|
path: _path + ".servers",
|
|
5212
5200
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
|
5213
5201
|
value: input.servers
|
|
5214
|
-
})) && input.servers.map((elem,
|
|
5215
|
-
path: _path + ".servers[" +
|
|
5202
|
+
})) && input.servers.map((elem, _index56) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
5203
|
+
path: _path + ".servers[" + _index56 + "]",
|
|
5216
5204
|
expected: "OpenApiV3_1.IServer",
|
|
5217
5205
|
value: elem
|
|
5218
|
-
})) && $vo146(elem, _path + ".servers[" +
|
|
5219
|
-
path: _path + ".servers[" +
|
|
5206
|
+
})) && $vo146(elem, _path + ".servers[" + _index56 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5207
|
+
path: _path + ".servers[" + _index56 + "]",
|
|
5220
5208
|
expected: "OpenApiV3_1.IServer",
|
|
5221
5209
|
value: elem
|
|
5222
5210
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5259,12 +5247,12 @@ class MigrateApplication {
|
|
|
5259
5247
|
path: _path + ".security",
|
|
5260
5248
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
|
5261
5249
|
value: input.security
|
|
5262
|
-
})) && input.security.map((elem,
|
|
5263
|
-
path: _path + ".security[" +
|
|
5250
|
+
})) && input.security.map((elem, _index57) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5251
|
+
path: _path + ".security[" + _index57 + "]",
|
|
5264
5252
|
expected: "Record<string, Array<string>>",
|
|
5265
5253
|
value: elem
|
|
5266
|
-
})) && $vo42(elem, _path + ".security[" +
|
|
5267
|
-
path: _path + ".security[" +
|
|
5254
|
+
})) && $vo42(elem, _path + ".security[" + _index57 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5255
|
+
path: _path + ".security[" + _index57 + "]",
|
|
5268
5256
|
expected: "Record<string, Array<string>>",
|
|
5269
5257
|
value: elem
|
|
5270
5258
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5275,12 +5263,12 @@ class MigrateApplication {
|
|
|
5275
5263
|
path: _path + ".tags",
|
|
5276
5264
|
expected: "(Array<OpenApiV3_1.IDocument.ITag> | undefined)",
|
|
5277
5265
|
value: input.tags
|
|
5278
|
-
})) && input.tags.map((elem,
|
|
5279
|
-
path: _path + ".tags[" +
|
|
5266
|
+
})) && input.tags.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
5267
|
+
path: _path + ".tags[" + _index58 + "]",
|
|
5280
5268
|
expected: "OpenApiV3_1.IDocument.ITag",
|
|
5281
5269
|
value: elem
|
|
5282
|
-
})) && $vo199(elem, _path + ".tags[" +
|
|
5283
|
-
path: _path + ".tags[" +
|
|
5270
|
+
})) && $vo199(elem, _path + ".tags[" + _index58 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5271
|
+
path: _path + ".tags[" + _index58 + "]",
|
|
5284
5272
|
expected: "OpenApiV3_1.IDocument.ITag",
|
|
5285
5273
|
value: elem
|
|
5286
5274
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5331,8 +5319,8 @@ class MigrateApplication {
|
|
|
5331
5319
|
path: _path + "[\"enum\"]",
|
|
5332
5320
|
expected: "Array<> & MinItems<1>",
|
|
5333
5321
|
value: input["enum"]
|
|
5334
|
-
})) && input["enum"].map((elem,
|
|
5335
|
-
path: _path + "[\"enum\"][" +
|
|
5322
|
+
})) && input["enum"].map((elem, _index59) => "string" === typeof elem || $report(_exceptionable, {
|
|
5323
|
+
path: _path + "[\"enum\"][" + _index59 + "]",
|
|
5336
5324
|
expected: "string",
|
|
5337
5325
|
value: elem
|
|
5338
5326
|
})).every(flag => flag)) || $report(_exceptionable, {
|
|
@@ -5482,8 +5470,8 @@ class MigrateApplication {
|
|
|
5482
5470
|
path: _path + ".type",
|
|
5483
5471
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\">",
|
|
5484
5472
|
value: input.type
|
|
5485
|
-
})) && input.type.map((elem,
|
|
5486
|
-
path: _path + ".type[" +
|
|
5473
|
+
})) && input.type.map((elem, _index60) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || $report(_exceptionable, {
|
|
5474
|
+
path: _path + ".type[" + _index60 + "]",
|
|
5487
5475
|
expected: "(\"array\" | \"boolean\" | \"integer\" | \"number\" | \"object\" | \"string\")",
|
|
5488
5476
|
value: elem
|
|
5489
5477
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5574,12 +5562,12 @@ class MigrateApplication {
|
|
|
5574
5562
|
path: _path + ".items",
|
|
5575
5563
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5576
5564
|
value: input.items
|
|
5577
|
-
})) && (Array.isArray(input.items) && input.items.map((elem,
|
|
5578
|
-
path: _path + ".items[" +
|
|
5565
|
+
})) && (Array.isArray(input.items) && input.items.map((elem, _index61) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5566
|
+
path: _path + ".items[" + _index61 + "]",
|
|
5579
5567
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5580
5568
|
value: elem
|
|
5581
|
-
})) && $vu7(elem, _path + ".items[" +
|
|
5582
|
-
path: _path + ".items[" +
|
|
5569
|
+
})) && $vu7(elem, _path + ".items[" + _index61 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5570
|
+
path: _path + ".items[" + _index61 + "]",
|
|
5583
5571
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5584
5572
|
value: elem
|
|
5585
5573
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $vu7(input.items, _path + ".items", true && _exceptionable) || $report(_exceptionable, {
|
|
@@ -5610,12 +5598,12 @@ class MigrateApplication {
|
|
|
5610
5598
|
path: _path + ".prefixItems",
|
|
5611
5599
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
5612
5600
|
value: input.prefixItems
|
|
5613
|
-
})) && input.prefixItems.map((elem,
|
|
5614
|
-
path: _path + ".prefixItems[" +
|
|
5601
|
+
})) && input.prefixItems.map((elem, _index62) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5602
|
+
path: _path + ".prefixItems[" + _index62 + "]",
|
|
5615
5603
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5616
5604
|
value: elem
|
|
5617
|
-
})) && $vu7(elem, _path + ".prefixItems[" +
|
|
5618
|
-
path: _path + ".prefixItems[" +
|
|
5605
|
+
})) && $vu7(elem, _path + ".prefixItems[" + _index62 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5606
|
+
path: _path + ".prefixItems[" + _index62 + "]",
|
|
5619
5607
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5620
5608
|
value: elem
|
|
5621
5609
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5662,8 +5650,8 @@ class MigrateApplication {
|
|
|
5662
5650
|
path: _path + ".required",
|
|
5663
5651
|
expected: "(Array<string> | undefined)",
|
|
5664
5652
|
value: input.required
|
|
5665
|
-
})) && input.required.map((elem,
|
|
5666
|
-
path: _path + ".required[" +
|
|
5653
|
+
})) && input.required.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable, {
|
|
5654
|
+
path: _path + ".required[" + _index63 + "]",
|
|
5667
5655
|
expected: "string",
|
|
5668
5656
|
value: elem
|
|
5669
5657
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5682,12 +5670,12 @@ class MigrateApplication {
|
|
|
5682
5670
|
path: _path + ".oneOf",
|
|
5683
5671
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5684
5672
|
value: input.oneOf
|
|
5685
|
-
})) && input.oneOf.map((elem,
|
|
5686
|
-
path: _path + ".oneOf[" +
|
|
5673
|
+
})) && input.oneOf.map((elem, _index64) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5674
|
+
path: _path + ".oneOf[" + _index64 + "]",
|
|
5687
5675
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5688
5676
|
value: elem
|
|
5689
|
-
})) && $vu7(elem, _path + ".oneOf[" +
|
|
5690
|
-
path: _path + ".oneOf[" +
|
|
5677
|
+
})) && $vu7(elem, _path + ".oneOf[" + _index64 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5678
|
+
path: _path + ".oneOf[" + _index64 + "]",
|
|
5691
5679
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5692
5680
|
value: elem
|
|
5693
5681
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5698,12 +5686,12 @@ class MigrateApplication {
|
|
|
5698
5686
|
path: _path + ".anyOf",
|
|
5699
5687
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5700
5688
|
value: input.anyOf
|
|
5701
|
-
})) && input.anyOf.map((elem,
|
|
5702
|
-
path: _path + ".anyOf[" +
|
|
5689
|
+
})) && input.anyOf.map((elem, _index65) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5690
|
+
path: _path + ".anyOf[" + _index65 + "]",
|
|
5703
5691
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5704
5692
|
value: elem
|
|
5705
|
-
})) && $vu7(elem, _path + ".anyOf[" +
|
|
5706
|
-
path: _path + ".anyOf[" +
|
|
5693
|
+
})) && $vu7(elem, _path + ".anyOf[" + _index65 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5694
|
+
path: _path + ".anyOf[" + _index65 + "]",
|
|
5707
5695
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5708
5696
|
value: elem
|
|
5709
5697
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5714,12 +5702,12 @@ class MigrateApplication {
|
|
|
5714
5702
|
path: _path + ".allOf",
|
|
5715
5703
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5716
5704
|
value: input.allOf
|
|
5717
|
-
})) && input.allOf.map((elem,
|
|
5718
|
-
path: _path + ".allOf[" +
|
|
5705
|
+
})) && input.allOf.map((elem, _index66) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5706
|
+
path: _path + ".allOf[" + _index66 + "]",
|
|
5719
5707
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5720
5708
|
value: elem
|
|
5721
|
-
})) && $vu7(elem, _path + ".allOf[" +
|
|
5722
|
-
path: _path + ".allOf[" +
|
|
5709
|
+
})) && $vu7(elem, _path + ".allOf[" + _index66 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5710
|
+
path: _path + ".allOf[" + _index66 + "]",
|
|
5723
5711
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5724
5712
|
value: elem
|
|
5725
5713
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5752,8 +5740,8 @@ class MigrateApplication {
|
|
|
5752
5740
|
path: _path + "[\"enum\"]",
|
|
5753
5741
|
expected: "(Array<boolean> | undefined)",
|
|
5754
5742
|
value: input["enum"]
|
|
5755
|
-
})) && input["enum"].map((elem,
|
|
5756
|
-
path: _path + "[\"enum\"][" +
|
|
5743
|
+
})) && input["enum"].map((elem, _index67) => "boolean" === typeof elem || $report(_exceptionable, {
|
|
5744
|
+
path: _path + "[\"enum\"][" + _index67 + "]",
|
|
5757
5745
|
expected: "boolean",
|
|
5758
5746
|
value: elem
|
|
5759
5747
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5793,8 +5781,8 @@ class MigrateApplication {
|
|
|
5793
5781
|
path: _path + "[\"enum\"]",
|
|
5794
5782
|
expected: "(Array<number> | undefined)",
|
|
5795
5783
|
value: input["enum"]
|
|
5796
|
-
})) && input["enum"].map((elem,
|
|
5797
|
-
path: _path + "[\"enum\"][" +
|
|
5784
|
+
})) && input["enum"].map((elem, _index68) => "number" === typeof elem || $report(_exceptionable, {
|
|
5785
|
+
path: _path + "[\"enum\"][" + _index68 + "]",
|
|
5798
5786
|
expected: "number",
|
|
5799
5787
|
value: elem
|
|
5800
5788
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5870,8 +5858,8 @@ class MigrateApplication {
|
|
|
5870
5858
|
path: _path + "[\"enum\"]",
|
|
5871
5859
|
expected: "(Array<number> | undefined)",
|
|
5872
5860
|
value: input["enum"]
|
|
5873
|
-
})) && input["enum"].map((elem,
|
|
5874
|
-
path: _path + "[\"enum\"][" +
|
|
5861
|
+
})) && input["enum"].map((elem, _index69) => "number" === typeof elem || $report(_exceptionable, {
|
|
5862
|
+
path: _path + "[\"enum\"][" + _index69 + "]",
|
|
5875
5863
|
expected: "number",
|
|
5876
5864
|
value: elem
|
|
5877
5865
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5931,8 +5919,8 @@ class MigrateApplication {
|
|
|
5931
5919
|
path: _path + "[\"enum\"]",
|
|
5932
5920
|
expected: "(Array<string> | undefined)",
|
|
5933
5921
|
value: input["enum"]
|
|
5934
|
-
})) && input["enum"].map((elem,
|
|
5935
|
-
path: _path + "[\"enum\"][" +
|
|
5922
|
+
})) && input["enum"].map((elem, _index70) => "string" === typeof elem || $report(_exceptionable, {
|
|
5923
|
+
path: _path + "[\"enum\"][" + _index70 + "]",
|
|
5936
5924
|
expected: "string",
|
|
5937
5925
|
value: elem
|
|
5938
5926
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -5992,12 +5980,12 @@ class MigrateApplication {
|
|
|
5992
5980
|
path: _path + ".items",
|
|
5993
5981
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5994
5982
|
value: input.items
|
|
5995
|
-
})) && (Array.isArray(input.items) && input.items.map((elem,
|
|
5996
|
-
path: _path + ".items[" +
|
|
5983
|
+
})) && (Array.isArray(input.items) && input.items.map((elem, _index71) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
5984
|
+
path: _path + ".items[" + _index71 + "]",
|
|
5997
5985
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5998
5986
|
value: elem
|
|
5999
|
-
})) && $vu7(elem, _path + ".items[" +
|
|
6000
|
-
path: _path + ".items[" +
|
|
5987
|
+
})) && $vu7(elem, _path + ".items[" + _index71 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
5988
|
+
path: _path + ".items[" + _index71 + "]",
|
|
6001
5989
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6002
5990
|
value: elem
|
|
6003
5991
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $vu7(input.items, _path + ".items", true && _exceptionable) || $report(_exceptionable, {
|
|
@@ -6012,12 +6000,12 @@ class MigrateApplication {
|
|
|
6012
6000
|
path: _path + ".prefixItems",
|
|
6013
6001
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
6014
6002
|
value: input.prefixItems
|
|
6015
|
-
})) && input.prefixItems.map((elem,
|
|
6016
|
-
path: _path + ".prefixItems[" +
|
|
6003
|
+
})) && input.prefixItems.map((elem, _index72) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
6004
|
+
path: _path + ".prefixItems[" + _index72 + "]",
|
|
6017
6005
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6018
6006
|
value: elem
|
|
6019
|
-
})) && $vu7(elem, _path + ".prefixItems[" +
|
|
6020
|
-
path: _path + ".prefixItems[" +
|
|
6007
|
+
})) && $vu7(elem, _path + ".prefixItems[" + _index72 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6008
|
+
path: _path + ".prefixItems[" + _index72 + "]",
|
|
6021
6009
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6022
6010
|
value: elem
|
|
6023
6011
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6089,8 +6077,8 @@ class MigrateApplication {
|
|
|
6089
6077
|
path: _path + ".required",
|
|
6090
6078
|
expected: "(Array<string> | undefined)",
|
|
6091
6079
|
value: input.required
|
|
6092
|
-
})) && input.required.map((elem,
|
|
6093
|
-
path: _path + ".required[" +
|
|
6080
|
+
})) && input.required.map((elem, _index73) => "string" === typeof elem || $report(_exceptionable, {
|
|
6081
|
+
path: _path + ".required[" + _index73 + "]",
|
|
6094
6082
|
expected: "string",
|
|
6095
6083
|
value: elem
|
|
6096
6084
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6201,12 +6189,12 @@ class MigrateApplication {
|
|
|
6201
6189
|
path: _path + ".allOf",
|
|
6202
6190
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
6203
6191
|
value: input.allOf
|
|
6204
|
-
})) && input.allOf.map((elem,
|
|
6205
|
-
path: _path + ".allOf[" +
|
|
6192
|
+
})) && input.allOf.map((elem, _index74) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
6193
|
+
path: _path + ".allOf[" + _index74 + "]",
|
|
6206
6194
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6207
6195
|
value: elem
|
|
6208
|
-
})) && $vu7(elem, _path + ".allOf[" +
|
|
6209
|
-
path: _path + ".allOf[" +
|
|
6196
|
+
})) && $vu7(elem, _path + ".allOf[" + _index74 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6197
|
+
path: _path + ".allOf[" + _index74 + "]",
|
|
6210
6198
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6211
6199
|
value: elem
|
|
6212
6200
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6230,12 +6218,12 @@ class MigrateApplication {
|
|
|
6230
6218
|
path: _path + ".anyOf",
|
|
6231
6219
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
6232
6220
|
value: input.anyOf
|
|
6233
|
-
})) && input.anyOf.map((elem,
|
|
6234
|
-
path: _path + ".anyOf[" +
|
|
6221
|
+
})) && input.anyOf.map((elem, _index75) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
6222
|
+
path: _path + ".anyOf[" + _index75 + "]",
|
|
6235
6223
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6236
6224
|
value: elem
|
|
6237
|
-
})) && $vu7(elem, _path + ".anyOf[" +
|
|
6238
|
-
path: _path + ".anyOf[" +
|
|
6225
|
+
})) && $vu7(elem, _path + ".anyOf[" + _index75 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6226
|
+
path: _path + ".anyOf[" + _index75 + "]",
|
|
6239
6227
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6240
6228
|
value: elem
|
|
6241
6229
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6259,12 +6247,12 @@ class MigrateApplication {
|
|
|
6259
6247
|
path: _path + ".oneOf",
|
|
6260
6248
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
6261
6249
|
value: input.oneOf
|
|
6262
|
-
})) && input.oneOf.map((elem,
|
|
6263
|
-
path: _path + ".oneOf[" +
|
|
6250
|
+
})) && input.oneOf.map((elem, _index76) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
6251
|
+
path: _path + ".oneOf[" + _index76 + "]",
|
|
6264
6252
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6265
6253
|
value: elem
|
|
6266
|
-
})) && $vu7(elem, _path + ".oneOf[" +
|
|
6267
|
-
path: _path + ".oneOf[" +
|
|
6254
|
+
})) && $vu7(elem, _path + ".oneOf[" + _index76 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6255
|
+
path: _path + ".oneOf[" + _index76 + "]",
|
|
6268
6256
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
6269
6257
|
value: elem
|
|
6270
6258
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6302,12 +6290,12 @@ class MigrateApplication {
|
|
|
6302
6290
|
path: _path + ".parameters",
|
|
6303
6291
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
|
6304
6292
|
value: input.parameters
|
|
6305
|
-
})) && input.parameters.map((elem,
|
|
6306
|
-
path: _path + ".parameters[" +
|
|
6293
|
+
})) && input.parameters.map((elem, _index77) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
6294
|
+
path: _path + ".parameters[" + _index77 + "]",
|
|
6307
6295
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
|
6308
6296
|
value: elem
|
|
6309
|
-
})) && $vu8(elem, _path + ".parameters[" +
|
|
6310
|
-
path: _path + ".parameters[" +
|
|
6297
|
+
})) && $vu8(elem, _path + ".parameters[" + _index77 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6298
|
+
path: _path + ".parameters[" + _index77 + "]",
|
|
6311
6299
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
|
6312
6300
|
value: elem
|
|
6313
6301
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6318,12 +6306,12 @@ class MigrateApplication {
|
|
|
6318
6306
|
path: _path + ".servers",
|
|
6319
6307
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
|
6320
6308
|
value: input.servers
|
|
6321
|
-
})) && input.servers.map((elem,
|
|
6322
|
-
path: _path + ".servers[" +
|
|
6309
|
+
})) && input.servers.map((elem, _index78) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
6310
|
+
path: _path + ".servers[" + _index78 + "]",
|
|
6323
6311
|
expected: "OpenApiV3_1.IServer",
|
|
6324
6312
|
value: elem
|
|
6325
|
-
})) && $vo146(elem, _path + ".servers[" +
|
|
6326
|
-
path: _path + ".servers[" +
|
|
6313
|
+
})) && $vo146(elem, _path + ".servers[" + _index78 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6314
|
+
path: _path + ".servers[" + _index78 + "]",
|
|
6327
6315
|
expected: "OpenApiV3_1.IServer",
|
|
6328
6316
|
value: elem
|
|
6329
6317
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6470,12 +6458,12 @@ class MigrateApplication {
|
|
|
6470
6458
|
path: _path + ".parameters",
|
|
6471
6459
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
|
6472
6460
|
value: input.parameters
|
|
6473
|
-
})) && input.parameters.map((elem,
|
|
6474
|
-
path: _path + ".parameters[" +
|
|
6461
|
+
})) && input.parameters.map((elem, _index79) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
6462
|
+
path: _path + ".parameters[" + _index79 + "]",
|
|
6475
6463
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
|
6476
6464
|
value: elem
|
|
6477
|
-
})) && $vu8(elem, _path + ".parameters[" +
|
|
6478
|
-
path: _path + ".parameters[" +
|
|
6465
|
+
})) && $vu8(elem, _path + ".parameters[" + _index79 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6466
|
+
path: _path + ".parameters[" + _index79 + "]",
|
|
6479
6467
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
|
6480
6468
|
value: elem
|
|
6481
6469
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6502,12 +6490,12 @@ class MigrateApplication {
|
|
|
6502
6490
|
path: _path + ".servers",
|
|
6503
6491
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
|
6504
6492
|
value: input.servers
|
|
6505
|
-
})) && input.servers.map((elem,
|
|
6506
|
-
path: _path + ".servers[" +
|
|
6493
|
+
})) && input.servers.map((elem, _index80) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
|
6494
|
+
path: _path + ".servers[" + _index80 + "]",
|
|
6507
6495
|
expected: "OpenApiV3_1.IServer",
|
|
6508
6496
|
value: elem
|
|
6509
|
-
})) && $vo146(elem, _path + ".servers[" +
|
|
6510
|
-
path: _path + ".servers[" +
|
|
6497
|
+
})) && $vo146(elem, _path + ".servers[" + _index80 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6498
|
+
path: _path + ".servers[" + _index80 + "]",
|
|
6511
6499
|
expected: "OpenApiV3_1.IServer",
|
|
6512
6500
|
value: elem
|
|
6513
6501
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6526,12 +6514,12 @@ class MigrateApplication {
|
|
|
6526
6514
|
path: _path + ".security",
|
|
6527
6515
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
|
6528
6516
|
value: input.security
|
|
6529
|
-
})) && input.security.map((elem,
|
|
6530
|
-
path: _path + ".security[" +
|
|
6517
|
+
})) && input.security.map((elem, _index81) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
|
6518
|
+
path: _path + ".security[" + _index81 + "]",
|
|
6531
6519
|
expected: "Record<string, Array<string>>",
|
|
6532
6520
|
value: elem
|
|
6533
|
-
})) && $vo42(elem, _path + ".security[" +
|
|
6534
|
-
path: _path + ".security[" +
|
|
6521
|
+
})) && $vo42(elem, _path + ".security[" + _index81 + "]", true && _exceptionable) || $report(_exceptionable, {
|
|
6522
|
+
path: _path + ".security[" + _index81 + "]",
|
|
6535
6523
|
expected: "Record<string, Array<string>>",
|
|
6536
6524
|
value: elem
|
|
6537
6525
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -6542,8 +6530,8 @@ class MigrateApplication {
|
|
|
6542
6530
|
path: _path + ".tags",
|
|
6543
6531
|
expected: "(Array<string> | undefined)",
|
|
6544
6532
|
value: input.tags
|
|
6545
|
-
})) && input.tags.map((elem,
|
|
6546
|
-
path: _path + ".tags[" +
|
|
6533
|
+
})) && input.tags.map((elem, _index82) => "string" === typeof elem || $report(_exceptionable, {
|
|
6534
|
+
path: _path + ".tags[" + _index82 + "]",
|
|
6547
6535
|
expected: "string",
|
|
6548
6536
|
value: elem
|
|
6549
6537
|
})).every(flag => flag) || $report(_exceptionable, {
|
|
@@ -7143,7 +7131,7 @@ class MigrateApplication {
|
|
|
7143
7131
|
});
|
|
7144
7132
|
})();
|
|
7145
7133
|
const $vu7 = (input, _path, _exceptionable = true) => (() => {
|
|
7146
|
-
if (Array.isArray(input.type) && input.type.map((elem,
|
|
7134
|
+
if (Array.isArray(input.type) && input.type.map((elem, _index83) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem).every(flag => flag))
|
|
7147
7135
|
return $vo154(input, _path, true && _exceptionable);
|
|
7148
7136
|
else if ("boolean" === input.type)
|
|
7149
7137
|
return $vo156(input, _path, true && _exceptionable);
|