@nestia/migrate 4.4.1 → 4.5.0
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.
- package/lib/MigrateApplication.js +275 -259
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/analyzers/{MigrateAnalyzer.d.ts → MigrateApplicationAnalyzer.d.ts} +1 -1
- package/lib/analyzers/MigrateApplicationAnalyzer.js +12 -0
- package/lib/analyzers/MigrateApplicationAnalyzer.js.map +1 -0
- package/lib/analyzers/MigrateControllerAnalyzer.d.ts +3 -1
- package/lib/analyzers/MigrateControllerAnalyzer.js +34 -24
- package/lib/analyzers/MigrateControllerAnalyzer.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +2 -2
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/index.mjs +318 -287
- package/lib/index.mjs.map +1 -1
- package/lib/module.d.ts +1 -1
- package/lib/module.js +1 -1
- package/lib/module.js.map +1 -1
- package/lib/programmers/MigrateNestProgrammer.js +3 -1
- package/lib/programmers/MigrateNestProgrammer.js.map +1 -1
- package/package.json +4 -4
- package/src/MigrateApplication.ts +3 -3
- package/src/analyzers/{MigrateAnalyzer.ts → MigrateApplicationAnalyzer.ts} +1 -1
- package/src/analyzers/MigrateControllerAnalyzer.ts +41 -30
- package/src/bundles/NEST_TEMPLATE.ts +2 -2
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
- package/src/module.ts +1 -1
- package/src/programmers/MigrateNestProgrammer.ts +3 -1
- package/lib/analyzers/MigrateAnalyzer.js +0 -12
- package/lib/analyzers/MigrateAnalyzer.js.map +0 -1
@@ -41,7 +41,7 @@ const __typia_transform__accessExpressionAsString = __importStar(require("typia/
|
|
41
41
|
const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport.js"));
|
42
42
|
const openapi_1 = require("@samchon/openapi");
|
43
43
|
const typia_1 = __importDefault(require("typia"));
|
44
|
-
const
|
44
|
+
const MigrateApplicationAnalyzer_1 = require("./analyzers/MigrateApplicationAnalyzer");
|
45
45
|
const NEST_TEMPLATE_1 = require("./bundles/NEST_TEMPLATE");
|
46
46
|
const SDK_TEMPLATE_1 = require("./bundles/SDK_TEMPLATE");
|
47
47
|
const MigrateApiProgrammer_1 = require("./programmers/MigrateApiProgrammer");
|
@@ -83,7 +83,7 @@ class MigrateApplication {
|
|
83
83
|
if (undefined === value)
|
84
84
|
return true;
|
85
85
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io35(value);
|
86
|
-
}); const _io35 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io36(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io36(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io36(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io36(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io36(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io36(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io36(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io36(input.trace)); const _io36 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io37(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io40(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io43(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]); const _io37 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu0(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io38(input.examples)); const _io38 = input => Object.keys(input).every(key => {
|
86
|
+
}); const _io35 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io36(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io36(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io36(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io36(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io36(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io36(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io36(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io36(input.trace)); const _io36 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _io37(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io40(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io43(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every(elem => "string" === typeof elem)) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]); const _io37 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu0(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io38(input.examples)); const _io38 = input => Object.keys(input).every(key => {
|
87
87
|
const value = input[key];
|
88
88
|
if (undefined === value)
|
89
89
|
return true;
|
@@ -635,12 +635,12 @@ class MigrateApplication {
|
|
635
635
|
path: _path + ".servers",
|
636
636
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
637
637
|
value: input.servers
|
638
|
-
})) && input.servers.map((elem,
|
639
|
-
path: _path + ".servers[" +
|
638
|
+
})) && input.servers.map((elem, _index83) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
639
|
+
path: _path + ".servers[" + _index83 + "]",
|
640
640
|
expected: "OpenApi.IServer",
|
641
641
|
value: elem
|
642
|
-
})) && _vo1(elem, _path + ".servers[" +
|
643
|
-
path: _path + ".servers[" +
|
642
|
+
})) && _vo1(elem, _path + ".servers[" + _index83 + "]", true && _exceptionable) || _report(_exceptionable, {
|
643
|
+
path: _path + ".servers[" + _index83 + "]",
|
644
644
|
expected: "OpenApi.IServer",
|
645
645
|
value: elem
|
646
646
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -683,12 +683,12 @@ class MigrateApplication {
|
|
683
683
|
path: _path + ".security",
|
684
684
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
685
685
|
value: input.security
|
686
|
-
})) && input.security.map((elem,
|
687
|
-
path: _path + ".security[" +
|
686
|
+
})) && input.security.map((elem, _index84) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
687
|
+
path: _path + ".security[" + _index84 + "]",
|
688
688
|
expected: "Record<string, Array<string>>",
|
689
689
|
value: elem
|
690
|
-
})) && _vo46(elem, _path + ".security[" +
|
691
|
-
path: _path + ".security[" +
|
690
|
+
})) && _vo46(elem, _path + ".security[" + _index84 + "]", true && _exceptionable) || _report(_exceptionable, {
|
691
|
+
path: _path + ".security[" + _index84 + "]",
|
692
692
|
expected: "Record<string, Array<string>>",
|
693
693
|
value: elem
|
694
694
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -699,12 +699,12 @@ class MigrateApplication {
|
|
699
699
|
path: _path + ".tags",
|
700
700
|
expected: "(Array<OpenApi.IDocument.ITag> | undefined)",
|
701
701
|
value: input.tags
|
702
|
-
})) && input.tags.map((elem,
|
703
|
-
path: _path + ".tags[" +
|
702
|
+
})) && input.tags.map((elem, _index85) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
703
|
+
path: _path + ".tags[" + _index85 + "]",
|
704
704
|
expected: "OpenApi.IDocument.ITag",
|
705
705
|
value: elem
|
706
|
-
})) && _vo47(elem, _path + ".tags[" +
|
707
|
-
path: _path + ".tags[" +
|
706
|
+
})) && _vo47(elem, _path + ".tags[" + _index85 + "]", true && _exceptionable) || _report(_exceptionable, {
|
707
|
+
path: _path + ".tags[" + _index85 + "]",
|
708
708
|
expected: "OpenApi.IDocument.ITag",
|
709
709
|
value: elem
|
710
710
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -752,8 +752,8 @@ class MigrateApplication {
|
|
752
752
|
path: _path + "[\"enum\"]",
|
753
753
|
expected: "(Array<string> | undefined)",
|
754
754
|
value: input["enum"]
|
755
|
-
})) && input["enum"].map((elem,
|
756
|
-
path: _path + "[\"enum\"][" +
|
755
|
+
})) && input["enum"].map((elem, _index86) => "string" === typeof elem || _report(_exceptionable, {
|
756
|
+
path: _path + "[\"enum\"][" + _index86 + "]",
|
757
757
|
expected: "string",
|
758
758
|
value: elem
|
759
759
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1146,12 +1146,12 @@ class MigrateApplication {
|
|
1146
1146
|
path: _path + ".prefixItems",
|
1147
1147
|
expected: "Array<OpenApi.IJsonSchema>",
|
1148
1148
|
value: input.prefixItems
|
1149
|
-
})) && input.prefixItems.map((elem,
|
1150
|
-
path: _path + ".prefixItems[" +
|
1149
|
+
})) && input.prefixItems.map((elem, _index87) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
1150
|
+
path: _path + ".prefixItems[" + _index87 + "]",
|
1151
1151
|
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)",
|
1152
1152
|
value: elem
|
1153
|
-
})) && _vu0(elem, _path + ".prefixItems[" +
|
1154
|
-
path: _path + ".prefixItems[" +
|
1153
|
+
})) && _vu0(elem, _path + ".prefixItems[" + _index87 + "]", true && _exceptionable) || _report(_exceptionable, {
|
1154
|
+
path: _path + ".prefixItems[" + _index87 + "]",
|
1155
1155
|
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)",
|
1156
1156
|
value: elem
|
1157
1157
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1238,8 +1238,8 @@ class MigrateApplication {
|
|
1238
1238
|
path: _path + ".required",
|
1239
1239
|
expected: "(Array<string> | undefined)",
|
1240
1240
|
value: input.required
|
1241
|
-
})) && input.required.map((elem,
|
1242
|
-
path: _path + ".required[" +
|
1241
|
+
})) && input.required.map((elem, _index88) => "string" === typeof elem || _report(_exceptionable, {
|
1242
|
+
path: _path + ".required[" + _index88 + "]",
|
1243
1243
|
expected: "string",
|
1244
1244
|
value: elem
|
1245
1245
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1298,12 +1298,12 @@ class MigrateApplication {
|
|
1298
1298
|
path: _path + ".oneOf",
|
1299
1299
|
expected: "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
|
1300
1300
|
value: input.oneOf
|
1301
|
-
})) && input.oneOf.map((elem,
|
1302
|
-
path: _path + ".oneOf[" +
|
1301
|
+
})) && input.oneOf.map((elem, _index89) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
1302
|
+
path: _path + ".oneOf[" + _index89 + "]",
|
1303
1303
|
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)",
|
1304
1304
|
value: elem
|
1305
|
-
})) && _vu1(elem, _path + ".oneOf[" +
|
1306
|
-
path: _path + ".oneOf[" +
|
1305
|
+
})) && _vu1(elem, _path + ".oneOf[" + _index89 + "]", true && _exceptionable) || _report(_exceptionable, {
|
1306
|
+
path: _path + ".oneOf[" + _index89 + "]",
|
1307
1307
|
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)",
|
1308
1308
|
value: elem
|
1309
1309
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1601,12 +1601,12 @@ class MigrateApplication {
|
|
1601
1601
|
path: _path + ".servers",
|
1602
1602
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
1603
1603
|
value: input.servers
|
1604
|
-
})) && input.servers.map((elem,
|
1605
|
-
path: _path + ".servers[" +
|
1604
|
+
})) && input.servers.map((elem, _index90) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
1605
|
+
path: _path + ".servers[" + _index90 + "]",
|
1606
1606
|
expected: "OpenApi.IServer",
|
1607
1607
|
value: elem
|
1608
|
-
})) && _vo1(elem, _path + ".servers[" +
|
1609
|
-
path: _path + ".servers[" +
|
1608
|
+
})) && _vo1(elem, _path + ".servers[" + _index90 + "]", true && _exceptionable) || _report(_exceptionable, {
|
1609
|
+
path: _path + ".servers[" + _index90 + "]",
|
1610
1610
|
expected: "OpenApi.IServer",
|
1611
1611
|
value: elem
|
1612
1612
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1693,12 +1693,12 @@ class MigrateApplication {
|
|
1693
1693
|
path: _path + ".parameters",
|
1694
1694
|
expected: "(Array<OpenApi.IOperation.IParameter> | undefined)",
|
1695
1695
|
value: input.parameters
|
1696
|
-
})) && input.parameters.map((elem,
|
1697
|
-
path: _path + ".parameters[" +
|
1696
|
+
})) && input.parameters.map((elem, _index91) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
1697
|
+
path: _path + ".parameters[" + _index91 + "]",
|
1698
1698
|
expected: "OpenApi.IOperation.IParameter",
|
1699
1699
|
value: elem
|
1700
|
-
})) && _vo37(elem, _path + ".parameters[" +
|
1701
|
-
path: _path + ".parameters[" +
|
1700
|
+
})) && _vo37(elem, _path + ".parameters[" + _index91 + "]", true && _exceptionable) || _report(_exceptionable, {
|
1701
|
+
path: _path + ".parameters[" + _index91 + "]",
|
1702
1702
|
expected: "OpenApi.IOperation.IParameter",
|
1703
1703
|
value: elem
|
1704
1704
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1725,12 +1725,12 @@ class MigrateApplication {
|
|
1725
1725
|
path: _path + ".servers",
|
1726
1726
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
1727
1727
|
value: input.servers
|
1728
|
-
})) && input.servers.map((elem,
|
1729
|
-
path: _path + ".servers[" +
|
1728
|
+
})) && input.servers.map((elem, _index92) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
1729
|
+
path: _path + ".servers[" + _index92 + "]",
|
1730
1730
|
expected: "OpenApi.IServer",
|
1731
1731
|
value: elem
|
1732
|
-
})) && _vo1(elem, _path + ".servers[" +
|
1733
|
-
path: _path + ".servers[" +
|
1732
|
+
})) && _vo1(elem, _path + ".servers[" + _index92 + "]", true && _exceptionable) || _report(_exceptionable, {
|
1733
|
+
path: _path + ".servers[" + _index92 + "]",
|
1734
1734
|
expected: "OpenApi.IServer",
|
1735
1735
|
value: elem
|
1736
1736
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1749,12 +1749,12 @@ class MigrateApplication {
|
|
1749
1749
|
path: _path + ".security",
|
1750
1750
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
1751
1751
|
value: input.security
|
1752
|
-
})) && input.security.map((elem,
|
1753
|
-
path: _path + ".security[" +
|
1752
|
+
})) && input.security.map((elem, _index93) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
1753
|
+
path: _path + ".security[" + _index93 + "]",
|
1754
1754
|
expected: "Record<string, Array<string>>",
|
1755
1755
|
value: elem
|
1756
|
-
})) && _vo46(elem, _path + ".security[" +
|
1757
|
-
path: _path + ".security[" +
|
1756
|
+
})) && _vo46(elem, _path + ".security[" + _index93 + "]", true && _exceptionable) || _report(_exceptionable, {
|
1757
|
+
path: _path + ".security[" + _index93 + "]",
|
1758
1758
|
expected: "Record<string, Array<string>>",
|
1759
1759
|
value: elem
|
1760
1760
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1765,8 +1765,8 @@ class MigrateApplication {
|
|
1765
1765
|
path: _path + ".tags",
|
1766
1766
|
expected: "(Array<string> | undefined)",
|
1767
1767
|
value: input.tags
|
1768
|
-
})) && input.tags.map((elem,
|
1769
|
-
path: _path + ".tags[" +
|
1768
|
+
})) && input.tags.map((elem, _index94) => "string" === typeof elem || _report(_exceptionable, {
|
1769
|
+
path: _path + ".tags[" + _index94 + "]",
|
1770
1770
|
expected: "string",
|
1771
1771
|
value: elem
|
1772
1772
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -1781,6 +1781,22 @@ class MigrateApplication {
|
|
1781
1781
|
path: _path + "[\"x-samchon-human\"]",
|
1782
1782
|
expected: "(boolean | undefined)",
|
1783
1783
|
value: input["x-samchon-human"]
|
1784
|
+
}), undefined === input["x-samchon-accessor"] || (Array.isArray(input["x-samchon-accessor"]) || _report(_exceptionable, {
|
1785
|
+
path: _path + "[\"x-samchon-accessor\"]",
|
1786
|
+
expected: "(Array<string> | undefined)",
|
1787
|
+
value: input["x-samchon-accessor"]
|
1788
|
+
})) && input["x-samchon-accessor"].map((elem, _index95) => "string" === typeof elem || _report(_exceptionable, {
|
1789
|
+
path: _path + "[\"x-samchon-accessor\"][" + _index95 + "]",
|
1790
|
+
expected: "string",
|
1791
|
+
value: elem
|
1792
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
1793
|
+
path: _path + "[\"x-samchon-accessor\"]",
|
1794
|
+
expected: "(Array<string> | undefined)",
|
1795
|
+
value: input["x-samchon-accessor"]
|
1796
|
+
}), undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"] || _report(_exceptionable, {
|
1797
|
+
path: _path + "[\"x-samchon-controller\"]",
|
1798
|
+
expected: "(string | undefined)",
|
1799
|
+
value: input["x-samchon-controller"]
|
1784
1800
|
})].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
1785
1801
|
path: _path + ".name",
|
1786
1802
|
expected: "(string | undefined)",
|
@@ -1991,8 +2007,8 @@ class MigrateApplication {
|
|
1991
2007
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
1992
2008
|
expected: "Array<string>",
|
1993
2009
|
value: value
|
1994
|
-
})) && value.map((elem,
|
1995
|
-
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" +
|
2010
|
+
})) && value.map((elem, _index96) => "string" === typeof elem || _report(_exceptionable, {
|
2011
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key) + "[" + _index96 + "]",
|
1996
2012
|
expected: "string",
|
1997
2013
|
value: elem
|
1998
2014
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2040,8 +2056,8 @@ class MigrateApplication {
|
|
2040
2056
|
path: _path + ".consumes",
|
2041
2057
|
expected: "(Array<string> | undefined)",
|
2042
2058
|
value: input.consumes
|
2043
|
-
})) && input.consumes.map((elem,
|
2044
|
-
path: _path + ".consumes[" +
|
2059
|
+
})) && input.consumes.map((elem, _index97) => "string" === typeof elem || _report(_exceptionable, {
|
2060
|
+
path: _path + ".consumes[" + _index97 + "]",
|
2045
2061
|
expected: "string",
|
2046
2062
|
value: elem
|
2047
2063
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2052,8 +2068,8 @@ class MigrateApplication {
|
|
2052
2068
|
path: _path + ".produces",
|
2053
2069
|
expected: "(Array<string> | undefined)",
|
2054
2070
|
value: input.produces
|
2055
|
-
})) && input.produces.map((elem,
|
2056
|
-
path: _path + ".produces[" +
|
2071
|
+
})) && input.produces.map((elem, _index98) => "string" === typeof elem || _report(_exceptionable, {
|
2072
|
+
path: _path + ".produces[" + _index98 + "]",
|
2057
2073
|
expected: "string",
|
2058
2074
|
value: elem
|
2059
2075
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2096,12 +2112,12 @@ class MigrateApplication {
|
|
2096
2112
|
path: _path + ".security",
|
2097
2113
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
2098
2114
|
value: input.security
|
2099
|
-
})) && input.security.map((elem,
|
2100
|
-
path: _path + ".security[" +
|
2115
|
+
})) && input.security.map((elem, _index99) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
2116
|
+
path: _path + ".security[" + _index99 + "]",
|
2101
2117
|
expected: "Record<string, Array<string>>",
|
2102
2118
|
value: elem
|
2103
|
-
})) && _vo46(elem, _path + ".security[" +
|
2104
|
-
path: _path + ".security[" +
|
2119
|
+
})) && _vo46(elem, _path + ".security[" + _index99 + "]", true && _exceptionable) || _report(_exceptionable, {
|
2120
|
+
path: _path + ".security[" + _index99 + "]",
|
2105
2121
|
expected: "Record<string, Array<string>>",
|
2106
2122
|
value: elem
|
2107
2123
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2120,12 +2136,12 @@ class MigrateApplication {
|
|
2120
2136
|
path: _path + ".tags",
|
2121
2137
|
expected: "(Array<SwaggerV2.IDocument.ITag> | undefined)",
|
2122
2138
|
value: input.tags
|
2123
|
-
})) && input.tags.map((elem,
|
2124
|
-
path: _path + ".tags[" +
|
2139
|
+
})) && input.tags.map((elem, _index100) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
2140
|
+
path: _path + ".tags[" + _index100 + "]",
|
2125
2141
|
expected: "SwaggerV2.IDocument.ITag",
|
2126
2142
|
value: elem
|
2127
|
-
})) && _vo93(elem, _path + ".tags[" +
|
2128
|
-
path: _path + ".tags[" +
|
2143
|
+
})) && _vo93(elem, _path + ".tags[" + _index100 + "]", true && _exceptionable) || _report(_exceptionable, {
|
2144
|
+
path: _path + ".tags[" + _index100 + "]",
|
2129
2145
|
expected: "SwaggerV2.IDocument.ITag",
|
2130
2146
|
value: elem
|
2131
2147
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2205,8 +2221,8 @@ class MigrateApplication {
|
|
2205
2221
|
path: _path + "[\"enum\"]",
|
2206
2222
|
expected: "(Array<boolean | null> | undefined)",
|
2207
2223
|
value: input["enum"]
|
2208
|
-
})) && input["enum"].map((elem,
|
2209
|
-
path: _path + "[\"enum\"][" +
|
2224
|
+
})) && input["enum"].map((elem, _index101) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
2225
|
+
path: _path + "[\"enum\"][" + _index101 + "]",
|
2210
2226
|
expected: "(boolean | null)",
|
2211
2227
|
value: elem
|
2212
2228
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2249,8 +2265,8 @@ class MigrateApplication {
|
|
2249
2265
|
path: _path + "[\"enum\"]",
|
2250
2266
|
expected: "(Array<number | null> | undefined)",
|
2251
2267
|
value: input["enum"]
|
2252
|
-
})) && input["enum"].map((elem,
|
2253
|
-
path: _path + "[\"enum\"][" +
|
2268
|
+
})) && input["enum"].map((elem, _index102) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
2269
|
+
path: _path + "[\"enum\"][" + _index102 + "]",
|
2254
2270
|
expected: "(null | number)",
|
2255
2271
|
value: elem
|
2256
2272
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2325,8 +2341,8 @@ class MigrateApplication {
|
|
2325
2341
|
path: _path + "[\"enum\"]",
|
2326
2342
|
expected: "(Array<number | null> | undefined)",
|
2327
2343
|
value: input["enum"]
|
2328
|
-
})) && input["enum"].map((elem,
|
2329
|
-
path: _path + "[\"enum\"][" +
|
2344
|
+
})) && input["enum"].map((elem, _index103) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
2345
|
+
path: _path + "[\"enum\"][" + _index103 + "]",
|
2330
2346
|
expected: "(null | number)",
|
2331
2347
|
value: elem
|
2332
2348
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2389,8 +2405,8 @@ class MigrateApplication {
|
|
2389
2405
|
path: _path + "[\"enum\"]",
|
2390
2406
|
expected: "(Array<string | null> | undefined)",
|
2391
2407
|
value: input["enum"]
|
2392
|
-
})) && input["enum"].map((elem,
|
2393
|
-
path: _path + "[\"enum\"][" +
|
2408
|
+
})) && input["enum"].map((elem, _index104) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
2409
|
+
path: _path + "[\"enum\"][" + _index104 + "]",
|
2394
2410
|
expected: "(null | string)",
|
2395
2411
|
value: elem
|
2396
2412
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2509,8 +2525,8 @@ class MigrateApplication {
|
|
2509
2525
|
path: _path + ".required",
|
2510
2526
|
expected: "(Array<string> | undefined)",
|
2511
2527
|
value: input.required
|
2512
|
-
})) && input.required.map((elem,
|
2513
|
-
path: _path + ".required[" +
|
2528
|
+
})) && input.required.map((elem, _index105) => "string" === typeof elem || _report(_exceptionable, {
|
2529
|
+
path: _path + ".required[" + _index105 + "]",
|
2514
2530
|
expected: "string",
|
2515
2531
|
value: elem
|
2516
2532
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2633,12 +2649,12 @@ class MigrateApplication {
|
|
2633
2649
|
path: _path + "[\"x-anyOf\"]",
|
2634
2650
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2635
2651
|
value: input["x-anyOf"]
|
2636
|
-
})) && input["x-anyOf"].map((elem,
|
2637
|
-
path: _path + "[\"x-anyOf\"][" +
|
2652
|
+
})) && input["x-anyOf"].map((elem, _index106) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
2653
|
+
path: _path + "[\"x-anyOf\"][" + _index106 + "]",
|
2638
2654
|
expected: "(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)",
|
2639
2655
|
value: elem
|
2640
|
-
})) && _vu2(elem, _path + "[\"x-anyOf\"][" +
|
2641
|
-
path: _path + "[\"x-anyOf\"][" +
|
2656
|
+
})) && _vu2(elem, _path + "[\"x-anyOf\"][" + _index106 + "]", true && _exceptionable) || _report(_exceptionable, {
|
2657
|
+
path: _path + "[\"x-anyOf\"][" + _index106 + "]",
|
2642
2658
|
expected: "(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)",
|
2643
2659
|
value: elem
|
2644
2660
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2665,12 +2681,12 @@ class MigrateApplication {
|
|
2665
2681
|
path: _path + "[\"x-oneOf\"]",
|
2666
2682
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2667
2683
|
value: input["x-oneOf"]
|
2668
|
-
})) && input["x-oneOf"].map((elem,
|
2669
|
-
path: _path + "[\"x-oneOf\"][" +
|
2684
|
+
})) && input["x-oneOf"].map((elem, _index107) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
2685
|
+
path: _path + "[\"x-oneOf\"][" + _index107 + "]",
|
2670
2686
|
expected: "(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)",
|
2671
2687
|
value: elem
|
2672
|
-
})) && _vu2(elem, _path + "[\"x-oneOf\"][" +
|
2673
|
-
path: _path + "[\"x-oneOf\"][" +
|
2688
|
+
})) && _vu2(elem, _path + "[\"x-oneOf\"][" + _index107 + "]", true && _exceptionable) || _report(_exceptionable, {
|
2689
|
+
path: _path + "[\"x-oneOf\"][" + _index107 + "]",
|
2674
2690
|
expected: "(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)",
|
2675
2691
|
value: elem
|
2676
2692
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2714,8 +2730,8 @@ class MigrateApplication {
|
|
2714
2730
|
path: _path + "[\"enum\"]",
|
2715
2731
|
expected: "(Array<boolean | null> | undefined)",
|
2716
2732
|
value: input["enum"]
|
2717
|
-
})) && input["enum"].map((elem,
|
2718
|
-
path: _path + "[\"enum\"][" +
|
2733
|
+
})) && input["enum"].map((elem, _index108) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
2734
|
+
path: _path + "[\"enum\"][" + _index108 + "]",
|
2719
2735
|
expected: "(boolean | null)",
|
2720
2736
|
value: elem
|
2721
2737
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2766,8 +2782,8 @@ class MigrateApplication {
|
|
2766
2782
|
path: _path + "[\"enum\"]",
|
2767
2783
|
expected: "(Array<number | null> | undefined)",
|
2768
2784
|
value: input["enum"]
|
2769
|
-
})) && input["enum"].map((elem,
|
2770
|
-
path: _path + "[\"enum\"][" +
|
2785
|
+
})) && input["enum"].map((elem, _index109) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
2786
|
+
path: _path + "[\"enum\"][" + _index109 + "]",
|
2771
2787
|
expected: "(null | number)",
|
2772
2788
|
value: elem
|
2773
2789
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2850,8 +2866,8 @@ class MigrateApplication {
|
|
2850
2866
|
path: _path + "[\"enum\"]",
|
2851
2867
|
expected: "(Array<number | null> | undefined)",
|
2852
2868
|
value: input["enum"]
|
2853
|
-
})) && input["enum"].map((elem,
|
2854
|
-
path: _path + "[\"enum\"][" +
|
2869
|
+
})) && input["enum"].map((elem, _index110) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
2870
|
+
path: _path + "[\"enum\"][" + _index110 + "]",
|
2855
2871
|
expected: "(null | number)",
|
2856
2872
|
value: elem
|
2857
2873
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -2922,8 +2938,8 @@ class MigrateApplication {
|
|
2922
2938
|
path: _path + "[\"enum\"]",
|
2923
2939
|
expected: "(Array<string | null> | undefined)",
|
2924
2940
|
value: input["enum"]
|
2925
|
-
})) && input["enum"].map((elem,
|
2926
|
-
path: _path + "[\"enum\"][" +
|
2941
|
+
})) && input["enum"].map((elem, _index111) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
2942
|
+
path: _path + "[\"enum\"][" + _index111 + "]",
|
2927
2943
|
expected: "(null | string)",
|
2928
2944
|
value: elem
|
2929
2945
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3058,8 +3074,8 @@ class MigrateApplication {
|
|
3058
3074
|
path: _path + ".required",
|
3059
3075
|
expected: "(Array<string> | undefined)",
|
3060
3076
|
value: input.required
|
3061
|
-
})) && input.required.map((elem,
|
3062
|
-
path: _path + ".required[" +
|
3077
|
+
})) && input.required.map((elem, _index112) => "string" === typeof elem || _report(_exceptionable, {
|
3078
|
+
path: _path + ".required[" + _index112 + "]",
|
3063
3079
|
expected: "string",
|
3064
3080
|
value: elem
|
3065
3081
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3214,12 +3230,12 @@ class MigrateApplication {
|
|
3214
3230
|
path: _path + "[\"x-anyOf\"]",
|
3215
3231
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3216
3232
|
value: input["x-anyOf"]
|
3217
|
-
})) && input["x-anyOf"].map((elem,
|
3218
|
-
path: _path + "[\"x-anyOf\"][" +
|
3233
|
+
})) && input["x-anyOf"].map((elem, _index113) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
3234
|
+
path: _path + "[\"x-anyOf\"][" + _index113 + "]",
|
3219
3235
|
expected: "(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)",
|
3220
3236
|
value: elem
|
3221
|
-
})) && _vu2(elem, _path + "[\"x-anyOf\"][" +
|
3222
|
-
path: _path + "[\"x-anyOf\"][" +
|
3237
|
+
})) && _vu2(elem, _path + "[\"x-anyOf\"][" + _index113 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3238
|
+
path: _path + "[\"x-anyOf\"][" + _index113 + "]",
|
3223
3239
|
expected: "(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)",
|
3224
3240
|
value: elem
|
3225
3241
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3254,12 +3270,12 @@ class MigrateApplication {
|
|
3254
3270
|
path: _path + "[\"x-oneOf\"]",
|
3255
3271
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3256
3272
|
value: input["x-oneOf"]
|
3257
|
-
})) && input["x-oneOf"].map((elem,
|
3258
|
-
path: _path + "[\"x-oneOf\"][" +
|
3273
|
+
})) && input["x-oneOf"].map((elem, _index114) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
3274
|
+
path: _path + "[\"x-oneOf\"][" + _index114 + "]",
|
3259
3275
|
expected: "(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)",
|
3260
3276
|
value: elem
|
3261
|
-
})) && _vu2(elem, _path + "[\"x-oneOf\"][" +
|
3262
|
-
path: _path + "[\"x-oneOf\"][" +
|
3277
|
+
})) && _vu2(elem, _path + "[\"x-oneOf\"][" + _index114 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3278
|
+
path: _path + "[\"x-oneOf\"][" + _index114 + "]",
|
3263
3279
|
expected: "(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)",
|
3264
3280
|
value: elem
|
3265
3281
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3505,12 +3521,12 @@ class MigrateApplication {
|
|
3505
3521
|
path: _path + ".parameters",
|
3506
3522
|
expected: "(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",
|
3507
3523
|
value: input.parameters
|
3508
|
-
})) && input.parameters.map((elem,
|
3509
|
-
path: _path + ".parameters[" +
|
3524
|
+
})) && input.parameters.map((elem, _index115) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
3525
|
+
path: _path + ".parameters[" + _index115 + "]",
|
3510
3526
|
expected: "(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)",
|
3511
3527
|
value: elem
|
3512
|
-
})) && _vu3(elem, _path + ".parameters[" +
|
3513
|
-
path: _path + ".parameters[" +
|
3528
|
+
})) && _vu3(elem, _path + ".parameters[" + _index115 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3529
|
+
path: _path + ".parameters[" + _index115 + "]",
|
3514
3530
|
expected: "(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)",
|
3515
3531
|
value: elem
|
3516
3532
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3609,12 +3625,12 @@ class MigrateApplication {
|
|
3609
3625
|
path: _path + ".parameters",
|
3610
3626
|
expected: "(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",
|
3611
3627
|
value: input.parameters
|
3612
|
-
})) && input.parameters.map((elem,
|
3613
|
-
path: _path + ".parameters[" +
|
3628
|
+
})) && input.parameters.map((elem, _index116) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
3629
|
+
path: _path + ".parameters[" + _index116 + "]",
|
3614
3630
|
expected: "(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)",
|
3615
3631
|
value: elem
|
3616
|
-
})) && _vu4(elem, _path + ".parameters[" +
|
3617
|
-
path: _path + ".parameters[" +
|
3632
|
+
})) && _vu4(elem, _path + ".parameters[" + _index116 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3633
|
+
path: _path + ".parameters[" + _index116 + "]",
|
3618
3634
|
expected: "(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)",
|
3619
3635
|
value: elem
|
3620
3636
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3641,12 +3657,12 @@ class MigrateApplication {
|
|
3641
3657
|
path: _path + ".security",
|
3642
3658
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
3643
3659
|
value: input.security
|
3644
|
-
})) && input.security.map((elem,
|
3645
|
-
path: _path + ".security[" +
|
3660
|
+
})) && input.security.map((elem, _index117) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
3661
|
+
path: _path + ".security[" + _index117 + "]",
|
3646
3662
|
expected: "Record<string, Array<string>>",
|
3647
3663
|
value: elem
|
3648
|
-
})) && _vo46(elem, _path + ".security[" +
|
3649
|
-
path: _path + ".security[" +
|
3664
|
+
})) && _vo46(elem, _path + ".security[" + _index117 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3665
|
+
path: _path + ".security[" + _index117 + "]",
|
3650
3666
|
expected: "Record<string, Array<string>>",
|
3651
3667
|
value: elem
|
3652
3668
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3657,8 +3673,8 @@ class MigrateApplication {
|
|
3657
3673
|
path: _path + ".tags",
|
3658
3674
|
expected: "(Array<string> | undefined)",
|
3659
3675
|
value: input.tags
|
3660
|
-
})) && input.tags.map((elem,
|
3661
|
-
path: _path + ".tags[" +
|
3676
|
+
})) && input.tags.map((elem, _index118) => "string" === typeof elem || _report(_exceptionable, {
|
3677
|
+
path: _path + ".tags[" + _index118 + "]",
|
3662
3678
|
expected: "string",
|
3663
3679
|
value: elem
|
3664
3680
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3746,12 +3762,12 @@ class MigrateApplication {
|
|
3746
3762
|
path: _path + ".servers",
|
3747
3763
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
3748
3764
|
value: input.servers
|
3749
|
-
})) && input.servers.map((elem,
|
3750
|
-
path: _path + ".servers[" +
|
3765
|
+
})) && input.servers.map((elem, _index119) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
3766
|
+
path: _path + ".servers[" + _index119 + "]",
|
3751
3767
|
expected: "OpenApiV3.IServer",
|
3752
3768
|
value: elem
|
3753
|
-
})) && _vo95(elem, _path + ".servers[" +
|
3754
|
-
path: _path + ".servers[" +
|
3769
|
+
})) && _vo95(elem, _path + ".servers[" + _index119 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3770
|
+
path: _path + ".servers[" + _index119 + "]",
|
3755
3771
|
expected: "OpenApiV3.IServer",
|
3756
3772
|
value: elem
|
3757
3773
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3786,12 +3802,12 @@ class MigrateApplication {
|
|
3786
3802
|
path: _path + ".security",
|
3787
3803
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
3788
3804
|
value: input.security
|
3789
|
-
})) && input.security.map((elem,
|
3790
|
-
path: _path + ".security[" +
|
3805
|
+
})) && input.security.map((elem, _index120) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
3806
|
+
path: _path + ".security[" + _index120 + "]",
|
3791
3807
|
expected: "Record<string, Array<string>>",
|
3792
3808
|
value: elem
|
3793
|
-
})) && _vo46(elem, _path + ".security[" +
|
3794
|
-
path: _path + ".security[" +
|
3809
|
+
})) && _vo46(elem, _path + ".security[" + _index120 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3810
|
+
path: _path + ".security[" + _index120 + "]",
|
3795
3811
|
expected: "Record<string, Array<string>>",
|
3796
3812
|
value: elem
|
3797
3813
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3802,12 +3818,12 @@ class MigrateApplication {
|
|
3802
3818
|
path: _path + ".tags",
|
3803
3819
|
expected: "(Array<OpenApiV3.IDocument.ITag> | undefined)",
|
3804
3820
|
value: input.tags
|
3805
|
-
})) && input.tags.map((elem,
|
3806
|
-
path: _path + ".tags[" +
|
3821
|
+
})) && input.tags.map((elem, _index121) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
3822
|
+
path: _path + ".tags[" + _index121 + "]",
|
3807
3823
|
expected: "OpenApiV3.IDocument.ITag",
|
3808
3824
|
value: elem
|
3809
|
-
})) && _vo149(elem, _path + ".tags[" +
|
3810
|
-
path: _path + ".tags[" +
|
3825
|
+
})) && _vo149(elem, _path + ".tags[" + _index121 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3826
|
+
path: _path + ".tags[" + _index121 + "]",
|
3811
3827
|
expected: "OpenApiV3.IDocument.ITag",
|
3812
3828
|
value: elem
|
3813
3829
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3851,8 +3867,8 @@ class MigrateApplication {
|
|
3851
3867
|
path: _path + "[\"enum\"]",
|
3852
3868
|
expected: "(Array<string> | undefined)",
|
3853
3869
|
value: input["enum"]
|
3854
|
-
})) && input["enum"].map((elem,
|
3855
|
-
path: _path + "[\"enum\"][" +
|
3870
|
+
})) && input["enum"].map((elem, _index122) => "string" === typeof elem || _report(_exceptionable, {
|
3871
|
+
path: _path + "[\"enum\"][" + _index122 + "]",
|
3856
3872
|
expected: "string",
|
3857
3873
|
value: elem
|
3858
3874
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -3992,8 +4008,8 @@ class MigrateApplication {
|
|
3992
4008
|
path: _path + "[\"enum\"]",
|
3993
4009
|
expected: "(Array<boolean | null> | undefined)",
|
3994
4010
|
value: input["enum"]
|
3995
|
-
})) && input["enum"].map((elem,
|
3996
|
-
path: _path + "[\"enum\"][" +
|
4011
|
+
})) && input["enum"].map((elem, _index123) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
4012
|
+
path: _path + "[\"enum\"][" + _index123 + "]",
|
3997
4013
|
expected: "(boolean | null)",
|
3998
4014
|
value: elem
|
3999
4015
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -4040,8 +4056,8 @@ class MigrateApplication {
|
|
4040
4056
|
path: _path + "[\"enum\"]",
|
4041
4057
|
expected: "(Array<number | null> | undefined)",
|
4042
4058
|
value: input["enum"]
|
4043
|
-
})) && input["enum"].map((elem,
|
4044
|
-
path: _path + "[\"enum\"][" +
|
4059
|
+
})) && input["enum"].map((elem, _index124) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
4060
|
+
path: _path + "[\"enum\"][" + _index124 + "]",
|
4045
4061
|
expected: "(null | number)",
|
4046
4062
|
value: elem
|
4047
4063
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -4120,8 +4136,8 @@ class MigrateApplication {
|
|
4120
4136
|
path: _path + "[\"enum\"]",
|
4121
4137
|
expected: "(Array<number | null> | undefined)",
|
4122
4138
|
value: input["enum"]
|
4123
|
-
})) && input["enum"].map((elem,
|
4124
|
-
path: _path + "[\"enum\"][" +
|
4139
|
+
})) && input["enum"].map((elem, _index125) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
4140
|
+
path: _path + "[\"enum\"][" + _index125 + "]",
|
4125
4141
|
expected: "(null | number)",
|
4126
4142
|
value: elem
|
4127
4143
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -4188,8 +4204,8 @@ class MigrateApplication {
|
|
4188
4204
|
path: _path + "[\"enum\"]",
|
4189
4205
|
expected: "(Array<string | null> | undefined)",
|
4190
4206
|
value: input["enum"]
|
4191
|
-
})) && input["enum"].map((elem,
|
4192
|
-
path: _path + "[\"enum\"][" +
|
4207
|
+
})) && input["enum"].map((elem, _index126) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
4208
|
+
path: _path + "[\"enum\"][" + _index126 + "]",
|
4193
4209
|
expected: "(null | string)",
|
4194
4210
|
value: elem
|
4195
4211
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -4316,8 +4332,8 @@ class MigrateApplication {
|
|
4316
4332
|
path: _path + ".required",
|
4317
4333
|
expected: "(Array<string> | undefined)",
|
4318
4334
|
value: input.required
|
4319
|
-
})) && input.required.map((elem,
|
4320
|
-
path: _path + ".required[" +
|
4335
|
+
})) && input.required.map((elem, _index127) => "string" === typeof elem || _report(_exceptionable, {
|
4336
|
+
path: _path + ".required[" + _index127 + "]",
|
4321
4337
|
expected: "string",
|
4322
4338
|
value: elem
|
4323
4339
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -4456,12 +4472,12 @@ class MigrateApplication {
|
|
4456
4472
|
path: _path + ".allOf",
|
4457
4473
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4458
4474
|
value: input.allOf
|
4459
|
-
})) && input.allOf.map((elem,
|
4460
|
-
path: _path + ".allOf[" +
|
4475
|
+
})) && input.allOf.map((elem, _index128) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
4476
|
+
path: _path + ".allOf[" + _index128 + "]",
|
4461
4477
|
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)",
|
4462
4478
|
value: elem
|
4463
|
-
})) && _vu5(elem, _path + ".allOf[" +
|
4464
|
-
path: _path + ".allOf[" +
|
4479
|
+
})) && _vu5(elem, _path + ".allOf[" + _index128 + "]", true && _exceptionable) || _report(_exceptionable, {
|
4480
|
+
path: _path + ".allOf[" + _index128 + "]",
|
4465
4481
|
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)",
|
4466
4482
|
value: elem
|
4467
4483
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -4492,12 +4508,12 @@ class MigrateApplication {
|
|
4492
4508
|
path: _path + ".anyOf",
|
4493
4509
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4494
4510
|
value: input.anyOf
|
4495
|
-
})) && input.anyOf.map((elem,
|
4496
|
-
path: _path + ".anyOf[" +
|
4511
|
+
})) && input.anyOf.map((elem, _index129) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
4512
|
+
path: _path + ".anyOf[" + _index129 + "]",
|
4497
4513
|
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)",
|
4498
4514
|
value: elem
|
4499
|
-
})) && _vu5(elem, _path + ".anyOf[" +
|
4500
|
-
path: _path + ".anyOf[" +
|
4515
|
+
})) && _vu5(elem, _path + ".anyOf[" + _index129 + "]", true && _exceptionable) || _report(_exceptionable, {
|
4516
|
+
path: _path + ".anyOf[" + _index129 + "]",
|
4501
4517
|
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)",
|
4502
4518
|
value: elem
|
4503
4519
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -4528,12 +4544,12 @@ class MigrateApplication {
|
|
4528
4544
|
path: _path + ".oneOf",
|
4529
4545
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4530
4546
|
value: input.oneOf
|
4531
|
-
})) && input.oneOf.map((elem,
|
4532
|
-
path: _path + ".oneOf[" +
|
4547
|
+
})) && input.oneOf.map((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
4548
|
+
path: _path + ".oneOf[" + _index130 + "]",
|
4533
4549
|
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)",
|
4534
4550
|
value: elem
|
4535
|
-
})) && _vu5(elem, _path + ".oneOf[" +
|
4536
|
-
path: _path + ".oneOf[" +
|
4551
|
+
})) && _vu5(elem, _path + ".oneOf[" + _index130 + "]", true && _exceptionable) || _report(_exceptionable, {
|
4552
|
+
path: _path + ".oneOf[" + _index130 + "]",
|
4537
4553
|
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)",
|
4538
4554
|
value: elem
|
4539
4555
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5042,12 +5058,12 @@ class MigrateApplication {
|
|
5042
5058
|
path: _path + ".parameters",
|
5043
5059
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",
|
5044
5060
|
value: input.parameters
|
5045
|
-
})) && input.parameters.map((elem,
|
5046
|
-
path: _path + ".parameters[" +
|
5061
|
+
})) && input.parameters.map((elem, _index131) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
5062
|
+
path: _path + ".parameters[" + _index131 + "]",
|
5047
5063
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
5048
5064
|
value: elem
|
5049
|
-
})) && _vu6(elem, _path + ".parameters[" +
|
5050
|
-
path: _path + ".parameters[" +
|
5065
|
+
})) && _vu6(elem, _path + ".parameters[" + _index131 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5066
|
+
path: _path + ".parameters[" + _index131 + "]",
|
5051
5067
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
5052
5068
|
value: elem
|
5053
5069
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5058,12 +5074,12 @@ class MigrateApplication {
|
|
5058
5074
|
path: _path + ".servers",
|
5059
5075
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
5060
5076
|
value: input.servers
|
5061
|
-
})) && input.servers.map((elem,
|
5062
|
-
path: _path + ".servers[" +
|
5077
|
+
})) && input.servers.map((elem, _index132) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
5078
|
+
path: _path + ".servers[" + _index132 + "]",
|
5063
5079
|
expected: "OpenApiV3.IServer",
|
5064
5080
|
value: elem
|
5065
|
-
})) && _vo95(elem, _path + ".servers[" +
|
5066
|
-
path: _path + ".servers[" +
|
5081
|
+
})) && _vo95(elem, _path + ".servers[" + _index132 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5082
|
+
path: _path + ".servers[" + _index132 + "]",
|
5067
5083
|
expected: "OpenApiV3.IServer",
|
5068
5084
|
value: elem
|
5069
5085
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5174,12 +5190,12 @@ class MigrateApplication {
|
|
5174
5190
|
path: _path + ".parameters",
|
5175
5191
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",
|
5176
5192
|
value: input.parameters
|
5177
|
-
})) && input.parameters.map((elem,
|
5178
|
-
path: _path + ".parameters[" +
|
5193
|
+
})) && input.parameters.map((elem, _index133) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
5194
|
+
path: _path + ".parameters[" + _index133 + "]",
|
5179
5195
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
5180
5196
|
value: elem
|
5181
|
-
})) && _vu6(elem, _path + ".parameters[" +
|
5182
|
-
path: _path + ".parameters[" +
|
5197
|
+
})) && _vu6(elem, _path + ".parameters[" + _index133 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5198
|
+
path: _path + ".parameters[" + _index133 + "]",
|
5183
5199
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
5184
5200
|
value: elem
|
5185
5201
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5206,12 +5222,12 @@ class MigrateApplication {
|
|
5206
5222
|
path: _path + ".servers",
|
5207
5223
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
5208
5224
|
value: input.servers
|
5209
|
-
})) && input.servers.map((elem,
|
5210
|
-
path: _path + ".servers[" +
|
5225
|
+
})) && input.servers.map((elem, _index134) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
5226
|
+
path: _path + ".servers[" + _index134 + "]",
|
5211
5227
|
expected: "OpenApiV3.IServer",
|
5212
5228
|
value: elem
|
5213
|
-
})) && _vo95(elem, _path + ".servers[" +
|
5214
|
-
path: _path + ".servers[" +
|
5229
|
+
})) && _vo95(elem, _path + ".servers[" + _index134 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5230
|
+
path: _path + ".servers[" + _index134 + "]",
|
5215
5231
|
expected: "OpenApiV3.IServer",
|
5216
5232
|
value: elem
|
5217
5233
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5230,12 +5246,12 @@ class MigrateApplication {
|
|
5230
5246
|
path: _path + ".security",
|
5231
5247
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
5232
5248
|
value: input.security
|
5233
|
-
})) && input.security.map((elem,
|
5234
|
-
path: _path + ".security[" +
|
5249
|
+
})) && input.security.map((elem, _index135) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5250
|
+
path: _path + ".security[" + _index135 + "]",
|
5235
5251
|
expected: "Record<string, Array<string>>",
|
5236
5252
|
value: elem
|
5237
|
-
})) && _vo46(elem, _path + ".security[" +
|
5238
|
-
path: _path + ".security[" +
|
5253
|
+
})) && _vo46(elem, _path + ".security[" + _index135 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5254
|
+
path: _path + ".security[" + _index135 + "]",
|
5239
5255
|
expected: "Record<string, Array<string>>",
|
5240
5256
|
value: elem
|
5241
5257
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5246,8 +5262,8 @@ class MigrateApplication {
|
|
5246
5262
|
path: _path + ".tags",
|
5247
5263
|
expected: "(Array<string> | undefined)",
|
5248
5264
|
value: input.tags
|
5249
|
-
})) && input.tags.map((elem,
|
5250
|
-
path: _path + ".tags[" +
|
5265
|
+
})) && input.tags.map((elem, _index136) => "string" === typeof elem || _report(_exceptionable, {
|
5266
|
+
path: _path + ".tags[" + _index136 + "]",
|
5251
5267
|
expected: "string",
|
5252
5268
|
value: elem
|
5253
5269
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5335,12 +5351,12 @@ class MigrateApplication {
|
|
5335
5351
|
path: _path + ".servers",
|
5336
5352
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
5337
5353
|
value: input.servers
|
5338
|
-
})) && input.servers.map((elem,
|
5339
|
-
path: _path + ".servers[" +
|
5354
|
+
})) && input.servers.map((elem, _index137) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
5355
|
+
path: _path + ".servers[" + _index137 + "]",
|
5340
5356
|
expected: "OpenApiV3_1.IServer",
|
5341
5357
|
value: elem
|
5342
|
-
})) && _vo151(elem, _path + ".servers[" +
|
5343
|
-
path: _path + ".servers[" +
|
5358
|
+
})) && _vo151(elem, _path + ".servers[" + _index137 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5359
|
+
path: _path + ".servers[" + _index137 + "]",
|
5344
5360
|
expected: "OpenApiV3_1.IServer",
|
5345
5361
|
value: elem
|
5346
5362
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5383,12 +5399,12 @@ class MigrateApplication {
|
|
5383
5399
|
path: _path + ".security",
|
5384
5400
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
5385
5401
|
value: input.security
|
5386
|
-
})) && input.security.map((elem,
|
5387
|
-
path: _path + ".security[" +
|
5402
|
+
})) && input.security.map((elem, _index138) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5403
|
+
path: _path + ".security[" + _index138 + "]",
|
5388
5404
|
expected: "Record<string, Array<string>>",
|
5389
5405
|
value: elem
|
5390
|
-
})) && _vo46(elem, _path + ".security[" +
|
5391
|
-
path: _path + ".security[" +
|
5406
|
+
})) && _vo46(elem, _path + ".security[" + _index138 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5407
|
+
path: _path + ".security[" + _index138 + "]",
|
5392
5408
|
expected: "Record<string, Array<string>>",
|
5393
5409
|
value: elem
|
5394
5410
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5399,12 +5415,12 @@ class MigrateApplication {
|
|
5399
5415
|
path: _path + ".tags",
|
5400
5416
|
expected: "(Array<OpenApiV3_1.IDocument.ITag> | undefined)",
|
5401
5417
|
value: input.tags
|
5402
|
-
})) && input.tags.map((elem,
|
5403
|
-
path: _path + ".tags[" +
|
5418
|
+
})) && input.tags.map((elem, _index139) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
5419
|
+
path: _path + ".tags[" + _index139 + "]",
|
5404
5420
|
expected: "OpenApiV3_1.IDocument.ITag",
|
5405
5421
|
value: elem
|
5406
|
-
})) && _vo209(elem, _path + ".tags[" +
|
5407
|
-
path: _path + ".tags[" +
|
5422
|
+
})) && _vo209(elem, _path + ".tags[" + _index139 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5423
|
+
path: _path + ".tags[" + _index139 + "]",
|
5408
5424
|
expected: "OpenApiV3_1.IDocument.ITag",
|
5409
5425
|
value: elem
|
5410
5426
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5452,8 +5468,8 @@ class MigrateApplication {
|
|
5452
5468
|
path: _path + "[\"enum\"]",
|
5453
5469
|
expected: "Array<> & MinItems<1>",
|
5454
5470
|
value: input["enum"]
|
5455
|
-
})) && input["enum"].map((elem,
|
5456
|
-
path: _path + "[\"enum\"][" +
|
5471
|
+
})) && input["enum"].map((elem, _index140) => "string" === typeof elem || _report(_exceptionable, {
|
5472
|
+
path: _path + "[\"enum\"][" + _index140 + "]",
|
5457
5473
|
expected: "string",
|
5458
5474
|
value: elem
|
5459
5475
|
})).every(flag => flag)) || _report(_exceptionable, {
|
@@ -5605,8 +5621,8 @@ class MigrateApplication {
|
|
5605
5621
|
path: _path + ".type",
|
5606
5622
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"null\" | \"integer\" | \"array\">",
|
5607
5623
|
value: input.type
|
5608
|
-
})) && input.type.map((elem,
|
5609
|
-
path: _path + ".type[" +
|
5624
|
+
})) && input.type.map((elem, _index141) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem || _report(_exceptionable, {
|
5625
|
+
path: _path + ".type[" + _index141 + "]",
|
5610
5626
|
expected: "(\"array\" | \"boolean\" | \"integer\" | \"null\" | \"number\" | \"object\" | \"string\")",
|
5611
5627
|
value: elem
|
5612
5628
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5705,12 +5721,12 @@ class MigrateApplication {
|
|
5705
5721
|
path: _path + ".items",
|
5706
5722
|
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 | undefined)",
|
5707
5723
|
value: input.items
|
5708
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem,
|
5709
|
-
path: _path + ".items[" +
|
5724
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index142) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5725
|
+
path: _path + ".items[" + _index142 + "]",
|
5710
5726
|
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)",
|
5711
5727
|
value: elem
|
5712
|
-
})) && _vu7(elem, _path + ".items[" +
|
5713
|
-
path: _path + ".items[" +
|
5728
|
+
})) && _vu7(elem, _path + ".items[" + _index142 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5729
|
+
path: _path + ".items[" + _index142 + "]",
|
5714
5730
|
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)",
|
5715
5731
|
value: elem
|
5716
5732
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
@@ -5745,12 +5761,12 @@ class MigrateApplication {
|
|
5745
5761
|
path: _path + ".prefixItems",
|
5746
5762
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
5747
5763
|
value: input.prefixItems
|
5748
|
-
})) && input.prefixItems.map((elem,
|
5749
|
-
path: _path + ".prefixItems[" +
|
5764
|
+
})) && input.prefixItems.map((elem, _index143) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5765
|
+
path: _path + ".prefixItems[" + _index143 + "]",
|
5750
5766
|
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)",
|
5751
5767
|
value: elem
|
5752
|
-
})) && _vu7(elem, _path + ".prefixItems[" +
|
5753
|
-
path: _path + ".prefixItems[" +
|
5768
|
+
})) && _vu7(elem, _path + ".prefixItems[" + _index143 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5769
|
+
path: _path + ".prefixItems[" + _index143 + "]",
|
5754
5770
|
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)",
|
5755
5771
|
value: elem
|
5756
5772
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5793,8 +5809,8 @@ class MigrateApplication {
|
|
5793
5809
|
path: _path + ".required",
|
5794
5810
|
expected: "(Array<string> | undefined)",
|
5795
5811
|
value: input.required
|
5796
|
-
})) && input.required.map((elem,
|
5797
|
-
path: _path + ".required[" +
|
5812
|
+
})) && input.required.map((elem, _index144) => "string" === typeof elem || _report(_exceptionable, {
|
5813
|
+
path: _path + ".required[" + _index144 + "]",
|
5798
5814
|
expected: "string",
|
5799
5815
|
value: elem
|
5800
5816
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5813,12 +5829,12 @@ class MigrateApplication {
|
|
5813
5829
|
path: _path + ".oneOf",
|
5814
5830
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
5815
5831
|
value: input.oneOf
|
5816
|
-
})) && input.oneOf.map((elem,
|
5817
|
-
path: _path + ".oneOf[" +
|
5832
|
+
})) && input.oneOf.map((elem, _index145) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5833
|
+
path: _path + ".oneOf[" + _index145 + "]",
|
5818
5834
|
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)",
|
5819
5835
|
value: elem
|
5820
|
-
})) && _vu7(elem, _path + ".oneOf[" +
|
5821
|
-
path: _path + ".oneOf[" +
|
5836
|
+
})) && _vu7(elem, _path + ".oneOf[" + _index145 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5837
|
+
path: _path + ".oneOf[" + _index145 + "]",
|
5822
5838
|
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)",
|
5823
5839
|
value: elem
|
5824
5840
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5837,12 +5853,12 @@ class MigrateApplication {
|
|
5837
5853
|
path: _path + ".anyOf",
|
5838
5854
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
5839
5855
|
value: input.anyOf
|
5840
|
-
})) && input.anyOf.map((elem,
|
5841
|
-
path: _path + ".anyOf[" +
|
5856
|
+
})) && input.anyOf.map((elem, _index146) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5857
|
+
path: _path + ".anyOf[" + _index146 + "]",
|
5842
5858
|
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)",
|
5843
5859
|
value: elem
|
5844
|
-
})) && _vu7(elem, _path + ".anyOf[" +
|
5845
|
-
path: _path + ".anyOf[" +
|
5860
|
+
})) && _vu7(elem, _path + ".anyOf[" + _index146 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5861
|
+
path: _path + ".anyOf[" + _index146 + "]",
|
5846
5862
|
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)",
|
5847
5863
|
value: elem
|
5848
5864
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5853,12 +5869,12 @@ class MigrateApplication {
|
|
5853
5869
|
path: _path + ".allOf",
|
5854
5870
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
5855
5871
|
value: input.allOf
|
5856
|
-
})) && input.allOf.map((elem,
|
5857
|
-
path: _path + ".allOf[" +
|
5872
|
+
})) && input.allOf.map((elem, _index147) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5873
|
+
path: _path + ".allOf[" + _index147 + "]",
|
5858
5874
|
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)",
|
5859
5875
|
value: elem
|
5860
|
-
})) && _vu7(elem, _path + ".allOf[" +
|
5861
|
-
path: _path + ".allOf[" +
|
5876
|
+
})) && _vu7(elem, _path + ".allOf[" + _index147 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5877
|
+
path: _path + ".allOf[" + _index147 + "]",
|
5862
5878
|
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)",
|
5863
5879
|
value: elem
|
5864
5880
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5901,8 +5917,8 @@ class MigrateApplication {
|
|
5901
5917
|
path: _path + "[\"enum\"]",
|
5902
5918
|
expected: "(Array<boolean | null> | undefined)",
|
5903
5919
|
value: input["enum"]
|
5904
|
-
})) && input["enum"].map((elem,
|
5905
|
-
path: _path + "[\"enum\"][" +
|
5920
|
+
})) && input["enum"].map((elem, _index148) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
5921
|
+
path: _path + "[\"enum\"][" + _index148 + "]",
|
5906
5922
|
expected: "(boolean | null)",
|
5907
5923
|
value: elem
|
5908
5924
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -5949,8 +5965,8 @@ class MigrateApplication {
|
|
5949
5965
|
path: _path + "[\"enum\"]",
|
5950
5966
|
expected: "(Array<number | null> | undefined)",
|
5951
5967
|
value: input["enum"]
|
5952
|
-
})) && input["enum"].map((elem,
|
5953
|
-
path: _path + "[\"enum\"][" +
|
5968
|
+
})) && input["enum"].map((elem, _index149) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
5969
|
+
path: _path + "[\"enum\"][" + _index149 + "]",
|
5954
5970
|
expected: "(null | number)",
|
5955
5971
|
value: elem
|
5956
5972
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6037,8 +6053,8 @@ class MigrateApplication {
|
|
6037
6053
|
path: _path + "[\"enum\"]",
|
6038
6054
|
expected: "(Array<number | null> | undefined)",
|
6039
6055
|
value: input["enum"]
|
6040
|
-
})) && input["enum"].map((elem,
|
6041
|
-
path: _path + "[\"enum\"][" +
|
6056
|
+
})) && input["enum"].map((elem, _index150) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
6057
|
+
path: _path + "[\"enum\"][" + _index150 + "]",
|
6042
6058
|
expected: "(null | number)",
|
6043
6059
|
value: elem
|
6044
6060
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6109,8 +6125,8 @@ class MigrateApplication {
|
|
6109
6125
|
path: _path + "[\"enum\"]",
|
6110
6126
|
expected: "(Array<string | null> | undefined)",
|
6111
6127
|
value: input["enum"]
|
6112
|
-
})) && input["enum"].map((elem,
|
6113
|
-
path: _path + "[\"enum\"][" +
|
6128
|
+
})) && input["enum"].map((elem, _index151) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
6129
|
+
path: _path + "[\"enum\"][" + _index151 + "]",
|
6114
6130
|
expected: "(null | string)",
|
6115
6131
|
value: elem
|
6116
6132
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6173,12 +6189,12 @@ class MigrateApplication {
|
|
6173
6189
|
path: _path + ".items",
|
6174
6190
|
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 | undefined)",
|
6175
6191
|
value: input.items
|
6176
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem,
|
6177
|
-
path: _path + ".items[" +
|
6192
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index152) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6193
|
+
path: _path + ".items[" + _index152 + "]",
|
6178
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)",
|
6179
6195
|
value: elem
|
6180
|
-
})) && _vu7(elem, _path + ".items[" +
|
6181
|
-
path: _path + ".items[" +
|
6196
|
+
})) && _vu7(elem, _path + ".items[" + _index152 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6197
|
+
path: _path + ".items[" + _index152 + "]",
|
6182
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)",
|
6183
6199
|
value: elem
|
6184
6200
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
@@ -6193,12 +6209,12 @@ class MigrateApplication {
|
|
6193
6209
|
path: _path + ".prefixItems",
|
6194
6210
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
6195
6211
|
value: input.prefixItems
|
6196
|
-
})) && input.prefixItems.map((elem,
|
6197
|
-
path: _path + ".prefixItems[" +
|
6212
|
+
})) && input.prefixItems.map((elem, _index153) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6213
|
+
path: _path + ".prefixItems[" + _index153 + "]",
|
6198
6214
|
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)",
|
6199
6215
|
value: elem
|
6200
|
-
})) && _vu7(elem, _path + ".prefixItems[" +
|
6201
|
-
path: _path + ".prefixItems[" +
|
6216
|
+
})) && _vu7(elem, _path + ".prefixItems[" + _index153 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6217
|
+
path: _path + ".prefixItems[" + _index153 + "]",
|
6202
6218
|
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)",
|
6203
6219
|
value: elem
|
6204
6220
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6277,8 +6293,8 @@ class MigrateApplication {
|
|
6277
6293
|
path: _path + ".required",
|
6278
6294
|
expected: "(Array<string> | undefined)",
|
6279
6295
|
value: input.required
|
6280
|
-
})) && input.required.map((elem,
|
6281
|
-
path: _path + ".required[" +
|
6296
|
+
})) && input.required.map((elem, _index154) => "string" === typeof elem || _report(_exceptionable, {
|
6297
|
+
path: _path + ".required[" + _index154 + "]",
|
6282
6298
|
expected: "string",
|
6283
6299
|
value: elem
|
6284
6300
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6421,12 +6437,12 @@ class MigrateApplication {
|
|
6421
6437
|
path: _path + ".allOf",
|
6422
6438
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6423
6439
|
value: input.allOf
|
6424
|
-
})) && input.allOf.map((elem,
|
6425
|
-
path: _path + ".allOf[" +
|
6440
|
+
})) && input.allOf.map((elem, _index155) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6441
|
+
path: _path + ".allOf[" + _index155 + "]",
|
6426
6442
|
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)",
|
6427
6443
|
value: elem
|
6428
|
-
})) && _vu7(elem, _path + ".allOf[" +
|
6429
|
-
path: _path + ".allOf[" +
|
6444
|
+
})) && _vu7(elem, _path + ".allOf[" + _index155 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6445
|
+
path: _path + ".allOf[" + _index155 + "]",
|
6430
6446
|
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)",
|
6431
6447
|
value: elem
|
6432
6448
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6457,12 +6473,12 @@ class MigrateApplication {
|
|
6457
6473
|
path: _path + ".anyOf",
|
6458
6474
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6459
6475
|
value: input.anyOf
|
6460
|
-
})) && input.anyOf.map((elem,
|
6461
|
-
path: _path + ".anyOf[" +
|
6476
|
+
})) && input.anyOf.map((elem, _index156) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6477
|
+
path: _path + ".anyOf[" + _index156 + "]",
|
6462
6478
|
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)",
|
6463
6479
|
value: elem
|
6464
|
-
})) && _vu7(elem, _path + ".anyOf[" +
|
6465
|
-
path: _path + ".anyOf[" +
|
6480
|
+
})) && _vu7(elem, _path + ".anyOf[" + _index156 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6481
|
+
path: _path + ".anyOf[" + _index156 + "]",
|
6466
6482
|
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)",
|
6467
6483
|
value: elem
|
6468
6484
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6493,12 +6509,12 @@ class MigrateApplication {
|
|
6493
6509
|
path: _path + ".oneOf",
|
6494
6510
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6495
6511
|
value: input.oneOf
|
6496
|
-
})) && input.oneOf.map((elem,
|
6497
|
-
path: _path + ".oneOf[" +
|
6512
|
+
})) && input.oneOf.map((elem, _index157) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6513
|
+
path: _path + ".oneOf[" + _index157 + "]",
|
6498
6514
|
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)",
|
6499
6515
|
value: elem
|
6500
|
-
})) && _vu7(elem, _path + ".oneOf[" +
|
6501
|
-
path: _path + ".oneOf[" +
|
6516
|
+
})) && _vu7(elem, _path + ".oneOf[" + _index157 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6517
|
+
path: _path + ".oneOf[" + _index157 + "]",
|
6502
6518
|
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)",
|
6503
6519
|
value: elem
|
6504
6520
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6562,12 +6578,12 @@ class MigrateApplication {
|
|
6562
6578
|
path: _path + ".parameters",
|
6563
6579
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
6564
6580
|
value: input.parameters
|
6565
|
-
})) && input.parameters.map((elem,
|
6566
|
-
path: _path + ".parameters[" +
|
6581
|
+
})) && input.parameters.map((elem, _index158) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
6582
|
+
path: _path + ".parameters[" + _index158 + "]",
|
6567
6583
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6568
6584
|
value: elem
|
6569
|
-
})) && _vu8(elem, _path + ".parameters[" +
|
6570
|
-
path: _path + ".parameters[" +
|
6585
|
+
})) && _vu8(elem, _path + ".parameters[" + _index158 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6586
|
+
path: _path + ".parameters[" + _index158 + "]",
|
6571
6587
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6572
6588
|
value: elem
|
6573
6589
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6578,12 +6594,12 @@ class MigrateApplication {
|
|
6578
6594
|
path: _path + ".servers",
|
6579
6595
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
6580
6596
|
value: input.servers
|
6581
|
-
})) && input.servers.map((elem,
|
6582
|
-
path: _path + ".servers[" +
|
6597
|
+
})) && input.servers.map((elem, _index159) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
6598
|
+
path: _path + ".servers[" + _index159 + "]",
|
6583
6599
|
expected: "OpenApiV3_1.IServer",
|
6584
6600
|
value: elem
|
6585
|
-
})) && _vo151(elem, _path + ".servers[" +
|
6586
|
-
path: _path + ".servers[" +
|
6601
|
+
})) && _vo151(elem, _path + ".servers[" + _index159 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6602
|
+
path: _path + ".servers[" + _index159 + "]",
|
6587
6603
|
expected: "OpenApiV3_1.IServer",
|
6588
6604
|
value: elem
|
6589
6605
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6799,12 +6815,12 @@ class MigrateApplication {
|
|
6799
6815
|
path: _path + ".parameters",
|
6800
6816
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
6801
6817
|
value: input.parameters
|
6802
|
-
})) && input.parameters.map((elem,
|
6803
|
-
path: _path + ".parameters[" +
|
6818
|
+
})) && input.parameters.map((elem, _index160) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
6819
|
+
path: _path + ".parameters[" + _index160 + "]",
|
6804
6820
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6805
6821
|
value: elem
|
6806
|
-
})) && _vu8(elem, _path + ".parameters[" +
|
6807
|
-
path: _path + ".parameters[" +
|
6822
|
+
})) && _vu8(elem, _path + ".parameters[" + _index160 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6823
|
+
path: _path + ".parameters[" + _index160 + "]",
|
6808
6824
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6809
6825
|
value: elem
|
6810
6826
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6831,12 +6847,12 @@ class MigrateApplication {
|
|
6831
6847
|
path: _path + ".servers",
|
6832
6848
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
6833
6849
|
value: input.servers
|
6834
|
-
})) && input.servers.map((elem,
|
6835
|
-
path: _path + ".servers[" +
|
6850
|
+
})) && input.servers.map((elem, _index161) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
6851
|
+
path: _path + ".servers[" + _index161 + "]",
|
6836
6852
|
expected: "OpenApiV3_1.IServer",
|
6837
6853
|
value: elem
|
6838
|
-
})) && _vo151(elem, _path + ".servers[" +
|
6839
|
-
path: _path + ".servers[" +
|
6854
|
+
})) && _vo151(elem, _path + ".servers[" + _index161 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6855
|
+
path: _path + ".servers[" + _index161 + "]",
|
6840
6856
|
expected: "OpenApiV3_1.IServer",
|
6841
6857
|
value: elem
|
6842
6858
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6855,12 +6871,12 @@ class MigrateApplication {
|
|
6855
6871
|
path: _path + ".security",
|
6856
6872
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
6857
6873
|
value: input.security
|
6858
|
-
})) && input.security.map((elem,
|
6859
|
-
path: _path + ".security[" +
|
6874
|
+
})) && input.security.map((elem, _index162) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6875
|
+
path: _path + ".security[" + _index162 + "]",
|
6860
6876
|
expected: "Record<string, Array<string>>",
|
6861
6877
|
value: elem
|
6862
|
-
})) && _vo46(elem, _path + ".security[" +
|
6863
|
-
path: _path + ".security[" +
|
6878
|
+
})) && _vo46(elem, _path + ".security[" + _index162 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6879
|
+
path: _path + ".security[" + _index162 + "]",
|
6864
6880
|
expected: "Record<string, Array<string>>",
|
6865
6881
|
value: elem
|
6866
6882
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -6871,8 +6887,8 @@ class MigrateApplication {
|
|
6871
6887
|
path: _path + ".tags",
|
6872
6888
|
expected: "(Array<string> | undefined)",
|
6873
6889
|
value: input.tags
|
6874
|
-
})) && input.tags.map((elem,
|
6875
|
-
path: _path + ".tags[" +
|
6890
|
+
})) && input.tags.map((elem, _index163) => "string" === typeof elem || _report(_exceptionable, {
|
6891
|
+
path: _path + ".tags[" + _index163 + "]",
|
6876
6892
|
expected: "string",
|
6877
6893
|
value: elem
|
6878
6894
|
})).every(flag => flag) || _report(_exceptionable, {
|
@@ -7485,7 +7501,7 @@ class MigrateApplication {
|
|
7485
7501
|
value: input
|
7486
7502
|
});
|
7487
7503
|
})(); const _vu7 = (input, _path, _exceptionable = true) => (() => {
|
7488
|
-
if (Array.isArray(input.type) && input.type.map((elem,
|
7504
|
+
if (Array.isArray(input.type) && input.type.map((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem).every(flag => flag))
|
7489
7505
|
return _vo159(input, _path, true && _exceptionable);
|
7490
7506
|
else if ("boolean" === input.type)
|
7491
7507
|
return _vo161(input, _path, true && _exceptionable);
|
@@ -7737,7 +7753,7 @@ class MigrateApplication {
|
|
7737
7753
|
};
|
7738
7754
|
}
|
7739
7755
|
nest(config) {
|
7740
|
-
const program =
|
7756
|
+
const program = MigrateApplicationAnalyzer_1.MigrateApplicationAnalyzer.analyze({
|
7741
7757
|
mode: "nest",
|
7742
7758
|
document: this.document,
|
7743
7759
|
simulate: config.simulate,
|
@@ -7756,7 +7772,7 @@ class MigrateApplication {
|
|
7756
7772
|
return this.finalize(config, output);
|
7757
7773
|
}
|
7758
7774
|
sdk(config) {
|
7759
|
-
const program =
|
7775
|
+
const program = MigrateApplicationAnalyzer_1.MigrateApplicationAnalyzer.analyze({
|
7760
7776
|
mode: "sdk",
|
7761
7777
|
document: this.document,
|
7762
7778
|
simulate: config.simulate,
|