@nestia/migrate 5.0.0 → 6.0.1
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 +564 -412
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +14 -9
- package/lib/bundles/NEST_TEMPLATE.js.map +1 -1
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/index.mjs +613 -457
- package/lib/index.mjs.map +1 -1
- package/package.json +12 -12
- package/src/bundles/NEST_TEMPLATE.ts +14 -9
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
@@ -53,7 +53,7 @@ class MigrateApplication {
|
|
53
53
|
this.document = document;
|
54
54
|
}
|
55
55
|
static create(document) {
|
56
|
-
const result = (() => { const _io0 = input => "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io4(input.info)) && ("object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io7(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io34(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io34(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io47(elem))) && true === input["x-samchon-emended"]; const _io1 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io2(input.variables)); const _io2 = input => Object.keys(input).every(key => {
|
56
|
+
const result = (() => { const _io0 = input => "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io4(input.info)) && ("object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io7(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io34(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io34(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io47(elem))) && true === input["x-samchon-emended-v4"]; const _io1 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io2(input.variables)); const _io2 = input => Object.keys(input).every(key => {
|
57
57
|
const value = input[key];
|
58
58
|
if (undefined === value)
|
59
59
|
return true;
|
@@ -68,7 +68,7 @@ class MigrateApplication {
|
|
68
68
|
if (undefined === value)
|
69
69
|
return true;
|
70
70
|
return true;
|
71
|
-
}); const _io11 = 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io12 = 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 || "
|
71
|
+
}); const _io11 = 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io12 = 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 || "number" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io13 = 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 || "number" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io14 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io15 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io16 = input => "array" === input.type && (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.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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io17 = 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io18 = 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io19 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu1(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io22(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io20 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io21 = input => true && (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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io22 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping)); const _io23 = input => Object.keys(input).every(key => {
|
72
72
|
const value = input[key];
|
73
73
|
if (undefined === value)
|
74
74
|
return true;
|
@@ -115,12 +115,12 @@ class MigrateApplication {
|
|
115
115
|
if (undefined === value)
|
116
116
|
return true;
|
117
117
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu2(value);
|
118
|
-
}); const _io53 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io54 = input => (null === input["default"] || 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 => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io55 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io56 = input => (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io57 = 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io58 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io59 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io60 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io61 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io62 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io63 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io64 = input => Object.keys(input).every(key => {
|
118
|
+
}); const _io53 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io54 = input => (null === input["default"] || 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 => null === 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io55 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io56 = input => (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io57 = 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io58 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io59 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io60 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io61 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io62 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io63 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io64 = input => Object.keys(input).every(key => {
|
119
119
|
const value = input[key];
|
120
120
|
if (undefined === value)
|
121
121
|
return true;
|
122
122
|
return "object" === typeof value && null !== value && _iu10(value);
|
123
|
-
}); const _io65 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io66 = input => (null === input["default"] || 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 => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io67 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io68 = input => (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io69 = 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io70 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io71 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io72 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io73 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io74 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io75 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io76 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu2(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required); const _io77 = input => Object.keys(input).every(key => {
|
123
|
+
}); const _io65 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io66 = input => (null === input["default"] || 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 => null === 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io67 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io68 = input => (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io69 = 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io70 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io71 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io72 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io73 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io74 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io75 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io76 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu2(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required); const _io77 = input => Object.keys(input).every(key => {
|
124
124
|
const value = input[key];
|
125
125
|
if (undefined === value)
|
126
126
|
return true;
|
@@ -150,7 +150,7 @@ class MigrateApplication {
|
|
150
150
|
if (undefined === value)
|
151
151
|
return true;
|
152
152
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
153
|
-
}); const _io103 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io104 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || 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 => null === 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io105 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io106 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io107 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && ("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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io108 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io110 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io111 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io112 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io113(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io113 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping)); const _io114 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io115 = input => true && (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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io116 = input => Object.keys(input).every(key => {
|
153
|
+
}); const _io103 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io104 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || 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 => null === 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io105 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io106 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io107 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && ("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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io108 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io109 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io110 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io111 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io112 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io113(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io113 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping)); const _io114 = input => (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "null" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io115 = input => true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.type && undefined === input.type) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io116 = input => Object.keys(input).every(key => {
|
154
154
|
const value = input[key];
|
155
155
|
if (undefined === value)
|
156
156
|
return true;
|
@@ -165,12 +165,12 @@ class MigrateApplication {
|
|
165
165
|
if (undefined === value)
|
166
166
|
return true;
|
167
167
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu13(value);
|
168
|
-
}); const _io121 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io122 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) && (undefined === input.
|
168
|
+
}); const _io121 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io122 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io123 = input => Object.keys(input).every(key => {
|
169
169
|
const value = input[key];
|
170
170
|
if (undefined === value)
|
171
171
|
return true;
|
172
172
|
return "object" === typeof value && null !== value && _iu14(value);
|
173
|
-
}); const _io124 = input => (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io120(input.examples)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)); const _io125 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) && (undefined === input.
|
173
|
+
}); const _io124 = input => (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io120(input.examples)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)); const _io125 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io126 = input => Object.keys(input).every(key => {
|
174
174
|
const value = input[key];
|
175
175
|
if (undefined === value)
|
176
176
|
return true;
|
@@ -200,12 +200,12 @@ class MigrateApplication {
|
|
200
200
|
if (undefined === value)
|
201
201
|
return true;
|
202
202
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io143(value);
|
203
|
-
}); const _io143 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io95(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io145(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io145(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io145(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io145(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io145(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io145(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io145(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io145(input.trace)); const _io144 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) && (undefined === input.
|
203
|
+
}); const _io143 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io95(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io145(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io145(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io145(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io145(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io145(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io145(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io145(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io145(input.trace)); const _io144 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io145 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu16(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io147(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io95(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io146 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io147 = input => Object.keys(input).every(key => {
|
204
204
|
const value = input[key];
|
205
205
|
if (undefined === value)
|
206
206
|
return true;
|
207
207
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu17(value);
|
208
|
-
}); const _io148 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (undefined === input.
|
208
|
+
}); const _io148 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io149 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io150 = input => "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io151(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io154(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io157(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io175(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io208(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io210(elem))); const _io151 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io152(input.variables)); const _io152 = input => Object.keys(input).every(key => {
|
209
209
|
const value = input[key];
|
210
210
|
if (undefined === value)
|
211
211
|
return true;
|
@@ -215,7 +215,7 @@ class MigrateApplication {
|
|
215
215
|
if (undefined === value)
|
216
216
|
return true;
|
217
217
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu7(value);
|
218
|
-
}); const _io159 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem) && (null === input["default"] || 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.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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)) && (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.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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.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)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io158(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))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io172(input.discriminator)) && (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))) && "string" === typeof input.$ref; const _io160 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io161 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io162 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || 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 => null === 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io163 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io164 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io165 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io166 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io158(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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io167 = 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) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io168 = input => "string" === typeof input.$recursiveRef && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io169 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io170 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io171 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io172(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io172 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping)); const _io173 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io174 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io175 = input => Object.keys(input).every(key => {
|
218
|
+
}); const _io159 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem) && (null === input["default"] || 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.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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.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)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io158(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))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io172(input.discriminator)) && (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))) && "string" === typeof input.$ref; const _io160 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io161 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io162 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || 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 => null === 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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io163 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === 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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io164 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io165 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (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)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io166 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io158(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) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io167 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io168 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io169 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io170 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io171 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io172(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io172 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping)); const _io173 = input => (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "null" === input.type && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io174 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))); const _io175 = input => Object.keys(input).every(key => {
|
219
219
|
const value = input[key];
|
220
220
|
if (undefined === value)
|
221
221
|
return true;
|
@@ -225,12 +225,12 @@ class MigrateApplication {
|
|
225
225
|
if (undefined === value)
|
226
226
|
return true;
|
227
227
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu18(value);
|
228
|
-
}); const _io179 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io180 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) && (undefined === input.
|
228
|
+
}); const _io179 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io180 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io181 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io182 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io183 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu8(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu19(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io188(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io151(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io184 = input => (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io185(input.content)); const _io185 = input => Object.keys(input).every(key => {
|
229
229
|
const value = input[key];
|
230
230
|
if (undefined === value)
|
231
231
|
return true;
|
232
232
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io186(value);
|
233
|
-
}); const _io186 = input => (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io178(input.examples)); const _io187 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) && (undefined === input.
|
233
|
+
}); const _io186 = input => (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io178(input.examples)); const _io187 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io188 = input => Object.keys(input).every(key => {
|
234
234
|
const value = input[key];
|
235
235
|
if (undefined === value)
|
236
236
|
return true;
|
@@ -240,7 +240,7 @@ class MigrateApplication {
|
|
240
240
|
if (undefined === value)
|
241
241
|
return true;
|
242
242
|
return "object" === typeof value && null !== value && _iu21(value);
|
243
|
-
}); const _io191 = input => (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io178(input.examples)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)); const _io192 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (undefined === input.
|
243
|
+
}); const _io191 = input => (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io178(input.examples)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)); const _io192 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io193 = input => Object.keys(input).every(key => {
|
244
244
|
const value = input[key];
|
245
245
|
if (undefined === value)
|
246
246
|
return true;
|
@@ -275,7 +275,7 @@ class MigrateApplication {
|
|
275
275
|
if (undefined === value)
|
276
276
|
return true;
|
277
277
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu23(value);
|
278
|
-
}); const _io209 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(input.$ref) && (undefined === input.
|
278
|
+
}); const _io209 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io210 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
279
279
|
if (undefined !== input["const"])
|
280
280
|
return _io9(input);
|
281
281
|
else if ("boolean" === input.type)
|
@@ -619,7 +619,7 @@ class MigrateApplication {
|
|
619
619
|
else
|
620
620
|
return _io176(input);
|
621
621
|
})(); const _iu24 = input => (() => {
|
622
|
-
if (undefined !== input["x-samchon-emended"])
|
622
|
+
if (undefined !== input["x-samchon-emended-v4"])
|
623
623
|
return _io0(input);
|
624
624
|
else if (undefined !== input.swagger)
|
625
625
|
return _io48(input);
|
@@ -713,10 +713,10 @@ class MigrateApplication {
|
|
713
713
|
path: _path + ".tags",
|
714
714
|
expected: "(Array<OpenApi.IDocument.ITag> | undefined)",
|
715
715
|
value: input.tags
|
716
|
-
}), true === input["x-samchon-emended"] || _report(_exceptionable, {
|
717
|
-
path: _path + "[\"x-samchon-emended\"]",
|
716
|
+
}), true === input["x-samchon-emended-v4"] || _report(_exceptionable, {
|
717
|
+
path: _path + "[\"x-samchon-emended-v4\"]",
|
718
718
|
expected: "true",
|
719
|
-
value: input["x-samchon-emended"]
|
719
|
+
value: input["x-samchon-emended-v4"]
|
720
720
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || _report(_exceptionable, {
|
721
721
|
path: _path + ".url",
|
722
722
|
expected: "string",
|
@@ -940,13 +940,13 @@ class MigrateApplication {
|
|
940
940
|
path: _path + ".maximum",
|
941
941
|
expected: "((number & Type<\"int64\">) | undefined)",
|
942
942
|
value: input.maximum
|
943
|
-
}), undefined === input.exclusiveMinimum || "
|
943
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
944
944
|
path: _path + ".exclusiveMinimum",
|
945
|
-
expected: "(
|
945
|
+
expected: "(number | undefined)",
|
946
946
|
value: input.exclusiveMinimum
|
947
|
-
}), undefined === input.exclusiveMaximum || "
|
947
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
948
948
|
path: _path + ".exclusiveMaximum",
|
949
|
-
expected: "(
|
949
|
+
expected: "(number | undefined)",
|
950
950
|
value: input.exclusiveMaximum
|
951
951
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || _report(_exceptionable, {
|
952
952
|
path: _path + ".multipleOf",
|
@@ -996,13 +996,13 @@ class MigrateApplication {
|
|
996
996
|
path: _path + ".maximum",
|
997
997
|
expected: "(number | undefined)",
|
998
998
|
value: input.maximum
|
999
|
-
}), undefined === input.exclusiveMinimum || "
|
999
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
1000
1000
|
path: _path + ".exclusiveMinimum",
|
1001
|
-
expected: "(
|
1001
|
+
expected: "(number | undefined)",
|
1002
1002
|
value: input.exclusiveMinimum
|
1003
|
-
}), undefined === input.exclusiveMaximum || "
|
1003
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
1004
1004
|
path: _path + ".exclusiveMaximum",
|
1005
|
-
expected: "(
|
1005
|
+
expected: "(number | undefined)",
|
1006
1006
|
value: input.exclusiveMaximum
|
1007
1007
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || _report(_exceptionable, {
|
1008
1008
|
path: _path + ".multipleOf",
|
@@ -2291,13 +2291,13 @@ class MigrateApplication {
|
|
2291
2291
|
path: _path + ".maximum",
|
2292
2292
|
expected: "((number & Type<\"int64\">) | undefined)",
|
2293
2293
|
value: input.maximum
|
2294
|
-
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2294
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2295
2295
|
path: _path + ".exclusiveMinimum",
|
2296
|
-
expected: "(boolean | undefined)",
|
2296
|
+
expected: "(boolean | number | undefined)",
|
2297
2297
|
value: input.exclusiveMinimum
|
2298
|
-
}), undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2298
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2299
2299
|
path: _path + ".exclusiveMaximum",
|
2300
|
-
expected: "(boolean | undefined)",
|
2300
|
+
expected: "(boolean | number | undefined)",
|
2301
2301
|
value: input.exclusiveMaximum
|
2302
2302
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || _report(_exceptionable, {
|
2303
2303
|
path: _path + ".multipleOf",
|
@@ -2359,13 +2359,13 @@ class MigrateApplication {
|
|
2359
2359
|
path: _path + ".maximum",
|
2360
2360
|
expected: "(number | undefined)",
|
2361
2361
|
value: input.maximum
|
2362
|
-
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2362
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2363
2363
|
path: _path + ".exclusiveMinimum",
|
2364
|
-
expected: "(boolean | undefined)",
|
2364
|
+
expected: "(boolean | number | undefined)",
|
2365
2365
|
value: input.exclusiveMinimum
|
2366
|
-
}), undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2366
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2367
2367
|
path: _path + ".exclusiveMaximum",
|
2368
|
-
expected: "(boolean | undefined)",
|
2368
|
+
expected: "(boolean | number | undefined)",
|
2369
2369
|
value: input.exclusiveMaximum
|
2370
2370
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || _report(_exceptionable, {
|
2371
2371
|
path: _path + ".multipleOf",
|
@@ -2808,13 +2808,13 @@ class MigrateApplication {
|
|
2808
2808
|
path: _path + ".maximum",
|
2809
2809
|
expected: "((number & Type<\"int64\">) | undefined)",
|
2810
2810
|
value: input.maximum
|
2811
|
-
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2811
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2812
2812
|
path: _path + ".exclusiveMinimum",
|
2813
|
-
expected: "(boolean | undefined)",
|
2813
|
+
expected: "(boolean | number | undefined)",
|
2814
2814
|
value: input.exclusiveMinimum
|
2815
|
-
}), undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2815
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2816
2816
|
path: _path + ".exclusiveMaximum",
|
2817
|
-
expected: "(boolean | undefined)",
|
2817
|
+
expected: "(boolean | number | undefined)",
|
2818
2818
|
value: input.exclusiveMaximum
|
2819
2819
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || _report(_exceptionable, {
|
2820
2820
|
path: _path + ".multipleOf",
|
@@ -2884,13 +2884,13 @@ class MigrateApplication {
|
|
2884
2884
|
path: _path + ".maximum",
|
2885
2885
|
expected: "(number | undefined)",
|
2886
2886
|
value: input.maximum
|
2887
|
-
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2887
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
2888
2888
|
path: _path + ".exclusiveMinimum",
|
2889
|
-
expected: "(boolean | undefined)",
|
2889
|
+
expected: "(boolean | number | undefined)",
|
2890
2890
|
value: input.exclusiveMinimum
|
2891
|
-
}), undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2891
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
2892
2892
|
path: _path + ".exclusiveMaximum",
|
2893
|
-
expected: "(boolean | undefined)",
|
2893
|
+
expected: "(boolean | number | undefined)",
|
2894
2894
|
value: input.exclusiveMaximum
|
2895
2895
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || _report(_exceptionable, {
|
2896
2896
|
path: _path + ".multipleOf",
|
@@ -4022,10 +4022,6 @@ class MigrateApplication {
|
|
4022
4022
|
path: _path + "[\"enum\"]",
|
4023
4023
|
expected: "(Array<boolean | null> | undefined)",
|
4024
4024
|
value: input["enum"]
|
4025
|
-
}), "boolean" === input.type || _report(_exceptionable, {
|
4026
|
-
path: _path + ".type",
|
4027
|
-
expected: "\"boolean\"",
|
4028
|
-
value: input.type
|
4029
4025
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4030
4026
|
path: _path + ".title",
|
4031
4027
|
expected: "(string | undefined)",
|
@@ -4038,15 +4034,23 @@ class MigrateApplication {
|
|
4038
4034
|
path: _path + ".deprecated",
|
4039
4035
|
expected: "(boolean | undefined)",
|
4040
4036
|
value: input.deprecated
|
4041
|
-
}), true,
|
4037
|
+
}), true, "boolean" === input.type || _report(_exceptionable, {
|
4038
|
+
path: _path + ".type",
|
4039
|
+
expected: "\"boolean\"",
|
4040
|
+
value: input.type
|
4041
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4042
4042
|
path: _path + ".examples",
|
4043
|
-
expected: "(Record<string, any> | undefined)",
|
4043
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4044
4044
|
value: input.examples
|
4045
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4045
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4046
4046
|
path: _path + ".examples",
|
4047
|
-
expected: "(Record<string, any> | undefined)",
|
4047
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4048
4048
|
value: input.examples
|
4049
|
-
})
|
4049
|
+
})) || _report(_exceptionable, {
|
4050
|
+
path: _path + ".examples",
|
4051
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4052
|
+
value: input.examples
|
4053
|
+
}))].every(flag => flag); const _vo104 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4050
4054
|
path: _path + ".nullable",
|
4051
4055
|
expected: "(boolean | undefined)",
|
4052
4056
|
value: input.nullable
|
@@ -4086,13 +4090,13 @@ class MigrateApplication {
|
|
4086
4090
|
path: _path + ".maximum",
|
4087
4091
|
expected: "((number & Type<\"int64\">) | undefined)",
|
4088
4092
|
value: input.maximum
|
4089
|
-
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
4093
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
4090
4094
|
path: _path + ".exclusiveMinimum",
|
4091
|
-
expected: "(boolean | undefined)",
|
4095
|
+
expected: "(boolean | number | undefined)",
|
4092
4096
|
value: input.exclusiveMinimum
|
4093
|
-
}), undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
4097
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
4094
4098
|
path: _path + ".exclusiveMaximum",
|
4095
|
-
expected: "(boolean | undefined)",
|
4099
|
+
expected: "(boolean | number | undefined)",
|
4096
4100
|
value: input.exclusiveMaximum
|
4097
4101
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 || _report(_exceptionable, {
|
4098
4102
|
path: _path + ".multipleOf",
|
@@ -4106,10 +4110,6 @@ class MigrateApplication {
|
|
4106
4110
|
path: _path + ".multipleOf",
|
4107
4111
|
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
4108
4112
|
value: input.multipleOf
|
4109
|
-
}), "integer" === input.type || _report(_exceptionable, {
|
4110
|
-
path: _path + ".type",
|
4111
|
-
expected: "\"integer\"",
|
4112
|
-
value: input.type
|
4113
4113
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4114
4114
|
path: _path + ".title",
|
4115
4115
|
expected: "(string | undefined)",
|
@@ -4122,15 +4122,23 @@ class MigrateApplication {
|
|
4122
4122
|
path: _path + ".deprecated",
|
4123
4123
|
expected: "(boolean | undefined)",
|
4124
4124
|
value: input.deprecated
|
4125
|
-
}), true,
|
4125
|
+
}), true, "integer" === input.type || _report(_exceptionable, {
|
4126
|
+
path: _path + ".type",
|
4127
|
+
expected: "\"integer\"",
|
4128
|
+
value: input.type
|
4129
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4126
4130
|
path: _path + ".examples",
|
4127
|
-
expected: "(Record<string, any> | undefined)",
|
4131
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4128
4132
|
value: input.examples
|
4129
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4133
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4130
4134
|
path: _path + ".examples",
|
4131
|
-
expected: "(Record<string, any> | undefined)",
|
4135
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4136
|
+
value: input.examples
|
4137
|
+
})) || _report(_exceptionable, {
|
4138
|
+
path: _path + ".examples",
|
4139
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4132
4140
|
value: input.examples
|
4133
|
-
})].every(flag => flag); const _vo105 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4141
|
+
}))].every(flag => flag); const _vo105 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4134
4142
|
path: _path + ".nullable",
|
4135
4143
|
expected: "(boolean | undefined)",
|
4136
4144
|
value: input.nullable
|
@@ -4158,13 +4166,13 @@ class MigrateApplication {
|
|
4158
4166
|
path: _path + ".maximum",
|
4159
4167
|
expected: "(number | undefined)",
|
4160
4168
|
value: input.maximum
|
4161
|
-
}), undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
4169
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
4162
4170
|
path: _path + ".exclusiveMinimum",
|
4163
|
-
expected: "(boolean | undefined)",
|
4171
|
+
expected: "(boolean | number | undefined)",
|
4164
4172
|
value: input.exclusiveMinimum
|
4165
|
-
}), undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
4173
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || _report(_exceptionable, {
|
4166
4174
|
path: _path + ".exclusiveMaximum",
|
4167
|
-
expected: "(boolean | undefined)",
|
4175
|
+
expected: "(boolean | number | undefined)",
|
4168
4176
|
value: input.exclusiveMaximum
|
4169
4177
|
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || _report(_exceptionable, {
|
4170
4178
|
path: _path + ".multipleOf",
|
@@ -4174,10 +4182,6 @@ class MigrateApplication {
|
|
4174
4182
|
path: _path + ".multipleOf",
|
4175
4183
|
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
4176
4184
|
value: input.multipleOf
|
4177
|
-
}), "number" === input.type || _report(_exceptionable, {
|
4178
|
-
path: _path + ".type",
|
4179
|
-
expected: "\"number\"",
|
4180
|
-
value: input.type
|
4181
4185
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4182
4186
|
path: _path + ".title",
|
4183
4187
|
expected: "(string | undefined)",
|
@@ -4190,15 +4194,23 @@ class MigrateApplication {
|
|
4190
4194
|
path: _path + ".deprecated",
|
4191
4195
|
expected: "(boolean | undefined)",
|
4192
4196
|
value: input.deprecated
|
4193
|
-
}), true,
|
4197
|
+
}), true, "number" === input.type || _report(_exceptionable, {
|
4198
|
+
path: _path + ".type",
|
4199
|
+
expected: "\"number\"",
|
4200
|
+
value: input.type
|
4201
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4194
4202
|
path: _path + ".examples",
|
4195
|
-
expected: "(Record<string, any> | undefined)",
|
4203
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4196
4204
|
value: input.examples
|
4197
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4205
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4198
4206
|
path: _path + ".examples",
|
4199
|
-
expected: "(Record<string, any> | undefined)",
|
4207
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4208
|
+
value: input.examples
|
4209
|
+
})) || _report(_exceptionable, {
|
4210
|
+
path: _path + ".examples",
|
4211
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4200
4212
|
value: input.examples
|
4201
|
-
})].every(flag => flag); const _vo106 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4213
|
+
}))].every(flag => flag); const _vo106 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4202
4214
|
path: _path + ".nullable",
|
4203
4215
|
expected: "(boolean | undefined)",
|
4204
4216
|
value: input.nullable
|
@@ -4242,10 +4254,6 @@ class MigrateApplication {
|
|
4242
4254
|
path: _path + ".maxLength",
|
4243
4255
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
4244
4256
|
value: input.maxLength
|
4245
|
-
}), "string" === input.type || _report(_exceptionable, {
|
4246
|
-
path: _path + ".type",
|
4247
|
-
expected: "\"string\"",
|
4248
|
-
value: input.type
|
4249
4257
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4250
4258
|
path: _path + ".title",
|
4251
4259
|
expected: "(string | undefined)",
|
@@ -4258,15 +4266,23 @@ class MigrateApplication {
|
|
4258
4266
|
path: _path + ".deprecated",
|
4259
4267
|
expected: "(boolean | undefined)",
|
4260
4268
|
value: input.deprecated
|
4261
|
-
}), true,
|
4269
|
+
}), true, "string" === input.type || _report(_exceptionable, {
|
4270
|
+
path: _path + ".type",
|
4271
|
+
expected: "\"string\"",
|
4272
|
+
value: input.type
|
4273
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4262
4274
|
path: _path + ".examples",
|
4263
|
-
expected: "(Record<string, any> | undefined)",
|
4275
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4264
4276
|
value: input.examples
|
4265
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4277
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4266
4278
|
path: _path + ".examples",
|
4267
|
-
expected: "(Record<string, any> | undefined)",
|
4279
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4280
|
+
value: input.examples
|
4281
|
+
})) || _report(_exceptionable, {
|
4282
|
+
path: _path + ".examples",
|
4283
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4268
4284
|
value: input.examples
|
4269
|
-
})].every(flag => flag); const _vo107 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4285
|
+
}))].every(flag => flag); const _vo107 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4270
4286
|
path: _path + ".nullable",
|
4271
4287
|
expected: "(boolean | undefined)",
|
4272
4288
|
value: input.nullable
|
@@ -4298,10 +4314,6 @@ class MigrateApplication {
|
|
4298
4314
|
path: _path + ".maxItems",
|
4299
4315
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
4300
4316
|
value: input.maxItems
|
4301
|
-
}), "array" === input.type || _report(_exceptionable, {
|
4302
|
-
path: _path + ".type",
|
4303
|
-
expected: "\"array\"",
|
4304
|
-
value: input.type
|
4305
4317
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4306
4318
|
path: _path + ".title",
|
4307
4319
|
expected: "(string | undefined)",
|
@@ -4314,15 +4326,23 @@ class MigrateApplication {
|
|
4314
4326
|
path: _path + ".deprecated",
|
4315
4327
|
expected: "(boolean | undefined)",
|
4316
4328
|
value: input.deprecated
|
4317
|
-
}), true,
|
4329
|
+
}), true, "array" === input.type || _report(_exceptionable, {
|
4330
|
+
path: _path + ".type",
|
4331
|
+
expected: "\"array\"",
|
4332
|
+
value: input.type
|
4333
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4318
4334
|
path: _path + ".examples",
|
4319
|
-
expected: "(Record<string, any> | undefined)",
|
4335
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4320
4336
|
value: input.examples
|
4321
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4337
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4322
4338
|
path: _path + ".examples",
|
4323
|
-
expected: "(Record<string, any> | undefined)",
|
4339
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4324
4340
|
value: input.examples
|
4325
|
-
})
|
4341
|
+
})) || _report(_exceptionable, {
|
4342
|
+
path: _path + ".examples",
|
4343
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4344
|
+
value: input.examples
|
4345
|
+
}))].every(flag => flag); const _vo108 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4326
4346
|
path: _path + ".nullable",
|
4327
4347
|
expected: "(boolean | undefined)",
|
4328
4348
|
value: input.nullable
|
@@ -4366,10 +4386,6 @@ class MigrateApplication {
|
|
4366
4386
|
path: _path + ".minProperties",
|
4367
4387
|
expected: "(number | undefined)",
|
4368
4388
|
value: input.minProperties
|
4369
|
-
}), "object" === input.type || _report(_exceptionable, {
|
4370
|
-
path: _path + ".type",
|
4371
|
-
expected: "\"object\"",
|
4372
|
-
value: input.type
|
4373
4389
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4374
4390
|
path: _path + ".title",
|
4375
4391
|
expected: "(string | undefined)",
|
@@ -4382,19 +4398,39 @@ class MigrateApplication {
|
|
4382
4398
|
path: _path + ".deprecated",
|
4383
4399
|
expected: "(boolean | undefined)",
|
4384
4400
|
value: input.deprecated
|
4385
|
-
}), true,
|
4401
|
+
}), true, "object" === input.type || _report(_exceptionable, {
|
4402
|
+
path: _path + ".type",
|
4403
|
+
expected: "\"object\"",
|
4404
|
+
value: input.type
|
4405
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4386
4406
|
path: _path + ".examples",
|
4387
|
-
expected: "(Record<string, any> | undefined)",
|
4407
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4388
4408
|
value: input.examples
|
4389
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4409
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4390
4410
|
path: _path + ".examples",
|
4391
|
-
expected: "(Record<string, any> | undefined)",
|
4411
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4412
|
+
value: input.examples
|
4413
|
+
})) || _report(_exceptionable, {
|
4414
|
+
path: _path + ".examples",
|
4415
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4392
4416
|
value: input.examples
|
4393
|
-
})].every(flag => flag); const _vo109 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
4417
|
+
}))].every(flag => flag); const _vo109 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
4394
4418
|
path: _path + ".$ref",
|
4395
4419
|
expected: "string",
|
4396
4420
|
value: input.$ref
|
4397
|
-
}),
|
4421
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4422
|
+
path: _path + ".examples",
|
4423
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4424
|
+
value: input.examples
|
4425
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4426
|
+
path: _path + ".examples",
|
4427
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4428
|
+
value: input.examples
|
4429
|
+
})) || _report(_exceptionable, {
|
4430
|
+
path: _path + ".examples",
|
4431
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4432
|
+
value: input.examples
|
4433
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4398
4434
|
path: _path + ".title",
|
4399
4435
|
expected: "(string | undefined)",
|
4400
4436
|
value: input.title
|
@@ -4406,15 +4442,7 @@ class MigrateApplication {
|
|
4406
4442
|
path: _path + ".deprecated",
|
4407
4443
|
expected: "(boolean | undefined)",
|
4408
4444
|
value: input.deprecated
|
4409
|
-
}), true
|
4410
|
-
path: _path + ".examples",
|
4411
|
-
expected: "(Record<string, any> | undefined)",
|
4412
|
-
value: input.examples
|
4413
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4414
|
-
path: _path + ".examples",
|
4415
|
-
expected: "(Record<string, any> | undefined)",
|
4416
|
-
value: input.examples
|
4417
|
-
})].every(flag => flag); const _vo110 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
4445
|
+
}), true].every(flag => flag); const _vo110 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
4418
4446
|
path: _path + ".allOf",
|
4419
4447
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4420
4448
|
value: input.allOf
|
@@ -4430,7 +4458,19 @@ class MigrateApplication {
|
|
4430
4458
|
path: _path + ".allOf",
|
4431
4459
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4432
4460
|
value: input.allOf
|
4433
|
-
}),
|
4461
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4462
|
+
path: _path + ".examples",
|
4463
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4464
|
+
value: input.examples
|
4465
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4466
|
+
path: _path + ".examples",
|
4467
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4468
|
+
value: input.examples
|
4469
|
+
})) || _report(_exceptionable, {
|
4470
|
+
path: _path + ".examples",
|
4471
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4472
|
+
value: input.examples
|
4473
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4434
4474
|
path: _path + ".title",
|
4435
4475
|
expected: "(string | undefined)",
|
4436
4476
|
value: input.title
|
@@ -4442,15 +4482,7 @@ class MigrateApplication {
|
|
4442
4482
|
path: _path + ".deprecated",
|
4443
4483
|
expected: "(boolean | undefined)",
|
4444
4484
|
value: input.deprecated
|
4445
|
-
}), true
|
4446
|
-
path: _path + ".examples",
|
4447
|
-
expected: "(Record<string, any> | undefined)",
|
4448
|
-
value: input.examples
|
4449
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4450
|
-
path: _path + ".examples",
|
4451
|
-
expected: "(Record<string, any> | undefined)",
|
4452
|
-
value: input.examples
|
4453
|
-
})].every(flag => flag); const _vo111 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
4485
|
+
}), true].every(flag => flag); const _vo111 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
4454
4486
|
path: _path + ".anyOf",
|
4455
4487
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4456
4488
|
value: input.anyOf
|
@@ -4466,7 +4498,19 @@ class MigrateApplication {
|
|
4466
4498
|
path: _path + ".anyOf",
|
4467
4499
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4468
4500
|
value: input.anyOf
|
4469
|
-
}),
|
4501
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4502
|
+
path: _path + ".examples",
|
4503
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4504
|
+
value: input.examples
|
4505
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4506
|
+
path: _path + ".examples",
|
4507
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4508
|
+
value: input.examples
|
4509
|
+
})) || _report(_exceptionable, {
|
4510
|
+
path: _path + ".examples",
|
4511
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4512
|
+
value: input.examples
|
4513
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4470
4514
|
path: _path + ".title",
|
4471
4515
|
expected: "(string | undefined)",
|
4472
4516
|
value: input.title
|
@@ -4478,15 +4522,7 @@ class MigrateApplication {
|
|
4478
4522
|
path: _path + ".deprecated",
|
4479
4523
|
expected: "(boolean | undefined)",
|
4480
4524
|
value: input.deprecated
|
4481
|
-
}), true
|
4482
|
-
path: _path + ".examples",
|
4483
|
-
expected: "(Record<string, any> | undefined)",
|
4484
|
-
value: input.examples
|
4485
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4486
|
-
path: _path + ".examples",
|
4487
|
-
expected: "(Record<string, any> | undefined)",
|
4488
|
-
value: input.examples
|
4489
|
-
})].every(flag => flag); const _vo112 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
4525
|
+
}), true].every(flag => flag); const _vo112 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
4490
4526
|
path: _path + ".oneOf",
|
4491
4527
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4492
4528
|
value: input.oneOf
|
@@ -4510,7 +4546,19 @@ class MigrateApplication {
|
|
4510
4546
|
path: _path + ".discriminator",
|
4511
4547
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
4512
4548
|
value: input.discriminator
|
4513
|
-
}),
|
4549
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4550
|
+
path: _path + ".examples",
|
4551
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4552
|
+
value: input.examples
|
4553
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4554
|
+
path: _path + ".examples",
|
4555
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4556
|
+
value: input.examples
|
4557
|
+
})) || _report(_exceptionable, {
|
4558
|
+
path: _path + ".examples",
|
4559
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4560
|
+
value: input.examples
|
4561
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4514
4562
|
path: _path + ".title",
|
4515
4563
|
expected: "(string | undefined)",
|
4516
4564
|
value: input.title
|
@@ -4522,15 +4570,7 @@ class MigrateApplication {
|
|
4522
4570
|
path: _path + ".deprecated",
|
4523
4571
|
expected: "(boolean | undefined)",
|
4524
4572
|
value: input.deprecated
|
4525
|
-
}), true
|
4526
|
-
path: _path + ".examples",
|
4527
|
-
expected: "(Record<string, any> | undefined)",
|
4528
|
-
value: input.examples
|
4529
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4530
|
-
path: _path + ".examples",
|
4531
|
-
expected: "(Record<string, any> | undefined)",
|
4532
|
-
value: input.examples
|
4533
|
-
})].every(flag => flag); const _vo113 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
4573
|
+
}), true].every(flag => flag); const _vo113 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
4534
4574
|
path: _path + ".propertyName",
|
4535
4575
|
expected: "string",
|
4536
4576
|
value: input.propertyName
|
@@ -4546,10 +4586,6 @@ class MigrateApplication {
|
|
4546
4586
|
path: _path + "[\"default\"]",
|
4547
4587
|
expected: "(null | undefined)",
|
4548
4588
|
value: input["default"]
|
4549
|
-
}), "null" === input.type || _report(_exceptionable, {
|
4550
|
-
path: _path + ".type",
|
4551
|
-
expected: "\"null\"",
|
4552
|
-
value: input.type
|
4553
4589
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4554
4590
|
path: _path + ".title",
|
4555
4591
|
expected: "(string | undefined)",
|
@@ -4562,23 +4598,23 @@ class MigrateApplication {
|
|
4562
4598
|
path: _path + ".deprecated",
|
4563
4599
|
expected: "(boolean | undefined)",
|
4564
4600
|
value: input.deprecated
|
4565
|
-
}), true,
|
4601
|
+
}), true, "null" === input.type || _report(_exceptionable, {
|
4602
|
+
path: _path + ".type",
|
4603
|
+
expected: "\"null\"",
|
4604
|
+
value: input.type
|
4605
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4566
4606
|
path: _path + ".examples",
|
4567
|
-
expected: "(Record<string, any> | undefined)",
|
4607
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4568
4608
|
value: input.examples
|
4569
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4609
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4570
4610
|
path: _path + ".examples",
|
4571
|
-
expected: "(Record<string, any> | undefined)",
|
4611
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4572
4612
|
value: input.examples
|
4573
|
-
})
|
4574
|
-
path: _path + ".
|
4575
|
-
expected: "undefined",
|
4576
|
-
value: input.
|
4577
|
-
}))
|
4578
|
-
path: _path + ".type",
|
4579
|
-
expected: "undefined",
|
4580
|
-
value: input.type
|
4581
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4613
|
+
})) || _report(_exceptionable, {
|
4614
|
+
path: _path + ".examples",
|
4615
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4616
|
+
value: input.examples
|
4617
|
+
}))].every(flag => flag); const _vo115 = (input, _path, _exceptionable = true) => [true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4582
4618
|
path: _path + ".title",
|
4583
4619
|
expected: "(string | undefined)",
|
4584
4620
|
value: input.title
|
@@ -4590,15 +4626,27 @@ class MigrateApplication {
|
|
4590
4626
|
path: _path + ".deprecated",
|
4591
4627
|
expected: "(boolean | undefined)",
|
4592
4628
|
value: input.deprecated
|
4593
|
-
}), true,
|
4629
|
+
}), true, (null !== input.type || _report(_exceptionable, {
|
4630
|
+
path: _path + ".type",
|
4631
|
+
expected: "undefined",
|
4632
|
+
value: input.type
|
4633
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
4634
|
+
path: _path + ".type",
|
4635
|
+
expected: "undefined",
|
4636
|
+
value: input.type
|
4637
|
+
})), (null !== input.examples || _report(_exceptionable, {
|
4594
4638
|
path: _path + ".examples",
|
4595
|
-
expected: "(Record<string, any> | undefined)",
|
4639
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4596
4640
|
value: input.examples
|
4597
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4641
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4598
4642
|
path: _path + ".examples",
|
4599
|
-
expected: "(Record<string, any> | undefined)",
|
4643
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4644
|
+
value: input.examples
|
4645
|
+
})) || _report(_exceptionable, {
|
4646
|
+
path: _path + ".examples",
|
4647
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4600
4648
|
value: input.examples
|
4601
|
-
})].every(flag => flag); const _vo116 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
4649
|
+
}))].every(flag => flag); const _vo116 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
4602
4650
|
const value = input[key];
|
4603
4651
|
if (undefined === value)
|
4604
4652
|
return true;
|
@@ -4689,7 +4737,19 @@ class MigrateApplication {
|
|
4689
4737
|
path: _path + ".$ref",
|
4690
4738
|
expected: "`#/components/examples/${string}`",
|
4691
4739
|
value: input.$ref
|
4692
|
-
}),
|
4740
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4741
|
+
path: _path + ".examples",
|
4742
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4743
|
+
value: input.examples
|
4744
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4745
|
+
path: _path + ".examples",
|
4746
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4747
|
+
value: input.examples
|
4748
|
+
})) || _report(_exceptionable, {
|
4749
|
+
path: _path + ".examples",
|
4750
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4751
|
+
value: input.examples
|
4752
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4693
4753
|
path: _path + ".title",
|
4694
4754
|
expected: "(string | undefined)",
|
4695
4755
|
value: input.title
|
@@ -4701,15 +4761,7 @@ class MigrateApplication {
|
|
4701
4761
|
path: _path + ".deprecated",
|
4702
4762
|
expected: "(boolean | undefined)",
|
4703
4763
|
value: input.deprecated
|
4704
|
-
}), true
|
4705
|
-
path: _path + ".examples",
|
4706
|
-
expected: "(Record<string, any> | undefined)",
|
4707
|
-
value: input.examples
|
4708
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4709
|
-
path: _path + ".examples",
|
4710
|
-
expected: "(Record<string, any> | undefined)",
|
4711
|
-
value: input.examples
|
4712
|
-
})].every(flag => flag); const _vo123 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
4764
|
+
}), true].every(flag => flag); const _vo123 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
4713
4765
|
const value = input[key];
|
4714
4766
|
if (undefined === value)
|
4715
4767
|
return true;
|
@@ -4754,7 +4806,19 @@ class MigrateApplication {
|
|
4754
4806
|
path: _path + ".$ref",
|
4755
4807
|
expected: "`#/components/headers/${string}`",
|
4756
4808
|
value: input.$ref
|
4757
|
-
}),
|
4809
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
4810
|
+
path: _path + ".examples",
|
4811
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4812
|
+
value: input.examples
|
4813
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4814
|
+
path: _path + ".examples",
|
4815
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4816
|
+
value: input.examples
|
4817
|
+
})) || _report(_exceptionable, {
|
4818
|
+
path: _path + ".examples",
|
4819
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
4820
|
+
value: input.examples
|
4821
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4758
4822
|
path: _path + ".title",
|
4759
4823
|
expected: "(string | undefined)",
|
4760
4824
|
value: input.title
|
@@ -4766,15 +4830,7 @@ class MigrateApplication {
|
|
4766
4830
|
path: _path + ".deprecated",
|
4767
4831
|
expected: "(boolean | undefined)",
|
4768
4832
|
value: input.deprecated
|
4769
|
-
}), true
|
4770
|
-
path: _path + ".examples",
|
4771
|
-
expected: "(Record<string, any> | undefined)",
|
4772
|
-
value: input.examples
|
4773
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4774
|
-
path: _path + ".examples",
|
4775
|
-
expected: "(Record<string, any> | undefined)",
|
4776
|
-
value: input.examples
|
4777
|
-
})].every(flag => flag); const _vo126 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
4833
|
+
}), true].every(flag => flag); const _vo126 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
4778
4834
|
const value = input[key];
|
4779
4835
|
if (undefined === value)
|
4780
4836
|
return true;
|
@@ -5164,7 +5220,19 @@ class MigrateApplication {
|
|
5164
5220
|
path: _path + ".$ref",
|
5165
5221
|
expected: "`#/components/parameters/${string}`",
|
5166
5222
|
value: input.$ref
|
5167
|
-
}),
|
5223
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
5224
|
+
path: _path + ".examples",
|
5225
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5226
|
+
value: input.examples
|
5227
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5228
|
+
path: _path + ".examples",
|
5229
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5230
|
+
value: input.examples
|
5231
|
+
})) || _report(_exceptionable, {
|
5232
|
+
path: _path + ".examples",
|
5233
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5234
|
+
value: input.examples
|
5235
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5168
5236
|
path: _path + ".title",
|
5169
5237
|
expected: "(string | undefined)",
|
5170
5238
|
value: input.title
|
@@ -5176,15 +5244,7 @@ class MigrateApplication {
|
|
5176
5244
|
path: _path + ".deprecated",
|
5177
5245
|
expected: "(boolean | undefined)",
|
5178
5246
|
value: input.deprecated
|
5179
|
-
}), true
|
5180
|
-
path: _path + ".examples",
|
5181
|
-
expected: "(Record<string, any> | undefined)",
|
5182
|
-
value: input.examples
|
5183
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5184
|
-
path: _path + ".examples",
|
5185
|
-
expected: "(Record<string, any> | undefined)",
|
5186
|
-
value: input.examples
|
5187
|
-
})].every(flag => flag); const _vo145 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
5247
|
+
}), true].every(flag => flag); const _vo145 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
5188
5248
|
path: _path + ".operationId",
|
5189
5249
|
expected: "(string | undefined)",
|
5190
5250
|
value: input.operationId
|
@@ -5280,7 +5340,19 @@ class MigrateApplication {
|
|
5280
5340
|
path: _path + ".$ref",
|
5281
5341
|
expected: "`#/components/requestBodies/${string}`",
|
5282
5342
|
value: input.$ref
|
5283
|
-
}),
|
5343
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
5344
|
+
path: _path + ".examples",
|
5345
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5346
|
+
value: input.examples
|
5347
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5348
|
+
path: _path + ".examples",
|
5349
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5350
|
+
value: input.examples
|
5351
|
+
})) || _report(_exceptionable, {
|
5352
|
+
path: _path + ".examples",
|
5353
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5354
|
+
value: input.examples
|
5355
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5284
5356
|
path: _path + ".title",
|
5285
5357
|
expected: "(string | undefined)",
|
5286
5358
|
value: input.title
|
@@ -5292,15 +5364,7 @@ class MigrateApplication {
|
|
5292
5364
|
path: _path + ".deprecated",
|
5293
5365
|
expected: "(boolean | undefined)",
|
5294
5366
|
value: input.deprecated
|
5295
|
-
}), true
|
5296
|
-
path: _path + ".examples",
|
5297
|
-
expected: "(Record<string, any> | undefined)",
|
5298
|
-
value: input.examples
|
5299
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5300
|
-
path: _path + ".examples",
|
5301
|
-
expected: "(Record<string, any> | undefined)",
|
5302
|
-
value: input.examples
|
5303
|
-
})].every(flag => flag); const _vo147 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
5367
|
+
}), true].every(flag => flag); const _vo147 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
5304
5368
|
const value = input[key];
|
5305
5369
|
if (undefined === value)
|
5306
5370
|
return true;
|
@@ -5317,7 +5381,19 @@ class MigrateApplication {
|
|
5317
5381
|
path: _path + ".$ref",
|
5318
5382
|
expected: "`#/components/responses/${string}`",
|
5319
5383
|
value: input.$ref
|
5320
|
-
}),
|
5384
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
5385
|
+
path: _path + ".examples",
|
5386
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5387
|
+
value: input.examples
|
5388
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5389
|
+
path: _path + ".examples",
|
5390
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5391
|
+
value: input.examples
|
5392
|
+
})) || _report(_exceptionable, {
|
5393
|
+
path: _path + ".examples",
|
5394
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5395
|
+
value: input.examples
|
5396
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5321
5397
|
path: _path + ".title",
|
5322
5398
|
expected: "(string | undefined)",
|
5323
5399
|
value: input.title
|
@@ -5329,15 +5405,7 @@ class MigrateApplication {
|
|
5329
5405
|
path: _path + ".deprecated",
|
5330
5406
|
expected: "(boolean | undefined)",
|
5331
5407
|
value: input.deprecated
|
5332
|
-
}), true
|
5333
|
-
path: _path + ".examples",
|
5334
|
-
expected: "(Record<string, any> | undefined)",
|
5335
|
-
value: input.examples
|
5336
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5337
|
-
path: _path + ".examples",
|
5338
|
-
expected: "(Record<string, any> | undefined)",
|
5339
|
-
value: input.examples
|
5340
|
-
})].every(flag => flag); const _vo149 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
5408
|
+
}), true].every(flag => flag); const _vo149 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
5341
5409
|
path: _path + ".name",
|
5342
5410
|
expected: "string",
|
5343
5411
|
value: input.name
|
@@ -5647,7 +5715,19 @@ class MigrateApplication {
|
|
5647
5715
|
path: _path + ".nullable",
|
5648
5716
|
expected: "(boolean | undefined)",
|
5649
5717
|
value: input.nullable
|
5650
|
-
}),
|
5718
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
5719
|
+
path: _path + ".examples",
|
5720
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5721
|
+
value: input.examples
|
5722
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5723
|
+
path: _path + ".examples",
|
5724
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5725
|
+
value: input.examples
|
5726
|
+
})) || _report(_exceptionable, {
|
5727
|
+
path: _path + ".examples",
|
5728
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5729
|
+
value: input.examples
|
5730
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5651
5731
|
path: _path + ".title",
|
5652
5732
|
expected: "(string | undefined)",
|
5653
5733
|
value: input.title
|
@@ -5659,15 +5739,7 @@ class MigrateApplication {
|
|
5659
5739
|
path: _path + ".deprecated",
|
5660
5740
|
expected: "(boolean | undefined)",
|
5661
5741
|
value: input.deprecated
|
5662
|
-
}), true, undefined === input.
|
5663
|
-
path: _path + ".examples",
|
5664
|
-
expected: "(Record<string, any> | undefined)",
|
5665
|
-
value: input.examples
|
5666
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5667
|
-
path: _path + ".examples",
|
5668
|
-
expected: "(Record<string, any> | undefined)",
|
5669
|
-
value: input.examples
|
5670
|
-
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
5742
|
+
}), true, undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
5671
5743
|
path: _path + ".minimum",
|
5672
5744
|
expected: "(number | undefined)",
|
5673
5745
|
value: input.minimum
|
@@ -5895,7 +5967,19 @@ class MigrateApplication {
|
|
5895
5967
|
path: _path + ".nullable",
|
5896
5968
|
expected: "(boolean | undefined)",
|
5897
5969
|
value: input.nullable
|
5898
|
-
}),
|
5970
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
5971
|
+
path: _path + ".examples",
|
5972
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5973
|
+
value: input.examples
|
5974
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5975
|
+
path: _path + ".examples",
|
5976
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5977
|
+
value: input.examples
|
5978
|
+
})) || _report(_exceptionable, {
|
5979
|
+
path: _path + ".examples",
|
5980
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5981
|
+
value: input.examples
|
5982
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5899
5983
|
path: _path + ".title",
|
5900
5984
|
expected: "(string | undefined)",
|
5901
5985
|
value: input.title
|
@@ -5907,15 +5991,7 @@ class MigrateApplication {
|
|
5907
5991
|
path: _path + ".deprecated",
|
5908
5992
|
expected: "(boolean | undefined)",
|
5909
5993
|
value: input.deprecated
|
5910
|
-
}), true
|
5911
|
-
path: _path + ".examples",
|
5912
|
-
expected: "(Record<string, any> | undefined)",
|
5913
|
-
value: input.examples
|
5914
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5915
|
-
path: _path + ".examples",
|
5916
|
-
expected: "(Record<string, any> | undefined)",
|
5917
|
-
value: input.examples
|
5918
|
-
})].every(flag => flag); const _vo161 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5994
|
+
}), true].every(flag => flag); const _vo161 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5919
5995
|
path: _path + ".nullable",
|
5920
5996
|
expected: "(boolean | undefined)",
|
5921
5997
|
value: input.nullable
|
@@ -5935,10 +6011,6 @@ class MigrateApplication {
|
|
5935
6011
|
path: _path + "[\"enum\"]",
|
5936
6012
|
expected: "(Array<boolean | null> | undefined)",
|
5937
6013
|
value: input["enum"]
|
5938
|
-
}), "boolean" === input.type || _report(_exceptionable, {
|
5939
|
-
path: _path + ".type",
|
5940
|
-
expected: "\"boolean\"",
|
5941
|
-
value: input.type
|
5942
6014
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5943
6015
|
path: _path + ".title",
|
5944
6016
|
expected: "(string | undefined)",
|
@@ -5951,15 +6023,23 @@ class MigrateApplication {
|
|
5951
6023
|
path: _path + ".deprecated",
|
5952
6024
|
expected: "(boolean | undefined)",
|
5953
6025
|
value: input.deprecated
|
5954
|
-
}), true,
|
6026
|
+
}), true, "boolean" === input.type || _report(_exceptionable, {
|
6027
|
+
path: _path + ".type",
|
6028
|
+
expected: "\"boolean\"",
|
6029
|
+
value: input.type
|
6030
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
5955
6031
|
path: _path + ".examples",
|
5956
|
-
expected: "(Record<string, any> | undefined)",
|
6032
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5957
6033
|
value: input.examples
|
5958
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6034
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5959
6035
|
path: _path + ".examples",
|
5960
|
-
expected: "(Record<string, any> | undefined)",
|
6036
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6037
|
+
value: input.examples
|
6038
|
+
})) || _report(_exceptionable, {
|
6039
|
+
path: _path + ".examples",
|
6040
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
5961
6041
|
value: input.examples
|
5962
|
-
})].every(flag => flag); const _vo162 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6042
|
+
}))].every(flag => flag); const _vo162 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5963
6043
|
path: _path + ".nullable",
|
5964
6044
|
expected: "(boolean | undefined)",
|
5965
6045
|
value: input.nullable
|
@@ -6027,10 +6107,6 @@ class MigrateApplication {
|
|
6027
6107
|
path: _path + ".multipleOf",
|
6028
6108
|
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
6029
6109
|
value: input.multipleOf
|
6030
|
-
}), "integer" === input.type || _report(_exceptionable, {
|
6031
|
-
path: _path + ".type",
|
6032
|
-
expected: "\"integer\"",
|
6033
|
-
value: input.type
|
6034
6110
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6035
6111
|
path: _path + ".title",
|
6036
6112
|
expected: "(string | undefined)",
|
@@ -6043,15 +6119,23 @@ class MigrateApplication {
|
|
6043
6119
|
path: _path + ".deprecated",
|
6044
6120
|
expected: "(boolean | undefined)",
|
6045
6121
|
value: input.deprecated
|
6046
|
-
}), true,
|
6122
|
+
}), true, "integer" === input.type || _report(_exceptionable, {
|
6123
|
+
path: _path + ".type",
|
6124
|
+
expected: "\"integer\"",
|
6125
|
+
value: input.type
|
6126
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6047
6127
|
path: _path + ".examples",
|
6048
|
-
expected: "(Record<string, any> | undefined)",
|
6128
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6049
6129
|
value: input.examples
|
6050
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6130
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6051
6131
|
path: _path + ".examples",
|
6052
|
-
expected: "(Record<string, any> | undefined)",
|
6132
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6133
|
+
value: input.examples
|
6134
|
+
})) || _report(_exceptionable, {
|
6135
|
+
path: _path + ".examples",
|
6136
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6053
6137
|
value: input.examples
|
6054
|
-
})].every(flag => flag); const _vo163 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6138
|
+
}))].every(flag => flag); const _vo163 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6055
6139
|
path: _path + ".nullable",
|
6056
6140
|
expected: "(boolean | undefined)",
|
6057
6141
|
value: input.nullable
|
@@ -6095,10 +6179,6 @@ class MigrateApplication {
|
|
6095
6179
|
path: _path + ".multipleOf",
|
6096
6180
|
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
6097
6181
|
value: input.multipleOf
|
6098
|
-
}), "number" === input.type || _report(_exceptionable, {
|
6099
|
-
path: _path + ".type",
|
6100
|
-
expected: "\"number\"",
|
6101
|
-
value: input.type
|
6102
6182
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6103
6183
|
path: _path + ".title",
|
6104
6184
|
expected: "(string | undefined)",
|
@@ -6111,15 +6191,23 @@ class MigrateApplication {
|
|
6111
6191
|
path: _path + ".deprecated",
|
6112
6192
|
expected: "(boolean | undefined)",
|
6113
6193
|
value: input.deprecated
|
6114
|
-
}), true,
|
6194
|
+
}), true, "number" === input.type || _report(_exceptionable, {
|
6195
|
+
path: _path + ".type",
|
6196
|
+
expected: "\"number\"",
|
6197
|
+
value: input.type
|
6198
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6115
6199
|
path: _path + ".examples",
|
6116
|
-
expected: "(Record<string, any> | undefined)",
|
6200
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6117
6201
|
value: input.examples
|
6118
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6202
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6119
6203
|
path: _path + ".examples",
|
6120
|
-
expected: "(Record<string, any> | undefined)",
|
6204
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6205
|
+
value: input.examples
|
6206
|
+
})) || _report(_exceptionable, {
|
6207
|
+
path: _path + ".examples",
|
6208
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6121
6209
|
value: input.examples
|
6122
|
-
})].every(flag => flag); const _vo164 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6210
|
+
}))].every(flag => flag); const _vo164 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6123
6211
|
path: _path + ".nullable",
|
6124
6212
|
expected: "(boolean | undefined)",
|
6125
6213
|
value: input.nullable
|
@@ -6167,10 +6255,6 @@ class MigrateApplication {
|
|
6167
6255
|
path: _path + ".maxLength",
|
6168
6256
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
6169
6257
|
value: input.maxLength
|
6170
|
-
}), "string" === input.type || _report(_exceptionable, {
|
6171
|
-
path: _path + ".type",
|
6172
|
-
expected: "\"string\"",
|
6173
|
-
value: input.type
|
6174
6258
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6175
6259
|
path: _path + ".title",
|
6176
6260
|
expected: "(string | undefined)",
|
@@ -6183,15 +6267,23 @@ class MigrateApplication {
|
|
6183
6267
|
path: _path + ".deprecated",
|
6184
6268
|
expected: "(boolean | undefined)",
|
6185
6269
|
value: input.deprecated
|
6186
|
-
}), true,
|
6270
|
+
}), true, "string" === input.type || _report(_exceptionable, {
|
6271
|
+
path: _path + ".type",
|
6272
|
+
expected: "\"string\"",
|
6273
|
+
value: input.type
|
6274
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6187
6275
|
path: _path + ".examples",
|
6188
|
-
expected: "(Record<string, any> | undefined)",
|
6276
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6189
6277
|
value: input.examples
|
6190
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6278
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6191
6279
|
path: _path + ".examples",
|
6192
|
-
expected: "(Record<string, any> | undefined)",
|
6280
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6193
6281
|
value: input.examples
|
6194
|
-
})
|
6282
|
+
})) || _report(_exceptionable, {
|
6283
|
+
path: _path + ".examples",
|
6284
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6285
|
+
value: input.examples
|
6286
|
+
}))].every(flag => flag); const _vo165 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6195
6287
|
path: _path + ".nullable",
|
6196
6288
|
expected: "(boolean | undefined)",
|
6197
6289
|
value: input.nullable
|
@@ -6263,10 +6355,6 @@ class MigrateApplication {
|
|
6263
6355
|
path: _path + ".maxItems",
|
6264
6356
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
6265
6357
|
value: input.maxItems
|
6266
|
-
}), "array" === input.type || _report(_exceptionable, {
|
6267
|
-
path: _path + ".type",
|
6268
|
-
expected: "\"array\"",
|
6269
|
-
value: input.type
|
6270
6358
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6271
6359
|
path: _path + ".title",
|
6272
6360
|
expected: "(string | undefined)",
|
@@ -6279,15 +6367,23 @@ class MigrateApplication {
|
|
6279
6367
|
path: _path + ".deprecated",
|
6280
6368
|
expected: "(boolean | undefined)",
|
6281
6369
|
value: input.deprecated
|
6282
|
-
}), true,
|
6370
|
+
}), true, "array" === input.type || _report(_exceptionable, {
|
6371
|
+
path: _path + ".type",
|
6372
|
+
expected: "\"array\"",
|
6373
|
+
value: input.type
|
6374
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6283
6375
|
path: _path + ".examples",
|
6284
|
-
expected: "(Record<string, any> | undefined)",
|
6376
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6285
6377
|
value: input.examples
|
6286
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6378
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6287
6379
|
path: _path + ".examples",
|
6288
|
-
expected: "(Record<string, any> | undefined)",
|
6380
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6381
|
+
value: input.examples
|
6382
|
+
})) || _report(_exceptionable, {
|
6383
|
+
path: _path + ".examples",
|
6384
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6289
6385
|
value: input.examples
|
6290
|
-
})].every(flag => flag); const _vo166 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6386
|
+
}))].every(flag => flag); const _vo166 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6291
6387
|
path: _path + ".nullable",
|
6292
6388
|
expected: "(boolean | undefined)",
|
6293
6389
|
value: input.nullable
|
@@ -6331,10 +6427,6 @@ class MigrateApplication {
|
|
6331
6427
|
path: _path + ".minProperties",
|
6332
6428
|
expected: "(number | undefined)",
|
6333
6429
|
value: input.minProperties
|
6334
|
-
}), "object" === input.type || _report(_exceptionable, {
|
6335
|
-
path: _path + ".type",
|
6336
|
-
expected: "\"object\"",
|
6337
|
-
value: input.type
|
6338
6430
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6339
6431
|
path: _path + ".title",
|
6340
6432
|
expected: "(string | undefined)",
|
@@ -6347,19 +6439,39 @@ class MigrateApplication {
|
|
6347
6439
|
path: _path + ".deprecated",
|
6348
6440
|
expected: "(boolean | undefined)",
|
6349
6441
|
value: input.deprecated
|
6350
|
-
}), true,
|
6442
|
+
}), true, "object" === input.type || _report(_exceptionable, {
|
6443
|
+
path: _path + ".type",
|
6444
|
+
expected: "\"object\"",
|
6445
|
+
value: input.type
|
6446
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6351
6447
|
path: _path + ".examples",
|
6352
|
-
expected: "(Record<string, any> | undefined)",
|
6448
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6353
6449
|
value: input.examples
|
6354
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6450
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6355
6451
|
path: _path + ".examples",
|
6356
|
-
expected: "(Record<string, any> | undefined)",
|
6452
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6453
|
+
value: input.examples
|
6454
|
+
})) || _report(_exceptionable, {
|
6455
|
+
path: _path + ".examples",
|
6456
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6357
6457
|
value: input.examples
|
6358
|
-
})].every(flag => flag); const _vo167 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
6458
|
+
}))].every(flag => flag); const _vo167 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
6359
6459
|
path: _path + ".$ref",
|
6360
6460
|
expected: "string",
|
6361
6461
|
value: input.$ref
|
6362
|
-
}),
|
6462
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6463
|
+
path: _path + ".examples",
|
6464
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6465
|
+
value: input.examples
|
6466
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6467
|
+
path: _path + ".examples",
|
6468
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6469
|
+
value: input.examples
|
6470
|
+
})) || _report(_exceptionable, {
|
6471
|
+
path: _path + ".examples",
|
6472
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6473
|
+
value: input.examples
|
6474
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6363
6475
|
path: _path + ".title",
|
6364
6476
|
expected: "(string | undefined)",
|
6365
6477
|
value: input.title
|
@@ -6371,19 +6483,23 @@ class MigrateApplication {
|
|
6371
6483
|
path: _path + ".deprecated",
|
6372
6484
|
expected: "(boolean | undefined)",
|
6373
6485
|
value: input.deprecated
|
6374
|
-
}), true
|
6486
|
+
}), true].every(flag => flag); const _vo168 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
6487
|
+
path: _path + ".$recursiveRef",
|
6488
|
+
expected: "string",
|
6489
|
+
value: input.$recursiveRef
|
6490
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6375
6491
|
path: _path + ".examples",
|
6376
|
-
expected: "(Record<string, any> | undefined)",
|
6492
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6377
6493
|
value: input.examples
|
6378
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6494
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6379
6495
|
path: _path + ".examples",
|
6380
|
-
expected: "(Record<string, any> | undefined)",
|
6496
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6381
6497
|
value: input.examples
|
6382
|
-
})
|
6383
|
-
path: _path + "
|
6384
|
-
expected: "string",
|
6385
|
-
value: input
|
6386
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6498
|
+
})) || _report(_exceptionable, {
|
6499
|
+
path: _path + ".examples",
|
6500
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6501
|
+
value: input.examples
|
6502
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6387
6503
|
path: _path + ".title",
|
6388
6504
|
expected: "(string | undefined)",
|
6389
6505
|
value: input.title
|
@@ -6395,15 +6511,7 @@ class MigrateApplication {
|
|
6395
6511
|
path: _path + ".deprecated",
|
6396
6512
|
expected: "(boolean | undefined)",
|
6397
6513
|
value: input.deprecated
|
6398
|
-
}), true
|
6399
|
-
path: _path + ".examples",
|
6400
|
-
expected: "(Record<string, any> | undefined)",
|
6401
|
-
value: input.examples
|
6402
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6403
|
-
path: _path + ".examples",
|
6404
|
-
expected: "(Record<string, any> | undefined)",
|
6405
|
-
value: input.examples
|
6406
|
-
})].every(flag => flag); const _vo169 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
6514
|
+
}), true].every(flag => flag); const _vo169 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
6407
6515
|
path: _path + ".allOf",
|
6408
6516
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6409
6517
|
value: input.allOf
|
@@ -6419,7 +6527,19 @@ class MigrateApplication {
|
|
6419
6527
|
path: _path + ".allOf",
|
6420
6528
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6421
6529
|
value: input.allOf
|
6422
|
-
}),
|
6530
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6531
|
+
path: _path + ".examples",
|
6532
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6533
|
+
value: input.examples
|
6534
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6535
|
+
path: _path + ".examples",
|
6536
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6537
|
+
value: input.examples
|
6538
|
+
})) || _report(_exceptionable, {
|
6539
|
+
path: _path + ".examples",
|
6540
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6541
|
+
value: input.examples
|
6542
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6423
6543
|
path: _path + ".title",
|
6424
6544
|
expected: "(string | undefined)",
|
6425
6545
|
value: input.title
|
@@ -6431,15 +6551,7 @@ class MigrateApplication {
|
|
6431
6551
|
path: _path + ".deprecated",
|
6432
6552
|
expected: "(boolean | undefined)",
|
6433
6553
|
value: input.deprecated
|
6434
|
-
}), true
|
6435
|
-
path: _path + ".examples",
|
6436
|
-
expected: "(Record<string, any> | undefined)",
|
6437
|
-
value: input.examples
|
6438
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6439
|
-
path: _path + ".examples",
|
6440
|
-
expected: "(Record<string, any> | undefined)",
|
6441
|
-
value: input.examples
|
6442
|
-
})].every(flag => flag); const _vo170 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
6554
|
+
}), true].every(flag => flag); const _vo170 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
6443
6555
|
path: _path + ".anyOf",
|
6444
6556
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6445
6557
|
value: input.anyOf
|
@@ -6455,7 +6567,19 @@ class MigrateApplication {
|
|
6455
6567
|
path: _path + ".anyOf",
|
6456
6568
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6457
6569
|
value: input.anyOf
|
6458
|
-
}),
|
6570
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6571
|
+
path: _path + ".examples",
|
6572
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6573
|
+
value: input.examples
|
6574
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6575
|
+
path: _path + ".examples",
|
6576
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6577
|
+
value: input.examples
|
6578
|
+
})) || _report(_exceptionable, {
|
6579
|
+
path: _path + ".examples",
|
6580
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6581
|
+
value: input.examples
|
6582
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6459
6583
|
path: _path + ".title",
|
6460
6584
|
expected: "(string | undefined)",
|
6461
6585
|
value: input.title
|
@@ -6467,15 +6591,7 @@ class MigrateApplication {
|
|
6467
6591
|
path: _path + ".deprecated",
|
6468
6592
|
expected: "(boolean | undefined)",
|
6469
6593
|
value: input.deprecated
|
6470
|
-
}), true
|
6471
|
-
path: _path + ".examples",
|
6472
|
-
expected: "(Record<string, any> | undefined)",
|
6473
|
-
value: input.examples
|
6474
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6475
|
-
path: _path + ".examples",
|
6476
|
-
expected: "(Record<string, any> | undefined)",
|
6477
|
-
value: input.examples
|
6478
|
-
})].every(flag => flag); const _vo171 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
6594
|
+
}), true].every(flag => flag); const _vo171 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
6479
6595
|
path: _path + ".oneOf",
|
6480
6596
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6481
6597
|
value: input.oneOf
|
@@ -6499,7 +6615,19 @@ class MigrateApplication {
|
|
6499
6615
|
path: _path + ".discriminator",
|
6500
6616
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
6501
6617
|
value: input.discriminator
|
6502
|
-
}),
|
6618
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6619
|
+
path: _path + ".examples",
|
6620
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6621
|
+
value: input.examples
|
6622
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6623
|
+
path: _path + ".examples",
|
6624
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6625
|
+
value: input.examples
|
6626
|
+
})) || _report(_exceptionable, {
|
6627
|
+
path: _path + ".examples",
|
6628
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6629
|
+
value: input.examples
|
6630
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6503
6631
|
path: _path + ".title",
|
6504
6632
|
expected: "(string | undefined)",
|
6505
6633
|
value: input.title
|
@@ -6511,15 +6639,7 @@ class MigrateApplication {
|
|
6511
6639
|
path: _path + ".deprecated",
|
6512
6640
|
expected: "(boolean | undefined)",
|
6513
6641
|
value: input.deprecated
|
6514
|
-
}), true
|
6515
|
-
path: _path + ".examples",
|
6516
|
-
expected: "(Record<string, any> | undefined)",
|
6517
|
-
value: input.examples
|
6518
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6519
|
-
path: _path + ".examples",
|
6520
|
-
expected: "(Record<string, any> | undefined)",
|
6521
|
-
value: input.examples
|
6522
|
-
})].every(flag => flag); const _vo172 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
6642
|
+
}), true].every(flag => flag); const _vo172 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
6523
6643
|
path: _path + ".propertyName",
|
6524
6644
|
expected: "string",
|
6525
6645
|
value: input.propertyName
|
@@ -6535,10 +6655,6 @@ class MigrateApplication {
|
|
6535
6655
|
path: _path + "[\"default\"]",
|
6536
6656
|
expected: "(null | undefined)",
|
6537
6657
|
value: input["default"]
|
6538
|
-
}), "null" === input.type || _report(_exceptionable, {
|
6539
|
-
path: _path + ".type",
|
6540
|
-
expected: "\"null\"",
|
6541
|
-
value: input.type
|
6542
6658
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6543
6659
|
path: _path + ".title",
|
6544
6660
|
expected: "(string | undefined)",
|
@@ -6551,15 +6667,23 @@ class MigrateApplication {
|
|
6551
6667
|
path: _path + ".deprecated",
|
6552
6668
|
expected: "(boolean | undefined)",
|
6553
6669
|
value: input.deprecated
|
6554
|
-
}), true,
|
6670
|
+
}), true, "null" === input.type || _report(_exceptionable, {
|
6671
|
+
path: _path + ".type",
|
6672
|
+
expected: "\"null\"",
|
6673
|
+
value: input.type
|
6674
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6555
6675
|
path: _path + ".examples",
|
6556
|
-
expected: "(Record<string, any> | undefined)",
|
6676
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6557
6677
|
value: input.examples
|
6558
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6678
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6559
6679
|
path: _path + ".examples",
|
6560
|
-
expected: "(Record<string, any> | undefined)",
|
6680
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6681
|
+
value: input.examples
|
6682
|
+
})) || _report(_exceptionable, {
|
6683
|
+
path: _path + ".examples",
|
6684
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6561
6685
|
value: input.examples
|
6562
|
-
})].every(flag => flag); const _vo174 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
6686
|
+
}))].every(flag => flag); const _vo174 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
6563
6687
|
path: _path + ".type",
|
6564
6688
|
expected: "undefined",
|
6565
6689
|
value: input.type
|
@@ -6579,15 +6703,19 @@ class MigrateApplication {
|
|
6579
6703
|
path: _path + ".deprecated",
|
6580
6704
|
expected: "(boolean | undefined)",
|
6581
6705
|
value: input.deprecated
|
6582
|
-
}), true,
|
6706
|
+
}), true, (null !== input.examples || _report(_exceptionable, {
|
6583
6707
|
path: _path + ".examples",
|
6584
|
-
expected: "(Record<string, any> | undefined)",
|
6708
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6585
6709
|
value: input.examples
|
6586
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6710
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6587
6711
|
path: _path + ".examples",
|
6588
|
-
expected: "(Record<string, any> | undefined)",
|
6712
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6713
|
+
value: input.examples
|
6714
|
+
})) || _report(_exceptionable, {
|
6715
|
+
path: _path + ".examples",
|
6716
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6589
6717
|
value: input.examples
|
6590
|
-
})].every(flag => flag); const _vo175 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
6718
|
+
}))].every(flag => flag); const _vo175 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
6591
6719
|
const value = input[key];
|
6592
6720
|
if (undefined === value)
|
6593
6721
|
return true;
|
@@ -6765,7 +6893,19 @@ class MigrateApplication {
|
|
6765
6893
|
path: _path + ".$ref",
|
6766
6894
|
expected: "`#/components/examples/${string}`",
|
6767
6895
|
value: input.$ref
|
6768
|
-
}),
|
6896
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6897
|
+
path: _path + ".examples",
|
6898
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6899
|
+
value: input.examples
|
6900
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6901
|
+
path: _path + ".examples",
|
6902
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6903
|
+
value: input.examples
|
6904
|
+
})) || _report(_exceptionable, {
|
6905
|
+
path: _path + ".examples",
|
6906
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6907
|
+
value: input.examples
|
6908
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6769
6909
|
path: _path + ".title",
|
6770
6910
|
expected: "(string | undefined)",
|
6771
6911
|
value: input.title
|
@@ -6777,19 +6917,23 @@ class MigrateApplication {
|
|
6777
6917
|
path: _path + ".deprecated",
|
6778
6918
|
expected: "(boolean | undefined)",
|
6779
6919
|
value: input.deprecated
|
6780
|
-
}), true
|
6920
|
+
}), true].every(flag => flag); const _vo181 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
6921
|
+
path: _path + ".$ref",
|
6922
|
+
expected: "`#/components/headers/${string}`",
|
6923
|
+
value: input.$ref
|
6924
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6781
6925
|
path: _path + ".examples",
|
6782
|
-
expected: "(Record<string, any> | undefined)",
|
6926
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6783
6927
|
value: input.examples
|
6784
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6928
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6785
6929
|
path: _path + ".examples",
|
6786
|
-
expected: "(Record<string, any> | undefined)",
|
6930
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6787
6931
|
value: input.examples
|
6788
|
-
})
|
6789
|
-
path: _path + "
|
6790
|
-
expected: "
|
6791
|
-
value: input
|
6792
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6932
|
+
})) || _report(_exceptionable, {
|
6933
|
+
path: _path + ".examples",
|
6934
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6935
|
+
value: input.examples
|
6936
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6793
6937
|
path: _path + ".title",
|
6794
6938
|
expected: "(string | undefined)",
|
6795
6939
|
value: input.title
|
@@ -6801,19 +6945,23 @@ class MigrateApplication {
|
|
6801
6945
|
path: _path + ".deprecated",
|
6802
6946
|
expected: "(boolean | undefined)",
|
6803
6947
|
value: input.deprecated
|
6804
|
-
}), true
|
6948
|
+
}), true].every(flag => flag); const _vo182 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
6949
|
+
path: _path + ".$ref",
|
6950
|
+
expected: "`#/components/parameters/${string}`",
|
6951
|
+
value: input.$ref
|
6952
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
6805
6953
|
path: _path + ".examples",
|
6806
|
-
expected: "(Record<string, any> | undefined)",
|
6954
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6807
6955
|
value: input.examples
|
6808
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6956
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6809
6957
|
path: _path + ".examples",
|
6810
|
-
expected: "(Record<string, any> | undefined)",
|
6958
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6811
6959
|
value: input.examples
|
6812
|
-
})
|
6813
|
-
path: _path + "
|
6814
|
-
expected: "
|
6815
|
-
value: input
|
6816
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6960
|
+
})) || _report(_exceptionable, {
|
6961
|
+
path: _path + ".examples",
|
6962
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
6963
|
+
value: input.examples
|
6964
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6817
6965
|
path: _path + ".title",
|
6818
6966
|
expected: "(string | undefined)",
|
6819
6967
|
value: input.title
|
@@ -6825,15 +6973,7 @@ class MigrateApplication {
|
|
6825
6973
|
path: _path + ".deprecated",
|
6826
6974
|
expected: "(boolean | undefined)",
|
6827
6975
|
value: input.deprecated
|
6828
|
-
}), true
|
6829
|
-
path: _path + ".examples",
|
6830
|
-
expected: "(Record<string, any> | undefined)",
|
6831
|
-
value: input.examples
|
6832
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6833
|
-
path: _path + ".examples",
|
6834
|
-
expected: "(Record<string, any> | undefined)",
|
6835
|
-
value: input.examples
|
6836
|
-
})].every(flag => flag); const _vo183 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
6976
|
+
}), true].every(flag => flag); const _vo183 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
6837
6977
|
path: _path + ".operationId",
|
6838
6978
|
expected: "(string | undefined)",
|
6839
6979
|
value: input.operationId
|
@@ -6974,7 +7114,19 @@ class MigrateApplication {
|
|
6974
7114
|
path: _path + ".$ref",
|
6975
7115
|
expected: "`#/components/requestBodies/${string}`",
|
6976
7116
|
value: input.$ref
|
6977
|
-
}),
|
7117
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
7118
|
+
path: _path + ".examples",
|
7119
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7120
|
+
value: input.examples
|
7121
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
7122
|
+
path: _path + ".examples",
|
7123
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7124
|
+
value: input.examples
|
7125
|
+
})) || _report(_exceptionable, {
|
7126
|
+
path: _path + ".examples",
|
7127
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7128
|
+
value: input.examples
|
7129
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6978
7130
|
path: _path + ".title",
|
6979
7131
|
expected: "(string | undefined)",
|
6980
7132
|
value: input.title
|
@@ -6986,15 +7138,7 @@ class MigrateApplication {
|
|
6986
7138
|
path: _path + ".deprecated",
|
6987
7139
|
expected: "(boolean | undefined)",
|
6988
7140
|
value: input.deprecated
|
6989
|
-
}), true
|
6990
|
-
path: _path + ".examples",
|
6991
|
-
expected: "(Record<string, any> | undefined)",
|
6992
|
-
value: input.examples
|
6993
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6994
|
-
path: _path + ".examples",
|
6995
|
-
expected: "(Record<string, any> | undefined)",
|
6996
|
-
value: input.examples
|
6997
|
-
})].every(flag => flag); const _vo188 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7141
|
+
}), true].every(flag => flag); const _vo188 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
6998
7142
|
const value = input[key];
|
6999
7143
|
if (undefined === value)
|
7000
7144
|
return true;
|
@@ -7072,7 +7216,19 @@ class MigrateApplication {
|
|
7072
7216
|
path: _path + ".$ref",
|
7073
7217
|
expected: "`#/components/responses/${string}`",
|
7074
7218
|
value: input.$ref
|
7075
|
-
}),
|
7219
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
7220
|
+
path: _path + ".examples",
|
7221
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7222
|
+
value: input.examples
|
7223
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
7224
|
+
path: _path + ".examples",
|
7225
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7226
|
+
value: input.examples
|
7227
|
+
})) || _report(_exceptionable, {
|
7228
|
+
path: _path + ".examples",
|
7229
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7230
|
+
value: input.examples
|
7231
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7076
7232
|
path: _path + ".title",
|
7077
7233
|
expected: "(string | undefined)",
|
7078
7234
|
value: input.title
|
@@ -7084,15 +7240,7 @@ class MigrateApplication {
|
|
7084
7240
|
path: _path + ".deprecated",
|
7085
7241
|
expected: "(boolean | undefined)",
|
7086
7242
|
value: input.deprecated
|
7087
|
-
}), true
|
7088
|
-
path: _path + ".examples",
|
7089
|
-
expected: "(Record<string, any> | undefined)",
|
7090
|
-
value: input.examples
|
7091
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
7092
|
-
path: _path + ".examples",
|
7093
|
-
expected: "(Record<string, any> | undefined)",
|
7094
|
-
value: input.examples
|
7095
|
-
})].every(flag => flag); const _vo193 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7243
|
+
}), true].every(flag => flag); const _vo193 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7096
7244
|
const value = input[key];
|
7097
7245
|
if (undefined === value)
|
7098
7246
|
return true;
|
@@ -7343,7 +7491,19 @@ class MigrateApplication {
|
|
7343
7491
|
path: _path + ".$ref",
|
7344
7492
|
expected: "`#/components/pathItems/${string}`",
|
7345
7493
|
value: input.$ref
|
7346
|
-
}),
|
7494
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
7495
|
+
path: _path + ".examples",
|
7496
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7497
|
+
value: input.examples
|
7498
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
7499
|
+
path: _path + ".examples",
|
7500
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7501
|
+
value: input.examples
|
7502
|
+
})) || _report(_exceptionable, {
|
7503
|
+
path: _path + ".examples",
|
7504
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
7505
|
+
value: input.examples
|
7506
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7347
7507
|
path: _path + ".title",
|
7348
7508
|
expected: "(string | undefined)",
|
7349
7509
|
value: input.title
|
@@ -7355,15 +7515,7 @@ class MigrateApplication {
|
|
7355
7515
|
path: _path + ".deprecated",
|
7356
7516
|
expected: "(boolean | undefined)",
|
7357
7517
|
value: input.deprecated
|
7358
|
-
}), true
|
7359
|
-
path: _path + ".examples",
|
7360
|
-
expected: "(Record<string, any> | undefined)",
|
7361
|
-
value: input.examples
|
7362
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
7363
|
-
path: _path + ".examples",
|
7364
|
-
expected: "(Record<string, any> | undefined)",
|
7365
|
-
value: input.examples
|
7366
|
-
})].every(flag => flag); const _vo210 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
7518
|
+
}), true].every(flag => flag); const _vo210 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
7367
7519
|
path: _path + ".name",
|
7368
7520
|
expected: "string",
|
7369
7521
|
value: input.name
|
@@ -7731,7 +7883,7 @@ class MigrateApplication {
|
|
7731
7883
|
else
|
7732
7884
|
return _vo176(input, _path, true && _exceptionable);
|
7733
7885
|
})(); const _vu24 = (input, _path, _exceptionable = true) => (() => {
|
7734
|
-
if (undefined !== input["x-samchon-emended"])
|
7886
|
+
if (undefined !== input["x-samchon-emended-v4"])
|
7735
7887
|
return _vo0(input, _path, true && _exceptionable);
|
7736
7888
|
else if (undefined !== input.swagger)
|
7737
7889
|
return _vo48(input, _path, true && _exceptionable);
|