@nestia/migrate 0.13.4 → 0.13.6
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 +475 -447
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +2 -2
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/programmers/MigrateSchemaProgrammer.js +0 -1
- package/lib/programmers/MigrateSchemaProgrammer.js.map +1 -1
- package/package.json +5 -5
- package/src/bundles/NEST_TEMPLATE.ts +2 -2
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
@@ -52,11 +52,11 @@ class MigrateApplication {
|
|
52
52
|
});
|
53
53
|
const $io9 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
54
54
|
const $io10 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
55
|
-
const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
56
|
-
const $io12 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
57
|
-
const $io13 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input
|
58
|
-
const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
59
|
-
const $io15 = input => Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (null !== input.additionalItems && undefined
|
55
|
+
const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
56
|
+
const $io12 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
57
|
+
const $io13 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
58
|
+
const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
59
|
+
const $io15 = input => Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu0(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
60
60
|
const $io16 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io8(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu0(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
61
61
|
const $io17 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
62
62
|
const $io18 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu1(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
@@ -140,10 +140,10 @@ class MigrateApplication {
|
|
140
140
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu2(value);
|
141
141
|
});
|
142
142
|
const $io51 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
143
|
-
const $io52 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
144
|
-
const $io53 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
145
|
-
const $io54 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
146
|
-
const $io55 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
143
|
+
const $io52 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
144
|
+
const $io53 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
145
|
+
const $io54 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
146
|
+
const $io55 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
147
147
|
const $io56 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io50(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
148
148
|
const $io57 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
149
149
|
const $io58 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
@@ -158,10 +158,10 @@ class MigrateApplication {
|
|
158
158
|
return "object" === typeof value && null !== value && $iu11(value);
|
159
159
|
});
|
160
160
|
const $io64 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
161
|
-
const $io65 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
162
|
-
const $io66 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
163
|
-
const $io67 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
164
|
-
const $io68 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
161
|
+
const $io65 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
162
|
+
const $io66 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
163
|
+
const $io67 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
164
|
+
const $io68 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu2(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
165
165
|
const $io69 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io50(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
166
166
|
const $io70 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
167
167
|
const $io71 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && "string" === typeof input.name && "string" === typeof input["in"];
|
@@ -227,10 +227,10 @@ class MigrateApplication {
|
|
227
227
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu5(value);
|
228
228
|
});
|
229
229
|
const $io103 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
230
|
-
const $io104 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
231
|
-
const $io105 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
232
|
-
const $io106 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
233
|
-
const $io107 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu5(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
230
|
+
const $io104 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
231
|
+
const $io105 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
232
|
+
const $io106 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
233
|
+
const $io107 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu5(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
234
234
|
const $io108 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io102(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
235
235
|
const $io109 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
236
236
|
const $io110 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
@@ -332,13 +332,13 @@ class MigrateApplication {
|
|
332
332
|
return true;
|
333
333
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu7(value);
|
334
334
|
});
|
335
|
-
const $io154 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem) && (undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
335
|
+
const $io154 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem) && (undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu7(input.items))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu7(input.additionalItems))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io153(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu7(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)));
|
336
336
|
const $io155 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
337
337
|
const $io156 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
338
|
-
const $io157 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
339
|
-
const $io158 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
340
|
-
const $io159 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
341
|
-
const $io160 = input => null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu7(input.items)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu7(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
338
|
+
const $io157 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
339
|
+
const $io158 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
340
|
+
const $io159 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
341
|
+
const $io160 = input => null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu7(input.items)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu7(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && $iu7(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
342
342
|
const $io161 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io153(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu7(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
343
343
|
const $io162 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
344
344
|
const $io163 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
@@ -1090,29 +1090,29 @@ class MigrateApplication {
|
|
1090
1090
|
expected: "(boolean | undefined)",
|
1091
1091
|
value: input.deprecated
|
1092
1092
|
})].every(flag => flag);
|
1093
|
-
const $vo11 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
1093
|
+
const $vo11 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
1094
1094
|
path: _path + "[\"default\"]",
|
1095
|
-
expected: "number & Type<\"
|
1095
|
+
expected: "number & Type<\"int64\">",
|
1096
1096
|
value: input["default"]
|
1097
1097
|
})) || $report(_exceptionable, {
|
1098
1098
|
path: _path + "[\"default\"]",
|
1099
|
-
expected: "((number & Type<\"
|
1099
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
1100
1100
|
value: input["default"]
|
1101
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
1101
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
1102
1102
|
path: _path + ".minimum",
|
1103
|
-
expected: "number & Type<\"
|
1103
|
+
expected: "number & Type<\"int64\">",
|
1104
1104
|
value: input.minimum
|
1105
1105
|
})) || $report(_exceptionable, {
|
1106
1106
|
path: _path + ".minimum",
|
1107
|
-
expected: "((number & Type<\"
|
1107
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
1108
1108
|
value: input.minimum
|
1109
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
1109
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
1110
1110
|
path: _path + ".maximum",
|
1111
|
-
expected: "number & Type<\"
|
1111
|
+
expected: "number & Type<\"int64\">",
|
1112
1112
|
value: input.maximum
|
1113
1113
|
})) || $report(_exceptionable, {
|
1114
1114
|
path: _path + ".maximum",
|
1115
|
-
expected: "((number & Type<\"
|
1115
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
1116
1116
|
value: input.maximum
|
1117
1117
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
1118
1118
|
path: _path + ".exclusiveMinimum",
|
@@ -1122,13 +1122,17 @@ class MigrateApplication {
|
|
1122
1122
|
path: _path + ".exclusiveMaximum",
|
1123
1123
|
expected: "(boolean | undefined)",
|
1124
1124
|
value: input.exclusiveMaximum
|
1125
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
1125
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
1126
1126
|
path: _path + ".multipleOf",
|
1127
|
-
expected: "number & Type<\"
|
1127
|
+
expected: "number & Type<\"uint64\">",
|
1128
|
+
value: input.multipleOf
|
1129
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
1130
|
+
path: _path + ".multipleOf",
|
1131
|
+
expected: "number & ExclusiveMinimum<0>",
|
1128
1132
|
value: input.multipleOf
|
1129
1133
|
})) || $report(_exceptionable, {
|
1130
1134
|
path: _path + ".multipleOf",
|
1131
|
-
expected: "((number & Type<\"
|
1135
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
1132
1136
|
value: input.multipleOf
|
1133
1137
|
}), "integer" === input.type || $report(_exceptionable, {
|
1134
1138
|
path: _path + ".type",
|
@@ -1167,9 +1171,13 @@ class MigrateApplication {
|
|
1167
1171
|
path: _path + ".exclusiveMaximum",
|
1168
1172
|
expected: "(boolean | undefined)",
|
1169
1173
|
value: input.exclusiveMaximum
|
1170
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
1174
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
1171
1175
|
path: _path + ".multipleOf",
|
1172
|
-
expected: "
|
1176
|
+
expected: "number & ExclusiveMinimum<0>",
|
1177
|
+
value: input.multipleOf
|
1178
|
+
})) || $report(_exceptionable, {
|
1179
|
+
path: _path + ".multipleOf",
|
1180
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
1173
1181
|
value: input.multipleOf
|
1174
1182
|
}), "number" === input.type || $report(_exceptionable, {
|
1175
1183
|
path: _path + ".type",
|
@@ -1196,18 +1204,6 @@ class MigrateApplication {
|
|
1196
1204
|
path: _path + "[\"default\"]",
|
1197
1205
|
expected: "(string | undefined)",
|
1198
1206
|
value: input["default"]
|
1199
|
-
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
1200
|
-
path: _path + "[\"enum\"]",
|
1201
|
-
expected: "(Array<string> | undefined)",
|
1202
|
-
value: input["enum"]
|
1203
|
-
})) && input["enum"].map((elem, _index5) => "string" === typeof elem || $report(_exceptionable, {
|
1204
|
-
path: _path + "[\"enum\"][" + _index5 + "]",
|
1205
|
-
expected: "string",
|
1206
|
-
value: elem
|
1207
|
-
})).every(flag => flag) || $report(_exceptionable, {
|
1208
|
-
path: _path + "[\"enum\"]",
|
1209
|
-
expected: "(Array<string> | undefined)",
|
1210
|
-
value: input["enum"]
|
1211
1207
|
}), undefined === input.format || "string" === typeof input.format || $report(_exceptionable, {
|
1212
1208
|
path: _path + ".format",
|
1213
1209
|
expected: "(string | undefined)",
|
@@ -1216,21 +1212,21 @@ class MigrateApplication {
|
|
1216
1212
|
path: _path + ".pattern",
|
1217
1213
|
expected: "(string | undefined)",
|
1218
1214
|
value: input.pattern
|
1219
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
1215
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
1220
1216
|
path: _path + ".minLength",
|
1221
|
-
expected: "number & Type<\"
|
1217
|
+
expected: "number & Type<\"uint64\">",
|
1222
1218
|
value: input.minLength
|
1223
1219
|
})) || $report(_exceptionable, {
|
1224
1220
|
path: _path + ".minLength",
|
1225
|
-
expected: "((number & Type<\"
|
1221
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1226
1222
|
value: input.minLength
|
1227
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
1223
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
1228
1224
|
path: _path + ".maxLength",
|
1229
|
-
expected: "number & Type<\"
|
1225
|
+
expected: "number & Type<\"uint64\">",
|
1230
1226
|
value: input.maxLength
|
1231
1227
|
})) || $report(_exceptionable, {
|
1232
1228
|
path: _path + ".maxLength",
|
1233
|
-
expected: "((number & Type<\"
|
1229
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1234
1230
|
value: input.maxLength
|
1235
1231
|
}), "string" === input.type || $report(_exceptionable, {
|
1236
1232
|
path: _path + ".type",
|
@@ -1257,21 +1253,21 @@ class MigrateApplication {
|
|
1257
1253
|
path: _path + ".items",
|
1258
1254
|
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)",
|
1259
1255
|
value: input.items
|
1260
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
1256
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
1261
1257
|
path: _path + ".minItems",
|
1262
|
-
expected: "number & Type<\"
|
1258
|
+
expected: "number & Type<\"uint64\">",
|
1263
1259
|
value: input.minItems
|
1264
1260
|
})) || $report(_exceptionable, {
|
1265
1261
|
path: _path + ".minItems",
|
1266
|
-
expected: "((number & Type<\"
|
1262
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1267
1263
|
value: input.minItems
|
1268
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
1264
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
1269
1265
|
path: _path + ".maxItems",
|
1270
|
-
expected: "number & Type<\"
|
1266
|
+
expected: "number & Type<\"uint64\">",
|
1271
1267
|
value: input.maxItems
|
1272
1268
|
})) || $report(_exceptionable, {
|
1273
1269
|
path: _path + ".maxItems",
|
1274
|
-
expected: "((number & Type<\"
|
1270
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1275
1271
|
value: input.maxItems
|
1276
1272
|
}), "array" === input.type || $report(_exceptionable, {
|
1277
1273
|
path: _path + ".type",
|
@@ -1294,12 +1290,12 @@ class MigrateApplication {
|
|
1294
1290
|
path: _path + ".prefixItems",
|
1295
1291
|
expected: "Array<OpenApi.IJsonSchema>",
|
1296
1292
|
value: input.prefixItems
|
1297
|
-
})) && input.prefixItems.map((elem,
|
1298
|
-
path: _path + ".prefixItems[" +
|
1293
|
+
})) && input.prefixItems.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
1294
|
+
path: _path + ".prefixItems[" + _index5 + "]",
|
1299
1295
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
1300
1296
|
value: elem
|
1301
|
-
})) && $vu0(elem, _path + ".prefixItems[" +
|
1302
|
-
path: _path + ".prefixItems[" +
|
1297
|
+
})) && $vu0(elem, _path + ".prefixItems[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
|
1298
|
+
path: _path + ".prefixItems[" + _index5 + "]",
|
1303
1299
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
1304
1300
|
value: elem
|
1305
1301
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -1308,35 +1304,31 @@ class MigrateApplication {
|
|
1308
1304
|
value: input.prefixItems
|
1309
1305
|
}), (null !== input.additionalItems || $report(_exceptionable, {
|
1310
1306
|
path: _path + ".additionalItems",
|
1311
|
-
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 | boolean)",
|
1312
|
-
value: input.additionalItems
|
1313
|
-
})) && (undefined !== input.additionalItems || $report(_exceptionable, {
|
1314
|
-
path: _path + ".additionalItems",
|
1315
|
-
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 | boolean)",
|
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.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | boolean | undefined)",
|
1316
1308
|
value: input.additionalItems
|
1317
|
-
})) && ("boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || $report(_exceptionable, {
|
1309
|
+
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || $report(_exceptionable, {
|
1318
1310
|
path: _path + ".additionalItems",
|
1319
|
-
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 | boolean)",
|
1311
|
+
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 | boolean | undefined)",
|
1320
1312
|
value: input.additionalItems
|
1321
1313
|
})) && $vu0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || $report(_exceptionable, {
|
1322
1314
|
path: _path + ".additionalItems",
|
1323
|
-
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 | boolean)",
|
1315
|
+
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 | boolean | undefined)",
|
1324
1316
|
value: input.additionalItems
|
1325
|
-
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
1317
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
1326
1318
|
path: _path + ".minItems",
|
1327
|
-
expected: "number & Type<\"
|
1319
|
+
expected: "number & Type<\"uint64\">",
|
1328
1320
|
value: input.minItems
|
1329
1321
|
})) || $report(_exceptionable, {
|
1330
1322
|
path: _path + ".minItems",
|
1331
|
-
expected: "((number & Type<\"
|
1323
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1332
1324
|
value: input.minItems
|
1333
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
1325
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
1334
1326
|
path: _path + ".maxItems",
|
1335
|
-
expected: "number & Type<\"
|
1327
|
+
expected: "number & Type<\"uint64\">",
|
1336
1328
|
value: input.maxItems
|
1337
1329
|
})) || $report(_exceptionable, {
|
1338
1330
|
path: _path + ".maxItems",
|
1339
|
-
expected: "((number & Type<\"
|
1331
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
1340
1332
|
value: input.maxItems
|
1341
1333
|
}), "array" === input.type || $report(_exceptionable, {
|
1342
1334
|
path: _path + ".type",
|
@@ -1379,8 +1371,8 @@ class MigrateApplication {
|
|
1379
1371
|
path: _path + ".required",
|
1380
1372
|
expected: "(Array<string> | undefined)",
|
1381
1373
|
value: input.required
|
1382
|
-
})) && input.required.map((elem,
|
1383
|
-
path: _path + ".required[" +
|
1374
|
+
})) && input.required.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable, {
|
1375
|
+
path: _path + ".required[" + _index6 + "]",
|
1384
1376
|
expected: "string",
|
1385
1377
|
value: elem
|
1386
1378
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -1425,12 +1417,12 @@ class MigrateApplication {
|
|
1425
1417
|
path: _path + ".oneOf",
|
1426
1418
|
expected: "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
|
1427
1419
|
value: input.oneOf
|
1428
|
-
})) && input.oneOf.map((elem,
|
1429
|
-
path: _path + ".oneOf[" +
|
1420
|
+
})) && input.oneOf.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
1421
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
1430
1422
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
1431
1423
|
value: elem
|
1432
|
-
})) && $vu1(elem, _path + ".oneOf[" +
|
1433
|
-
path: _path + ".oneOf[" +
|
1424
|
+
})) && $vu1(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
|
1425
|
+
path: _path + ".oneOf[" + _index7 + "]",
|
1434
1426
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
1435
1427
|
value: elem
|
1436
1428
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -1695,12 +1687,12 @@ class MigrateApplication {
|
|
1695
1687
|
path: _path + ".servers",
|
1696
1688
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
1697
1689
|
value: input.servers
|
1698
|
-
})) && input.servers.map((elem,
|
1699
|
-
path: _path + ".servers[" +
|
1690
|
+
})) && input.servers.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
1691
|
+
path: _path + ".servers[" + _index8 + "]",
|
1700
1692
|
expected: "OpenApi.IServer",
|
1701
1693
|
value: elem
|
1702
|
-
})) && $vo1(elem, _path + ".servers[" +
|
1703
|
-
path: _path + ".servers[" +
|
1694
|
+
})) && $vo1(elem, _path + ".servers[" + _index8 + "]", true && _exceptionable) || $report(_exceptionable, {
|
1695
|
+
path: _path + ".servers[" + _index8 + "]",
|
1704
1696
|
expected: "OpenApi.IServer",
|
1705
1697
|
value: elem
|
1706
1698
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -1788,12 +1780,12 @@ class MigrateApplication {
|
|
1788
1780
|
path: _path + ".parameters",
|
1789
1781
|
expected: "(Array<OpenApi.IOperation.IParameter> | undefined)",
|
1790
1782
|
value: input.parameters
|
1791
|
-
})) && input.parameters.map((elem,
|
1792
|
-
path: _path + ".parameters[" +
|
1783
|
+
})) && input.parameters.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
1784
|
+
path: _path + ".parameters[" + _index9 + "]",
|
1793
1785
|
expected: "OpenApi.IOperation.IParameter",
|
1794
1786
|
value: elem
|
1795
|
-
})) && $vo35(elem, _path + ".parameters[" +
|
1796
|
-
path: _path + ".parameters[" +
|
1787
|
+
})) && $vo35(elem, _path + ".parameters[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
|
1788
|
+
path: _path + ".parameters[" + _index9 + "]",
|
1797
1789
|
expected: "OpenApi.IOperation.IParameter",
|
1798
1790
|
value: elem
|
1799
1791
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -1820,12 +1812,12 @@ class MigrateApplication {
|
|
1820
1812
|
path: _path + ".servers",
|
1821
1813
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
1822
1814
|
value: input.servers
|
1823
|
-
})) && input.servers.map((elem,
|
1824
|
-
path: _path + ".servers[" +
|
1815
|
+
})) && input.servers.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
1816
|
+
path: _path + ".servers[" + _index10 + "]",
|
1825
1817
|
expected: "OpenApi.IServer",
|
1826
1818
|
value: elem
|
1827
|
-
})) && $vo1(elem, _path + ".servers[" +
|
1828
|
-
path: _path + ".servers[" +
|
1819
|
+
})) && $vo1(elem, _path + ".servers[" + _index10 + "]", true && _exceptionable) || $report(_exceptionable, {
|
1820
|
+
path: _path + ".servers[" + _index10 + "]",
|
1829
1821
|
expected: "OpenApi.IServer",
|
1830
1822
|
value: elem
|
1831
1823
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -1844,12 +1836,12 @@ class MigrateApplication {
|
|
1844
1836
|
path: _path + ".security",
|
1845
1837
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
1846
1838
|
value: input.security
|
1847
|
-
})) && input.security.map((elem,
|
1848
|
-
path: _path + ".security[" +
|
1839
|
+
})) && input.security.map((elem, _index11) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
1840
|
+
path: _path + ".security[" + _index11 + "]",
|
1849
1841
|
expected: "Record<string, Array<string>>",
|
1850
1842
|
value: elem
|
1851
|
-
})) && $vo42(elem, _path + ".security[" +
|
1852
|
-
path: _path + ".security[" +
|
1843
|
+
})) && $vo42(elem, _path + ".security[" + _index11 + "]", true && _exceptionable) || $report(_exceptionable, {
|
1844
|
+
path: _path + ".security[" + _index11 + "]",
|
1853
1845
|
expected: "Record<string, Array<string>>",
|
1854
1846
|
value: elem
|
1855
1847
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -1860,8 +1852,8 @@ class MigrateApplication {
|
|
1860
1852
|
path: _path + ".tags",
|
1861
1853
|
expected: "(Array<string> | undefined)",
|
1862
1854
|
value: input.tags
|
1863
|
-
})) && input.tags.map((elem,
|
1864
|
-
path: _path + ".tags[" +
|
1855
|
+
})) && input.tags.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable, {
|
1856
|
+
path: _path + ".tags[" + _index12 + "]",
|
1865
1857
|
expected: "string",
|
1866
1858
|
value: elem
|
1867
1859
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2049,8 +2041,8 @@ class MigrateApplication {
|
|
2049
2041
|
path: _path + $join(key),
|
2050
2042
|
expected: "Array<string>",
|
2051
2043
|
value: value
|
2052
|
-
})) && value.map((elem,
|
2053
|
-
path: _path + $join(key) + "[" +
|
2044
|
+
})) && value.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable, {
|
2045
|
+
path: _path + $join(key) + "[" + _index13 + "]",
|
2054
2046
|
expected: "string",
|
2055
2047
|
value: elem
|
2056
2048
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2131,8 +2123,8 @@ class MigrateApplication {
|
|
2131
2123
|
path: _path + ".consumes",
|
2132
2124
|
expected: "(Array<string> | undefined)",
|
2133
2125
|
value: input.consumes
|
2134
|
-
})) && input.consumes.map((elem,
|
2135
|
-
path: _path + ".consumes[" +
|
2126
|
+
})) && input.consumes.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable, {
|
2127
|
+
path: _path + ".consumes[" + _index14 + "]",
|
2136
2128
|
expected: "string",
|
2137
2129
|
value: elem
|
2138
2130
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2143,8 +2135,8 @@ class MigrateApplication {
|
|
2143
2135
|
path: _path + ".produces",
|
2144
2136
|
expected: "(Array<string> | undefined)",
|
2145
2137
|
value: input.produces
|
2146
|
-
})) && input.produces.map((elem,
|
2147
|
-
path: _path + ".produces[" +
|
2138
|
+
})) && input.produces.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable, {
|
2139
|
+
path: _path + ".produces[" + _index15 + "]",
|
2148
2140
|
expected: "string",
|
2149
2141
|
value: elem
|
2150
2142
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2187,12 +2179,12 @@ class MigrateApplication {
|
|
2187
2179
|
path: _path + ".security",
|
2188
2180
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
2189
2181
|
value: input.security
|
2190
|
-
})) && input.security.map((elem,
|
2191
|
-
path: _path + ".security[" +
|
2182
|
+
})) && input.security.map((elem, _index16) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
2183
|
+
path: _path + ".security[" + _index16 + "]",
|
2192
2184
|
expected: "Record<string, Array<string>>",
|
2193
2185
|
value: elem
|
2194
|
-
})) && $vo42(elem, _path + ".security[" +
|
2195
|
-
path: _path + ".security[" +
|
2186
|
+
})) && $vo42(elem, _path + ".security[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
|
2187
|
+
path: _path + ".security[" + _index16 + "]",
|
2196
2188
|
expected: "Record<string, Array<string>>",
|
2197
2189
|
value: elem
|
2198
2190
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2211,12 +2203,12 @@ class MigrateApplication {
|
|
2211
2203
|
path: _path + ".tags",
|
2212
2204
|
expected: "(Array<SwaggerV2.IDocument.ITag> | undefined)",
|
2213
2205
|
value: input.tags
|
2214
|
-
})) && input.tags.map((elem,
|
2215
|
-
path: _path + ".tags[" +
|
2206
|
+
})) && input.tags.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
2207
|
+
path: _path + ".tags[" + _index17 + "]",
|
2216
2208
|
expected: "SwaggerV2.IDocument.ITag",
|
2217
2209
|
value: elem
|
2218
|
-
})) && $vo93(elem, _path + ".tags[" +
|
2219
|
-
path: _path + ".tags[" +
|
2210
|
+
})) && $vo93(elem, _path + ".tags[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
|
2211
|
+
path: _path + ".tags[" + _index17 + "]",
|
2220
2212
|
expected: "SwaggerV2.IDocument.ITag",
|
2221
2213
|
value: elem
|
2222
2214
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2301,8 +2293,8 @@ class MigrateApplication {
|
|
2301
2293
|
path: _path + "[\"enum\"]",
|
2302
2294
|
expected: "(Array<boolean> | undefined)",
|
2303
2295
|
value: input["enum"]
|
2304
|
-
})) && input["enum"].map((elem,
|
2305
|
-
path: _path + "[\"enum\"][" +
|
2296
|
+
})) && input["enum"].map((elem, _index18) => "boolean" === typeof elem || $report(_exceptionable, {
|
2297
|
+
path: _path + "[\"enum\"][" + _index18 + "]",
|
2306
2298
|
expected: "boolean",
|
2307
2299
|
value: elem
|
2308
2300
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2330,41 +2322,41 @@ class MigrateApplication {
|
|
2330
2322
|
expected: "(boolean | undefined)",
|
2331
2323
|
value: input.deprecated
|
2332
2324
|
})].every(flag => flag);
|
2333
|
-
const $vo52 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
2325
|
+
const $vo52 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
2334
2326
|
path: _path + "[\"default\"]",
|
2335
|
-
expected: "number & Type<\"
|
2327
|
+
expected: "number & Type<\"int64\">",
|
2336
2328
|
value: input["default"]
|
2337
2329
|
})) || $report(_exceptionable, {
|
2338
2330
|
path: _path + "[\"default\"]",
|
2339
|
-
expected: "((number & Type<\"
|
2331
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2340
2332
|
value: input["default"]
|
2341
2333
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2342
2334
|
path: _path + "[\"enum\"]",
|
2343
2335
|
expected: "(Array<number> | undefined)",
|
2344
2336
|
value: input["enum"]
|
2345
|
-
})) && input["enum"].map((elem,
|
2346
|
-
path: _path + "[\"enum\"][" +
|
2337
|
+
})) && input["enum"].map((elem, _index19) => "number" === typeof elem || $report(_exceptionable, {
|
2338
|
+
path: _path + "[\"enum\"][" + _index19 + "]",
|
2347
2339
|
expected: "number",
|
2348
2340
|
value: elem
|
2349
2341
|
})).every(flag => flag) || $report(_exceptionable, {
|
2350
2342
|
path: _path + "[\"enum\"]",
|
2351
2343
|
expected: "(Array<number> | undefined)",
|
2352
2344
|
value: input["enum"]
|
2353
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
2345
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
2354
2346
|
path: _path + ".minimum",
|
2355
|
-
expected: "number & Type<\"
|
2347
|
+
expected: "number & Type<\"int64\">",
|
2356
2348
|
value: input.minimum
|
2357
2349
|
})) || $report(_exceptionable, {
|
2358
2350
|
path: _path + ".minimum",
|
2359
|
-
expected: "((number & Type<\"
|
2351
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2360
2352
|
value: input.minimum
|
2361
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
2353
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
2362
2354
|
path: _path + ".maximum",
|
2363
|
-
expected: "number & Type<\"
|
2355
|
+
expected: "number & Type<\"int64\">",
|
2364
2356
|
value: input.maximum
|
2365
2357
|
})) || $report(_exceptionable, {
|
2366
2358
|
path: _path + ".maximum",
|
2367
|
-
expected: "((number & Type<\"
|
2359
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2368
2360
|
value: input.maximum
|
2369
2361
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
2370
2362
|
path: _path + ".exclusiveMinimum",
|
@@ -2374,13 +2366,17 @@ class MigrateApplication {
|
|
2374
2366
|
path: _path + ".exclusiveMaximum",
|
2375
2367
|
expected: "(boolean | undefined)",
|
2376
2368
|
value: input.exclusiveMaximum
|
2377
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
2369
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
2378
2370
|
path: _path + ".multipleOf",
|
2379
|
-
expected: "number & Type<\"
|
2371
|
+
expected: "number & Type<\"uint64\">",
|
2372
|
+
value: input.multipleOf
|
2373
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
2374
|
+
path: _path + ".multipleOf",
|
2375
|
+
expected: "number & ExclusiveMinimum<0>",
|
2380
2376
|
value: input.multipleOf
|
2381
2377
|
})) || $report(_exceptionable, {
|
2382
2378
|
path: _path + ".multipleOf",
|
2383
|
-
expected: "((number & Type<\"
|
2379
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
2384
2380
|
value: input.multipleOf
|
2385
2381
|
}), "integer" === input.type || $report(_exceptionable, {
|
2386
2382
|
path: _path + ".type",
|
@@ -2411,8 +2407,8 @@ class MigrateApplication {
|
|
2411
2407
|
path: _path + "[\"enum\"]",
|
2412
2408
|
expected: "(Array<number> | undefined)",
|
2413
2409
|
value: input["enum"]
|
2414
|
-
})) && input["enum"].map((elem,
|
2415
|
-
path: _path + "[\"enum\"][" +
|
2410
|
+
})) && input["enum"].map((elem, _index20) => "number" === typeof elem || $report(_exceptionable, {
|
2411
|
+
path: _path + "[\"enum\"][" + _index20 + "]",
|
2416
2412
|
expected: "number",
|
2417
2413
|
value: elem
|
2418
2414
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2435,9 +2431,13 @@ class MigrateApplication {
|
|
2435
2431
|
path: _path + ".exclusiveMaximum",
|
2436
2432
|
expected: "(boolean | undefined)",
|
2437
2433
|
value: input.exclusiveMaximum
|
2438
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
2434
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
2439
2435
|
path: _path + ".multipleOf",
|
2440
|
-
expected: "
|
2436
|
+
expected: "number & ExclusiveMinimum<0>",
|
2437
|
+
value: input.multipleOf
|
2438
|
+
})) || $report(_exceptionable, {
|
2439
|
+
path: _path + ".multipleOf",
|
2440
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
2441
2441
|
value: input.multipleOf
|
2442
2442
|
}), "number" === input.type || $report(_exceptionable, {
|
2443
2443
|
path: _path + ".type",
|
@@ -2468,8 +2468,8 @@ class MigrateApplication {
|
|
2468
2468
|
path: _path + "[\"enum\"]",
|
2469
2469
|
expected: "(Array<string> | undefined)",
|
2470
2470
|
value: input["enum"]
|
2471
|
-
})) && input["enum"].map((elem,
|
2472
|
-
path: _path + "[\"enum\"][" +
|
2471
|
+
})) && input["enum"].map((elem, _index21) => "string" === typeof elem || $report(_exceptionable, {
|
2472
|
+
path: _path + "[\"enum\"][" + _index21 + "]",
|
2473
2473
|
expected: "string",
|
2474
2474
|
value: elem
|
2475
2475
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2484,21 +2484,21 @@ class MigrateApplication {
|
|
2484
2484
|
path: _path + ".pattern",
|
2485
2485
|
expected: "(string | undefined)",
|
2486
2486
|
value: input.pattern
|
2487
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
2487
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
2488
2488
|
path: _path + ".minLength",
|
2489
|
-
expected: "number & Type<\"
|
2489
|
+
expected: "number & Type<\"uint64\">",
|
2490
2490
|
value: input.minLength
|
2491
2491
|
})) || $report(_exceptionable, {
|
2492
2492
|
path: _path + ".minLength",
|
2493
|
-
expected: "((number & Type<\"
|
2493
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2494
2494
|
value: input.minLength
|
2495
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
2495
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
2496
2496
|
path: _path + ".maxLength",
|
2497
|
-
expected: "number & Type<\"
|
2497
|
+
expected: "number & Type<\"uint64\">",
|
2498
2498
|
value: input.maxLength
|
2499
2499
|
})) || $report(_exceptionable, {
|
2500
2500
|
path: _path + ".maxLength",
|
2501
|
-
expected: "((number & Type<\"
|
2501
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2502
2502
|
value: input.maxLength
|
2503
2503
|
}), "string" === input.type || $report(_exceptionable, {
|
2504
2504
|
path: _path + ".type",
|
@@ -2533,21 +2533,21 @@ class MigrateApplication {
|
|
2533
2533
|
path: _path + ".uniqueItems",
|
2534
2534
|
expected: "(boolean | undefined)",
|
2535
2535
|
value: input.uniqueItems
|
2536
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
2536
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
2537
2537
|
path: _path + ".minItems",
|
2538
|
-
expected: "number & Type<\"
|
2538
|
+
expected: "number & Type<\"uint64\">",
|
2539
2539
|
value: input.minItems
|
2540
2540
|
})) || $report(_exceptionable, {
|
2541
2541
|
path: _path + ".minItems",
|
2542
|
-
expected: "((number & Type<\"
|
2542
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2543
2543
|
value: input.minItems
|
2544
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
2544
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
2545
2545
|
path: _path + ".maxItems",
|
2546
|
-
expected: "number & Type<\"
|
2546
|
+
expected: "number & Type<\"uint64\">",
|
2547
2547
|
value: input.maxItems
|
2548
2548
|
})) || $report(_exceptionable, {
|
2549
2549
|
path: _path + ".maxItems",
|
2550
|
-
expected: "((number & Type<\"
|
2550
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
2551
2551
|
value: input.maxItems
|
2552
2552
|
}), "array" === input.type || $report(_exceptionable, {
|
2553
2553
|
path: _path + ".type",
|
@@ -2582,8 +2582,8 @@ class MigrateApplication {
|
|
2582
2582
|
path: _path + ".required",
|
2583
2583
|
expected: "(Array<string> | undefined)",
|
2584
2584
|
value: input.required
|
2585
|
-
})) && input.required.map((elem,
|
2586
|
-
path: _path + ".required[" +
|
2585
|
+
})) && input.required.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable, {
|
2586
|
+
path: _path + ".required[" + _index22 + "]",
|
2587
2587
|
expected: "string",
|
2588
2588
|
value: elem
|
2589
2589
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2690,12 +2690,12 @@ class MigrateApplication {
|
|
2690
2690
|
path: _path + ".allOf",
|
2691
2691
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2692
2692
|
value: input.allOf
|
2693
|
-
})) && input.allOf.map((elem,
|
2694
|
-
path: _path + ".allOf[" +
|
2693
|
+
})) && input.allOf.map((elem, _index23) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
2694
|
+
path: _path + ".allOf[" + _index23 + "]",
|
2695
2695
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
2696
2696
|
value: elem
|
2697
|
-
})) && $vu2(elem, _path + ".allOf[" +
|
2698
|
-
path: _path + ".allOf[" +
|
2697
|
+
})) && $vu2(elem, _path + ".allOf[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
|
2698
|
+
path: _path + ".allOf[" + _index23 + "]",
|
2699
2699
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
2700
2700
|
value: elem
|
2701
2701
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2719,12 +2719,12 @@ class MigrateApplication {
|
|
2719
2719
|
path: _path + "[\"x-anyOf\"]",
|
2720
2720
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2721
2721
|
value: input["x-anyOf"]
|
2722
|
-
})) && input["x-anyOf"].map((elem,
|
2723
|
-
path: _path + "[\"x-anyOf\"][" +
|
2722
|
+
})) && input["x-anyOf"].map((elem, _index24) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
2723
|
+
path: _path + "[\"x-anyOf\"][" + _index24 + "]",
|
2724
2724
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
2725
2725
|
value: elem
|
2726
|
-
})) && $vu2(elem, _path + "[\"x-anyOf\"][" +
|
2727
|
-
path: _path + "[\"x-anyOf\"][" +
|
2726
|
+
})) && $vu2(elem, _path + "[\"x-anyOf\"][" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
|
2727
|
+
path: _path + "[\"x-anyOf\"][" + _index24 + "]",
|
2728
2728
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
2729
2729
|
value: elem
|
2730
2730
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2748,12 +2748,12 @@ class MigrateApplication {
|
|
2748
2748
|
path: _path + "[\"x-oneOf\"]",
|
2749
2749
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2750
2750
|
value: input["x-oneOf"]
|
2751
|
-
})) && input["x-oneOf"].map((elem,
|
2752
|
-
path: _path + "[\"x-oneOf\"][" +
|
2751
|
+
})) && input["x-oneOf"].map((elem, _index25) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
2752
|
+
path: _path + "[\"x-oneOf\"][" + _index25 + "]",
|
2753
2753
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
2754
2754
|
value: elem
|
2755
|
-
})) && $vu2(elem, _path + "[\"x-oneOf\"][" +
|
2756
|
-
path: _path + "[\"x-oneOf\"][" +
|
2755
|
+
})) && $vu2(elem, _path + "[\"x-oneOf\"][" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
|
2756
|
+
path: _path + "[\"x-oneOf\"][" + _index25 + "]",
|
2757
2757
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
2758
2758
|
value: elem
|
2759
2759
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2795,8 +2795,8 @@ class MigrateApplication {
|
|
2795
2795
|
path: _path + "[\"enum\"]",
|
2796
2796
|
expected: "(Array<boolean> | undefined)",
|
2797
2797
|
value: input["enum"]
|
2798
|
-
})) && input["enum"].map((elem,
|
2799
|
-
path: _path + "[\"enum\"][" +
|
2798
|
+
})) && input["enum"].map((elem, _index26) => "boolean" === typeof elem || $report(_exceptionable, {
|
2799
|
+
path: _path + "[\"enum\"][" + _index26 + "]",
|
2800
2800
|
expected: "boolean",
|
2801
2801
|
value: elem
|
2802
2802
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2832,41 +2832,41 @@ class MigrateApplication {
|
|
2832
2832
|
expected: "string",
|
2833
2833
|
value: input["in"]
|
2834
2834
|
})].every(flag => flag);
|
2835
|
-
const $vo65 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
2835
|
+
const $vo65 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
2836
2836
|
path: _path + "[\"default\"]",
|
2837
|
-
expected: "number & Type<\"
|
2837
|
+
expected: "number & Type<\"int64\">",
|
2838
2838
|
value: input["default"]
|
2839
2839
|
})) || $report(_exceptionable, {
|
2840
2840
|
path: _path + "[\"default\"]",
|
2841
|
-
expected: "((number & Type<\"
|
2841
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2842
2842
|
value: input["default"]
|
2843
2843
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
2844
2844
|
path: _path + "[\"enum\"]",
|
2845
2845
|
expected: "(Array<number> | undefined)",
|
2846
2846
|
value: input["enum"]
|
2847
|
-
})) && input["enum"].map((elem,
|
2848
|
-
path: _path + "[\"enum\"][" +
|
2847
|
+
})) && input["enum"].map((elem, _index27) => "number" === typeof elem || $report(_exceptionable, {
|
2848
|
+
path: _path + "[\"enum\"][" + _index27 + "]",
|
2849
2849
|
expected: "number",
|
2850
2850
|
value: elem
|
2851
2851
|
})).every(flag => flag) || $report(_exceptionable, {
|
2852
2852
|
path: _path + "[\"enum\"]",
|
2853
2853
|
expected: "(Array<number> | undefined)",
|
2854
2854
|
value: input["enum"]
|
2855
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
2855
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
2856
2856
|
path: _path + ".minimum",
|
2857
|
-
expected: "number & Type<\"
|
2857
|
+
expected: "number & Type<\"int64\">",
|
2858
2858
|
value: input.minimum
|
2859
2859
|
})) || $report(_exceptionable, {
|
2860
2860
|
path: _path + ".minimum",
|
2861
|
-
expected: "((number & Type<\"
|
2861
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2862
2862
|
value: input.minimum
|
2863
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
2863
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
2864
2864
|
path: _path + ".maximum",
|
2865
|
-
expected: "number & Type<\"
|
2865
|
+
expected: "number & Type<\"int64\">",
|
2866
2866
|
value: input.maximum
|
2867
2867
|
})) || $report(_exceptionable, {
|
2868
2868
|
path: _path + ".maximum",
|
2869
|
-
expected: "((number & Type<\"
|
2869
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
2870
2870
|
value: input.maximum
|
2871
2871
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
2872
2872
|
path: _path + ".exclusiveMinimum",
|
@@ -2876,13 +2876,17 @@ class MigrateApplication {
|
|
2876
2876
|
path: _path + ".exclusiveMaximum",
|
2877
2877
|
expected: "(boolean | undefined)",
|
2878
2878
|
value: input.exclusiveMaximum
|
2879
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
2879
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
2880
2880
|
path: _path + ".multipleOf",
|
2881
|
-
expected: "number & Type<\"
|
2881
|
+
expected: "number & Type<\"uint64\">",
|
2882
|
+
value: input.multipleOf
|
2883
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
2884
|
+
path: _path + ".multipleOf",
|
2885
|
+
expected: "number & ExclusiveMinimum<0>",
|
2882
2886
|
value: input.multipleOf
|
2883
2887
|
})) || $report(_exceptionable, {
|
2884
2888
|
path: _path + ".multipleOf",
|
2885
|
-
expected: "((number & Type<\"
|
2889
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
2886
2890
|
value: input.multipleOf
|
2887
2891
|
}), "integer" === input.type || $report(_exceptionable, {
|
2888
2892
|
path: _path + ".type",
|
@@ -2921,8 +2925,8 @@ class MigrateApplication {
|
|
2921
2925
|
path: _path + "[\"enum\"]",
|
2922
2926
|
expected: "(Array<number> | undefined)",
|
2923
2927
|
value: input["enum"]
|
2924
|
-
})) && input["enum"].map((elem,
|
2925
|
-
path: _path + "[\"enum\"][" +
|
2928
|
+
})) && input["enum"].map((elem, _index28) => "number" === typeof elem || $report(_exceptionable, {
|
2929
|
+
path: _path + "[\"enum\"][" + _index28 + "]",
|
2926
2930
|
expected: "number",
|
2927
2931
|
value: elem
|
2928
2932
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -2945,9 +2949,13 @@ class MigrateApplication {
|
|
2945
2949
|
path: _path + ".exclusiveMaximum",
|
2946
2950
|
expected: "(boolean | undefined)",
|
2947
2951
|
value: input.exclusiveMaximum
|
2948
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
2952
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
2949
2953
|
path: _path + ".multipleOf",
|
2950
|
-
expected: "
|
2954
|
+
expected: "number & ExclusiveMinimum<0>",
|
2955
|
+
value: input.multipleOf
|
2956
|
+
})) || $report(_exceptionable, {
|
2957
|
+
path: _path + ".multipleOf",
|
2958
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
2951
2959
|
value: input.multipleOf
|
2952
2960
|
}), "number" === input.type || $report(_exceptionable, {
|
2953
2961
|
path: _path + ".type",
|
@@ -2986,8 +2994,8 @@ class MigrateApplication {
|
|
2986
2994
|
path: _path + "[\"enum\"]",
|
2987
2995
|
expected: "(Array<string> | undefined)",
|
2988
2996
|
value: input["enum"]
|
2989
|
-
})) && input["enum"].map((elem,
|
2990
|
-
path: _path + "[\"enum\"][" +
|
2997
|
+
})) && input["enum"].map((elem, _index29) => "string" === typeof elem || $report(_exceptionable, {
|
2998
|
+
path: _path + "[\"enum\"][" + _index29 + "]",
|
2991
2999
|
expected: "string",
|
2992
3000
|
value: elem
|
2993
3001
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3002,21 +3010,21 @@ class MigrateApplication {
|
|
3002
3010
|
path: _path + ".pattern",
|
3003
3011
|
expected: "(string | undefined)",
|
3004
3012
|
value: input.pattern
|
3005
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
3013
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
3006
3014
|
path: _path + ".minLength",
|
3007
|
-
expected: "number & Type<\"
|
3015
|
+
expected: "number & Type<\"uint64\">",
|
3008
3016
|
value: input.minLength
|
3009
3017
|
})) || $report(_exceptionable, {
|
3010
3018
|
path: _path + ".minLength",
|
3011
|
-
expected: "((number & Type<\"
|
3019
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3012
3020
|
value: input.minLength
|
3013
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
3021
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
3014
3022
|
path: _path + ".maxLength",
|
3015
|
-
expected: "number & Type<\"
|
3023
|
+
expected: "number & Type<\"uint64\">",
|
3016
3024
|
value: input.maxLength
|
3017
3025
|
})) || $report(_exceptionable, {
|
3018
3026
|
path: _path + ".maxLength",
|
3019
|
-
expected: "((number & Type<\"
|
3027
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3020
3028
|
value: input.maxLength
|
3021
3029
|
}), "string" === input.type || $report(_exceptionable, {
|
3022
3030
|
path: _path + ".type",
|
@@ -3059,21 +3067,21 @@ class MigrateApplication {
|
|
3059
3067
|
path: _path + ".uniqueItems",
|
3060
3068
|
expected: "(boolean | undefined)",
|
3061
3069
|
value: input.uniqueItems
|
3062
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
3070
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
3063
3071
|
path: _path + ".minItems",
|
3064
|
-
expected: "number & Type<\"
|
3072
|
+
expected: "number & Type<\"uint64\">",
|
3065
3073
|
value: input.minItems
|
3066
3074
|
})) || $report(_exceptionable, {
|
3067
3075
|
path: _path + ".minItems",
|
3068
|
-
expected: "((number & Type<\"
|
3076
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3069
3077
|
value: input.minItems
|
3070
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
3078
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
3071
3079
|
path: _path + ".maxItems",
|
3072
|
-
expected: "number & Type<\"
|
3080
|
+
expected: "number & Type<\"uint64\">",
|
3073
3081
|
value: input.maxItems
|
3074
3082
|
})) || $report(_exceptionable, {
|
3075
3083
|
path: _path + ".maxItems",
|
3076
|
-
expected: "((number & Type<\"
|
3084
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
3077
3085
|
value: input.maxItems
|
3078
3086
|
}), "array" === input.type || $report(_exceptionable, {
|
3079
3087
|
path: _path + ".type",
|
@@ -3116,8 +3124,8 @@ class MigrateApplication {
|
|
3116
3124
|
path: _path + ".required",
|
3117
3125
|
expected: "(Array<string> | undefined)",
|
3118
3126
|
value: input.required
|
3119
|
-
})) && input.required.map((elem,
|
3120
|
-
path: _path + ".required[" +
|
3127
|
+
})) && input.required.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable, {
|
3128
|
+
path: _path + ".required[" + _index30 + "]",
|
3121
3129
|
expected: "string",
|
3122
3130
|
value: elem
|
3123
3131
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3256,12 +3264,12 @@ class MigrateApplication {
|
|
3256
3264
|
path: _path + ".allOf",
|
3257
3265
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3258
3266
|
value: input.allOf
|
3259
|
-
})) && input.allOf.map((elem,
|
3260
|
-
path: _path + ".allOf[" +
|
3267
|
+
})) && input.allOf.map((elem, _index31) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
3268
|
+
path: _path + ".allOf[" + _index31 + "]",
|
3261
3269
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3262
3270
|
value: elem
|
3263
|
-
})) && $vu2(elem, _path + ".allOf[" +
|
3264
|
-
path: _path + ".allOf[" +
|
3271
|
+
})) && $vu2(elem, _path + ".allOf[" + _index31 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3272
|
+
path: _path + ".allOf[" + _index31 + "]",
|
3265
3273
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3266
3274
|
value: elem
|
3267
3275
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3293,12 +3301,12 @@ class MigrateApplication {
|
|
3293
3301
|
path: _path + "[\"x-anyOf\"]",
|
3294
3302
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3295
3303
|
value: input["x-anyOf"]
|
3296
|
-
})) && input["x-anyOf"].map((elem,
|
3297
|
-
path: _path + "[\"x-anyOf\"][" +
|
3304
|
+
})) && input["x-anyOf"].map((elem, _index32) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
3305
|
+
path: _path + "[\"x-anyOf\"][" + _index32 + "]",
|
3298
3306
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3299
3307
|
value: elem
|
3300
|
-
})) && $vu2(elem, _path + "[\"x-anyOf\"][" +
|
3301
|
-
path: _path + "[\"x-anyOf\"][" +
|
3308
|
+
})) && $vu2(elem, _path + "[\"x-anyOf\"][" + _index32 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3309
|
+
path: _path + "[\"x-anyOf\"][" + _index32 + "]",
|
3302
3310
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3303
3311
|
value: elem
|
3304
3312
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3330,12 +3338,12 @@ class MigrateApplication {
|
|
3330
3338
|
path: _path + "[\"x-oneOf\"]",
|
3331
3339
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3332
3340
|
value: input["x-oneOf"]
|
3333
|
-
})) && input["x-oneOf"].map((elem,
|
3334
|
-
path: _path + "[\"x-oneOf\"][" +
|
3341
|
+
})) && input["x-oneOf"].map((elem, _index33) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
3342
|
+
path: _path + "[\"x-oneOf\"][" + _index33 + "]",
|
3335
3343
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3336
3344
|
value: elem
|
3337
|
-
})) && $vu2(elem, _path + "[\"x-oneOf\"][" +
|
3338
|
-
path: _path + "[\"x-oneOf\"][" +
|
3345
|
+
})) && $vu2(elem, _path + "[\"x-oneOf\"][" + _index33 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3346
|
+
path: _path + "[\"x-oneOf\"][" + _index33 + "]",
|
3339
3347
|
expected: "(SwaggerV2.IJsonSchema.IAllOf | SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3340
3348
|
value: elem
|
3341
3349
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3589,12 +3597,12 @@ class MigrateApplication {
|
|
3589
3597
|
path: _path + ".parameters",
|
3590
3598
|
expected: "(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",
|
3591
3599
|
value: input.parameters
|
3592
|
-
})) && input.parameters.map((elem,
|
3593
|
-
path: _path + ".parameters[" +
|
3600
|
+
})) && input.parameters.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
3601
|
+
path: _path + ".parameters[" + _index34 + "]",
|
3594
3602
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
3595
3603
|
value: elem
|
3596
|
-
})) && $vu3(elem, _path + ".parameters[" +
|
3597
|
-
path: _path + ".parameters[" +
|
3604
|
+
})) && $vu3(elem, _path + ".parameters[" + _index34 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3605
|
+
path: _path + ".parameters[" + _index34 + "]",
|
3598
3606
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
3599
3607
|
value: elem
|
3600
3608
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3691,12 +3699,12 @@ class MigrateApplication {
|
|
3691
3699
|
path: _path + ".parameters",
|
3692
3700
|
expected: "(Array<IParameter | IReference<`#/definitions/parameters/${string}`>> | undefined)",
|
3693
3701
|
value: input.parameters
|
3694
|
-
})) && input.parameters.map((elem,
|
3695
|
-
path: _path + ".parameters[" +
|
3702
|
+
})) && input.parameters.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
3703
|
+
path: _path + ".parameters[" + _index35 + "]",
|
3696
3704
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
3697
3705
|
value: elem
|
3698
|
-
})) && $vu4(elem, _path + ".parameters[" +
|
3699
|
-
path: _path + ".parameters[" +
|
3706
|
+
})) && $vu4(elem, _path + ".parameters[" + _index35 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3707
|
+
path: _path + ".parameters[" + _index35 + "]",
|
3700
3708
|
expected: "(IAllOf & { name: string; in: string; description?: string | undefined; } | IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IJsonSchema.IReference<`#/definitions/parameters/${string}`> | SwaggerV2.IOperation.IBodyParameter)",
|
3701
3709
|
value: elem
|
3702
3710
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3723,12 +3731,12 @@ class MigrateApplication {
|
|
3723
3731
|
path: _path + ".security",
|
3724
3732
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
3725
3733
|
value: input.security
|
3726
|
-
})) && input.security.map((elem,
|
3727
|
-
path: _path + ".security[" +
|
3734
|
+
})) && input.security.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
3735
|
+
path: _path + ".security[" + _index36 + "]",
|
3728
3736
|
expected: "Record<string, Array<string>>",
|
3729
3737
|
value: elem
|
3730
|
-
})) && $vo42(elem, _path + ".security[" +
|
3731
|
-
path: _path + ".security[" +
|
3738
|
+
})) && $vo42(elem, _path + ".security[" + _index36 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3739
|
+
path: _path + ".security[" + _index36 + "]",
|
3732
3740
|
expected: "Record<string, Array<string>>",
|
3733
3741
|
value: elem
|
3734
3742
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3739,8 +3747,8 @@ class MigrateApplication {
|
|
3739
3747
|
path: _path + ".tags",
|
3740
3748
|
expected: "(Array<string> | undefined)",
|
3741
3749
|
value: input.tags
|
3742
|
-
})) && input.tags.map((elem,
|
3743
|
-
path: _path + ".tags[" +
|
3750
|
+
})) && input.tags.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable, {
|
3751
|
+
path: _path + ".tags[" + _index37 + "]",
|
3744
3752
|
expected: "string",
|
3745
3753
|
value: elem
|
3746
3754
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3825,12 +3833,12 @@ class MigrateApplication {
|
|
3825
3833
|
path: _path + ".servers",
|
3826
3834
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
3827
3835
|
value: input.servers
|
3828
|
-
})) && input.servers.map((elem,
|
3829
|
-
path: _path + ".servers[" +
|
3836
|
+
})) && input.servers.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
3837
|
+
path: _path + ".servers[" + _index38 + "]",
|
3830
3838
|
expected: "OpenApiV3.IServer",
|
3831
3839
|
value: elem
|
3832
|
-
})) && $vo95(elem, _path + ".servers[" +
|
3833
|
-
path: _path + ".servers[" +
|
3840
|
+
})) && $vo95(elem, _path + ".servers[" + _index38 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3841
|
+
path: _path + ".servers[" + _index38 + "]",
|
3834
3842
|
expected: "OpenApiV3.IServer",
|
3835
3843
|
value: elem
|
3836
3844
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3865,12 +3873,12 @@ class MigrateApplication {
|
|
3865
3873
|
path: _path + ".security",
|
3866
3874
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
3867
3875
|
value: input.security
|
3868
|
-
})) && input.security.map((elem,
|
3869
|
-
path: _path + ".security[" +
|
3876
|
+
})) && input.security.map((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
3877
|
+
path: _path + ".security[" + _index39 + "]",
|
3870
3878
|
expected: "Record<string, Array<string>>",
|
3871
3879
|
value: elem
|
3872
|
-
})) && $vo42(elem, _path + ".security[" +
|
3873
|
-
path: _path + ".security[" +
|
3880
|
+
})) && $vo42(elem, _path + ".security[" + _index39 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3881
|
+
path: _path + ".security[" + _index39 + "]",
|
3874
3882
|
expected: "Record<string, Array<string>>",
|
3875
3883
|
value: elem
|
3876
3884
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3881,12 +3889,12 @@ class MigrateApplication {
|
|
3881
3889
|
path: _path + ".tags",
|
3882
3890
|
expected: "(Array<OpenApiV3.IDocument.ITag> | undefined)",
|
3883
3891
|
value: input.tags
|
3884
|
-
})) && input.tags.map((elem,
|
3885
|
-
path: _path + ".tags[" +
|
3892
|
+
})) && input.tags.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
3893
|
+
path: _path + ".tags[" + _index40 + "]",
|
3886
3894
|
expected: "OpenApiV3.IDocument.ITag",
|
3887
3895
|
value: elem
|
3888
|
-
})) && $vo144(elem, _path + ".tags[" +
|
3889
|
-
path: _path + ".tags[" +
|
3896
|
+
})) && $vo144(elem, _path + ".tags[" + _index40 + "]", true && _exceptionable) || $report(_exceptionable, {
|
3897
|
+
path: _path + ".tags[" + _index40 + "]",
|
3890
3898
|
expected: "OpenApiV3.IDocument.ITag",
|
3891
3899
|
value: elem
|
3892
3900
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -3933,8 +3941,8 @@ class MigrateApplication {
|
|
3933
3941
|
path: _path + "[\"enum\"]",
|
3934
3942
|
expected: "(Array<string> | undefined)",
|
3935
3943
|
value: input["enum"]
|
3936
|
-
})) && input["enum"].map((elem,
|
3937
|
-
path: _path + "[\"enum\"][" +
|
3944
|
+
})) && input["enum"].map((elem, _index41) => "string" === typeof elem || $report(_exceptionable, {
|
3945
|
+
path: _path + "[\"enum\"][" + _index41 + "]",
|
3938
3946
|
expected: "string",
|
3939
3947
|
value: elem
|
3940
3948
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4072,8 +4080,8 @@ class MigrateApplication {
|
|
4072
4080
|
path: _path + "[\"enum\"]",
|
4073
4081
|
expected: "(Array<boolean> | undefined)",
|
4074
4082
|
value: input["enum"]
|
4075
|
-
})) && input["enum"].map((elem,
|
4076
|
-
path: _path + "[\"enum\"][" +
|
4083
|
+
})) && input["enum"].map((elem, _index42) => "boolean" === typeof elem || $report(_exceptionable, {
|
4084
|
+
path: _path + "[\"enum\"][" + _index42 + "]",
|
4077
4085
|
expected: "boolean",
|
4078
4086
|
value: elem
|
4079
4087
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4101,41 +4109,41 @@ class MigrateApplication {
|
|
4101
4109
|
expected: "(boolean | undefined)",
|
4102
4110
|
value: input.deprecated
|
4103
4111
|
})].every(flag => flag);
|
4104
|
-
const $vo104 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
4112
|
+
const $vo104 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
4105
4113
|
path: _path + "[\"default\"]",
|
4106
|
-
expected: "number & Type<\"
|
4114
|
+
expected: "number & Type<\"int64\">",
|
4107
4115
|
value: input["default"]
|
4108
4116
|
})) || $report(_exceptionable, {
|
4109
4117
|
path: _path + "[\"default\"]",
|
4110
|
-
expected: "((number & Type<\"
|
4118
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
4111
4119
|
value: input["default"]
|
4112
4120
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
4113
4121
|
path: _path + "[\"enum\"]",
|
4114
4122
|
expected: "(Array<number> | undefined)",
|
4115
4123
|
value: input["enum"]
|
4116
|
-
})) && input["enum"].map((elem,
|
4117
|
-
path: _path + "[\"enum\"][" +
|
4124
|
+
})) && input["enum"].map((elem, _index43) => "number" === typeof elem || $report(_exceptionable, {
|
4125
|
+
path: _path + "[\"enum\"][" + _index43 + "]",
|
4118
4126
|
expected: "number",
|
4119
4127
|
value: elem
|
4120
4128
|
})).every(flag => flag) || $report(_exceptionable, {
|
4121
4129
|
path: _path + "[\"enum\"]",
|
4122
4130
|
expected: "(Array<number> | undefined)",
|
4123
4131
|
value: input["enum"]
|
4124
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
4132
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
4125
4133
|
path: _path + ".minimum",
|
4126
|
-
expected: "number & Type<\"
|
4134
|
+
expected: "number & Type<\"int64\">",
|
4127
4135
|
value: input.minimum
|
4128
4136
|
})) || $report(_exceptionable, {
|
4129
4137
|
path: _path + ".minimum",
|
4130
|
-
expected: "((number & Type<\"
|
4138
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
4131
4139
|
value: input.minimum
|
4132
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
4140
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
4133
4141
|
path: _path + ".maximum",
|
4134
|
-
expected: "number & Type<\"
|
4142
|
+
expected: "number & Type<\"int64\">",
|
4135
4143
|
value: input.maximum
|
4136
4144
|
})) || $report(_exceptionable, {
|
4137
4145
|
path: _path + ".maximum",
|
4138
|
-
expected: "((number & Type<\"
|
4146
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
4139
4147
|
value: input.maximum
|
4140
4148
|
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
4141
4149
|
path: _path + ".exclusiveMinimum",
|
@@ -4145,13 +4153,17 @@ class MigrateApplication {
|
|
4145
4153
|
path: _path + ".exclusiveMaximum",
|
4146
4154
|
expected: "(boolean | undefined)",
|
4147
4155
|
value: input.exclusiveMaximum
|
4148
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
4156
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
4149
4157
|
path: _path + ".multipleOf",
|
4150
|
-
expected: "number & Type<\"
|
4158
|
+
expected: "number & Type<\"uint64\">",
|
4159
|
+
value: input.multipleOf
|
4160
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
4161
|
+
path: _path + ".multipleOf",
|
4162
|
+
expected: "number & ExclusiveMinimum<0>",
|
4151
4163
|
value: input.multipleOf
|
4152
4164
|
})) || $report(_exceptionable, {
|
4153
4165
|
path: _path + ".multipleOf",
|
4154
|
-
expected: "((number & Type<\"
|
4166
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
4155
4167
|
value: input.multipleOf
|
4156
4168
|
}), "integer" === input.type || $report(_exceptionable, {
|
4157
4169
|
path: _path + ".type",
|
@@ -4182,8 +4194,8 @@ class MigrateApplication {
|
|
4182
4194
|
path: _path + "[\"enum\"]",
|
4183
4195
|
expected: "(Array<number> | undefined)",
|
4184
4196
|
value: input["enum"]
|
4185
|
-
})) && input["enum"].map((elem,
|
4186
|
-
path: _path + "[\"enum\"][" +
|
4197
|
+
})) && input["enum"].map((elem, _index44) => "number" === typeof elem || $report(_exceptionable, {
|
4198
|
+
path: _path + "[\"enum\"][" + _index44 + "]",
|
4187
4199
|
expected: "number",
|
4188
4200
|
value: elem
|
4189
4201
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4206,9 +4218,13 @@ class MigrateApplication {
|
|
4206
4218
|
path: _path + ".exclusiveMaximum",
|
4207
4219
|
expected: "(boolean | undefined)",
|
4208
4220
|
value: input.exclusiveMaximum
|
4209
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
4221
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
4210
4222
|
path: _path + ".multipleOf",
|
4211
|
-
expected: "
|
4223
|
+
expected: "number & ExclusiveMinimum<0>",
|
4224
|
+
value: input.multipleOf
|
4225
|
+
})) || $report(_exceptionable, {
|
4226
|
+
path: _path + ".multipleOf",
|
4227
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
4212
4228
|
value: input.multipleOf
|
4213
4229
|
}), "number" === input.type || $report(_exceptionable, {
|
4214
4230
|
path: _path + ".type",
|
@@ -4239,8 +4255,8 @@ class MigrateApplication {
|
|
4239
4255
|
path: _path + "[\"enum\"]",
|
4240
4256
|
expected: "(Array<string> | undefined)",
|
4241
4257
|
value: input["enum"]
|
4242
|
-
})) && input["enum"].map((elem,
|
4243
|
-
path: _path + "[\"enum\"][" +
|
4258
|
+
})) && input["enum"].map((elem, _index45) => "string" === typeof elem || $report(_exceptionable, {
|
4259
|
+
path: _path + "[\"enum\"][" + _index45 + "]",
|
4244
4260
|
expected: "string",
|
4245
4261
|
value: elem
|
4246
4262
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4255,21 +4271,21 @@ class MigrateApplication {
|
|
4255
4271
|
path: _path + ".pattern",
|
4256
4272
|
expected: "(string | undefined)",
|
4257
4273
|
value: input.pattern
|
4258
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
4274
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
4259
4275
|
path: _path + ".minLength",
|
4260
|
-
expected: "number & Type<\"
|
4276
|
+
expected: "number & Type<\"uint64\">",
|
4261
4277
|
value: input.minLength
|
4262
4278
|
})) || $report(_exceptionable, {
|
4263
4279
|
path: _path + ".minLength",
|
4264
|
-
expected: "((number & Type<\"
|
4280
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4265
4281
|
value: input.minLength
|
4266
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
4282
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
4267
4283
|
path: _path + ".maxLength",
|
4268
|
-
expected: "number & Type<\"
|
4284
|
+
expected: "number & Type<\"uint64\">",
|
4269
4285
|
value: input.maxLength
|
4270
4286
|
})) || $report(_exceptionable, {
|
4271
4287
|
path: _path + ".maxLength",
|
4272
|
-
expected: "((number & Type<\"
|
4288
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4273
4289
|
value: input.maxLength
|
4274
4290
|
}), "string" === input.type || $report(_exceptionable, {
|
4275
4291
|
path: _path + ".type",
|
@@ -4304,21 +4320,21 @@ class MigrateApplication {
|
|
4304
4320
|
path: _path + ".uniqueItems",
|
4305
4321
|
expected: "(boolean | undefined)",
|
4306
4322
|
value: input.uniqueItems
|
4307
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
4323
|
+
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
4308
4324
|
path: _path + ".minItems",
|
4309
|
-
expected: "number & Type<\"
|
4325
|
+
expected: "number & Type<\"uint64\">",
|
4310
4326
|
value: input.minItems
|
4311
4327
|
})) || $report(_exceptionable, {
|
4312
4328
|
path: _path + ".minItems",
|
4313
|
-
expected: "((number & Type<\"
|
4329
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4314
4330
|
value: input.minItems
|
4315
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
4331
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
4316
4332
|
path: _path + ".maxItems",
|
4317
|
-
expected: "number & Type<\"
|
4333
|
+
expected: "number & Type<\"uint64\">",
|
4318
4334
|
value: input.maxItems
|
4319
4335
|
})) || $report(_exceptionable, {
|
4320
4336
|
path: _path + ".maxItems",
|
4321
|
-
expected: "((number & Type<\"
|
4337
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
4322
4338
|
value: input.maxItems
|
4323
4339
|
}), "array" === input.type || $report(_exceptionable, {
|
4324
4340
|
path: _path + ".type",
|
@@ -4353,8 +4369,8 @@ class MigrateApplication {
|
|
4353
4369
|
path: _path + ".required",
|
4354
4370
|
expected: "(Array<string> | undefined)",
|
4355
4371
|
value: input.required
|
4356
|
-
})) && input.required.map((elem,
|
4357
|
-
path: _path + ".required[" +
|
4372
|
+
})) && input.required.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable, {
|
4373
|
+
path: _path + ".required[" + _index46 + "]",
|
4358
4374
|
expected: "string",
|
4359
4375
|
value: elem
|
4360
4376
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4461,12 +4477,12 @@ class MigrateApplication {
|
|
4461
4477
|
path: _path + ".allOf",
|
4462
4478
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4463
4479
|
value: input.allOf
|
4464
|
-
})) && input.allOf.map((elem,
|
4465
|
-
path: _path + ".allOf[" +
|
4480
|
+
})) && input.allOf.map((elem, _index47) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
4481
|
+
path: _path + ".allOf[" + _index47 + "]",
|
4466
4482
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4467
4483
|
value: elem
|
4468
|
-
})) && $vu5(elem, _path + ".allOf[" +
|
4469
|
-
path: _path + ".allOf[" +
|
4484
|
+
})) && $vu5(elem, _path + ".allOf[" + _index47 + "]", true && _exceptionable) || $report(_exceptionable, {
|
4485
|
+
path: _path + ".allOf[" + _index47 + "]",
|
4470
4486
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4471
4487
|
value: elem
|
4472
4488
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4490,12 +4506,12 @@ class MigrateApplication {
|
|
4490
4506
|
path: _path + ".anyOf",
|
4491
4507
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4492
4508
|
value: input.anyOf
|
4493
|
-
})) && input.anyOf.map((elem,
|
4494
|
-
path: _path + ".anyOf[" +
|
4509
|
+
})) && input.anyOf.map((elem, _index48) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
4510
|
+
path: _path + ".anyOf[" + _index48 + "]",
|
4495
4511
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4496
4512
|
value: elem
|
4497
|
-
})) && $vu5(elem, _path + ".anyOf[" +
|
4498
|
-
path: _path + ".anyOf[" +
|
4513
|
+
})) && $vu5(elem, _path + ".anyOf[" + _index48 + "]", true && _exceptionable) || $report(_exceptionable, {
|
4514
|
+
path: _path + ".anyOf[" + _index48 + "]",
|
4499
4515
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4500
4516
|
value: elem
|
4501
4517
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4519,12 +4535,12 @@ class MigrateApplication {
|
|
4519
4535
|
path: _path + ".oneOf",
|
4520
4536
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4521
4537
|
value: input.oneOf
|
4522
|
-
})) && input.oneOf.map((elem,
|
4523
|
-
path: _path + ".oneOf[" +
|
4538
|
+
})) && input.oneOf.map((elem, _index49) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
4539
|
+
path: _path + ".oneOf[" + _index49 + "]",
|
4524
4540
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4525
4541
|
value: elem
|
4526
|
-
})) && $vu5(elem, _path + ".oneOf[" +
|
4527
|
-
path: _path + ".oneOf[" +
|
4542
|
+
})) && $vu5(elem, _path + ".oneOf[" + _index49 + "]", true && _exceptionable) || $report(_exceptionable, {
|
4543
|
+
path: _path + ".oneOf[" + _index49 + "]",
|
4528
4544
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4529
4545
|
value: elem
|
4530
4546
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4935,12 +4951,12 @@ class MigrateApplication {
|
|
4935
4951
|
path: _path + ".parameters",
|
4936
4952
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",
|
4937
4953
|
value: input.parameters
|
4938
|
-
})) && input.parameters.map((elem,
|
4939
|
-
path: _path + ".parameters[" +
|
4954
|
+
})) && input.parameters.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
4955
|
+
path: _path + ".parameters[" + _index50 + "]",
|
4940
4956
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
4941
4957
|
value: elem
|
4942
|
-
})) && $vu6(elem, _path + ".parameters[" +
|
4943
|
-
path: _path + ".parameters[" +
|
4958
|
+
})) && $vu6(elem, _path + ".parameters[" + _index50 + "]", true && _exceptionable) || $report(_exceptionable, {
|
4959
|
+
path: _path + ".parameters[" + _index50 + "]",
|
4944
4960
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
4945
4961
|
value: elem
|
4946
4962
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -4951,12 +4967,12 @@ class MigrateApplication {
|
|
4951
4967
|
path: _path + ".servers",
|
4952
4968
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
4953
4969
|
value: input.servers
|
4954
|
-
})) && input.servers.map((elem,
|
4955
|
-
path: _path + ".servers[" +
|
4970
|
+
})) && input.servers.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
4971
|
+
path: _path + ".servers[" + _index51 + "]",
|
4956
4972
|
expected: "OpenApiV3.IServer",
|
4957
4973
|
value: elem
|
4958
|
-
})) && $vo95(elem, _path + ".servers[" +
|
4959
|
-
path: _path + ".servers[" +
|
4974
|
+
})) && $vo95(elem, _path + ".servers[" + _index51 + "]", true && _exceptionable) || $report(_exceptionable, {
|
4975
|
+
path: _path + ".servers[" + _index51 + "]",
|
4960
4976
|
expected: "OpenApiV3.IServer",
|
4961
4977
|
value: elem
|
4962
4978
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5061,12 +5077,12 @@ class MigrateApplication {
|
|
5061
5077
|
path: _path + ".parameters",
|
5062
5078
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>> | undefined)",
|
5063
5079
|
value: input.parameters
|
5064
|
-
})) && input.parameters.map((elem,
|
5065
|
-
path: _path + ".parameters[" +
|
5080
|
+
})) && input.parameters.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
5081
|
+
path: _path + ".parameters[" + _index52 + "]",
|
5066
5082
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
5067
5083
|
value: elem
|
5068
|
-
})) && $vu6(elem, _path + ".parameters[" +
|
5069
|
-
path: _path + ".parameters[" +
|
5084
|
+
})) && $vu6(elem, _path + ".parameters[" + _index52 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5085
|
+
path: _path + ".parameters[" + _index52 + "]",
|
5070
5086
|
expected: "(OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3.IOperation.IParameter)",
|
5071
5087
|
value: elem
|
5072
5088
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5093,12 +5109,12 @@ class MigrateApplication {
|
|
5093
5109
|
path: _path + ".servers",
|
5094
5110
|
expected: "(Array<OpenApiV3.IServer> | undefined)",
|
5095
5111
|
value: input.servers
|
5096
|
-
})) && input.servers.map((elem,
|
5097
|
-
path: _path + ".servers[" +
|
5112
|
+
})) && input.servers.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
5113
|
+
path: _path + ".servers[" + _index53 + "]",
|
5098
5114
|
expected: "OpenApiV3.IServer",
|
5099
5115
|
value: elem
|
5100
|
-
})) && $vo95(elem, _path + ".servers[" +
|
5101
|
-
path: _path + ".servers[" +
|
5116
|
+
})) && $vo95(elem, _path + ".servers[" + _index53 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5117
|
+
path: _path + ".servers[" + _index53 + "]",
|
5102
5118
|
expected: "OpenApiV3.IServer",
|
5103
5119
|
value: elem
|
5104
5120
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5117,12 +5133,12 @@ class MigrateApplication {
|
|
5117
5133
|
path: _path + ".security",
|
5118
5134
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
5119
5135
|
value: input.security
|
5120
|
-
})) && input.security.map((elem,
|
5121
|
-
path: _path + ".security[" +
|
5136
|
+
})) && input.security.map((elem, _index54) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
5137
|
+
path: _path + ".security[" + _index54 + "]",
|
5122
5138
|
expected: "Record<string, Array<string>>",
|
5123
5139
|
value: elem
|
5124
|
-
})) && $vo42(elem, _path + ".security[" +
|
5125
|
-
path: _path + ".security[" +
|
5140
|
+
})) && $vo42(elem, _path + ".security[" + _index54 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5141
|
+
path: _path + ".security[" + _index54 + "]",
|
5126
5142
|
expected: "Record<string, Array<string>>",
|
5127
5143
|
value: elem
|
5128
5144
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5133,8 +5149,8 @@ class MigrateApplication {
|
|
5133
5149
|
path: _path + ".tags",
|
5134
5150
|
expected: "(Array<string> | undefined)",
|
5135
5151
|
value: input.tags
|
5136
|
-
})) && input.tags.map((elem,
|
5137
|
-
path: _path + ".tags[" +
|
5152
|
+
})) && input.tags.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable, {
|
5153
|
+
path: _path + ".tags[" + _index55 + "]",
|
5138
5154
|
expected: "string",
|
5139
5155
|
value: elem
|
5140
5156
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5211,12 +5227,12 @@ class MigrateApplication {
|
|
5211
5227
|
path: _path + ".servers",
|
5212
5228
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
5213
5229
|
value: input.servers
|
5214
|
-
})) && input.servers.map((elem,
|
5215
|
-
path: _path + ".servers[" +
|
5230
|
+
})) && input.servers.map((elem, _index56) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
5231
|
+
path: _path + ".servers[" + _index56 + "]",
|
5216
5232
|
expected: "OpenApiV3_1.IServer",
|
5217
5233
|
value: elem
|
5218
|
-
})) && $vo146(elem, _path + ".servers[" +
|
5219
|
-
path: _path + ".servers[" +
|
5234
|
+
})) && $vo146(elem, _path + ".servers[" + _index56 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5235
|
+
path: _path + ".servers[" + _index56 + "]",
|
5220
5236
|
expected: "OpenApiV3_1.IServer",
|
5221
5237
|
value: elem
|
5222
5238
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5259,12 +5275,12 @@ class MigrateApplication {
|
|
5259
5275
|
path: _path + ".security",
|
5260
5276
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
5261
5277
|
value: input.security
|
5262
|
-
})) && input.security.map((elem,
|
5263
|
-
path: _path + ".security[" +
|
5278
|
+
})) && input.security.map((elem, _index57) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
5279
|
+
path: _path + ".security[" + _index57 + "]",
|
5264
5280
|
expected: "Record<string, Array<string>>",
|
5265
5281
|
value: elem
|
5266
|
-
})) && $vo42(elem, _path + ".security[" +
|
5267
|
-
path: _path + ".security[" +
|
5282
|
+
})) && $vo42(elem, _path + ".security[" + _index57 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5283
|
+
path: _path + ".security[" + _index57 + "]",
|
5268
5284
|
expected: "Record<string, Array<string>>",
|
5269
5285
|
value: elem
|
5270
5286
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5275,12 +5291,12 @@ class MigrateApplication {
|
|
5275
5291
|
path: _path + ".tags",
|
5276
5292
|
expected: "(Array<OpenApiV3_1.IDocument.ITag> | undefined)",
|
5277
5293
|
value: input.tags
|
5278
|
-
})) && input.tags.map((elem,
|
5279
|
-
path: _path + ".tags[" +
|
5294
|
+
})) && input.tags.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
5295
|
+
path: _path + ".tags[" + _index58 + "]",
|
5280
5296
|
expected: "OpenApiV3_1.IDocument.ITag",
|
5281
5297
|
value: elem
|
5282
|
-
})) && $vo199(elem, _path + ".tags[" +
|
5283
|
-
path: _path + ".tags[" +
|
5298
|
+
})) && $vo199(elem, _path + ".tags[" + _index58 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5299
|
+
path: _path + ".tags[" + _index58 + "]",
|
5284
5300
|
expected: "OpenApiV3_1.IDocument.ITag",
|
5285
5301
|
value: elem
|
5286
5302
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5331,8 +5347,8 @@ class MigrateApplication {
|
|
5331
5347
|
path: _path + "[\"enum\"]",
|
5332
5348
|
expected: "Array<> & MinItems<1>",
|
5333
5349
|
value: input["enum"]
|
5334
|
-
})) && input["enum"].map((elem,
|
5335
|
-
path: _path + "[\"enum\"][" +
|
5350
|
+
})) && input["enum"].map((elem, _index59) => "string" === typeof elem || $report(_exceptionable, {
|
5351
|
+
path: _path + "[\"enum\"][" + _index59 + "]",
|
5336
5352
|
expected: "string",
|
5337
5353
|
value: elem
|
5338
5354
|
})).every(flag => flag)) || $report(_exceptionable, {
|
@@ -5482,8 +5498,8 @@ class MigrateApplication {
|
|
5482
5498
|
path: _path + ".type",
|
5483
5499
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\">",
|
5484
5500
|
value: input.type
|
5485
|
-
})) && input.type.map((elem,
|
5486
|
-
path: _path + ".type[" +
|
5501
|
+
})) && input.type.map((elem, _index60) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || $report(_exceptionable, {
|
5502
|
+
path: _path + ".type[" + _index60 + "]",
|
5487
5503
|
expected: "(\"array\" | \"boolean\" | \"integer\" | \"number\" | \"object\" | \"string\")",
|
5488
5504
|
value: elem
|
5489
5505
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5534,9 +5550,13 @@ class MigrateApplication {
|
|
5534
5550
|
path: _path + ".exclusiveMaximum",
|
5535
5551
|
expected: "(boolean | number | undefined)",
|
5536
5552
|
value: input.exclusiveMaximum
|
5537
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
5553
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
5538
5554
|
path: _path + ".multipleOf",
|
5539
|
-
expected: "
|
5555
|
+
expected: "number & ExclusiveMinimum<0>",
|
5556
|
+
value: input.multipleOf
|
5557
|
+
})) || $report(_exceptionable, {
|
5558
|
+
path: _path + ".multipleOf",
|
5559
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
5540
5560
|
value: input.multipleOf
|
5541
5561
|
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || $report(_exceptionable, {
|
5542
5562
|
path: _path + ".contentMediaType",
|
@@ -5550,21 +5570,21 @@ class MigrateApplication {
|
|
5550
5570
|
path: _path + ".pattern",
|
5551
5571
|
expected: "(string | undefined)",
|
5552
5572
|
value: input.pattern
|
5553
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
5573
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
5554
5574
|
path: _path + ".minLength",
|
5555
|
-
expected: "number & Type<\"
|
5575
|
+
expected: "number & Type<\"uint64\">",
|
5556
5576
|
value: input.minLength
|
5557
5577
|
})) || $report(_exceptionable, {
|
5558
5578
|
path: _path + ".minLength",
|
5559
|
-
expected: "((number & Type<\"
|
5579
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5560
5580
|
value: input.minLength
|
5561
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
5581
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
5562
5582
|
path: _path + ".maxLength",
|
5563
|
-
expected: "number & Type<\"
|
5583
|
+
expected: "number & Type<\"uint64\">",
|
5564
5584
|
value: input.maxLength
|
5565
5585
|
})) || $report(_exceptionable, {
|
5566
5586
|
path: _path + ".maxLength",
|
5567
|
-
expected: "((number & Type<\"
|
5587
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5568
5588
|
value: input.maxLength
|
5569
5589
|
}), (null !== input.items || $report(_exceptionable, {
|
5570
5590
|
path: _path + ".items",
|
@@ -5574,12 +5594,12 @@ class MigrateApplication {
|
|
5574
5594
|
path: _path + ".items",
|
5575
5595
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5576
5596
|
value: input.items
|
5577
|
-
})) && (Array.isArray(input.items) && input.items.map((elem,
|
5578
|
-
path: _path + ".items[" +
|
5597
|
+
})) && (Array.isArray(input.items) && input.items.map((elem, _index61) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
5598
|
+
path: _path + ".items[" + _index61 + "]",
|
5579
5599
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5580
5600
|
value: elem
|
5581
|
-
})) && $vu7(elem, _path + ".items[" +
|
5582
|
-
path: _path + ".items[" +
|
5601
|
+
})) && $vu7(elem, _path + ".items[" + _index61 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5602
|
+
path: _path + ".items[" + _index61 + "]",
|
5583
5603
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5584
5604
|
value: elem
|
5585
5605
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $vu7(input.items, _path + ".items", true && _exceptionable) || $report(_exceptionable, {
|
@@ -5590,32 +5610,32 @@ class MigrateApplication {
|
|
5590
5610
|
path: _path + ".items",
|
5591
5611
|
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)",
|
5592
5612
|
value: input.items
|
5593
|
-
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
5613
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
5594
5614
|
path: _path + ".minItems",
|
5595
|
-
expected: "number & Type<\"
|
5615
|
+
expected: "number & Type<\"uint64\">",
|
5596
5616
|
value: input.minItems
|
5597
5617
|
})) || $report(_exceptionable, {
|
5598
5618
|
path: _path + ".minItems",
|
5599
|
-
expected: "((number & Type<\"
|
5619
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5600
5620
|
value: input.minItems
|
5601
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
5621
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
5602
5622
|
path: _path + ".maxItems",
|
5603
|
-
expected: "number & Type<\"
|
5623
|
+
expected: "number & Type<\"uint64\">",
|
5604
5624
|
value: input.maxItems
|
5605
5625
|
})) || $report(_exceptionable, {
|
5606
5626
|
path: _path + ".maxItems",
|
5607
|
-
expected: "((number & Type<\"
|
5627
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5608
5628
|
value: input.maxItems
|
5609
5629
|
}), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || $report(_exceptionable, {
|
5610
5630
|
path: _path + ".prefixItems",
|
5611
5631
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
5612
5632
|
value: input.prefixItems
|
5613
|
-
})) && input.prefixItems.map((elem,
|
5614
|
-
path: _path + ".prefixItems[" +
|
5633
|
+
})) && input.prefixItems.map((elem, _index62) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
5634
|
+
path: _path + ".prefixItems[" + _index62 + "]",
|
5615
5635
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5616
5636
|
value: elem
|
5617
|
-
})) && $vu7(elem, _path + ".prefixItems[" +
|
5618
|
-
path: _path + ".prefixItems[" +
|
5637
|
+
})) && $vu7(elem, _path + ".prefixItems[" + _index62 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5638
|
+
path: _path + ".prefixItems[" + _index62 + "]",
|
5619
5639
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5620
5640
|
value: elem
|
5621
5641
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5662,8 +5682,8 @@ class MigrateApplication {
|
|
5662
5682
|
path: _path + ".required",
|
5663
5683
|
expected: "(Array<string> | undefined)",
|
5664
5684
|
value: input.required
|
5665
|
-
})) && input.required.map((elem,
|
5666
|
-
path: _path + ".required[" +
|
5685
|
+
})) && input.required.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable, {
|
5686
|
+
path: _path + ".required[" + _index63 + "]",
|
5667
5687
|
expected: "string",
|
5668
5688
|
value: elem
|
5669
5689
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5682,12 +5702,12 @@ class MigrateApplication {
|
|
5682
5702
|
path: _path + ".oneOf",
|
5683
5703
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
5684
5704
|
value: input.oneOf
|
5685
|
-
})) && input.oneOf.map((elem,
|
5686
|
-
path: _path + ".oneOf[" +
|
5705
|
+
})) && input.oneOf.map((elem, _index64) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
5706
|
+
path: _path + ".oneOf[" + _index64 + "]",
|
5687
5707
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5688
5708
|
value: elem
|
5689
|
-
})) && $vu7(elem, _path + ".oneOf[" +
|
5690
|
-
path: _path + ".oneOf[" +
|
5709
|
+
})) && $vu7(elem, _path + ".oneOf[" + _index64 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5710
|
+
path: _path + ".oneOf[" + _index64 + "]",
|
5691
5711
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5692
5712
|
value: elem
|
5693
5713
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5698,12 +5718,12 @@ class MigrateApplication {
|
|
5698
5718
|
path: _path + ".anyOf",
|
5699
5719
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
5700
5720
|
value: input.anyOf
|
5701
|
-
})) && input.anyOf.map((elem,
|
5702
|
-
path: _path + ".anyOf[" +
|
5721
|
+
})) && input.anyOf.map((elem, _index65) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
5722
|
+
path: _path + ".anyOf[" + _index65 + "]",
|
5703
5723
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5704
5724
|
value: elem
|
5705
|
-
})) && $vu7(elem, _path + ".anyOf[" +
|
5706
|
-
path: _path + ".anyOf[" +
|
5725
|
+
})) && $vu7(elem, _path + ".anyOf[" + _index65 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5726
|
+
path: _path + ".anyOf[" + _index65 + "]",
|
5707
5727
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5708
5728
|
value: elem
|
5709
5729
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5714,12 +5734,12 @@ class MigrateApplication {
|
|
5714
5734
|
path: _path + ".allOf",
|
5715
5735
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
5716
5736
|
value: input.allOf
|
5717
|
-
})) && input.allOf.map((elem,
|
5718
|
-
path: _path + ".allOf[" +
|
5737
|
+
})) && input.allOf.map((elem, _index66) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
5738
|
+
path: _path + ".allOf[" + _index66 + "]",
|
5719
5739
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5720
5740
|
value: elem
|
5721
|
-
})) && $vu7(elem, _path + ".allOf[" +
|
5722
|
-
path: _path + ".allOf[" +
|
5741
|
+
})) && $vu7(elem, _path + ".allOf[" + _index66 + "]", true && _exceptionable) || $report(_exceptionable, {
|
5742
|
+
path: _path + ".allOf[" + _index66 + "]",
|
5723
5743
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5724
5744
|
value: elem
|
5725
5745
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5752,8 +5772,8 @@ class MigrateApplication {
|
|
5752
5772
|
path: _path + "[\"enum\"]",
|
5753
5773
|
expected: "(Array<boolean> | undefined)",
|
5754
5774
|
value: input["enum"]
|
5755
|
-
})) && input["enum"].map((elem,
|
5756
|
-
path: _path + "[\"enum\"][" +
|
5775
|
+
})) && input["enum"].map((elem, _index67) => "boolean" === typeof elem || $report(_exceptionable, {
|
5776
|
+
path: _path + "[\"enum\"][" + _index67 + "]",
|
5757
5777
|
expected: "boolean",
|
5758
5778
|
value: elem
|
5759
5779
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5781,65 +5801,69 @@ class MigrateApplication {
|
|
5781
5801
|
expected: "(boolean | undefined)",
|
5782
5802
|
value: input.deprecated
|
5783
5803
|
})].every(flag => flag);
|
5784
|
-
const $vo157 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -
|
5804
|
+
const $vo157 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || $report(_exceptionable, {
|
5785
5805
|
path: _path + "[\"default\"]",
|
5786
|
-
expected: "number & Type<\"
|
5806
|
+
expected: "number & Type<\"int64\">",
|
5787
5807
|
value: input["default"]
|
5788
5808
|
})) || $report(_exceptionable, {
|
5789
5809
|
path: _path + "[\"default\"]",
|
5790
|
-
expected: "((number & Type<\"
|
5810
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
5791
5811
|
value: input["default"]
|
5792
5812
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || $report(_exceptionable, {
|
5793
5813
|
path: _path + "[\"enum\"]",
|
5794
5814
|
expected: "(Array<number> | undefined)",
|
5795
5815
|
value: input["enum"]
|
5796
|
-
})) && input["enum"].map((elem,
|
5797
|
-
path: _path + "[\"enum\"][" +
|
5816
|
+
})) && input["enum"].map((elem, _index68) => "number" === typeof elem || $report(_exceptionable, {
|
5817
|
+
path: _path + "[\"enum\"][" + _index68 + "]",
|
5798
5818
|
expected: "number",
|
5799
5819
|
value: elem
|
5800
5820
|
})).every(flag => flag) || $report(_exceptionable, {
|
5801
5821
|
path: _path + "[\"enum\"]",
|
5802
5822
|
expected: "(Array<number> | undefined)",
|
5803
5823
|
value: input["enum"]
|
5804
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -
|
5824
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000 || $report(_exceptionable, {
|
5805
5825
|
path: _path + ".minimum",
|
5806
|
-
expected: "number & Type<\"
|
5826
|
+
expected: "number & Type<\"int64\">",
|
5807
5827
|
value: input.minimum
|
5808
5828
|
})) || $report(_exceptionable, {
|
5809
5829
|
path: _path + ".minimum",
|
5810
|
-
expected: "((number & Type<\"
|
5830
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
5811
5831
|
value: input.minimum
|
5812
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -
|
5832
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000 || $report(_exceptionable, {
|
5813
5833
|
path: _path + ".maximum",
|
5814
|
-
expected: "number & Type<\"
|
5834
|
+
expected: "number & Type<\"int64\">",
|
5815
5835
|
value: input.maximum
|
5816
5836
|
})) || $report(_exceptionable, {
|
5817
5837
|
path: _path + ".maximum",
|
5818
|
-
expected: "((number & Type<\"
|
5838
|
+
expected: "((number & Type<\"int64\">) | undefined)",
|
5819
5839
|
value: input.maximum
|
5820
|
-
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -
|
5840
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000 || $report(_exceptionable, {
|
5821
5841
|
path: _path + ".exclusiveMinimum",
|
5822
|
-
expected: "number & Type<\"
|
5842
|
+
expected: "number & Type<\"int64\">",
|
5823
5843
|
value: input.exclusiveMinimum
|
5824
5844
|
})) || "boolean" === typeof input.exclusiveMinimum || $report(_exceptionable, {
|
5825
5845
|
path: _path + ".exclusiveMinimum",
|
5826
|
-
expected: "((number & Type<\"
|
5846
|
+
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
5827
5847
|
value: input.exclusiveMinimum
|
5828
|
-
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -
|
5848
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000 || $report(_exceptionable, {
|
5829
5849
|
path: _path + ".exclusiveMaximum",
|
5830
|
-
expected: "number & Type<\"
|
5850
|
+
expected: "number & Type<\"int64\">",
|
5831
5851
|
value: input.exclusiveMaximum
|
5832
5852
|
})) || "boolean" === typeof input.exclusiveMaximum || $report(_exceptionable, {
|
5833
5853
|
path: _path + ".exclusiveMaximum",
|
5834
|
-
expected: "((number & Type<\"
|
5854
|
+
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
5835
5855
|
value: input.exclusiveMaximum
|
5836
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <=
|
5856
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || $report(_exceptionable, {
|
5857
|
+
path: _path + ".multipleOf",
|
5858
|
+
expected: "number & Type<\"uint64\">",
|
5859
|
+
value: input.multipleOf
|
5860
|
+
})) && (0 < input.multipleOf || $report(_exceptionable, {
|
5837
5861
|
path: _path + ".multipleOf",
|
5838
|
-
expected: "number &
|
5862
|
+
expected: "number & ExclusiveMinimum<0>",
|
5839
5863
|
value: input.multipleOf
|
5840
5864
|
})) || $report(_exceptionable, {
|
5841
5865
|
path: _path + ".multipleOf",
|
5842
|
-
expected: "((number & Type<\"
|
5866
|
+
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
5843
5867
|
value: input.multipleOf
|
5844
5868
|
}), "integer" === input.type || $report(_exceptionable, {
|
5845
5869
|
path: _path + ".type",
|
@@ -5870,8 +5894,8 @@ class MigrateApplication {
|
|
5870
5894
|
path: _path + "[\"enum\"]",
|
5871
5895
|
expected: "(Array<number> | undefined)",
|
5872
5896
|
value: input["enum"]
|
5873
|
-
})) && input["enum"].map((elem,
|
5874
|
-
path: _path + "[\"enum\"][" +
|
5897
|
+
})) && input["enum"].map((elem, _index69) => "number" === typeof elem || $report(_exceptionable, {
|
5898
|
+
path: _path + "[\"enum\"][" + _index69 + "]",
|
5875
5899
|
expected: "number",
|
5876
5900
|
value: elem
|
5877
5901
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5894,9 +5918,13 @@ class MigrateApplication {
|
|
5894
5918
|
path: _path + ".exclusiveMaximum",
|
5895
5919
|
expected: "(boolean | number | undefined)",
|
5896
5920
|
value: input.exclusiveMaximum
|
5897
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf || $report(_exceptionable, {
|
5921
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || $report(_exceptionable, {
|
5898
5922
|
path: _path + ".multipleOf",
|
5899
|
-
expected: "
|
5923
|
+
expected: "number & ExclusiveMinimum<0>",
|
5924
|
+
value: input.multipleOf
|
5925
|
+
})) || $report(_exceptionable, {
|
5926
|
+
path: _path + ".multipleOf",
|
5927
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
5900
5928
|
value: input.multipleOf
|
5901
5929
|
}), "number" === input.type || $report(_exceptionable, {
|
5902
5930
|
path: _path + ".type",
|
@@ -5931,8 +5959,8 @@ class MigrateApplication {
|
|
5931
5959
|
path: _path + "[\"enum\"]",
|
5932
5960
|
expected: "(Array<string> | undefined)",
|
5933
5961
|
value: input["enum"]
|
5934
|
-
})) && input["enum"].map((elem,
|
5935
|
-
path: _path + "[\"enum\"][" +
|
5962
|
+
})) && input["enum"].map((elem, _index70) => "string" === typeof elem || $report(_exceptionable, {
|
5963
|
+
path: _path + "[\"enum\"][" + _index70 + "]",
|
5936
5964
|
expected: "string",
|
5937
5965
|
value: elem
|
5938
5966
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -5947,21 +5975,21 @@ class MigrateApplication {
|
|
5947
5975
|
path: _path + ".pattern",
|
5948
5976
|
expected: "(string | undefined)",
|
5949
5977
|
value: input.pattern
|
5950
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <=
|
5978
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || $report(_exceptionable, {
|
5951
5979
|
path: _path + ".minLength",
|
5952
|
-
expected: "number & Type<\"
|
5980
|
+
expected: "number & Type<\"uint64\">",
|
5953
5981
|
value: input.minLength
|
5954
5982
|
})) || $report(_exceptionable, {
|
5955
5983
|
path: _path + ".minLength",
|
5956
|
-
expected: "((number & Type<\"
|
5984
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5957
5985
|
value: input.minLength
|
5958
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <=
|
5986
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || $report(_exceptionable, {
|
5959
5987
|
path: _path + ".maxLength",
|
5960
|
-
expected: "number & Type<\"
|
5988
|
+
expected: "number & Type<\"uint64\">",
|
5961
5989
|
value: input.maxLength
|
5962
5990
|
})) || $report(_exceptionable, {
|
5963
5991
|
path: _path + ".maxLength",
|
5964
|
-
expected: "((number & Type<\"
|
5992
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
5965
5993
|
value: input.maxLength
|
5966
5994
|
}), "string" === input.type || $report(_exceptionable, {
|
5967
5995
|
path: _path + ".type",
|
@@ -5992,12 +6020,12 @@ class MigrateApplication {
|
|
5992
6020
|
path: _path + ".items",
|
5993
6021
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5994
6022
|
value: input.items
|
5995
|
-
})) && (Array.isArray(input.items) && input.items.map((elem,
|
5996
|
-
path: _path + ".items[" +
|
6023
|
+
})) && (Array.isArray(input.items) && input.items.map((elem, _index71) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
6024
|
+
path: _path + ".items[" + _index71 + "]",
|
5997
6025
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5998
6026
|
value: elem
|
5999
|
-
})) && $vu7(elem, _path + ".items[" +
|
6000
|
-
path: _path + ".items[" +
|
6027
|
+
})) && $vu7(elem, _path + ".items[" + _index71 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6028
|
+
path: _path + ".items[" + _index71 + "]",
|
6001
6029
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6002
6030
|
value: elem
|
6003
6031
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $vu7(input.items, _path + ".items", true && _exceptionable) || $report(_exceptionable, {
|
@@ -6012,12 +6040,12 @@ class MigrateApplication {
|
|
6012
6040
|
path: _path + ".prefixItems",
|
6013
6041
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
6014
6042
|
value: input.prefixItems
|
6015
|
-
})) && input.prefixItems.map((elem,
|
6016
|
-
path: _path + ".prefixItems[" +
|
6043
|
+
})) && input.prefixItems.map((elem, _index72) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
6044
|
+
path: _path + ".prefixItems[" + _index72 + "]",
|
6017
6045
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6018
6046
|
value: elem
|
6019
|
-
})) && $vu7(elem, _path + ".prefixItems[" +
|
6020
|
-
path: _path + ".prefixItems[" +
|
6047
|
+
})) && $vu7(elem, _path + ".prefixItems[" + _index72 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6048
|
+
path: _path + ".prefixItems[" + _index72 + "]",
|
6021
6049
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6022
6050
|
value: elem
|
6023
6051
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6040,21 +6068,21 @@ class MigrateApplication {
|
|
6040
6068
|
path: _path + ".additionalItems",
|
6041
6069
|
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 | boolean | undefined)",
|
6042
6070
|
value: input.additionalItems
|
6043
|
-
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <=
|
6071
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || $report(_exceptionable, {
|
6044
6072
|
path: _path + ".minItems",
|
6045
|
-
expected: "number & Type<\"
|
6073
|
+
expected: "number & Type<\"uint64\">",
|
6046
6074
|
value: input.minItems
|
6047
6075
|
})) || $report(_exceptionable, {
|
6048
6076
|
path: _path + ".minItems",
|
6049
|
-
expected: "((number & Type<\"
|
6077
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
6050
6078
|
value: input.minItems
|
6051
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <=
|
6079
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || $report(_exceptionable, {
|
6052
6080
|
path: _path + ".maxItems",
|
6053
|
-
expected: "number & Type<\"
|
6081
|
+
expected: "number & Type<\"uint64\">",
|
6054
6082
|
value: input.maxItems
|
6055
6083
|
})) || $report(_exceptionable, {
|
6056
6084
|
path: _path + ".maxItems",
|
6057
|
-
expected: "((number & Type<\"
|
6085
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
6058
6086
|
value: input.maxItems
|
6059
6087
|
}), "array" === input.type || $report(_exceptionable, {
|
6060
6088
|
path: _path + ".type",
|
@@ -6089,8 +6117,8 @@ class MigrateApplication {
|
|
6089
6117
|
path: _path + ".required",
|
6090
6118
|
expected: "(Array<string> | undefined)",
|
6091
6119
|
value: input.required
|
6092
|
-
})) && input.required.map((elem,
|
6093
|
-
path: _path + ".required[" +
|
6120
|
+
})) && input.required.map((elem, _index73) => "string" === typeof elem || $report(_exceptionable, {
|
6121
|
+
path: _path + ".required[" + _index73 + "]",
|
6094
6122
|
expected: "string",
|
6095
6123
|
value: elem
|
6096
6124
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6201,12 +6229,12 @@ class MigrateApplication {
|
|
6201
6229
|
path: _path + ".allOf",
|
6202
6230
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6203
6231
|
value: input.allOf
|
6204
|
-
})) && input.allOf.map((elem,
|
6205
|
-
path: _path + ".allOf[" +
|
6232
|
+
})) && input.allOf.map((elem, _index74) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
6233
|
+
path: _path + ".allOf[" + _index74 + "]",
|
6206
6234
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6207
6235
|
value: elem
|
6208
|
-
})) && $vu7(elem, _path + ".allOf[" +
|
6209
|
-
path: _path + ".allOf[" +
|
6236
|
+
})) && $vu7(elem, _path + ".allOf[" + _index74 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6237
|
+
path: _path + ".allOf[" + _index74 + "]",
|
6210
6238
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6211
6239
|
value: elem
|
6212
6240
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6230,12 +6258,12 @@ class MigrateApplication {
|
|
6230
6258
|
path: _path + ".anyOf",
|
6231
6259
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6232
6260
|
value: input.anyOf
|
6233
|
-
})) && input.anyOf.map((elem,
|
6234
|
-
path: _path + ".anyOf[" +
|
6261
|
+
})) && input.anyOf.map((elem, _index75) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
6262
|
+
path: _path + ".anyOf[" + _index75 + "]",
|
6235
6263
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6236
6264
|
value: elem
|
6237
|
-
})) && $vu7(elem, _path + ".anyOf[" +
|
6238
|
-
path: _path + ".anyOf[" +
|
6265
|
+
})) && $vu7(elem, _path + ".anyOf[" + _index75 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6266
|
+
path: _path + ".anyOf[" + _index75 + "]",
|
6239
6267
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6240
6268
|
value: elem
|
6241
6269
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6259,12 +6287,12 @@ class MigrateApplication {
|
|
6259
6287
|
path: _path + ".oneOf",
|
6260
6288
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6261
6289
|
value: input.oneOf
|
6262
|
-
})) && input.oneOf.map((elem,
|
6263
|
-
path: _path + ".oneOf[" +
|
6290
|
+
})) && input.oneOf.map((elem, _index76) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
6291
|
+
path: _path + ".oneOf[" + _index76 + "]",
|
6264
6292
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6265
6293
|
value: elem
|
6266
|
-
})) && $vu7(elem, _path + ".oneOf[" +
|
6267
|
-
path: _path + ".oneOf[" +
|
6294
|
+
})) && $vu7(elem, _path + ".oneOf[" + _index76 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6295
|
+
path: _path + ".oneOf[" + _index76 + "]",
|
6268
6296
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6269
6297
|
value: elem
|
6270
6298
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6302,12 +6330,12 @@ class MigrateApplication {
|
|
6302
6330
|
path: _path + ".parameters",
|
6303
6331
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
6304
6332
|
value: input.parameters
|
6305
|
-
})) && input.parameters.map((elem,
|
6306
|
-
path: _path + ".parameters[" +
|
6333
|
+
})) && input.parameters.map((elem, _index77) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
6334
|
+
path: _path + ".parameters[" + _index77 + "]",
|
6307
6335
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6308
6336
|
value: elem
|
6309
|
-
})) && $vu8(elem, _path + ".parameters[" +
|
6310
|
-
path: _path + ".parameters[" +
|
6337
|
+
})) && $vu8(elem, _path + ".parameters[" + _index77 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6338
|
+
path: _path + ".parameters[" + _index77 + "]",
|
6311
6339
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6312
6340
|
value: elem
|
6313
6341
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6318,12 +6346,12 @@ class MigrateApplication {
|
|
6318
6346
|
path: _path + ".servers",
|
6319
6347
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
6320
6348
|
value: input.servers
|
6321
|
-
})) && input.servers.map((elem,
|
6322
|
-
path: _path + ".servers[" +
|
6349
|
+
})) && input.servers.map((elem, _index78) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
6350
|
+
path: _path + ".servers[" + _index78 + "]",
|
6323
6351
|
expected: "OpenApiV3_1.IServer",
|
6324
6352
|
value: elem
|
6325
|
-
})) && $vo146(elem, _path + ".servers[" +
|
6326
|
-
path: _path + ".servers[" +
|
6353
|
+
})) && $vo146(elem, _path + ".servers[" + _index78 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6354
|
+
path: _path + ".servers[" + _index78 + "]",
|
6327
6355
|
expected: "OpenApiV3_1.IServer",
|
6328
6356
|
value: elem
|
6329
6357
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6470,12 +6498,12 @@ class MigrateApplication {
|
|
6470
6498
|
path: _path + ".parameters",
|
6471
6499
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
6472
6500
|
value: input.parameters
|
6473
|
-
})) && input.parameters.map((elem,
|
6474
|
-
path: _path + ".parameters[" +
|
6501
|
+
})) && input.parameters.map((elem, _index79) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
6502
|
+
path: _path + ".parameters[" + _index79 + "]",
|
6475
6503
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6476
6504
|
value: elem
|
6477
|
-
})) && $vu8(elem, _path + ".parameters[" +
|
6478
|
-
path: _path + ".parameters[" +
|
6505
|
+
})) && $vu8(elem, _path + ".parameters[" + _index79 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6506
|
+
path: _path + ".parameters[" + _index79 + "]",
|
6479
6507
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IOperation.IParameter)",
|
6480
6508
|
value: elem
|
6481
6509
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6502,12 +6530,12 @@ class MigrateApplication {
|
|
6502
6530
|
path: _path + ".servers",
|
6503
6531
|
expected: "(Array<OpenApiV3_1.IServer> | undefined)",
|
6504
6532
|
value: input.servers
|
6505
|
-
})) && input.servers.map((elem,
|
6506
|
-
path: _path + ".servers[" +
|
6533
|
+
})) && input.servers.map((elem, _index80) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
|
6534
|
+
path: _path + ".servers[" + _index80 + "]",
|
6507
6535
|
expected: "OpenApiV3_1.IServer",
|
6508
6536
|
value: elem
|
6509
|
-
})) && $vo146(elem, _path + ".servers[" +
|
6510
|
-
path: _path + ".servers[" +
|
6537
|
+
})) && $vo146(elem, _path + ".servers[" + _index80 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6538
|
+
path: _path + ".servers[" + _index80 + "]",
|
6511
6539
|
expected: "OpenApiV3_1.IServer",
|
6512
6540
|
value: elem
|
6513
6541
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6526,12 +6554,12 @@ class MigrateApplication {
|
|
6526
6554
|
path: _path + ".security",
|
6527
6555
|
expected: "(Array<Record<string, Array<string>>> | undefined)",
|
6528
6556
|
value: input.security
|
6529
|
-
})) && input.security.map((elem,
|
6530
|
-
path: _path + ".security[" +
|
6557
|
+
})) && input.security.map((elem, _index81) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
|
6558
|
+
path: _path + ".security[" + _index81 + "]",
|
6531
6559
|
expected: "Record<string, Array<string>>",
|
6532
6560
|
value: elem
|
6533
|
-
})) && $vo42(elem, _path + ".security[" +
|
6534
|
-
path: _path + ".security[" +
|
6561
|
+
})) && $vo42(elem, _path + ".security[" + _index81 + "]", true && _exceptionable) || $report(_exceptionable, {
|
6562
|
+
path: _path + ".security[" + _index81 + "]",
|
6535
6563
|
expected: "Record<string, Array<string>>",
|
6536
6564
|
value: elem
|
6537
6565
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -6542,8 +6570,8 @@ class MigrateApplication {
|
|
6542
6570
|
path: _path + ".tags",
|
6543
6571
|
expected: "(Array<string> | undefined)",
|
6544
6572
|
value: input.tags
|
6545
|
-
})) && input.tags.map((elem,
|
6546
|
-
path: _path + ".tags[" +
|
6573
|
+
})) && input.tags.map((elem, _index82) => "string" === typeof elem || $report(_exceptionable, {
|
6574
|
+
path: _path + ".tags[" + _index82 + "]",
|
6547
6575
|
expected: "string",
|
6548
6576
|
value: elem
|
6549
6577
|
})).every(flag => flag) || $report(_exceptionable, {
|
@@ -7143,7 +7171,7 @@ class MigrateApplication {
|
|
7143
7171
|
});
|
7144
7172
|
})();
|
7145
7173
|
const $vu7 = (input, _path, _exceptionable = true) => (() => {
|
7146
|
-
if (Array.isArray(input.type) && input.type.map((elem,
|
7174
|
+
if (Array.isArray(input.type) && input.type.map((elem, _index83) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem).every(flag => flag))
|
7147
7175
|
return $vo154(input, _path, true && _exceptionable);
|
7148
7176
|
else if ("boolean" === input.type)
|
7149
7177
|
return $vo156(input, _path, true && _exceptionable);
|