@nestia/migrate 4.6.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/MigrateApplication.js +743 -715
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +3 -3
- package/lib/bundles/NEST_TEMPLATE.js.map +1 -1
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/index.mjs +734 -708
- package/lib/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/bundles/NEST_TEMPLATE.ts +3 -3
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
@@ -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 || "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 _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 || "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 _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.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)) &&
|
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 || "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 _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 || "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 _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)) &&
|
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 => {
|
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)) && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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) && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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) && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io71 = 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 || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io72 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io73 = input => "null" === input.type && (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 && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io74 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(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 || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io75 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(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 || Array.isArray(input.examples)) && "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 || "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 => {
|
124
124
|
const value = input[key];
|
125
125
|
if (undefined === value)
|
126
126
|
return true;
|
@@ -135,12 +135,12 @@ class MigrateApplication {
|
|
135
135
|
if (undefined === value)
|
136
136
|
return true;
|
137
137
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io87(value);
|
138
|
-
}); const _io87 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu3(elem))) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io89(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io89(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io89(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io89(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io89(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io89(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io89(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io89(input.trace)); const _io88 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true
|
138
|
+
}); const _io87 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu3(elem))) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io89(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io89(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io89(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io89(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io89(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io89(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io89(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io89(input.trace)); const _io88 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(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 _io89 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu4(elem))) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io91(input.responses)) && (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 _io90 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/parameters\/(.*)/).test(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 _io91 = input => Object.keys(input).every(key => {
|
139
139
|
const value = input[key];
|
140
140
|
if (undefined === value)
|
141
141
|
return true;
|
142
142
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu12(value);
|
143
|
-
}); const _io92 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/responses\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true
|
143
|
+
}); const _io92 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/responses\/(.*)/).test(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 _io93 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io94 = input => null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io95(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io98(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io101(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io142(input.paths)) && (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 && _io149(elem))); const _io95 = 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) && _io96(input.variables)); const _io96 = input => Object.keys(input).every(key => {
|
144
144
|
const value = input[key];
|
145
145
|
if (undefined === value)
|
146
146
|
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 => (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.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 _io104 = 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)) && "integer" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io105 = 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) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io106 = 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)) && "string" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io107 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io108 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io102(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && 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 => 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 _io111 = input => "null" === input.type && (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 && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io112 = 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 _io113 = 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 _io114 = 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 && _io115(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 _io115 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping)); 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)) && "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 => {
|
154
154
|
const value = input[key];
|
155
155
|
if (undefined === value)
|
156
156
|
return true;
|
@@ -205,77 +205,77 @@ class MigrateApplication {
|
|
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.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 _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) &&
|
208
|
+
}); const _io148 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(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 _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;
|
212
212
|
return "object" === typeof value && null !== value && _io153(value);
|
213
|
-
}); const _io153 = input => "string" === typeof input["default"] && (undefined === input["enum"] || Array.isArray(input["enum"]) && (1 <= input["enum"].length && input["enum"].every(elem => "string" === typeof elem))) && (undefined === input.description || "string" === typeof input.description); const _io154 = input => "string" === typeof input.title && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && _io155(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io156(input.license)) && "string" === typeof input.version; const _io155 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email); const _io156 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url); const _io157 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && _io158(input.schemas)) && (undefined === input.pathItems || "object" === typeof input.pathItems && null !== input.pathItems && false === Array.isArray(input.pathItems) &&
|
213
|
+
}); const _io153 = input => "string" === typeof input["default"] && (undefined === input["enum"] || Array.isArray(input["enum"]) && (1 <= input["enum"].length && input["enum"].every(elem => "string" === typeof elem))) && (undefined === input.description || "string" === typeof input.description); const _io154 = input => "string" === typeof input.title && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && _io155(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io156(input.license)) && "string" === typeof input.version; const _io155 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email); const _io156 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url); const _io157 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && _io158(input.schemas)) && (undefined === input.pathItems || "object" === typeof input.pathItems && null !== input.pathItems && false === Array.isArray(input.pathItems) && _io175(input.pathItems)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io193(input.responses)) && (undefined === input.parameters || "object" === typeof input.parameters && null !== input.parameters && false === Array.isArray(input.parameters) && _io194(input.parameters)) && (undefined === input.requestBodies || "object" === typeof input.requestBodies && null !== input.requestBodies && false === Array.isArray(input.requestBodies) && _io195(input.requestBodies)) && (undefined === input.securitySchemes || "object" === typeof input.securitySchemes && null !== input.securitySchemes && false === Array.isArray(input.securitySchemes) && _io196(input.securitySchemes)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io206(input.headers)) && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io207(input.examples)); const _io158 = input => Object.keys(input).every(key => {
|
214
214
|
const value = input[key];
|
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.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.nullable || "boolean" === typeof input.nullable) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.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 && _io173(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.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 => (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.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 _io162 = 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 && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io163 = 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) && "number" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io164 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (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.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 _io165 = input => null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu7(input.items))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu7(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples)); const _io166 = input => (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.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 _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 => 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 _io169 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && 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.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 _io171 = 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 _io172 = 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 && _io173(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 _io173 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping)); const _io174 = 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) && (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 => {
|
219
219
|
const value = input[key];
|
220
220
|
if (undefined === value)
|
221
221
|
return true;
|
222
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
223
|
-
}); const
|
222
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io176(value);
|
223
|
+
}); const _io176 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu8(elem))) && (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.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io183(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io183(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io183(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io183(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io183(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io183(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io183(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io183(input.trace)); const _io177 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (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)); const _io178 = input => Object.keys(input).every(key => {
|
224
224
|
const value = input[key];
|
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
|
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.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 _io181 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(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 _io182 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(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 _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
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
233
|
-
}); const
|
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.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 _io188 = input => Object.keys(input).every(key => {
|
234
234
|
const value = input[key];
|
235
235
|
if (undefined === value)
|
236
236
|
return true;
|
237
237
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu20(value);
|
238
|
-
}); const
|
238
|
+
}); const _io189 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io185(input.content)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io190(input.headers)) && (undefined === input.description || "string" === typeof input.description); const _io190 = input => Object.keys(input).every(key => {
|
239
239
|
const value = input[key];
|
240
240
|
if (undefined === value)
|
241
241
|
return true;
|
242
242
|
return "object" === typeof value && null !== value && _iu21(value);
|
243
|
-
}); const
|
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.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 _io193 = input => Object.keys(input).every(key => {
|
244
244
|
const value = input[key];
|
245
245
|
if (undefined === value)
|
246
246
|
return true;
|
247
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
248
|
-
}); const
|
247
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io189(value);
|
248
|
+
}); const _io194 = input => Object.keys(input).every(key => {
|
249
249
|
const value = input[key];
|
250
250
|
if (undefined === value)
|
251
251
|
return true;
|
252
|
-
return "object" === typeof value && null !== value &&
|
253
|
-
}); const
|
252
|
+
return "object" === typeof value && null !== value && _io177(value);
|
253
|
+
}); const _io195 = input => Object.keys(input).every(key => {
|
254
254
|
const value = input[key];
|
255
255
|
if (undefined === value)
|
256
256
|
return true;
|
257
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
258
|
-
}); const
|
257
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io184(value);
|
258
|
+
}); const _io196 = input => Object.keys(input).every(key => {
|
259
259
|
const value = input[key];
|
260
260
|
if (undefined === value)
|
261
261
|
return true;
|
262
262
|
return "object" === typeof value && null !== value && _iu22(value);
|
263
|
-
}); const
|
263
|
+
}); const _io197 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description); const _io198 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io199 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); const _io200 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io201(input.flows)) && (undefined === input.description || "string" === typeof input.description); const _io201 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io202(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io203(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io204(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io204(input.clientCredentials)); const _io202 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes)); const _io203 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes)); const _io204 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes)); const _io205 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io206 = input => Object.keys(input).every(key => {
|
264
264
|
const value = input[key];
|
265
265
|
if (undefined === value)
|
266
266
|
return true;
|
267
|
-
return "object" === typeof value && null !== value &&
|
268
|
-
}); const
|
267
|
+
return "object" === typeof value && null !== value && _io191(value);
|
268
|
+
}); const _io207 = input => Object.keys(input).every(key => {
|
269
269
|
const value = input[key];
|
270
270
|
if (undefined === value)
|
271
271
|
return true;
|
272
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
273
|
-
}); const
|
272
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io179(value);
|
273
|
+
}); const _io208 = input => Object.keys(input).every(key => {
|
274
274
|
const value = input[key];
|
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
|
278
|
+
}); const _io209 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(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 _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)
|
@@ -338,14 +338,14 @@ class MigrateApplication {
|
|
338
338
|
return _io58(input);
|
339
339
|
else if (undefined !== input.$ref)
|
340
340
|
return _io59(input);
|
341
|
-
else if ("null" === input.type)
|
342
|
-
return _io61(input);
|
343
341
|
else if (undefined !== input["x-anyOf"])
|
344
|
-
return
|
342
|
+
return _io60(input);
|
345
343
|
else if (undefined !== input["x-oneOf"])
|
346
|
-
return
|
344
|
+
return _io61(input);
|
345
|
+
else if ("null" === input.type)
|
346
|
+
return _io62(input);
|
347
347
|
else
|
348
|
-
return
|
348
|
+
return _io63(input);
|
349
349
|
})(); const _iu3 = input => (() => {
|
350
350
|
if ("boolean" === input.type)
|
351
351
|
return _io65(input);
|
@@ -359,20 +359,20 @@ class MigrateApplication {
|
|
359
359
|
return _io69(input);
|
360
360
|
else if ("object" === input.type)
|
361
361
|
return _io70(input);
|
362
|
-
else if ("null" === input.type)
|
363
|
-
return _io73(input);
|
364
362
|
else if (undefined !== input["x-anyOf"])
|
365
|
-
return
|
363
|
+
return _io72(input);
|
366
364
|
else if (undefined !== input["x-oneOf"])
|
367
|
-
return
|
365
|
+
return _io73(input);
|
366
|
+
else if ("null" === input.type)
|
367
|
+
return _io74(input);
|
368
368
|
else if (undefined !== input.schema)
|
369
369
|
return _io76(input);
|
370
370
|
else
|
371
371
|
return (() => {
|
372
372
|
if (_io71(input))
|
373
373
|
return _io71(input);
|
374
|
-
if (
|
375
|
-
return
|
374
|
+
if (_io75(input))
|
375
|
+
return _io75(input);
|
376
376
|
if (_io88(input))
|
377
377
|
return _io88(input);
|
378
378
|
return false;
|
@@ -390,20 +390,20 @@ class MigrateApplication {
|
|
390
390
|
return _io69(input);
|
391
391
|
else if ("object" === input.type)
|
392
392
|
return _io70(input);
|
393
|
-
else if ("null" === input.type)
|
394
|
-
return _io73(input);
|
395
393
|
else if (undefined !== input["x-anyOf"])
|
396
|
-
return
|
394
|
+
return _io72(input);
|
397
395
|
else if (undefined !== input["x-oneOf"])
|
398
|
-
return
|
396
|
+
return _io73(input);
|
397
|
+
else if ("null" === input.type)
|
398
|
+
return _io74(input);
|
399
399
|
else if (undefined !== input.schema)
|
400
400
|
return _io76(input);
|
401
401
|
else
|
402
402
|
return (() => {
|
403
403
|
if (_io71(input))
|
404
404
|
return _io71(input);
|
405
|
-
if (
|
406
|
-
return
|
405
|
+
if (_io75(input))
|
406
|
+
return _io75(input);
|
407
407
|
if (_io90(input))
|
408
408
|
return _io90(input);
|
409
409
|
return false;
|
@@ -423,16 +423,16 @@ class MigrateApplication {
|
|
423
423
|
return _io108(input);
|
424
424
|
else if (undefined !== input.$ref)
|
425
425
|
return _io109(input);
|
426
|
-
else if ("null" === input.type)
|
427
|
-
return _io111(input);
|
428
426
|
else if (undefined !== input.allOf)
|
429
|
-
return
|
427
|
+
return _io110(input);
|
430
428
|
else if (undefined !== input.anyOf)
|
431
|
-
return
|
429
|
+
return _io111(input);
|
432
430
|
else if (undefined !== input.oneOf)
|
431
|
+
return _io112(input);
|
432
|
+
else if ("null" === input.type)
|
433
433
|
return _io114(input);
|
434
434
|
else
|
435
|
-
return
|
435
|
+
return _io115(input);
|
436
436
|
})(); const _iu6 = input => (() => {
|
437
437
|
if (undefined !== input["in"])
|
438
438
|
return _io127(input);
|
@@ -457,8 +457,10 @@ class MigrateApplication {
|
|
457
457
|
return _io165(input);
|
458
458
|
else if ("object" === input.type)
|
459
459
|
return _io166(input);
|
460
|
+
else if (undefined !== input.$recursiveRef)
|
461
|
+
return _io168(input);
|
460
462
|
else if ("null" === input.type)
|
461
|
-
return
|
463
|
+
return _io173(input);
|
462
464
|
else
|
463
465
|
return (() => {
|
464
466
|
if (undefined !== input["const"])
|
@@ -466,21 +468,21 @@ class MigrateApplication {
|
|
466
468
|
else if (undefined !== input.$ref)
|
467
469
|
return _io167(input);
|
468
470
|
else if (undefined !== input.allOf)
|
469
|
-
return
|
471
|
+
return _io169(input);
|
470
472
|
else if (undefined !== input.anyOf)
|
471
|
-
return
|
473
|
+
return _io170(input);
|
472
474
|
else if (undefined !== input.oneOf)
|
473
|
-
return
|
475
|
+
return _io171(input);
|
474
476
|
else
|
475
|
-
return
|
477
|
+
return _io174(input);
|
476
478
|
})();
|
477
479
|
})(); const _iu8 = input => (() => {
|
478
480
|
if (undefined !== input["in"])
|
479
|
-
return
|
481
|
+
return _io177(input);
|
480
482
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref))
|
481
|
-
return
|
483
|
+
return _io182(input);
|
482
484
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref))
|
483
|
-
return
|
485
|
+
return _io181(input);
|
484
486
|
else
|
485
487
|
return false;
|
486
488
|
})(); const _iu9 = input => (() => {
|
@@ -511,16 +513,16 @@ class MigrateApplication {
|
|
511
513
|
return _io70(input);
|
512
514
|
else if (undefined !== input.$ref)
|
513
515
|
return _io71(input);
|
514
|
-
else if ("null" === input.type)
|
515
|
-
return _io73(input);
|
516
516
|
else if (undefined !== input["x-anyOf"])
|
517
|
-
return
|
517
|
+
return _io72(input);
|
518
518
|
else if (undefined !== input["x-oneOf"])
|
519
|
-
return
|
519
|
+
return _io73(input);
|
520
|
+
else if ("null" === input.type)
|
521
|
+
return _io74(input);
|
520
522
|
else if (undefined !== input.schema)
|
521
523
|
return _io76(input);
|
522
524
|
else
|
523
|
-
return
|
525
|
+
return _io75(input);
|
524
526
|
})(); const _iu11 = input => (() => {
|
525
527
|
if ("apiKey" === input.type)
|
526
528
|
return _io80(input);
|
@@ -578,44 +580,44 @@ class MigrateApplication {
|
|
578
580
|
return _io117(input);
|
579
581
|
})(); const _iu18 = input => (() => {
|
580
582
|
if (undefined !== input.$ref)
|
581
|
-
return
|
583
|
+
return _io180(input);
|
582
584
|
else
|
583
|
-
return
|
585
|
+
return _io179(input);
|
584
586
|
})(); const _iu19 = input => (() => {
|
585
587
|
if (undefined !== input.$ref)
|
586
|
-
return
|
588
|
+
return _io187(input);
|
587
589
|
else
|
588
|
-
return
|
590
|
+
return _io184(input);
|
589
591
|
})(); const _iu20 = input => (() => {
|
590
592
|
if (undefined !== input.$ref)
|
591
|
-
return
|
593
|
+
return _io192(input);
|
592
594
|
else
|
593
|
-
return
|
595
|
+
return _io189(input);
|
594
596
|
})(); const _iu21 = input => (() => {
|
595
597
|
if (undefined !== input.$ref)
|
596
|
-
return
|
598
|
+
return _io181(input);
|
597
599
|
else if (undefined !== input.schema)
|
598
|
-
return
|
600
|
+
return _io191(input);
|
599
601
|
else
|
600
602
|
return false;
|
601
603
|
})(); const _iu22 = input => (() => {
|
602
604
|
if ("apiKey" === input.type)
|
603
|
-
return _io196(input);
|
604
|
-
else if ("basic" === input.scheme)
|
605
605
|
return _io197(input);
|
606
|
-
else if ("
|
606
|
+
else if ("basic" === input.scheme)
|
607
607
|
return _io198(input);
|
608
|
-
else if ("
|
608
|
+
else if ("bearer" === input.scheme)
|
609
609
|
return _io199(input);
|
610
|
+
else if ("oauth2" === input.type)
|
611
|
+
return _io200(input);
|
610
612
|
else if ("openIdConnect" === input.type)
|
611
|
-
return
|
613
|
+
return _io205(input);
|
612
614
|
else
|
613
615
|
return false;
|
614
616
|
})(); const _iu23 = input => (() => {
|
615
617
|
if (undefined !== input.$ref)
|
616
|
-
return
|
618
|
+
return _io209(input);
|
617
619
|
else
|
618
|
-
return
|
620
|
+
return _io176(input);
|
619
621
|
})(); const _iu24 = input => (() => {
|
620
622
|
if (undefined !== input["x-samchon-emended"])
|
621
623
|
return _io0(input);
|
@@ -1142,7 +1144,11 @@ class MigrateApplication {
|
|
1142
1144
|
path: _path + ".examples",
|
1143
1145
|
expected: "(Record<string, any> | undefined)",
|
1144
1146
|
value: input.examples
|
1145
|
-
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [
|
1147
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["array" === input.type || _report(_exceptionable, {
|
1148
|
+
path: _path + ".type",
|
1149
|
+
expected: "\"array\"",
|
1150
|
+
value: input.type
|
1151
|
+
}), (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
1146
1152
|
path: _path + ".prefixItems",
|
1147
1153
|
expected: "Array<OpenApi.IJsonSchema>",
|
1148
1154
|
value: input.prefixItems
|
@@ -1190,10 +1196,6 @@ class MigrateApplication {
|
|
1190
1196
|
path: _path + ".maxItems",
|
1191
1197
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
1192
1198
|
value: input.maxItems
|
1193
|
-
}), "array" === input.type || _report(_exceptionable, {
|
1194
|
-
path: _path + ".type",
|
1195
|
-
expected: "\"array\"",
|
1196
|
-
value: input.type
|
1197
1199
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
1198
1200
|
path: _path + ".title",
|
1199
1201
|
expected: "(string | undefined)",
|
@@ -1366,7 +1368,7 @@ class MigrateApplication {
|
|
1366
1368
|
path: _path + ".examples",
|
1367
1369
|
expected: "(Record<string, any> | undefined)",
|
1368
1370
|
value: input.examples
|
1369
|
-
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
1371
|
+
})].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [true, (null !== input.type || _report(_exceptionable, {
|
1370
1372
|
path: _path + ".type",
|
1371
1373
|
expected: "undefined",
|
1372
1374
|
value: input.type
|
@@ -2229,14 +2231,6 @@ class MigrateApplication {
|
|
2229
2231
|
path: _path + "[\"enum\"]",
|
2230
2232
|
expected: "(Array<boolean | null> | undefined)",
|
2231
2233
|
value: input["enum"]
|
2232
|
-
}), "boolean" === input.type || _report(_exceptionable, {
|
2233
|
-
path: _path + ".type",
|
2234
|
-
expected: "\"boolean\"",
|
2235
|
-
value: input.type
|
2236
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2237
|
-
path: _path + "[\"x-nullable\"]",
|
2238
|
-
expected: "(boolean | undefined)",
|
2239
|
-
value: input["x-nullable"]
|
2240
2234
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2241
2235
|
path: _path + ".title",
|
2242
2236
|
expected: "(string | undefined)",
|
@@ -2249,7 +2243,15 @@ class MigrateApplication {
|
|
2249
2243
|
path: _path + ".deprecated",
|
2250
2244
|
expected: "(boolean | undefined)",
|
2251
2245
|
value: input.deprecated
|
2252
|
-
}), true,
|
2246
|
+
}), true, "boolean" === input.type || _report(_exceptionable, {
|
2247
|
+
path: _path + ".type",
|
2248
|
+
expected: "\"boolean\"",
|
2249
|
+
value: input.type
|
2250
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2251
|
+
path: _path + "[\"x-nullable\"]",
|
2252
|
+
expected: "(boolean | undefined)",
|
2253
|
+
value: input["x-nullable"]
|
2254
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2253
2255
|
path: _path + ".examples",
|
2254
2256
|
expected: "(Array<any> | undefined)",
|
2255
2257
|
value: input.examples
|
@@ -2309,14 +2311,6 @@ class MigrateApplication {
|
|
2309
2311
|
path: _path + ".multipleOf",
|
2310
2312
|
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
2311
2313
|
value: input.multipleOf
|
2312
|
-
}), "integer" === input.type || _report(_exceptionable, {
|
2313
|
-
path: _path + ".type",
|
2314
|
-
expected: "\"integer\"",
|
2315
|
-
value: input.type
|
2316
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2317
|
-
path: _path + "[\"x-nullable\"]",
|
2318
|
-
expected: "(boolean | undefined)",
|
2319
|
-
value: input["x-nullable"]
|
2320
2314
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2321
2315
|
path: _path + ".title",
|
2322
2316
|
expected: "(string | undefined)",
|
@@ -2329,7 +2323,15 @@ class MigrateApplication {
|
|
2329
2323
|
path: _path + ".deprecated",
|
2330
2324
|
expected: "(boolean | undefined)",
|
2331
2325
|
value: input.deprecated
|
2332
|
-
}), true,
|
2326
|
+
}), true, "integer" === input.type || _report(_exceptionable, {
|
2327
|
+
path: _path + ".type",
|
2328
|
+
expected: "\"integer\"",
|
2329
|
+
value: input.type
|
2330
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2331
|
+
path: _path + "[\"x-nullable\"]",
|
2332
|
+
expected: "(boolean | undefined)",
|
2333
|
+
value: input["x-nullable"]
|
2334
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2333
2335
|
path: _path + ".examples",
|
2334
2336
|
expected: "(Array<any> | undefined)",
|
2335
2337
|
value: input.examples
|
@@ -2373,14 +2375,6 @@ class MigrateApplication {
|
|
2373
2375
|
path: _path + ".multipleOf",
|
2374
2376
|
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
2375
2377
|
value: input.multipleOf
|
2376
|
-
}), "number" === input.type || _report(_exceptionable, {
|
2377
|
-
path: _path + ".type",
|
2378
|
-
expected: "\"number\"",
|
2379
|
-
value: input.type
|
2380
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2381
|
-
path: _path + "[\"x-nullable\"]",
|
2382
|
-
expected: "(boolean | undefined)",
|
2383
|
-
value: input["x-nullable"]
|
2384
2378
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2385
2379
|
path: _path + ".title",
|
2386
2380
|
expected: "(string | undefined)",
|
@@ -2393,7 +2387,15 @@ class MigrateApplication {
|
|
2393
2387
|
path: _path + ".deprecated",
|
2394
2388
|
expected: "(boolean | undefined)",
|
2395
2389
|
value: input.deprecated
|
2396
|
-
}), true,
|
2390
|
+
}), true, "number" === input.type || _report(_exceptionable, {
|
2391
|
+
path: _path + ".type",
|
2392
|
+
expected: "\"number\"",
|
2393
|
+
value: input.type
|
2394
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2395
|
+
path: _path + "[\"x-nullable\"]",
|
2396
|
+
expected: "(boolean | undefined)",
|
2397
|
+
value: input["x-nullable"]
|
2398
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2397
2399
|
path: _path + ".examples",
|
2398
2400
|
expected: "(Array<any> | undefined)",
|
2399
2401
|
value: input.examples
|
@@ -2437,14 +2439,6 @@ class MigrateApplication {
|
|
2437
2439
|
path: _path + ".maxLength",
|
2438
2440
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
2439
2441
|
value: input.maxLength
|
2440
|
-
}), "string" === input.type || _report(_exceptionable, {
|
2441
|
-
path: _path + ".type",
|
2442
|
-
expected: "\"string\"",
|
2443
|
-
value: input.type
|
2444
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2445
|
-
path: _path + "[\"x-nullable\"]",
|
2446
|
-
expected: "(boolean | undefined)",
|
2447
|
-
value: input["x-nullable"]
|
2448
2442
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2449
2443
|
path: _path + ".title",
|
2450
2444
|
expected: "(string | undefined)",
|
@@ -2457,7 +2451,15 @@ class MigrateApplication {
|
|
2457
2451
|
path: _path + ".deprecated",
|
2458
2452
|
expected: "(boolean | undefined)",
|
2459
2453
|
value: input.deprecated
|
2460
|
-
}), true,
|
2454
|
+
}), true, "string" === input.type || _report(_exceptionable, {
|
2455
|
+
path: _path + ".type",
|
2456
|
+
expected: "\"string\"",
|
2457
|
+
value: input.type
|
2458
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2459
|
+
path: _path + "[\"x-nullable\"]",
|
2460
|
+
expected: "(boolean | undefined)",
|
2461
|
+
value: input["x-nullable"]
|
2462
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2461
2463
|
path: _path + ".examples",
|
2462
2464
|
expected: "(Array<any> | undefined)",
|
2463
2465
|
value: input.examples
|
@@ -2489,14 +2491,6 @@ class MigrateApplication {
|
|
2489
2491
|
path: _path + ".maxItems",
|
2490
2492
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
2491
2493
|
value: input.maxItems
|
2492
|
-
}), "array" === input.type || _report(_exceptionable, {
|
2493
|
-
path: _path + ".type",
|
2494
|
-
expected: "\"array\"",
|
2495
|
-
value: input.type
|
2496
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2497
|
-
path: _path + "[\"x-nullable\"]",
|
2498
|
-
expected: "(boolean | undefined)",
|
2499
|
-
value: input["x-nullable"]
|
2500
2494
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2501
2495
|
path: _path + ".title",
|
2502
2496
|
expected: "(string | undefined)",
|
@@ -2509,7 +2503,15 @@ class MigrateApplication {
|
|
2509
2503
|
path: _path + ".deprecated",
|
2510
2504
|
expected: "(boolean | undefined)",
|
2511
2505
|
value: input.deprecated
|
2512
|
-
}), true,
|
2506
|
+
}), true, "array" === input.type || _report(_exceptionable, {
|
2507
|
+
path: _path + ".type",
|
2508
|
+
expected: "\"array\"",
|
2509
|
+
value: input.type
|
2510
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2511
|
+
path: _path + "[\"x-nullable\"]",
|
2512
|
+
expected: "(boolean | undefined)",
|
2513
|
+
value: input["x-nullable"]
|
2514
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2513
2515
|
path: _path + ".examples",
|
2514
2516
|
expected: "(Array<any> | undefined)",
|
2515
2517
|
value: input.examples
|
@@ -2553,14 +2555,6 @@ class MigrateApplication {
|
|
2553
2555
|
path: _path + ".minProperties",
|
2554
2556
|
expected: "(number | undefined)",
|
2555
2557
|
value: input.minProperties
|
2556
|
-
}), "object" === input.type || _report(_exceptionable, {
|
2557
|
-
path: _path + ".type",
|
2558
|
-
expected: "\"object\"",
|
2559
|
-
value: input.type
|
2560
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2561
|
-
path: _path + "[\"x-nullable\"]",
|
2562
|
-
expected: "(boolean | undefined)",
|
2563
|
-
value: input["x-nullable"]
|
2564
2558
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2565
2559
|
path: _path + ".title",
|
2566
2560
|
expected: "(string | undefined)",
|
@@ -2573,7 +2567,15 @@ class MigrateApplication {
|
|
2573
2567
|
path: _path + ".deprecated",
|
2574
2568
|
expected: "(boolean | undefined)",
|
2575
2569
|
value: input.deprecated
|
2576
|
-
}), true,
|
2570
|
+
}), true, "object" === input.type || _report(_exceptionable, {
|
2571
|
+
path: _path + ".type",
|
2572
|
+
expected: "\"object\"",
|
2573
|
+
value: input.type
|
2574
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2575
|
+
path: _path + "[\"x-nullable\"]",
|
2576
|
+
expected: "(boolean | undefined)",
|
2577
|
+
value: input["x-nullable"]
|
2578
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2577
2579
|
path: _path + ".examples",
|
2578
2580
|
expected: "(Array<any> | undefined)",
|
2579
2581
|
value: input.examples
|
@@ -2581,54 +2583,10 @@ class MigrateApplication {
|
|
2581
2583
|
path: _path + ".$ref",
|
2582
2584
|
expected: "string",
|
2583
2585
|
value: input.$ref
|
2584
|
-
}), undefined === input.
|
2585
|
-
path: _path + ".title",
|
2586
|
-
expected: "(string | undefined)",
|
2587
|
-
value: input.title
|
2588
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
2589
|
-
path: _path + ".description",
|
2590
|
-
expected: "(string | undefined)",
|
2591
|
-
value: input.description
|
2592
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
2593
|
-
path: _path + ".deprecated",
|
2594
|
-
expected: "(boolean | undefined)",
|
2595
|
-
value: input.deprecated
|
2596
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2597
|
-
path: _path + ".examples",
|
2598
|
-
expected: "(Array<any> | undefined)",
|
2599
|
-
value: input.examples
|
2600
|
-
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
2601
|
-
path: _path + ".type",
|
2602
|
-
expected: "undefined",
|
2603
|
-
value: input.type
|
2604
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
2605
|
-
path: _path + ".type",
|
2606
|
-
expected: "undefined",
|
2607
|
-
value: input.type
|
2608
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2609
|
-
path: _path + ".title",
|
2610
|
-
expected: "(string | undefined)",
|
2611
|
-
value: input.title
|
2612
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
2613
|
-
path: _path + ".description",
|
2614
|
-
expected: "(string | undefined)",
|
2615
|
-
value: input.description
|
2616
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
2617
|
-
path: _path + ".deprecated",
|
2618
|
-
expected: "(boolean | undefined)",
|
2619
|
-
value: input.deprecated
|
2620
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2586
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2621
2587
|
path: _path + ".examples",
|
2622
2588
|
expected: "(Array<any> | undefined)",
|
2623
2589
|
value: input.examples
|
2624
|
-
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
2625
|
-
path: _path + ".type",
|
2626
|
-
expected: "\"null\"",
|
2627
|
-
value: input.type
|
2628
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
2629
|
-
path: _path + "[\"default\"]",
|
2630
|
-
expected: "(null | undefined)",
|
2631
|
-
value: input["default"]
|
2632
2590
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2633
2591
|
path: _path + ".title",
|
2634
2592
|
expected: "(string | undefined)",
|
@@ -2641,11 +2599,7 @@ class MigrateApplication {
|
|
2641
2599
|
path: _path + ".deprecated",
|
2642
2600
|
expected: "(boolean | undefined)",
|
2643
2601
|
value: input.deprecated
|
2644
|
-
}), true
|
2645
|
-
path: _path + ".examples",
|
2646
|
-
expected: "(Array<any> | undefined)",
|
2647
|
-
value: input.examples
|
2648
|
-
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
2602
|
+
}), true].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
2649
2603
|
path: _path + "[\"x-anyOf\"]",
|
2650
2604
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2651
2605
|
value: input["x-anyOf"]
|
@@ -2661,6 +2615,10 @@ class MigrateApplication {
|
|
2661
2615
|
path: _path + "[\"x-anyOf\"]",
|
2662
2616
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2663
2617
|
value: input["x-anyOf"]
|
2618
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2619
|
+
path: _path + ".examples",
|
2620
|
+
expected: "(Array<any> | undefined)",
|
2621
|
+
value: input.examples
|
2664
2622
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2665
2623
|
path: _path + ".title",
|
2666
2624
|
expected: "(string | undefined)",
|
@@ -2673,11 +2631,7 @@ class MigrateApplication {
|
|
2673
2631
|
path: _path + ".deprecated",
|
2674
2632
|
expected: "(boolean | undefined)",
|
2675
2633
|
value: input.deprecated
|
2676
|
-
}), true
|
2677
|
-
path: _path + ".examples",
|
2678
|
-
expected: "(Array<any> | undefined)",
|
2679
|
-
value: input.examples
|
2680
|
-
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
2634
|
+
}), true].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
2681
2635
|
path: _path + "[\"x-oneOf\"]",
|
2682
2636
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2683
2637
|
value: input["x-oneOf"]
|
@@ -2693,6 +2647,10 @@ class MigrateApplication {
|
|
2693
2647
|
path: _path + "[\"x-oneOf\"]",
|
2694
2648
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
2695
2649
|
value: input["x-oneOf"]
|
2650
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2651
|
+
path: _path + ".examples",
|
2652
|
+
expected: "(Array<any> | undefined)",
|
2653
|
+
value: input.examples
|
2696
2654
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2697
2655
|
path: _path + ".title",
|
2698
2656
|
expected: "(string | undefined)",
|
@@ -2705,47 +2663,83 @@ class MigrateApplication {
|
|
2705
2663
|
path: _path + ".deprecated",
|
2706
2664
|
expected: "(boolean | undefined)",
|
2707
2665
|
value: input.deprecated
|
2708
|
-
}), true
|
2666
|
+
}), true].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
2667
|
+
path: _path + ".type",
|
2668
|
+
expected: "\"null\"",
|
2669
|
+
value: input.type
|
2670
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
2671
|
+
path: _path + "[\"default\"]",
|
2672
|
+
expected: "(null | undefined)",
|
2673
|
+
value: input["default"]
|
2674
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2709
2675
|
path: _path + ".examples",
|
2710
2676
|
expected: "(Array<any> | undefined)",
|
2711
2677
|
value: input.examples
|
2712
|
-
})
|
2713
|
-
|
2714
|
-
|
2715
|
-
|
2716
|
-
|
2717
|
-
|
2718
|
-
|
2719
|
-
|
2720
|
-
|
2721
|
-
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2725
|
-
}).every(flag => flag)].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
2726
|
-
path: _path + "[\"default\"]",
|
2727
|
-
expected: "(boolean | null | undefined)",
|
2728
|
-
value: input["default"]
|
2729
|
-
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || _report(_exceptionable, {
|
2730
|
-
path: _path + "[\"enum\"]",
|
2731
|
-
expected: "(Array<boolean | null> | undefined)",
|
2732
|
-
value: input["enum"]
|
2733
|
-
})) && input["enum"].map((elem, _index108) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
2734
|
-
path: _path + "[\"enum\"][" + _index108 + "]",
|
2735
|
-
expected: "(boolean | null)",
|
2736
|
-
value: elem
|
2737
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
2738
|
-
path: _path + "[\"enum\"]",
|
2739
|
-
expected: "(Array<boolean | null> | undefined)",
|
2740
|
-
value: input["enum"]
|
2741
|
-
}), "boolean" === input.type || _report(_exceptionable, {
|
2678
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2679
|
+
path: _path + ".title",
|
2680
|
+
expected: "(string | undefined)",
|
2681
|
+
value: input.title
|
2682
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
2683
|
+
path: _path + ".description",
|
2684
|
+
expected: "(string | undefined)",
|
2685
|
+
value: input.description
|
2686
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
2687
|
+
path: _path + ".deprecated",
|
2688
|
+
expected: "(boolean | undefined)",
|
2689
|
+
value: input.deprecated
|
2690
|
+
}), true].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
2742
2691
|
path: _path + ".type",
|
2743
|
-
expected: "
|
2692
|
+
expected: "undefined",
|
2744
2693
|
value: input.type
|
2745
|
-
})
|
2746
|
-
path: _path + "
|
2694
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
2695
|
+
path: _path + ".type",
|
2696
|
+
expected: "undefined",
|
2697
|
+
value: input.type
|
2698
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2699
|
+
path: _path + ".examples",
|
2700
|
+
expected: "(Array<any> | undefined)",
|
2701
|
+
value: input.examples
|
2702
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2703
|
+
path: _path + ".title",
|
2704
|
+
expected: "(string | undefined)",
|
2705
|
+
value: input.title
|
2706
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
2707
|
+
path: _path + ".description",
|
2708
|
+
expected: "(string | undefined)",
|
2709
|
+
value: input.description
|
2710
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
2711
|
+
path: _path + ".deprecated",
|
2747
2712
|
expected: "(boolean | undefined)",
|
2748
|
-
value: input
|
2713
|
+
value: input.deprecated
|
2714
|
+
}), true].every(flag => flag); const _vo64 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
2715
|
+
const value = input[key];
|
2716
|
+
if (undefined === value)
|
2717
|
+
return true;
|
2718
|
+
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
2719
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
2720
|
+
expected: "(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",
|
2721
|
+
value: value
|
2722
|
+
})) && _vu10(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
2723
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
2724
|
+
expected: "(IAnyOf & { name: string; in: string; description?: string | undefined; } | IArray & { name: string; in: string; description?: string | undefined; } | IBoolean & { name: string; in: string; description?: string | undefined; } | IInteger & { name: string; in: string; description?: string | undefined; } | INullOnly & { name: string; in: string; description?: string | undefined; } | INumber & { name: string; in: string; description?: string | undefined; } | IObject & { name: string; in: string; description?: string | undefined; } | IOneOf & { name: string; in: string; description?: string | undefined; } | IReference<string> & { name: string; in: string; description?: string | undefined; } | IString & { name: string; in: string; description?: string | undefined; } | IUnknown & { name: string; in: string; description?: string | undefined; } | SwaggerV2.IOperation.IBodyParameter)",
|
2725
|
+
value: value
|
2726
|
+
});
|
2727
|
+
}).every(flag => flag)].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
2728
|
+
path: _path + "[\"default\"]",
|
2729
|
+
expected: "(boolean | null | undefined)",
|
2730
|
+
value: input["default"]
|
2731
|
+
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || _report(_exceptionable, {
|
2732
|
+
path: _path + "[\"enum\"]",
|
2733
|
+
expected: "(Array<boolean | null> | undefined)",
|
2734
|
+
value: input["enum"]
|
2735
|
+
})) && input["enum"].map((elem, _index108) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
2736
|
+
path: _path + "[\"enum\"][" + _index108 + "]",
|
2737
|
+
expected: "(boolean | null)",
|
2738
|
+
value: elem
|
2739
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
2740
|
+
path: _path + "[\"enum\"]",
|
2741
|
+
expected: "(Array<boolean | null> | undefined)",
|
2742
|
+
value: input["enum"]
|
2749
2743
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2750
2744
|
path: _path + ".title",
|
2751
2745
|
expected: "(string | undefined)",
|
@@ -2758,7 +2752,15 @@ class MigrateApplication {
|
|
2758
2752
|
path: _path + ".deprecated",
|
2759
2753
|
expected: "(boolean | undefined)",
|
2760
2754
|
value: input.deprecated
|
2761
|
-
}), true,
|
2755
|
+
}), true, "boolean" === input.type || _report(_exceptionable, {
|
2756
|
+
path: _path + ".type",
|
2757
|
+
expected: "\"boolean\"",
|
2758
|
+
value: input.type
|
2759
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2760
|
+
path: _path + "[\"x-nullable\"]",
|
2761
|
+
expected: "(boolean | undefined)",
|
2762
|
+
value: input["x-nullable"]
|
2763
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2762
2764
|
path: _path + ".examples",
|
2763
2765
|
expected: "(Array<any> | undefined)",
|
2764
2766
|
value: input.examples
|
@@ -2826,14 +2828,6 @@ class MigrateApplication {
|
|
2826
2828
|
path: _path + ".multipleOf",
|
2827
2829
|
expected: "((number & Type<\"uint64\"> & ExclusiveMinimum<0>) | undefined)",
|
2828
2830
|
value: input.multipleOf
|
2829
|
-
}), "integer" === input.type || _report(_exceptionable, {
|
2830
|
-
path: _path + ".type",
|
2831
|
-
expected: "\"integer\"",
|
2832
|
-
value: input.type
|
2833
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2834
|
-
path: _path + "[\"x-nullable\"]",
|
2835
|
-
expected: "(boolean | undefined)",
|
2836
|
-
value: input["x-nullable"]
|
2837
2831
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2838
2832
|
path: _path + ".title",
|
2839
2833
|
expected: "(string | undefined)",
|
@@ -2846,7 +2840,15 @@ class MigrateApplication {
|
|
2846
2840
|
path: _path + ".deprecated",
|
2847
2841
|
expected: "(boolean | undefined)",
|
2848
2842
|
value: input.deprecated
|
2849
|
-
}), true,
|
2843
|
+
}), true, "integer" === input.type || _report(_exceptionable, {
|
2844
|
+
path: _path + ".type",
|
2845
|
+
expected: "\"integer\"",
|
2846
|
+
value: input.type
|
2847
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2848
|
+
path: _path + "[\"x-nullable\"]",
|
2849
|
+
expected: "(boolean | undefined)",
|
2850
|
+
value: input["x-nullable"]
|
2851
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2850
2852
|
path: _path + ".examples",
|
2851
2853
|
expected: "(Array<any> | undefined)",
|
2852
2854
|
value: input.examples
|
@@ -2898,14 +2900,6 @@ class MigrateApplication {
|
|
2898
2900
|
path: _path + ".multipleOf",
|
2899
2901
|
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
2900
2902
|
value: input.multipleOf
|
2901
|
-
}), "number" === input.type || _report(_exceptionable, {
|
2902
|
-
path: _path + ".type",
|
2903
|
-
expected: "\"number\"",
|
2904
|
-
value: input.type
|
2905
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2906
|
-
path: _path + "[\"x-nullable\"]",
|
2907
|
-
expected: "(boolean | undefined)",
|
2908
|
-
value: input["x-nullable"]
|
2909
2903
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2910
2904
|
path: _path + ".title",
|
2911
2905
|
expected: "(string | undefined)",
|
@@ -2918,7 +2912,15 @@ class MigrateApplication {
|
|
2918
2912
|
path: _path + ".deprecated",
|
2919
2913
|
expected: "(boolean | undefined)",
|
2920
2914
|
value: input.deprecated
|
2921
|
-
}), true,
|
2915
|
+
}), true, "number" === input.type || _report(_exceptionable, {
|
2916
|
+
path: _path + ".type",
|
2917
|
+
expected: "\"number\"",
|
2918
|
+
value: input.type
|
2919
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2920
|
+
path: _path + "[\"x-nullable\"]",
|
2921
|
+
expected: "(boolean | undefined)",
|
2922
|
+
value: input["x-nullable"]
|
2923
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2922
2924
|
path: _path + ".examples",
|
2923
2925
|
expected: "(Array<any> | undefined)",
|
2924
2926
|
value: input.examples
|
@@ -2970,14 +2972,6 @@ class MigrateApplication {
|
|
2970
2972
|
path: _path + ".maxLength",
|
2971
2973
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
2972
2974
|
value: input.maxLength
|
2973
|
-
}), "string" === input.type || _report(_exceptionable, {
|
2974
|
-
path: _path + ".type",
|
2975
|
-
expected: "\"string\"",
|
2976
|
-
value: input.type
|
2977
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2978
|
-
path: _path + "[\"x-nullable\"]",
|
2979
|
-
expected: "(boolean | undefined)",
|
2980
|
-
value: input["x-nullable"]
|
2981
2975
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2982
2976
|
path: _path + ".title",
|
2983
2977
|
expected: "(string | undefined)",
|
@@ -2990,7 +2984,15 @@ class MigrateApplication {
|
|
2990
2984
|
path: _path + ".deprecated",
|
2991
2985
|
expected: "(boolean | undefined)",
|
2992
2986
|
value: input.deprecated
|
2993
|
-
}), true,
|
2987
|
+
}), true, "string" === input.type || _report(_exceptionable, {
|
2988
|
+
path: _path + ".type",
|
2989
|
+
expected: "\"string\"",
|
2990
|
+
value: input.type
|
2991
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
2992
|
+
path: _path + "[\"x-nullable\"]",
|
2993
|
+
expected: "(boolean | undefined)",
|
2994
|
+
value: input["x-nullable"]
|
2995
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
2994
2996
|
path: _path + ".examples",
|
2995
2997
|
expected: "(Array<any> | undefined)",
|
2996
2998
|
value: input.examples
|
@@ -3030,14 +3032,6 @@ class MigrateApplication {
|
|
3030
3032
|
path: _path + ".maxItems",
|
3031
3033
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
3032
3034
|
value: input.maxItems
|
3033
|
-
}), "array" === input.type || _report(_exceptionable, {
|
3034
|
-
path: _path + ".type",
|
3035
|
-
expected: "\"array\"",
|
3036
|
-
value: input.type
|
3037
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3038
|
-
path: _path + "[\"x-nullable\"]",
|
3039
|
-
expected: "(boolean | undefined)",
|
3040
|
-
value: input["x-nullable"]
|
3041
3035
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3042
3036
|
path: _path + ".title",
|
3043
3037
|
expected: "(string | undefined)",
|
@@ -3050,7 +3044,15 @@ class MigrateApplication {
|
|
3050
3044
|
path: _path + ".deprecated",
|
3051
3045
|
expected: "(boolean | undefined)",
|
3052
3046
|
value: input.deprecated
|
3053
|
-
}), true,
|
3047
|
+
}), true, "array" === input.type || _report(_exceptionable, {
|
3048
|
+
path: _path + ".type",
|
3049
|
+
expected: "\"array\"",
|
3050
|
+
value: input.type
|
3051
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3052
|
+
path: _path + "[\"x-nullable\"]",
|
3053
|
+
expected: "(boolean | undefined)",
|
3054
|
+
value: input["x-nullable"]
|
3055
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3054
3056
|
path: _path + ".examples",
|
3055
3057
|
expected: "(Array<any> | undefined)",
|
3056
3058
|
value: input.examples
|
@@ -3102,14 +3104,6 @@ class MigrateApplication {
|
|
3102
3104
|
path: _path + ".minProperties",
|
3103
3105
|
expected: "(number | undefined)",
|
3104
3106
|
value: input.minProperties
|
3105
|
-
}), "object" === input.type || _report(_exceptionable, {
|
3106
|
-
path: _path + ".type",
|
3107
|
-
expected: "\"object\"",
|
3108
|
-
value: input.type
|
3109
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3110
|
-
path: _path + "[\"x-nullable\"]",
|
3111
|
-
expected: "(boolean | undefined)",
|
3112
|
-
value: input["x-nullable"]
|
3113
3107
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3114
3108
|
path: _path + ".title",
|
3115
3109
|
expected: "(string | undefined)",
|
@@ -3122,7 +3116,15 @@ class MigrateApplication {
|
|
3122
3116
|
path: _path + ".deprecated",
|
3123
3117
|
expected: "(boolean | undefined)",
|
3124
3118
|
value: input.deprecated
|
3125
|
-
}), true,
|
3119
|
+
}), true, "object" === input.type || _report(_exceptionable, {
|
3120
|
+
path: _path + ".type",
|
3121
|
+
expected: "\"object\"",
|
3122
|
+
value: input.type
|
3123
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3124
|
+
path: _path + "[\"x-nullable\"]",
|
3125
|
+
expected: "(boolean | undefined)",
|
3126
|
+
value: input["x-nullable"]
|
3127
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3126
3128
|
path: _path + ".examples",
|
3127
3129
|
expected: "(Array<any> | undefined)",
|
3128
3130
|
value: input.examples
|
@@ -3138,6 +3140,10 @@ class MigrateApplication {
|
|
3138
3140
|
path: _path + ".$ref",
|
3139
3141
|
expected: "string",
|
3140
3142
|
value: input.$ref
|
3143
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3144
|
+
path: _path + ".examples",
|
3145
|
+
expected: "(Array<any> | undefined)",
|
3146
|
+
value: input.examples
|
3141
3147
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3142
3148
|
path: _path + ".title",
|
3143
3149
|
expected: "(string | undefined)",
|
@@ -3150,11 +3156,7 @@ class MigrateApplication {
|
|
3150
3156
|
path: _path + ".deprecated",
|
3151
3157
|
expected: "(boolean | undefined)",
|
3152
3158
|
value: input.deprecated
|
3153
|
-
}), true,
|
3154
|
-
path: _path + ".examples",
|
3155
|
-
expected: "(Array<any> | undefined)",
|
3156
|
-
value: input.examples
|
3157
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
3159
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
3158
3160
|
path: _path + ".name",
|
3159
3161
|
expected: "string",
|
3160
3162
|
value: input.name
|
@@ -3162,15 +3164,27 @@ class MigrateApplication {
|
|
3162
3164
|
path: _path + "[\"in\"]",
|
3163
3165
|
expected: "string",
|
3164
3166
|
value: input["in"]
|
3165
|
-
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [(
|
3166
|
-
path: _path + "
|
3167
|
-
expected: "
|
3168
|
-
value: input
|
3169
|
-
})) && (
|
3170
|
-
path: _path + "
|
3171
|
-
expected: "
|
3172
|
-
value:
|
3173
|
-
})),
|
3167
|
+
})].every(flag => flag); const _vo72 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
3168
|
+
path: _path + "[\"x-anyOf\"]",
|
3169
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
3170
|
+
value: input["x-anyOf"]
|
3171
|
+
})) && input["x-anyOf"].map((elem, _index113) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
3172
|
+
path: _path + "[\"x-anyOf\"][" + _index113 + "]",
|
3173
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3174
|
+
value: elem
|
3175
|
+
})) && _vu2(elem, _path + "[\"x-anyOf\"][" + _index113 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3176
|
+
path: _path + "[\"x-anyOf\"][" + _index113 + "]",
|
3177
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3178
|
+
value: elem
|
3179
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
3180
|
+
path: _path + "[\"x-anyOf\"]",
|
3181
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
3182
|
+
value: input["x-anyOf"]
|
3183
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3184
|
+
path: _path + ".examples",
|
3185
|
+
expected: "(Array<any> | undefined)",
|
3186
|
+
value: input.examples
|
3187
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3174
3188
|
path: _path + ".title",
|
3175
3189
|
expected: "(string | undefined)",
|
3176
3190
|
value: input.title
|
@@ -3182,11 +3196,7 @@ class MigrateApplication {
|
|
3182
3196
|
path: _path + ".deprecated",
|
3183
3197
|
expected: "(boolean | undefined)",
|
3184
3198
|
value: input.deprecated
|
3185
|
-
}), true,
|
3186
|
-
path: _path + ".examples",
|
3187
|
-
expected: "(Array<any> | undefined)",
|
3188
|
-
value: input.examples
|
3189
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
3199
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
3190
3200
|
path: _path + ".name",
|
3191
3201
|
expected: "string",
|
3192
3202
|
value: input.name
|
@@ -3194,14 +3204,26 @@ class MigrateApplication {
|
|
3194
3204
|
path: _path + "[\"in\"]",
|
3195
3205
|
expected: "string",
|
3196
3206
|
value: input["in"]
|
3197
|
-
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => ["
|
3198
|
-
path: _path + "
|
3199
|
-
expected: "
|
3200
|
-
value: input
|
3201
|
-
})
|
3202
|
-
path: _path + "[\"
|
3203
|
-
expected: "(
|
3204
|
-
value:
|
3207
|
+
})].every(flag => flag); const _vo73 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
3208
|
+
path: _path + "[\"x-oneOf\"]",
|
3209
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
3210
|
+
value: input["x-oneOf"]
|
3211
|
+
})) && input["x-oneOf"].map((elem, _index114) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
3212
|
+
path: _path + "[\"x-oneOf\"][" + _index114 + "]",
|
3213
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3214
|
+
value: elem
|
3215
|
+
})) && _vu2(elem, _path + "[\"x-oneOf\"][" + _index114 + "]", true && _exceptionable) || _report(_exceptionable, {
|
3216
|
+
path: _path + "[\"x-oneOf\"][" + _index114 + "]",
|
3217
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
3218
|
+
value: elem
|
3219
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
3220
|
+
path: _path + "[\"x-oneOf\"]",
|
3221
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
3222
|
+
value: input["x-oneOf"]
|
3223
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3224
|
+
path: _path + ".examples",
|
3225
|
+
expected: "(Array<any> | undefined)",
|
3226
|
+
value: input.examples
|
3205
3227
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3206
3228
|
path: _path + ".title",
|
3207
3229
|
expected: "(string | undefined)",
|
@@ -3214,11 +3236,7 @@ class MigrateApplication {
|
|
3214
3236
|
path: _path + ".deprecated",
|
3215
3237
|
expected: "(boolean | undefined)",
|
3216
3238
|
value: input.deprecated
|
3217
|
-
}), true,
|
3218
|
-
path: _path + ".examples",
|
3219
|
-
expected: "(Array<any> | undefined)",
|
3220
|
-
value: input.examples
|
3221
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
3239
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
3222
3240
|
path: _path + ".name",
|
3223
3241
|
expected: "string",
|
3224
3242
|
value: input.name
|
@@ -3226,22 +3244,18 @@ class MigrateApplication {
|
|
3226
3244
|
path: _path + "[\"in\"]",
|
3227
3245
|
expected: "string",
|
3228
3246
|
value: input["in"]
|
3229
|
-
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => [
|
3230
|
-
path: _path + "
|
3231
|
-
expected: "
|
3232
|
-
value: input
|
3233
|
-
})
|
3234
|
-
path: _path + "[\"
|
3235
|
-
expected: "(
|
3236
|
-
value:
|
3237
|
-
})
|
3238
|
-
path: _path + "
|
3239
|
-
expected: "(
|
3240
|
-
value:
|
3241
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
3242
|
-
path: _path + "[\"x-anyOf\"]",
|
3243
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
3244
|
-
value: input["x-anyOf"]
|
3247
|
+
})].every(flag => flag); const _vo74 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
3248
|
+
path: _path + ".type",
|
3249
|
+
expected: "\"null\"",
|
3250
|
+
value: input.type
|
3251
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
3252
|
+
path: _path + "[\"default\"]",
|
3253
|
+
expected: "(null | undefined)",
|
3254
|
+
value: input["default"]
|
3255
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3256
|
+
path: _path + ".examples",
|
3257
|
+
expected: "(Array<any> | undefined)",
|
3258
|
+
value: input.examples
|
3245
3259
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3246
3260
|
path: _path + ".title",
|
3247
3261
|
expected: "(string | undefined)",
|
@@ -3254,11 +3268,7 @@ class MigrateApplication {
|
|
3254
3268
|
path: _path + ".deprecated",
|
3255
3269
|
expected: "(boolean | undefined)",
|
3256
3270
|
value: input.deprecated
|
3257
|
-
}), true,
|
3258
|
-
path: _path + ".examples",
|
3259
|
-
expected: "(Array<any> | undefined)",
|
3260
|
-
value: input.examples
|
3261
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
3271
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
3262
3272
|
path: _path + ".name",
|
3263
3273
|
expected: "string",
|
3264
3274
|
value: input.name
|
@@ -3266,22 +3276,18 @@ class MigrateApplication {
|
|
3266
3276
|
path: _path + "[\"in\"]",
|
3267
3277
|
expected: "string",
|
3268
3278
|
value: input["in"]
|
3269
|
-
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [(
|
3270
|
-
path: _path + "
|
3271
|
-
expected: "
|
3272
|
-
value: input
|
3273
|
-
})) &&
|
3274
|
-
path: _path + "
|
3275
|
-
expected: "
|
3276
|
-
value:
|
3277
|
-
}))
|
3278
|
-
path: _path + "
|
3279
|
-
expected: "(
|
3280
|
-
value:
|
3281
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
3282
|
-
path: _path + "[\"x-oneOf\"]",
|
3283
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
3284
|
-
value: input["x-oneOf"]
|
3279
|
+
})].every(flag => flag); const _vo75 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
3280
|
+
path: _path + ".type",
|
3281
|
+
expected: "undefined",
|
3282
|
+
value: input.type
|
3283
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
3284
|
+
path: _path + ".type",
|
3285
|
+
expected: "undefined",
|
3286
|
+
value: input.type
|
3287
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3288
|
+
path: _path + ".examples",
|
3289
|
+
expected: "(Array<any> | undefined)",
|
3290
|
+
value: input.examples
|
3285
3291
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3286
3292
|
path: _path + ".title",
|
3287
3293
|
expected: "(string | undefined)",
|
@@ -3294,11 +3300,7 @@ class MigrateApplication {
|
|
3294
3300
|
path: _path + ".deprecated",
|
3295
3301
|
expected: "(boolean | undefined)",
|
3296
3302
|
value: input.deprecated
|
3297
|
-
}), true,
|
3298
|
-
path: _path + ".examples",
|
3299
|
-
expected: "(Array<any> | undefined)",
|
3300
|
-
value: input.examples
|
3301
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
3303
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
3302
3304
|
path: _path + ".name",
|
3303
3305
|
expected: "string",
|
3304
3306
|
value: input.name
|
@@ -3601,6 +3603,10 @@ class MigrateApplication {
|
|
3601
3603
|
path: _path + ".$ref",
|
3602
3604
|
expected: "`#/parameters/${string}`",
|
3603
3605
|
value: input.$ref
|
3606
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3607
|
+
path: _path + ".examples",
|
3608
|
+
expected: "(Array<any> | undefined)",
|
3609
|
+
value: input.examples
|
3604
3610
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3605
3611
|
path: _path + ".title",
|
3606
3612
|
expected: "(string | undefined)",
|
@@ -3613,11 +3619,7 @@ class MigrateApplication {
|
|
3613
3619
|
path: _path + ".deprecated",
|
3614
3620
|
expected: "(boolean | undefined)",
|
3615
3621
|
value: input.deprecated
|
3616
|
-
}), true, undefined === input.
|
3617
|
-
path: _path + ".examples",
|
3618
|
-
expected: "(Array<any> | undefined)",
|
3619
|
-
value: input.examples
|
3620
|
-
})].every(flag => flag); const _vo89 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
3622
|
+
}), true].every(flag => flag); const _vo89 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
3621
3623
|
path: _path + ".operationId",
|
3622
3624
|
expected: "(string | undefined)",
|
3623
3625
|
value: input.operationId
|
@@ -3689,6 +3691,10 @@ class MigrateApplication {
|
|
3689
3691
|
path: _path + ".$ref",
|
3690
3692
|
expected: "`#/definitions/parameters/${string}`",
|
3691
3693
|
value: input.$ref
|
3694
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3695
|
+
path: _path + ".examples",
|
3696
|
+
expected: "(Array<any> | undefined)",
|
3697
|
+
value: input.examples
|
3692
3698
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3693
3699
|
path: _path + ".title",
|
3694
3700
|
expected: "(string | undefined)",
|
@@ -3701,11 +3707,7 @@ class MigrateApplication {
|
|
3701
3707
|
path: _path + ".deprecated",
|
3702
3708
|
expected: "(boolean | undefined)",
|
3703
3709
|
value: input.deprecated
|
3704
|
-
}), true,
|
3705
|
-
path: _path + ".examples",
|
3706
|
-
expected: "(Array<any> | undefined)",
|
3707
|
-
value: input.examples
|
3708
|
-
})].every(flag => flag); const _vo91 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
3710
|
+
}), true].every(flag => flag); const _vo91 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
3709
3711
|
const value = input[key];
|
3710
3712
|
if (undefined === value)
|
3711
3713
|
return true;
|
@@ -3722,6 +3724,10 @@ class MigrateApplication {
|
|
3722
3724
|
path: _path + ".$ref",
|
3723
3725
|
expected: "`#/definitions/responses/${string}`",
|
3724
3726
|
value: input.$ref
|
3727
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3728
|
+
path: _path + ".examples",
|
3729
|
+
expected: "(Array<any> | undefined)",
|
3730
|
+
value: input.examples
|
3725
3731
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3726
3732
|
path: _path + ".title",
|
3727
3733
|
expected: "(string | undefined)",
|
@@ -3734,11 +3740,7 @@ class MigrateApplication {
|
|
3734
3740
|
path: _path + ".deprecated",
|
3735
3741
|
expected: "(boolean | undefined)",
|
3736
3742
|
value: input.deprecated
|
3737
|
-
}), true
|
3738
|
-
path: _path + ".examples",
|
3739
|
-
expected: "(Array<any> | undefined)",
|
3740
|
-
value: input.examples
|
3741
|
-
})].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
3743
|
+
}), true].every(flag => flag); const _vo93 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
3742
3744
|
path: _path + ".name",
|
3743
3745
|
expected: "string",
|
3744
3746
|
value: input.name
|
@@ -4000,7 +4002,11 @@ class MigrateApplication {
|
|
4000
4002
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4001
4003
|
value: value
|
4002
4004
|
});
|
4003
|
-
}).every(flag => flag)].every(flag => flag); const _vo103 = (input, _path, _exceptionable = true) => [
|
4005
|
+
}).every(flag => flag)].every(flag => flag); const _vo103 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4006
|
+
path: _path + ".nullable",
|
4007
|
+
expected: "(boolean | undefined)",
|
4008
|
+
value: input.nullable
|
4009
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
4004
4010
|
path: _path + "[\"default\"]",
|
4005
4011
|
expected: "(boolean | null | undefined)",
|
4006
4012
|
value: input["default"]
|
@@ -4020,10 +4026,6 @@ class MigrateApplication {
|
|
4020
4026
|
path: _path + ".type",
|
4021
4027
|
expected: "\"boolean\"",
|
4022
4028
|
value: input.type
|
4023
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4024
|
-
path: _path + ".nullable",
|
4025
|
-
expected: "(boolean | undefined)",
|
4026
|
-
value: input.nullable
|
4027
4029
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4028
4030
|
path: _path + ".title",
|
4029
4031
|
expected: "(string | undefined)",
|
@@ -4044,7 +4046,11 @@ class MigrateApplication {
|
|
4044
4046
|
path: _path + ".examples",
|
4045
4047
|
expected: "(Record<string, any> | undefined)",
|
4046
4048
|
value: input.examples
|
4047
|
-
})].every(flag => flag); const _vo104 = (input, _path, _exceptionable = true) => [
|
4049
|
+
})].every(flag => flag); const _vo104 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4050
|
+
path: _path + ".nullable",
|
4051
|
+
expected: "(boolean | undefined)",
|
4052
|
+
value: input.nullable
|
4053
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || _report(_exceptionable, {
|
4048
4054
|
path: _path + "[\"default\"]",
|
4049
4055
|
expected: "number & Type<\"int64\">",
|
4050
4056
|
value: input["default"]
|
@@ -4104,10 +4110,6 @@ class MigrateApplication {
|
|
4104
4110
|
path: _path + ".type",
|
4105
4111
|
expected: "\"integer\"",
|
4106
4112
|
value: input.type
|
4107
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4108
|
-
path: _path + ".nullable",
|
4109
|
-
expected: "(boolean | undefined)",
|
4110
|
-
value: input.nullable
|
4111
4113
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4112
4114
|
path: _path + ".title",
|
4113
4115
|
expected: "(string | undefined)",
|
@@ -4128,7 +4130,11 @@ class MigrateApplication {
|
|
4128
4130
|
path: _path + ".examples",
|
4129
4131
|
expected: "(Record<string, any> | undefined)",
|
4130
4132
|
value: input.examples
|
4131
|
-
})].every(flag => flag); const _vo105 = (input, _path, _exceptionable = true) => [
|
4133
|
+
})].every(flag => flag); const _vo105 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4134
|
+
path: _path + ".nullable",
|
4135
|
+
expected: "(boolean | undefined)",
|
4136
|
+
value: input.nullable
|
4137
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
4132
4138
|
path: _path + "[\"default\"]",
|
4133
4139
|
expected: "(null | number | undefined)",
|
4134
4140
|
value: input["default"]
|
@@ -4172,10 +4178,6 @@ class MigrateApplication {
|
|
4172
4178
|
path: _path + ".type",
|
4173
4179
|
expected: "\"number\"",
|
4174
4180
|
value: input.type
|
4175
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4176
|
-
path: _path + ".nullable",
|
4177
|
-
expected: "(boolean | undefined)",
|
4178
|
-
value: input.nullable
|
4179
4181
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4180
4182
|
path: _path + ".title",
|
4181
4183
|
expected: "(string | undefined)",
|
@@ -4196,7 +4198,11 @@ class MigrateApplication {
|
|
4196
4198
|
path: _path + ".examples",
|
4197
4199
|
expected: "(Record<string, any> | undefined)",
|
4198
4200
|
value: input.examples
|
4199
|
-
})].every(flag => flag); const _vo106 = (input, _path, _exceptionable = true) => [
|
4201
|
+
})].every(flag => flag); const _vo106 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4202
|
+
path: _path + ".nullable",
|
4203
|
+
expected: "(boolean | undefined)",
|
4204
|
+
value: input.nullable
|
4205
|
+
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
4200
4206
|
path: _path + "[\"default\"]",
|
4201
4207
|
expected: "(null | string | undefined)",
|
4202
4208
|
value: input["default"]
|
@@ -4240,10 +4246,6 @@ class MigrateApplication {
|
|
4240
4246
|
path: _path + ".type",
|
4241
4247
|
expected: "\"string\"",
|
4242
4248
|
value: input.type
|
4243
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4244
|
-
path: _path + ".nullable",
|
4245
|
-
expected: "(boolean | undefined)",
|
4246
|
-
value: input.nullable
|
4247
4249
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4248
4250
|
path: _path + ".title",
|
4249
4251
|
expected: "(string | undefined)",
|
@@ -4264,7 +4266,11 @@ class MigrateApplication {
|
|
4264
4266
|
path: _path + ".examples",
|
4265
4267
|
expected: "(Record<string, any> | undefined)",
|
4266
4268
|
value: input.examples
|
4267
|
-
})].every(flag => flag); const _vo107 = (input, _path, _exceptionable = true) => [
|
4269
|
+
})].every(flag => flag); const _vo107 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4270
|
+
path: _path + ".nullable",
|
4271
|
+
expected: "(boolean | undefined)",
|
4272
|
+
value: input.nullable
|
4273
|
+
}), ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
4268
4274
|
path: _path + ".items",
|
4269
4275
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
4270
4276
|
value: input.items
|
@@ -4296,10 +4302,6 @@ class MigrateApplication {
|
|
4296
4302
|
path: _path + ".type",
|
4297
4303
|
expected: "\"array\"",
|
4298
4304
|
value: input.type
|
4299
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4300
|
-
path: _path + ".nullable",
|
4301
|
-
expected: "(boolean | undefined)",
|
4302
|
-
value: input.nullable
|
4303
4305
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4304
4306
|
path: _path + ".title",
|
4305
4307
|
expected: "(string | undefined)",
|
@@ -4320,7 +4322,11 @@ class MigrateApplication {
|
|
4320
4322
|
path: _path + ".examples",
|
4321
4323
|
expected: "(Record<string, any> | undefined)",
|
4322
4324
|
value: input.examples
|
4323
|
-
})].every(flag => flag); const _vo108 = (input, _path, _exceptionable = true) => [undefined === input.
|
4325
|
+
})].every(flag => flag); const _vo108 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4326
|
+
path: _path + ".nullable",
|
4327
|
+
expected: "(boolean | undefined)",
|
4328
|
+
value: input.nullable
|
4329
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
4324
4330
|
path: _path + ".properties",
|
4325
4331
|
expected: "(Record<string, OpenApiV3.IJsonSchema> | undefined)",
|
4326
4332
|
value: input.properties
|
@@ -4364,10 +4370,6 @@ class MigrateApplication {
|
|
4364
4370
|
path: _path + ".type",
|
4365
4371
|
expected: "\"object\"",
|
4366
4372
|
value: input.type
|
4367
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4368
|
-
path: _path + ".nullable",
|
4369
|
-
expected: "(boolean | undefined)",
|
4370
|
-
value: input.nullable
|
4371
4373
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4372
4374
|
path: _path + ".title",
|
4373
4375
|
expected: "(string | undefined)",
|
@@ -4412,63 +4414,7 @@ class MigrateApplication {
|
|
4412
4414
|
path: _path + ".examples",
|
4413
4415
|
expected: "(Record<string, any> | undefined)",
|
4414
4416
|
value: input.examples
|
4415
|
-
})].every(flag => flag); const _vo110 = (input, _path, _exceptionable = true) => [(
|
4416
|
-
path: _path + ".type",
|
4417
|
-
expected: "undefined",
|
4418
|
-
value: input.type
|
4419
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
4420
|
-
path: _path + ".type",
|
4421
|
-
expected: "undefined",
|
4422
|
-
value: input.type
|
4423
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4424
|
-
path: _path + ".title",
|
4425
|
-
expected: "(string | undefined)",
|
4426
|
-
value: input.title
|
4427
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
4428
|
-
path: _path + ".description",
|
4429
|
-
expected: "(string | undefined)",
|
4430
|
-
value: input.description
|
4431
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
4432
|
-
path: _path + ".deprecated",
|
4433
|
-
expected: "(boolean | undefined)",
|
4434
|
-
value: input.deprecated
|
4435
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
4436
|
-
path: _path + ".examples",
|
4437
|
-
expected: "(Record<string, any> | undefined)",
|
4438
|
-
value: input.examples
|
4439
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4440
|
-
path: _path + ".examples",
|
4441
|
-
expected: "(Record<string, any> | undefined)",
|
4442
|
-
value: input.examples
|
4443
|
-
})].every(flag => flag); const _vo111 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
4444
|
-
path: _path + ".type",
|
4445
|
-
expected: "\"null\"",
|
4446
|
-
value: input.type
|
4447
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
4448
|
-
path: _path + "[\"default\"]",
|
4449
|
-
expected: "(null | undefined)",
|
4450
|
-
value: input["default"]
|
4451
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4452
|
-
path: _path + ".title",
|
4453
|
-
expected: "(string | undefined)",
|
4454
|
-
value: input.title
|
4455
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
4456
|
-
path: _path + ".description",
|
4457
|
-
expected: "(string | undefined)",
|
4458
|
-
value: input.description
|
4459
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
4460
|
-
path: _path + ".deprecated",
|
4461
|
-
expected: "(boolean | undefined)",
|
4462
|
-
value: input.deprecated
|
4463
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
4464
|
-
path: _path + ".examples",
|
4465
|
-
expected: "(Record<string, any> | undefined)",
|
4466
|
-
value: input.examples
|
4467
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4468
|
-
path: _path + ".examples",
|
4469
|
-
expected: "(Record<string, any> | undefined)",
|
4470
|
-
value: input.examples
|
4471
|
-
})].every(flag => flag); const _vo112 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
4417
|
+
})].every(flag => flag); const _vo110 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
4472
4418
|
path: _path + ".allOf",
|
4473
4419
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4474
4420
|
value: input.allOf
|
@@ -4504,7 +4450,7 @@ class MigrateApplication {
|
|
4504
4450
|
path: _path + ".examples",
|
4505
4451
|
expected: "(Record<string, any> | undefined)",
|
4506
4452
|
value: input.examples
|
4507
|
-
})].every(flag => flag); const
|
4453
|
+
})].every(flag => flag); const _vo111 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
4508
4454
|
path: _path + ".anyOf",
|
4509
4455
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4510
4456
|
value: input.anyOf
|
@@ -4540,7 +4486,7 @@ class MigrateApplication {
|
|
4540
4486
|
path: _path + ".examples",
|
4541
4487
|
expected: "(Record<string, any> | undefined)",
|
4542
4488
|
value: input.examples
|
4543
|
-
})].every(flag => flag); const
|
4489
|
+
})].every(flag => flag); const _vo112 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
4544
4490
|
path: _path + ".oneOf",
|
4545
4491
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
4546
4492
|
value: input.oneOf
|
@@ -4560,7 +4506,7 @@ class MigrateApplication {
|
|
4560
4506
|
path: _path + ".discriminator",
|
4561
4507
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
4562
4508
|
value: input.discriminator
|
4563
|
-
})) &&
|
4509
|
+
})) && _vo113(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
4564
4510
|
path: _path + ".discriminator",
|
4565
4511
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
4566
4512
|
value: input.discriminator
|
@@ -4584,18 +4530,74 @@ class MigrateApplication {
|
|
4584
4530
|
path: _path + ".examples",
|
4585
4531
|
expected: "(Record<string, any> | undefined)",
|
4586
4532
|
value: input.examples
|
4587
|
-
})].every(flag => flag); const
|
4588
|
-
path: _path + ".propertyName",
|
4589
|
-
expected: "string",
|
4590
|
-
value: input.propertyName
|
4591
|
-
}), undefined === input.mapping || ("object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) || _report(_exceptionable, {
|
4592
|
-
path: _path + ".mapping",
|
4593
|
-
expected: "(Record<string, string> | undefined)",
|
4594
|
-
value: input.mapping
|
4595
|
-
})) && _vo23(input.mapping, _path + ".mapping", true && _exceptionable) || _report(_exceptionable, {
|
4596
|
-
path: _path + ".mapping",
|
4597
|
-
expected: "(Record<string, string> | undefined)",
|
4598
|
-
value: input.mapping
|
4533
|
+
})].every(flag => flag); const _vo113 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
4534
|
+
path: _path + ".propertyName",
|
4535
|
+
expected: "string",
|
4536
|
+
value: input.propertyName
|
4537
|
+
}), undefined === input.mapping || ("object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) || _report(_exceptionable, {
|
4538
|
+
path: _path + ".mapping",
|
4539
|
+
expected: "(Record<string, string> | undefined)",
|
4540
|
+
value: input.mapping
|
4541
|
+
})) && _vo23(input.mapping, _path + ".mapping", true && _exceptionable) || _report(_exceptionable, {
|
4542
|
+
path: _path + ".mapping",
|
4543
|
+
expected: "(Record<string, string> | undefined)",
|
4544
|
+
value: input.mapping
|
4545
|
+
})].every(flag => flag); const _vo114 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
4546
|
+
path: _path + "[\"default\"]",
|
4547
|
+
expected: "(null | undefined)",
|
4548
|
+
value: input["default"]
|
4549
|
+
}), "null" === input.type || _report(_exceptionable, {
|
4550
|
+
path: _path + ".type",
|
4551
|
+
expected: "\"null\"",
|
4552
|
+
value: input.type
|
4553
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4554
|
+
path: _path + ".title",
|
4555
|
+
expected: "(string | undefined)",
|
4556
|
+
value: input.title
|
4557
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
4558
|
+
path: _path + ".description",
|
4559
|
+
expected: "(string | undefined)",
|
4560
|
+
value: input.description
|
4561
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
4562
|
+
path: _path + ".deprecated",
|
4563
|
+
expected: "(boolean | undefined)",
|
4564
|
+
value: input.deprecated
|
4565
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
4566
|
+
path: _path + ".examples",
|
4567
|
+
expected: "(Record<string, any> | undefined)",
|
4568
|
+
value: input.examples
|
4569
|
+
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4570
|
+
path: _path + ".examples",
|
4571
|
+
expected: "(Record<string, any> | undefined)",
|
4572
|
+
value: input.examples
|
4573
|
+
})].every(flag => flag); const _vo115 = (input, _path, _exceptionable = true) => [true, (null !== input.type || _report(_exceptionable, {
|
4574
|
+
path: _path + ".type",
|
4575
|
+
expected: "undefined",
|
4576
|
+
value: input.type
|
4577
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
4578
|
+
path: _path + ".type",
|
4579
|
+
expected: "undefined",
|
4580
|
+
value: input.type
|
4581
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4582
|
+
path: _path + ".title",
|
4583
|
+
expected: "(string | undefined)",
|
4584
|
+
value: input.title
|
4585
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
4586
|
+
path: _path + ".description",
|
4587
|
+
expected: "(string | undefined)",
|
4588
|
+
value: input.description
|
4589
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
4590
|
+
path: _path + ".deprecated",
|
4591
|
+
expected: "(boolean | undefined)",
|
4592
|
+
value: input.deprecated
|
4593
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
4594
|
+
path: _path + ".examples",
|
4595
|
+
expected: "(Record<string, any> | undefined)",
|
4596
|
+
value: input.examples
|
4597
|
+
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
4598
|
+
path: _path + ".examples",
|
4599
|
+
expected: "(Record<string, any> | undefined)",
|
4600
|
+
value: input.examples
|
4599
4601
|
})].every(flag => flag); const _vo116 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
4600
4602
|
const value = input[key];
|
4601
4603
|
if (undefined === value)
|
@@ -5383,7 +5385,7 @@ class MigrateApplication {
|
|
5383
5385
|
path: _path + ".paths",
|
5384
5386
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
5385
5387
|
value: input.paths
|
5386
|
-
})) &&
|
5388
|
+
})) && _vo175(input.paths, _path + ".paths", true && _exceptionable) || _report(_exceptionable, {
|
5387
5389
|
path: _path + ".paths",
|
5388
5390
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
5389
5391
|
value: input.paths
|
@@ -5391,7 +5393,7 @@ class MigrateApplication {
|
|
5391
5393
|
path: _path + ".webhooks",
|
5392
5394
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
5393
5395
|
value: input.webhooks
|
5394
|
-
})) &&
|
5396
|
+
})) && _vo208(input.webhooks, _path + ".webhooks", true && _exceptionable) || _report(_exceptionable, {
|
5395
5397
|
path: _path + ".webhooks",
|
5396
5398
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
5397
5399
|
value: input.webhooks
|
@@ -5419,7 +5421,7 @@ class MigrateApplication {
|
|
5419
5421
|
path: _path + ".tags[" + _index139 + "]",
|
5420
5422
|
expected: "OpenApiV3_1.IDocument.ITag",
|
5421
5423
|
value: elem
|
5422
|
-
})) &&
|
5424
|
+
})) && _vo210(elem, _path + ".tags[" + _index139 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5423
5425
|
path: _path + ".tags[" + _index139 + "]",
|
5424
5426
|
expected: "OpenApiV3_1.IDocument.ITag",
|
5425
5427
|
value: elem
|
@@ -5552,7 +5554,7 @@ class MigrateApplication {
|
|
5552
5554
|
path: _path + ".pathItems",
|
5553
5555
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
5554
5556
|
value: input.pathItems
|
5555
|
-
})) &&
|
5557
|
+
})) && _vo175(input.pathItems, _path + ".pathItems", true && _exceptionable) || _report(_exceptionable, {
|
5556
5558
|
path: _path + ".pathItems",
|
5557
5559
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
5558
5560
|
value: input.pathItems
|
@@ -5560,7 +5562,7 @@ class MigrateApplication {
|
|
5560
5562
|
path: _path + ".responses",
|
5561
5563
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
5562
5564
|
value: input.responses
|
5563
|
-
})) &&
|
5565
|
+
})) && _vo193(input.responses, _path + ".responses", true && _exceptionable) || _report(_exceptionable, {
|
5564
5566
|
path: _path + ".responses",
|
5565
5567
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
5566
5568
|
value: input.responses
|
@@ -5568,7 +5570,7 @@ class MigrateApplication {
|
|
5568
5570
|
path: _path + ".parameters",
|
5569
5571
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
5570
5572
|
value: input.parameters
|
5571
|
-
})) &&
|
5573
|
+
})) && _vo194(input.parameters, _path + ".parameters", true && _exceptionable) || _report(_exceptionable, {
|
5572
5574
|
path: _path + ".parameters",
|
5573
5575
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
5574
5576
|
value: input.parameters
|
@@ -5576,7 +5578,7 @@ class MigrateApplication {
|
|
5576
5578
|
path: _path + ".requestBodies",
|
5577
5579
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
5578
5580
|
value: input.requestBodies
|
5579
|
-
})) &&
|
5581
|
+
})) && _vo195(input.requestBodies, _path + ".requestBodies", true && _exceptionable) || _report(_exceptionable, {
|
5580
5582
|
path: _path + ".requestBodies",
|
5581
5583
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
5582
5584
|
value: input.requestBodies
|
@@ -5584,7 +5586,7 @@ class MigrateApplication {
|
|
5584
5586
|
path: _path + ".securitySchemes",
|
5585
5587
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
5586
5588
|
value: input.securitySchemes
|
5587
|
-
})) &&
|
5589
|
+
})) && _vo196(input.securitySchemes, _path + ".securitySchemes", true && _exceptionable) || _report(_exceptionable, {
|
5588
5590
|
path: _path + ".securitySchemes",
|
5589
5591
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
5590
5592
|
value: input.securitySchemes
|
@@ -5592,7 +5594,7 @@ class MigrateApplication {
|
|
5592
5594
|
path: _path + ".headers",
|
5593
5595
|
expected: "(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, \"in\">> | undefined)",
|
5594
5596
|
value: input.headers
|
5595
|
-
})) &&
|
5597
|
+
})) && _vo206(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
5596
5598
|
path: _path + ".headers",
|
5597
5599
|
expected: "(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, \"in\">> | undefined)",
|
5598
5600
|
value: input.headers
|
@@ -5600,7 +5602,7 @@ class MigrateApplication {
|
|
5600
5602
|
path: _path + ".examples",
|
5601
5603
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
5602
5604
|
value: input.examples
|
5603
|
-
})) &&
|
5605
|
+
})) && _vo207(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
5604
5606
|
path: _path + ".examples",
|
5605
5607
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
5606
5608
|
value: input.examples
|
@@ -5610,11 +5612,11 @@ class MigrateApplication {
|
|
5610
5612
|
return true;
|
5611
5613
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
5612
5614
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
5613
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5615
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5614
5616
|
value: value
|
5615
5617
|
})) && _vu7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
5616
5618
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
5617
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5619
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5618
5620
|
value: value
|
5619
5621
|
});
|
5620
5622
|
}).every(flag => flag)].every(flag => flag); const _vo159 = (input, _path, _exceptionable = true) => [(Array.isArray(input.type) || _report(_exceptionable, {
|
@@ -5641,6 +5643,10 @@ class MigrateApplication {
|
|
5641
5643
|
path: _path + "[\"const\"]",
|
5642
5644
|
expected: "(boolean | number | string)",
|
5643
5645
|
value: input["const"]
|
5646
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5647
|
+
path: _path + ".nullable",
|
5648
|
+
expected: "(boolean | undefined)",
|
5649
|
+
value: input.nullable
|
5644
5650
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5645
5651
|
path: _path + ".title",
|
5646
5652
|
expected: "(string | undefined)",
|
@@ -5661,10 +5667,6 @@ class MigrateApplication {
|
|
5661
5667
|
path: _path + ".examples",
|
5662
5668
|
expected: "(Record<string, any> | undefined)",
|
5663
5669
|
value: input.examples
|
5664
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5665
|
-
path: _path + ".nullable",
|
5666
|
-
expected: "(boolean | undefined)",
|
5667
|
-
value: input.nullable
|
5668
5670
|
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
5669
5671
|
path: _path + ".minimum",
|
5670
5672
|
expected: "(number | undefined)",
|
@@ -5719,23 +5721,23 @@ class MigrateApplication {
|
|
5719
5721
|
value: input.maxLength
|
5720
5722
|
}), (null !== input.items || _report(_exceptionable, {
|
5721
5723
|
path: _path + ".items",
|
5722
|
-
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
5724
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
5723
5725
|
value: input.items
|
5724
5726
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index142) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5725
5727
|
path: _path + ".items[" + _index142 + "]",
|
5726
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5728
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5727
5729
|
value: elem
|
5728
5730
|
})) && _vu7(elem, _path + ".items[" + _index142 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5729
5731
|
path: _path + ".items[" + _index142 + "]",
|
5730
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5732
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5731
5733
|
value: elem
|
5732
5734
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
5733
5735
|
path: _path + ".items",
|
5734
|
-
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
5736
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
5735
5737
|
value: input.items
|
5736
5738
|
})) || _report(_exceptionable, {
|
5737
5739
|
path: _path + ".items",
|
5738
|
-
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
5740
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
5739
5741
|
value: input.items
|
5740
5742
|
})), undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || _report(_exceptionable, {
|
5741
5743
|
path: _path + ".uniqueItems",
|
@@ -5763,11 +5765,11 @@ class MigrateApplication {
|
|
5763
5765
|
value: input.prefixItems
|
5764
5766
|
})) && input.prefixItems.map((elem, _index143) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5765
5767
|
path: _path + ".prefixItems[" + _index143 + "]",
|
5766
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5768
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5767
5769
|
value: elem
|
5768
5770
|
})) && _vu7(elem, _path + ".prefixItems[" + _index143 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5769
5771
|
path: _path + ".prefixItems[" + _index143 + "]",
|
5770
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5772
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5771
5773
|
value: elem
|
5772
5774
|
})).every(flag => flag) || _report(_exceptionable, {
|
5773
5775
|
path: _path + ".prefixItems",
|
@@ -5775,15 +5777,15 @@ class MigrateApplication {
|
|
5775
5777
|
value: input.prefixItems
|
5776
5778
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
5777
5779
|
path: _path + ".additionalItems",
|
5778
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5780
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5779
5781
|
value: input.additionalItems
|
5780
5782
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
5781
5783
|
path: _path + ".additionalItems",
|
5782
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5784
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5783
5785
|
value: input.additionalItems
|
5784
5786
|
})) && _vu7(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || _report(_exceptionable, {
|
5785
5787
|
path: _path + ".additionalItems",
|
5786
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5788
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5787
5789
|
value: input.additionalItems
|
5788
5790
|
})), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
5789
5791
|
path: _path + ".properties",
|
@@ -5795,15 +5797,15 @@ class MigrateApplication {
|
|
5795
5797
|
value: input.properties
|
5796
5798
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
5797
5799
|
path: _path + ".additionalProperties",
|
5798
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5800
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5799
5801
|
value: input.additionalProperties
|
5800
5802
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
5801
5803
|
path: _path + ".additionalProperties",
|
5802
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5804
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5803
5805
|
value: input.additionalProperties
|
5804
5806
|
})) && _vu7(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
5805
5807
|
path: _path + ".additionalProperties",
|
5806
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5808
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
5807
5809
|
value: input.additionalProperties
|
5808
5810
|
})), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
5809
5811
|
path: _path + ".required",
|
@@ -5831,11 +5833,11 @@ class MigrateApplication {
|
|
5831
5833
|
value: input.oneOf
|
5832
5834
|
})) && input.oneOf.map((elem, _index145) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5833
5835
|
path: _path + ".oneOf[" + _index145 + "]",
|
5834
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5836
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5835
5837
|
value: elem
|
5836
5838
|
})) && _vu7(elem, _path + ".oneOf[" + _index145 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5837
5839
|
path: _path + ".oneOf[" + _index145 + "]",
|
5838
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5840
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5839
5841
|
value: elem
|
5840
5842
|
})).every(flag => flag) || _report(_exceptionable, {
|
5841
5843
|
path: _path + ".oneOf",
|
@@ -5845,7 +5847,7 @@ class MigrateApplication {
|
|
5845
5847
|
path: _path + ".discriminator",
|
5846
5848
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
5847
5849
|
value: input.discriminator
|
5848
|
-
})) &&
|
5850
|
+
})) && _vo172(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
5849
5851
|
path: _path + ".discriminator",
|
5850
5852
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
5851
5853
|
value: input.discriminator
|
@@ -5855,11 +5857,11 @@ class MigrateApplication {
|
|
5855
5857
|
value: input.anyOf
|
5856
5858
|
})) && input.anyOf.map((elem, _index146) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5857
5859
|
path: _path + ".anyOf[" + _index146 + "]",
|
5858
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5860
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5859
5861
|
value: elem
|
5860
5862
|
})) && _vu7(elem, _path + ".anyOf[" + _index146 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5861
5863
|
path: _path + ".anyOf[" + _index146 + "]",
|
5862
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5864
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5863
5865
|
value: elem
|
5864
5866
|
})).every(flag => flag) || _report(_exceptionable, {
|
5865
5867
|
path: _path + ".anyOf",
|
@@ -5871,11 +5873,11 @@ class MigrateApplication {
|
|
5871
5873
|
value: input.allOf
|
5872
5874
|
})) && input.allOf.map((elem, _index147) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
5873
5875
|
path: _path + ".allOf[" + _index147 + "]",
|
5874
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5876
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5875
5877
|
value: elem
|
5876
5878
|
})) && _vu7(elem, _path + ".allOf[" + _index147 + "]", true && _exceptionable) || _report(_exceptionable, {
|
5877
5879
|
path: _path + ".allOf[" + _index147 + "]",
|
5878
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5880
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
5879
5881
|
value: elem
|
5880
5882
|
})).every(flag => flag) || _report(_exceptionable, {
|
5881
5883
|
path: _path + ".allOf",
|
@@ -5889,6 +5891,10 @@ class MigrateApplication {
|
|
5889
5891
|
path: _path + "[\"const\"]",
|
5890
5892
|
expected: "(boolean | number | string)",
|
5891
5893
|
value: input["const"]
|
5894
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5895
|
+
path: _path + ".nullable",
|
5896
|
+
expected: "(boolean | undefined)",
|
5897
|
+
value: input.nullable
|
5892
5898
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5893
5899
|
path: _path + ".title",
|
5894
5900
|
expected: "(string | undefined)",
|
@@ -5909,7 +5915,11 @@ class MigrateApplication {
|
|
5909
5915
|
path: _path + ".examples",
|
5910
5916
|
expected: "(Record<string, any> | undefined)",
|
5911
5917
|
value: input.examples
|
5912
|
-
})].every(flag => flag); const _vo161 = (input, _path, _exceptionable = true) => [
|
5918
|
+
})].every(flag => flag); const _vo161 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5919
|
+
path: _path + ".nullable",
|
5920
|
+
expected: "(boolean | undefined)",
|
5921
|
+
value: input.nullable
|
5922
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
5913
5923
|
path: _path + "[\"default\"]",
|
5914
5924
|
expected: "(boolean | null | undefined)",
|
5915
5925
|
value: input["default"]
|
@@ -5929,10 +5939,6 @@ class MigrateApplication {
|
|
5929
5939
|
path: _path + ".type",
|
5930
5940
|
expected: "\"boolean\"",
|
5931
5941
|
value: input.type
|
5932
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5933
|
-
path: _path + ".nullable",
|
5934
|
-
expected: "(boolean | undefined)",
|
5935
|
-
value: input.nullable
|
5936
5942
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5937
5943
|
path: _path + ".title",
|
5938
5944
|
expected: "(string | undefined)",
|
@@ -5953,7 +5959,11 @@ class MigrateApplication {
|
|
5953
5959
|
path: _path + ".examples",
|
5954
5960
|
expected: "(Record<string, any> | undefined)",
|
5955
5961
|
value: input.examples
|
5956
|
-
})].every(flag => flag); const _vo162 = (input, _path, _exceptionable = true) => [
|
5962
|
+
})].every(flag => flag); const _vo162 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5963
|
+
path: _path + ".nullable",
|
5964
|
+
expected: "(boolean | undefined)",
|
5965
|
+
value: input.nullable
|
5966
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || _report(_exceptionable, {
|
5957
5967
|
path: _path + "[\"default\"]",
|
5958
5968
|
expected: "number & Type<\"int64\">",
|
5959
5969
|
value: input["default"]
|
@@ -6021,10 +6031,6 @@ class MigrateApplication {
|
|
6021
6031
|
path: _path + ".type",
|
6022
6032
|
expected: "\"integer\"",
|
6023
6033
|
value: input.type
|
6024
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6025
|
-
path: _path + ".nullable",
|
6026
|
-
expected: "(boolean | undefined)",
|
6027
|
-
value: input.nullable
|
6028
6034
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6029
6035
|
path: _path + ".title",
|
6030
6036
|
expected: "(string | undefined)",
|
@@ -6045,7 +6051,11 @@ class MigrateApplication {
|
|
6045
6051
|
path: _path + ".examples",
|
6046
6052
|
expected: "(Record<string, any> | undefined)",
|
6047
6053
|
value: input.examples
|
6048
|
-
})].every(flag => flag); const _vo163 = (input, _path, _exceptionable = true) => [
|
6054
|
+
})].every(flag => flag); const _vo163 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6055
|
+
path: _path + ".nullable",
|
6056
|
+
expected: "(boolean | undefined)",
|
6057
|
+
value: input.nullable
|
6058
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
6049
6059
|
path: _path + "[\"default\"]",
|
6050
6060
|
expected: "(null | number | undefined)",
|
6051
6061
|
value: input["default"]
|
@@ -6089,10 +6099,6 @@ class MigrateApplication {
|
|
6089
6099
|
path: _path + ".type",
|
6090
6100
|
expected: "\"number\"",
|
6091
6101
|
value: input.type
|
6092
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6093
|
-
path: _path + ".nullable",
|
6094
|
-
expected: "(boolean | undefined)",
|
6095
|
-
value: input.nullable
|
6096
6102
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6097
6103
|
path: _path + ".title",
|
6098
6104
|
expected: "(string | undefined)",
|
@@ -6113,10 +6119,10 @@ class MigrateApplication {
|
|
6113
6119
|
path: _path + ".examples",
|
6114
6120
|
expected: "(Record<string, any> | undefined)",
|
6115
6121
|
value: input.examples
|
6116
|
-
})].every(flag => flag); const _vo164 = (input, _path, _exceptionable = true) => [undefined === input.
|
6117
|
-
path: _path + ".
|
6118
|
-
expected: "(
|
6119
|
-
value: input.
|
6122
|
+
})].every(flag => flag); const _vo164 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6123
|
+
path: _path + ".nullable",
|
6124
|
+
expected: "(boolean | undefined)",
|
6125
|
+
value: input.nullable
|
6120
6126
|
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
6121
6127
|
path: _path + "[\"default\"]",
|
6122
6128
|
expected: "(null | string | undefined)",
|
@@ -6141,6 +6147,10 @@ class MigrateApplication {
|
|
6141
6147
|
path: _path + ".pattern",
|
6142
6148
|
expected: "(string | undefined)",
|
6143
6149
|
value: input.pattern
|
6150
|
+
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
6151
|
+
path: _path + ".contentMediaType",
|
6152
|
+
expected: "(string | undefined)",
|
6153
|
+
value: input.contentMediaType
|
6144
6154
|
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || _report(_exceptionable, {
|
6145
6155
|
path: _path + ".minLength",
|
6146
6156
|
expected: "number & Type<\"uint64\">",
|
@@ -6161,10 +6171,6 @@ class MigrateApplication {
|
|
6161
6171
|
path: _path + ".type",
|
6162
6172
|
expected: "\"string\"",
|
6163
6173
|
value: input.type
|
6164
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6165
|
-
path: _path + ".nullable",
|
6166
|
-
expected: "(boolean | undefined)",
|
6167
|
-
value: input.nullable
|
6168
6174
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6169
6175
|
path: _path + ".title",
|
6170
6176
|
expected: "(string | undefined)",
|
@@ -6185,25 +6191,29 @@ class MigrateApplication {
|
|
6185
6191
|
path: _path + ".examples",
|
6186
6192
|
expected: "(Record<string, any> | undefined)",
|
6187
6193
|
value: input.examples
|
6188
|
-
})].every(flag => flag); const _vo165 = (input, _path, _exceptionable = true) => [
|
6194
|
+
})].every(flag => flag); const _vo165 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6195
|
+
path: _path + ".nullable",
|
6196
|
+
expected: "(boolean | undefined)",
|
6197
|
+
value: input.nullable
|
6198
|
+
}), (null !== input.items || _report(_exceptionable, {
|
6189
6199
|
path: _path + ".items",
|
6190
|
-
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6200
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6191
6201
|
value: input.items
|
6192
6202
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index152) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6193
6203
|
path: _path + ".items[" + _index152 + "]",
|
6194
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6204
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6195
6205
|
value: elem
|
6196
6206
|
})) && _vu7(elem, _path + ".items[" + _index152 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6197
6207
|
path: _path + ".items[" + _index152 + "]",
|
6198
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6208
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6199
6209
|
value: elem
|
6200
6210
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu7(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
6201
6211
|
path: _path + ".items",
|
6202
|
-
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6212
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6203
6213
|
value: input.items
|
6204
6214
|
})) || _report(_exceptionable, {
|
6205
6215
|
path: _path + ".items",
|
6206
|
-
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6216
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6207
6217
|
value: input.items
|
6208
6218
|
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
6209
6219
|
path: _path + ".prefixItems",
|
@@ -6211,11 +6221,11 @@ class MigrateApplication {
|
|
6211
6221
|
value: input.prefixItems
|
6212
6222
|
})) && input.prefixItems.map((elem, _index153) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6213
6223
|
path: _path + ".prefixItems[" + _index153 + "]",
|
6214
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6224
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6215
6225
|
value: elem
|
6216
6226
|
})) && _vu7(elem, _path + ".prefixItems[" + _index153 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6217
6227
|
path: _path + ".prefixItems[" + _index153 + "]",
|
6218
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6228
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6219
6229
|
value: elem
|
6220
6230
|
})).every(flag => flag) || _report(_exceptionable, {
|
6221
6231
|
path: _path + ".prefixItems",
|
@@ -6227,15 +6237,15 @@ class MigrateApplication {
|
|
6227
6237
|
value: input.uniqueItems
|
6228
6238
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
6229
6239
|
path: _path + ".additionalItems",
|
6230
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6240
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6231
6241
|
value: input.additionalItems
|
6232
6242
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
6233
6243
|
path: _path + ".additionalItems",
|
6234
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6244
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6235
6245
|
value: input.additionalItems
|
6236
6246
|
})) && _vu7(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || _report(_exceptionable, {
|
6237
6247
|
path: _path + ".additionalItems",
|
6238
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6248
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6239
6249
|
value: input.additionalItems
|
6240
6250
|
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || _report(_exceptionable, {
|
6241
6251
|
path: _path + ".minItems",
|
@@ -6257,10 +6267,6 @@ class MigrateApplication {
|
|
6257
6267
|
path: _path + ".type",
|
6258
6268
|
expected: "\"array\"",
|
6259
6269
|
value: input.type
|
6260
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6261
|
-
path: _path + ".nullable",
|
6262
|
-
expected: "(boolean | undefined)",
|
6263
|
-
value: input.nullable
|
6264
6270
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6265
6271
|
path: _path + ".title",
|
6266
6272
|
expected: "(string | undefined)",
|
@@ -6281,7 +6287,11 @@ class MigrateApplication {
|
|
6281
6287
|
path: _path + ".examples",
|
6282
6288
|
expected: "(Record<string, any> | undefined)",
|
6283
6289
|
value: input.examples
|
6284
|
-
})].every(flag => flag); const _vo166 = (input, _path, _exceptionable = true) => [undefined === input.
|
6290
|
+
})].every(flag => flag); const _vo166 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6291
|
+
path: _path + ".nullable",
|
6292
|
+
expected: "(boolean | undefined)",
|
6293
|
+
value: input.nullable
|
6294
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
6285
6295
|
path: _path + ".properties",
|
6286
6296
|
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
6287
6297
|
value: input.properties
|
@@ -6303,15 +6313,15 @@ class MigrateApplication {
|
|
6303
6313
|
value: input.required
|
6304
6314
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
6305
6315
|
path: _path + ".additionalProperties",
|
6306
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6316
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6307
6317
|
value: input.additionalProperties
|
6308
6318
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
6309
6319
|
path: _path + ".additionalProperties",
|
6310
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6320
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6311
6321
|
value: input.additionalProperties
|
6312
6322
|
})) && _vu7(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
6313
6323
|
path: _path + ".additionalProperties",
|
6314
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6324
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6315
6325
|
value: input.additionalProperties
|
6316
6326
|
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
6317
6327
|
path: _path + ".maxProperties",
|
@@ -6325,10 +6335,6 @@ class MigrateApplication {
|
|
6325
6335
|
path: _path + ".type",
|
6326
6336
|
expected: "\"object\"",
|
6327
6337
|
value: input.type
|
6328
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6329
|
-
path: _path + ".nullable",
|
6330
|
-
expected: "(boolean | undefined)",
|
6331
|
-
value: input.nullable
|
6332
6338
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6333
6339
|
path: _path + ".title",
|
6334
6340
|
expected: "(string | undefined)",
|
@@ -6373,46 +6379,10 @@ class MigrateApplication {
|
|
6373
6379
|
path: _path + ".examples",
|
6374
6380
|
expected: "(Record<string, any> | undefined)",
|
6375
6381
|
value: input.examples
|
6376
|
-
})].every(flag => flag); const _vo168 = (input, _path, _exceptionable = true) => [
|
6377
|
-
path: _path + "
|
6378
|
-
expected: "
|
6379
|
-
value: input
|
6380
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
6381
|
-
path: _path + ".type",
|
6382
|
-
expected: "undefined",
|
6383
|
-
value: input.type
|
6384
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6385
|
-
path: _path + ".title",
|
6386
|
-
expected: "(string | undefined)",
|
6387
|
-
value: input.title
|
6388
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
6389
|
-
path: _path + ".description",
|
6390
|
-
expected: "(string | undefined)",
|
6391
|
-
value: input.description
|
6392
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
6393
|
-
path: _path + ".deprecated",
|
6394
|
-
expected: "(boolean | undefined)",
|
6395
|
-
value: input.deprecated
|
6396
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
6397
|
-
path: _path + ".examples",
|
6398
|
-
expected: "(Record<string, any> | undefined)",
|
6399
|
-
value: input.examples
|
6400
|
-
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6401
|
-
path: _path + ".examples",
|
6402
|
-
expected: "(Record<string, any> | undefined)",
|
6403
|
-
value: input.examples
|
6404
|
-
})].every(flag => flag); const _vo169 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
6405
|
-
path: _path + "[\"default\"]",
|
6406
|
-
expected: "(null | undefined)",
|
6407
|
-
value: input["default"]
|
6408
|
-
}), "null" === input.type || _report(_exceptionable, {
|
6409
|
-
path: _path + ".type",
|
6410
|
-
expected: "\"null\"",
|
6411
|
-
value: input.type
|
6412
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6413
|
-
path: _path + ".nullable",
|
6414
|
-
expected: "(boolean | undefined)",
|
6415
|
-
value: input.nullable
|
6382
|
+
})].every(flag => flag); const _vo168 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
6383
|
+
path: _path + ".$recursiveRef",
|
6384
|
+
expected: "string",
|
6385
|
+
value: input.$recursiveRef
|
6416
6386
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6417
6387
|
path: _path + ".title",
|
6418
6388
|
expected: "(string | undefined)",
|
@@ -6433,17 +6403,17 @@ class MigrateApplication {
|
|
6433
6403
|
path: _path + ".examples",
|
6434
6404
|
expected: "(Record<string, any> | undefined)",
|
6435
6405
|
value: input.examples
|
6436
|
-
})].every(flag => flag); const
|
6406
|
+
})].every(flag => flag); const _vo169 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
6437
6407
|
path: _path + ".allOf",
|
6438
6408
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6439
6409
|
value: input.allOf
|
6440
6410
|
})) && input.allOf.map((elem, _index155) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6441
6411
|
path: _path + ".allOf[" + _index155 + "]",
|
6442
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6412
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6443
6413
|
value: elem
|
6444
6414
|
})) && _vu7(elem, _path + ".allOf[" + _index155 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6445
6415
|
path: _path + ".allOf[" + _index155 + "]",
|
6446
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6416
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6447
6417
|
value: elem
|
6448
6418
|
})).every(flag => flag) || _report(_exceptionable, {
|
6449
6419
|
path: _path + ".allOf",
|
@@ -6469,17 +6439,17 @@ class MigrateApplication {
|
|
6469
6439
|
path: _path + ".examples",
|
6470
6440
|
expected: "(Record<string, any> | undefined)",
|
6471
6441
|
value: input.examples
|
6472
|
-
})].every(flag => flag); const
|
6442
|
+
})].every(flag => flag); const _vo170 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
6473
6443
|
path: _path + ".anyOf",
|
6474
6444
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6475
6445
|
value: input.anyOf
|
6476
6446
|
})) && input.anyOf.map((elem, _index156) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6477
6447
|
path: _path + ".anyOf[" + _index156 + "]",
|
6478
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6448
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6479
6449
|
value: elem
|
6480
6450
|
})) && _vu7(elem, _path + ".anyOf[" + _index156 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6481
6451
|
path: _path + ".anyOf[" + _index156 + "]",
|
6482
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6452
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6483
6453
|
value: elem
|
6484
6454
|
})).every(flag => flag) || _report(_exceptionable, {
|
6485
6455
|
path: _path + ".anyOf",
|
@@ -6505,17 +6475,17 @@ class MigrateApplication {
|
|
6505
6475
|
path: _path + ".examples",
|
6506
6476
|
expected: "(Record<string, any> | undefined)",
|
6507
6477
|
value: input.examples
|
6508
|
-
})].every(flag => flag); const
|
6478
|
+
})].every(flag => flag); const _vo171 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
6509
6479
|
path: _path + ".oneOf",
|
6510
6480
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
6511
6481
|
value: input.oneOf
|
6512
6482
|
})) && input.oneOf.map((elem, _index157) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6513
6483
|
path: _path + ".oneOf[" + _index157 + "]",
|
6514
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6484
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6515
6485
|
value: elem
|
6516
6486
|
})) && _vu7(elem, _path + ".oneOf[" + _index157 + "]", true && _exceptionable) || _report(_exceptionable, {
|
6517
6487
|
path: _path + ".oneOf[" + _index157 + "]",
|
6518
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6488
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6519
6489
|
value: elem
|
6520
6490
|
})).every(flag => flag) || _report(_exceptionable, {
|
6521
6491
|
path: _path + ".oneOf",
|
@@ -6525,7 +6495,7 @@ class MigrateApplication {
|
|
6525
6495
|
path: _path + ".discriminator",
|
6526
6496
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
6527
6497
|
value: input.discriminator
|
6528
|
-
})) &&
|
6498
|
+
})) && _vo172(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
6529
6499
|
path: _path + ".discriminator",
|
6530
6500
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
6531
6501
|
value: input.discriminator
|
@@ -6549,7 +6519,7 @@ class MigrateApplication {
|
|
6549
6519
|
path: _path + ".examples",
|
6550
6520
|
expected: "(Record<string, any> | undefined)",
|
6551
6521
|
value: input.examples
|
6552
|
-
})].every(flag => flag); const
|
6522
|
+
})].every(flag => flag); const _vo172 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
6553
6523
|
path: _path + ".propertyName",
|
6554
6524
|
expected: "string",
|
6555
6525
|
value: input.propertyName
|
@@ -6561,7 +6531,63 @@ class MigrateApplication {
|
|
6561
6531
|
path: _path + ".mapping",
|
6562
6532
|
expected: "(Record<string, string> | undefined)",
|
6563
6533
|
value: input.mapping
|
6564
|
-
})].every(flag => flag); const
|
6534
|
+
})].every(flag => flag); const _vo173 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
6535
|
+
path: _path + "[\"default\"]",
|
6536
|
+
expected: "(null | undefined)",
|
6537
|
+
value: input["default"]
|
6538
|
+
}), "null" === input.type || _report(_exceptionable, {
|
6539
|
+
path: _path + ".type",
|
6540
|
+
expected: "\"null\"",
|
6541
|
+
value: input.type
|
6542
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6543
|
+
path: _path + ".title",
|
6544
|
+
expected: "(string | undefined)",
|
6545
|
+
value: input.title
|
6546
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
6547
|
+
path: _path + ".description",
|
6548
|
+
expected: "(string | undefined)",
|
6549
|
+
value: input.description
|
6550
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
6551
|
+
path: _path + ".deprecated",
|
6552
|
+
expected: "(boolean | undefined)",
|
6553
|
+
value: input.deprecated
|
6554
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
6555
|
+
path: _path + ".examples",
|
6556
|
+
expected: "(Record<string, any> | undefined)",
|
6557
|
+
value: input.examples
|
6558
|
+
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6559
|
+
path: _path + ".examples",
|
6560
|
+
expected: "(Record<string, any> | undefined)",
|
6561
|
+
value: input.examples
|
6562
|
+
})].every(flag => flag); const _vo174 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
6563
|
+
path: _path + ".type",
|
6564
|
+
expected: "undefined",
|
6565
|
+
value: input.type
|
6566
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
6567
|
+
path: _path + ".type",
|
6568
|
+
expected: "undefined",
|
6569
|
+
value: input.type
|
6570
|
+
})), true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6571
|
+
path: _path + ".title",
|
6572
|
+
expected: "(string | undefined)",
|
6573
|
+
value: input.title
|
6574
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
6575
|
+
path: _path + ".description",
|
6576
|
+
expected: "(string | undefined)",
|
6577
|
+
value: input.description
|
6578
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
6579
|
+
path: _path + ".deprecated",
|
6580
|
+
expected: "(boolean | undefined)",
|
6581
|
+
value: input.deprecated
|
6582
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
6583
|
+
path: _path + ".examples",
|
6584
|
+
expected: "(Record<string, any> | undefined)",
|
6585
|
+
value: input.examples
|
6586
|
+
})) && _vo10(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6587
|
+
path: _path + ".examples",
|
6588
|
+
expected: "(Record<string, any> | undefined)",
|
6589
|
+
value: input.examples
|
6590
|
+
})].every(flag => flag); const _vo175 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
6565
6591
|
const value = input[key];
|
6566
6592
|
if (undefined === value)
|
6567
6593
|
return true;
|
@@ -6569,12 +6595,12 @@ class MigrateApplication {
|
|
6569
6595
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
6570
6596
|
expected: "OpenApiV3_1.IPath",
|
6571
6597
|
value: value
|
6572
|
-
})) &&
|
6598
|
+
})) && _vo176(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
6573
6599
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
6574
6600
|
expected: "OpenApiV3_1.IPath",
|
6575
6601
|
value: value
|
6576
6602
|
});
|
6577
|
-
}).every(flag => flag)].every(flag => flag); const
|
6603
|
+
}).every(flag => flag)].every(flag => flag); const _vo176 = (input, _path, _exceptionable = true) => [undefined === input.parameters || (Array.isArray(input.parameters) || _report(_exceptionable, {
|
6578
6604
|
path: _path + ".parameters",
|
6579
6605
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
6580
6606
|
value: input.parameters
|
@@ -6618,7 +6644,7 @@ class MigrateApplication {
|
|
6618
6644
|
path: _path + ".head",
|
6619
6645
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6620
6646
|
value: input.head
|
6621
|
-
})) &&
|
6647
|
+
})) && _vo183(input.head, _path + ".head", true && _exceptionable) || _report(_exceptionable, {
|
6622
6648
|
path: _path + ".head",
|
6623
6649
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6624
6650
|
value: input.head
|
@@ -6626,7 +6652,7 @@ class MigrateApplication {
|
|
6626
6652
|
path: _path + ".get",
|
6627
6653
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6628
6654
|
value: input.get
|
6629
|
-
})) &&
|
6655
|
+
})) && _vo183(input.get, _path + ".get", true && _exceptionable) || _report(_exceptionable, {
|
6630
6656
|
path: _path + ".get",
|
6631
6657
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6632
6658
|
value: input.get
|
@@ -6634,7 +6660,7 @@ class MigrateApplication {
|
|
6634
6660
|
path: _path + ".post",
|
6635
6661
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6636
6662
|
value: input.post
|
6637
|
-
})) &&
|
6663
|
+
})) && _vo183(input.post, _path + ".post", true && _exceptionable) || _report(_exceptionable, {
|
6638
6664
|
path: _path + ".post",
|
6639
6665
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6640
6666
|
value: input.post
|
@@ -6642,7 +6668,7 @@ class MigrateApplication {
|
|
6642
6668
|
path: _path + ".put",
|
6643
6669
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6644
6670
|
value: input.put
|
6645
|
-
})) &&
|
6671
|
+
})) && _vo183(input.put, _path + ".put", true && _exceptionable) || _report(_exceptionable, {
|
6646
6672
|
path: _path + ".put",
|
6647
6673
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6648
6674
|
value: input.put
|
@@ -6650,7 +6676,7 @@ class MigrateApplication {
|
|
6650
6676
|
path: _path + ".patch",
|
6651
6677
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6652
6678
|
value: input.patch
|
6653
|
-
})) &&
|
6679
|
+
})) && _vo183(input.patch, _path + ".patch", true && _exceptionable) || _report(_exceptionable, {
|
6654
6680
|
path: _path + ".patch",
|
6655
6681
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6656
6682
|
value: input.patch
|
@@ -6658,7 +6684,7 @@ class MigrateApplication {
|
|
6658
6684
|
path: _path + "[\"delete\"]",
|
6659
6685
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6660
6686
|
value: input["delete"]
|
6661
|
-
})) &&
|
6687
|
+
})) && _vo183(input["delete"], _path + "[\"delete\"]", true && _exceptionable) || _report(_exceptionable, {
|
6662
6688
|
path: _path + "[\"delete\"]",
|
6663
6689
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6664
6690
|
value: input["delete"]
|
@@ -6666,7 +6692,7 @@ class MigrateApplication {
|
|
6666
6692
|
path: _path + ".options",
|
6667
6693
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6668
6694
|
value: input.options
|
6669
|
-
})) &&
|
6695
|
+
})) && _vo183(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
|
6670
6696
|
path: _path + ".options",
|
6671
6697
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6672
6698
|
value: input.options
|
@@ -6674,11 +6700,11 @@ class MigrateApplication {
|
|
6674
6700
|
path: _path + ".trace",
|
6675
6701
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6676
6702
|
value: input.trace
|
6677
|
-
})) &&
|
6703
|
+
})) && _vo183(input.trace, _path + ".trace", true && _exceptionable) || _report(_exceptionable, {
|
6678
6704
|
path: _path + ".trace",
|
6679
6705
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
6680
6706
|
value: input.trace
|
6681
|
-
})].every(flag => flag); const
|
6707
|
+
})].every(flag => flag); const _vo177 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
6682
6708
|
path: _path + ".name",
|
6683
6709
|
expected: "(string | undefined)",
|
6684
6710
|
value: input.name
|
@@ -6688,11 +6714,11 @@ class MigrateApplication {
|
|
6688
6714
|
value: input["in"]
|
6689
6715
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
6690
6716
|
path: _path + ".schema",
|
6691
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6717
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6692
6718
|
value: input.schema
|
6693
6719
|
})) && _vu7(input.schema, _path + ".schema", true && _exceptionable) || _report(_exceptionable, {
|
6694
6720
|
path: _path + ".schema",
|
6695
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6721
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6696
6722
|
value: input.schema
|
6697
6723
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
6698
6724
|
path: _path + ".required",
|
@@ -6706,11 +6732,11 @@ class MigrateApplication {
|
|
6706
6732
|
path: _path + ".examples",
|
6707
6733
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
6708
6734
|
value: input.examples
|
6709
|
-
})) &&
|
6735
|
+
})) && _vo178(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6710
6736
|
path: _path + ".examples",
|
6711
6737
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
6712
6738
|
value: input.examples
|
6713
|
-
})].every(flag => flag); const
|
6739
|
+
})].every(flag => flag); const _vo178 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
6714
6740
|
const value = input[key];
|
6715
6741
|
if (undefined === value)
|
6716
6742
|
return true;
|
@@ -6723,7 +6749,7 @@ class MigrateApplication {
|
|
6723
6749
|
expected: "(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",
|
6724
6750
|
value: value
|
6725
6751
|
});
|
6726
|
-
}).every(flag => flag)].every(flag => flag); const
|
6752
|
+
}).every(flag => flag)].every(flag => flag); const _vo179 = (input, _path, _exceptionable = true) => [undefined === input.summary || "string" === typeof input.summary || _report(_exceptionable, {
|
6727
6753
|
path: _path + ".summary",
|
6728
6754
|
expected: "(string | undefined)",
|
6729
6755
|
value: input.summary
|
@@ -6735,7 +6761,7 @@ class MigrateApplication {
|
|
6735
6761
|
path: _path + ".externalValue",
|
6736
6762
|
expected: "(string | undefined)",
|
6737
6763
|
value: input.externalValue
|
6738
|
-
})].every(flag => flag); const
|
6764
|
+
})].every(flag => flag); const _vo180 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
6739
6765
|
path: _path + ".$ref",
|
6740
6766
|
expected: "`#/components/examples/${string}`",
|
6741
6767
|
value: input.$ref
|
@@ -6759,7 +6785,7 @@ class MigrateApplication {
|
|
6759
6785
|
path: _path + ".examples",
|
6760
6786
|
expected: "(Record<string, any> | undefined)",
|
6761
6787
|
value: input.examples
|
6762
|
-
})].every(flag => flag); const
|
6788
|
+
})].every(flag => flag); const _vo181 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
6763
6789
|
path: _path + ".$ref",
|
6764
6790
|
expected: "`#/components/headers/${string}`",
|
6765
6791
|
value: input.$ref
|
@@ -6783,7 +6809,7 @@ class MigrateApplication {
|
|
6783
6809
|
path: _path + ".examples",
|
6784
6810
|
expected: "(Record<string, any> | undefined)",
|
6785
6811
|
value: input.examples
|
6786
|
-
})].every(flag => flag); const
|
6812
|
+
})].every(flag => flag); const _vo182 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
6787
6813
|
path: _path + ".$ref",
|
6788
6814
|
expected: "`#/components/parameters/${string}`",
|
6789
6815
|
value: input.$ref
|
@@ -6807,7 +6833,7 @@ class MigrateApplication {
|
|
6807
6833
|
path: _path + ".examples",
|
6808
6834
|
expected: "(Record<string, any> | undefined)",
|
6809
6835
|
value: input.examples
|
6810
|
-
})].every(flag => flag); const
|
6836
|
+
})].every(flag => flag); const _vo183 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
6811
6837
|
path: _path + ".operationId",
|
6812
6838
|
expected: "(string | undefined)",
|
6813
6839
|
value: input.operationId
|
@@ -6839,7 +6865,7 @@ class MigrateApplication {
|
|
6839
6865
|
path: _path + ".responses",
|
6840
6866
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
6841
6867
|
value: input.responses
|
6842
|
-
})) &&
|
6868
|
+
})) && _vo188(input.responses, _path + ".responses", true && _exceptionable) || _report(_exceptionable, {
|
6843
6869
|
path: _path + ".responses",
|
6844
6870
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
6845
6871
|
value: input.responses
|
@@ -6899,7 +6925,7 @@ class MigrateApplication {
|
|
6899
6925
|
path: _path + ".deprecated",
|
6900
6926
|
expected: "(boolean | undefined)",
|
6901
6927
|
value: input.deprecated
|
6902
|
-
})].every(flag => flag); const
|
6928
|
+
})].every(flag => flag); const _vo184 = (input, _path, _exceptionable = true) => [undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
6903
6929
|
path: _path + ".description",
|
6904
6930
|
expected: "(string | undefined)",
|
6905
6931
|
value: input.description
|
@@ -6911,11 +6937,11 @@ class MigrateApplication {
|
|
6911
6937
|
path: _path + ".content",
|
6912
6938
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
6913
6939
|
value: input.content
|
6914
|
-
})) &&
|
6940
|
+
})) && _vo185(input.content, _path + ".content", true && _exceptionable) || _report(_exceptionable, {
|
6915
6941
|
path: _path + ".content",
|
6916
6942
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
6917
6943
|
value: input.content
|
6918
|
-
})].every(flag => flag); const
|
6944
|
+
})].every(flag => flag); const _vo185 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
6919
6945
|
const value = input[key];
|
6920
6946
|
if (undefined === value)
|
6921
6947
|
return true;
|
@@ -6923,28 +6949,28 @@ class MigrateApplication {
|
|
6923
6949
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
6924
6950
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
6925
6951
|
value: value
|
6926
|
-
})) &&
|
6952
|
+
})) && _vo186(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
6927
6953
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
6928
6954
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
6929
6955
|
value: value
|
6930
6956
|
});
|
6931
|
-
}).every(flag => flag)].every(flag => flag); const
|
6957
|
+
}).every(flag => flag)].every(flag => flag); const _vo186 = (input, _path, _exceptionable = true) => [undefined === input.schema || ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
6932
6958
|
path: _path + ".schema",
|
6933
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6959
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6934
6960
|
value: input.schema
|
6935
6961
|
})) && _vu7(input.schema, _path + ".schema", true && _exceptionable) || _report(_exceptionable, {
|
6936
6962
|
path: _path + ".schema",
|
6937
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6963
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6938
6964
|
value: input.schema
|
6939
6965
|
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
6940
6966
|
path: _path + ".examples",
|
6941
6967
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
6942
6968
|
value: input.examples
|
6943
|
-
})) &&
|
6969
|
+
})) && _vo178(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
6944
6970
|
path: _path + ".examples",
|
6945
6971
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
6946
6972
|
value: input.examples
|
6947
|
-
})].every(flag => flag); const
|
6973
|
+
})].every(flag => flag); const _vo187 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
6948
6974
|
path: _path + ".$ref",
|
6949
6975
|
expected: "`#/components/requestBodies/${string}`",
|
6950
6976
|
value: input.$ref
|
@@ -6968,7 +6994,7 @@ class MigrateApplication {
|
|
6968
6994
|
path: _path + ".examples",
|
6969
6995
|
expected: "(Record<string, any> | undefined)",
|
6970
6996
|
value: input.examples
|
6971
|
-
})].every(flag => flag); const
|
6997
|
+
})].every(flag => flag); const _vo188 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
6972
6998
|
const value = input[key];
|
6973
6999
|
if (undefined === value)
|
6974
7000
|
return true;
|
@@ -6981,11 +7007,11 @@ class MigrateApplication {
|
|
6981
7007
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",
|
6982
7008
|
value: value
|
6983
7009
|
});
|
6984
|
-
}).every(flag => flag)].every(flag => flag); const
|
7010
|
+
}).every(flag => flag)].every(flag => flag); const _vo189 = (input, _path, _exceptionable = true) => [undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || _report(_exceptionable, {
|
6985
7011
|
path: _path + ".content",
|
6986
7012
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
6987
7013
|
value: input.content
|
6988
|
-
})) &&
|
7014
|
+
})) && _vo185(input.content, _path + ".content", true && _exceptionable) || _report(_exceptionable, {
|
6989
7015
|
path: _path + ".content",
|
6990
7016
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
6991
7017
|
value: input.content
|
@@ -6993,7 +7019,7 @@ class MigrateApplication {
|
|
6993
7019
|
path: _path + ".headers",
|
6994
7020
|
expected: "(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, \"in\">> | undefined)",
|
6995
7021
|
value: input.headers
|
6996
|
-
})) &&
|
7022
|
+
})) && _vo190(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
6997
7023
|
path: _path + ".headers",
|
6998
7024
|
expected: "(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, \"in\">> | undefined)",
|
6999
7025
|
value: input.headers
|
@@ -7001,7 +7027,7 @@ class MigrateApplication {
|
|
7001
7027
|
path: _path + ".description",
|
7002
7028
|
expected: "(string | undefined)",
|
7003
7029
|
value: input.description
|
7004
|
-
})].every(flag => flag); const
|
7030
|
+
})].every(flag => flag); const _vo190 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7005
7031
|
const value = input[key];
|
7006
7032
|
if (undefined === value)
|
7007
7033
|
return true;
|
@@ -7014,7 +7040,7 @@ class MigrateApplication {
|
|
7014
7040
|
expected: "(Omit<OpenApiV3_1.IOperation.IParameter, \"in\"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
7015
7041
|
value: value
|
7016
7042
|
});
|
7017
|
-
}).every(flag => flag)].every(flag => flag); const
|
7043
|
+
}).every(flag => flag)].every(flag => flag); const _vo191 = (input, _path, _exceptionable = true) => [undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
7018
7044
|
path: _path + ".description",
|
7019
7045
|
expected: "(string | undefined)",
|
7020
7046
|
value: input.description
|
@@ -7022,7 +7048,7 @@ class MigrateApplication {
|
|
7022
7048
|
path: _path + ".examples",
|
7023
7049
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
7024
7050
|
value: input.examples
|
7025
|
-
})) &&
|
7051
|
+
})) && _vo178(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
7026
7052
|
path: _path + ".examples",
|
7027
7053
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
7028
7054
|
value: input.examples
|
@@ -7036,13 +7062,13 @@ class MigrateApplication {
|
|
7036
7062
|
value: input.name
|
7037
7063
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
7038
7064
|
path: _path + ".schema",
|
7039
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7065
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7040
7066
|
value: input.schema
|
7041
7067
|
})) && _vu7(input.schema, _path + ".schema", true && _exceptionable) || _report(_exceptionable, {
|
7042
7068
|
path: _path + ".schema",
|
7043
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7069
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7044
7070
|
value: input.schema
|
7045
|
-
})].every(flag => flag); const
|
7071
|
+
})].every(flag => flag); const _vo192 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
7046
7072
|
path: _path + ".$ref",
|
7047
7073
|
expected: "`#/components/responses/${string}`",
|
7048
7074
|
value: input.$ref
|
@@ -7066,7 +7092,7 @@ class MigrateApplication {
|
|
7066
7092
|
path: _path + ".examples",
|
7067
7093
|
expected: "(Record<string, any> | undefined)",
|
7068
7094
|
value: input.examples
|
7069
|
-
})].every(flag => flag); const
|
7095
|
+
})].every(flag => flag); const _vo193 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7070
7096
|
const value = input[key];
|
7071
7097
|
if (undefined === value)
|
7072
7098
|
return true;
|
@@ -7074,12 +7100,12 @@ class MigrateApplication {
|
|
7074
7100
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7075
7101
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
7076
7102
|
value: value
|
7077
|
-
})) &&
|
7103
|
+
})) && _vo189(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
7078
7104
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7079
7105
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
7080
7106
|
value: value
|
7081
7107
|
});
|
7082
|
-
}).every(flag => flag)].every(flag => flag); const
|
7108
|
+
}).every(flag => flag)].every(flag => flag); const _vo194 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7083
7109
|
const value = input[key];
|
7084
7110
|
if (undefined === value)
|
7085
7111
|
return true;
|
@@ -7087,12 +7113,12 @@ class MigrateApplication {
|
|
7087
7113
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7088
7114
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
7089
7115
|
value: value
|
7090
|
-
})) &&
|
7116
|
+
})) && _vo177(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
7091
7117
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7092
7118
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
7093
7119
|
value: value
|
7094
7120
|
});
|
7095
|
-
}).every(flag => flag)].every(flag => flag); const
|
7121
|
+
}).every(flag => flag)].every(flag => flag); const _vo195 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7096
7122
|
const value = input[key];
|
7097
7123
|
if (undefined === value)
|
7098
7124
|
return true;
|
@@ -7100,12 +7126,12 @@ class MigrateApplication {
|
|
7100
7126
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7101
7127
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
7102
7128
|
value: value
|
7103
|
-
})) &&
|
7129
|
+
})) && _vo184(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
7104
7130
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7105
7131
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
7106
7132
|
value: value
|
7107
7133
|
});
|
7108
|
-
}).every(flag => flag)].every(flag => flag); const
|
7134
|
+
}).every(flag => flag)].every(flag => flag); const _vo196 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7109
7135
|
const value = input[key];
|
7110
7136
|
if (undefined === value)
|
7111
7137
|
return true;
|
@@ -7118,7 +7144,7 @@ class MigrateApplication {
|
|
7118
7144
|
expected: "(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",
|
7119
7145
|
value: value
|
7120
7146
|
});
|
7121
|
-
}).every(flag => flag)].every(flag => flag); const
|
7147
|
+
}).every(flag => flag)].every(flag => flag); const _vo197 = (input, _path, _exceptionable = true) => ["apiKey" === input.type || _report(_exceptionable, {
|
7122
7148
|
path: _path + ".type",
|
7123
7149
|
expected: "\"apiKey\"",
|
7124
7150
|
value: input.type
|
@@ -7134,7 +7160,7 @@ class MigrateApplication {
|
|
7134
7160
|
path: _path + ".description",
|
7135
7161
|
expected: "(string | undefined)",
|
7136
7162
|
value: input.description
|
7137
|
-
})].every(flag => flag); const
|
7163
|
+
})].every(flag => flag); const _vo198 = (input, _path, _exceptionable = true) => ["http" === input.type || _report(_exceptionable, {
|
7138
7164
|
path: _path + ".type",
|
7139
7165
|
expected: "\"http\"",
|
7140
7166
|
value: input.type
|
@@ -7146,7 +7172,7 @@ class MigrateApplication {
|
|
7146
7172
|
path: _path + ".description",
|
7147
7173
|
expected: "(string | undefined)",
|
7148
7174
|
value: input.description
|
7149
|
-
})].every(flag => flag); const
|
7175
|
+
})].every(flag => flag); const _vo199 = (input, _path, _exceptionable = true) => ["http" === input.type || _report(_exceptionable, {
|
7150
7176
|
path: _path + ".type",
|
7151
7177
|
expected: "\"http\"",
|
7152
7178
|
value: input.type
|
@@ -7162,7 +7188,7 @@ class MigrateApplication {
|
|
7162
7188
|
path: _path + ".description",
|
7163
7189
|
expected: "(string | undefined)",
|
7164
7190
|
value: input.description
|
7165
|
-
})].every(flag => flag); const
|
7191
|
+
})].every(flag => flag); const _vo200 = (input, _path, _exceptionable = true) => ["oauth2" === input.type || _report(_exceptionable, {
|
7166
7192
|
path: _path + ".type",
|
7167
7193
|
expected: "\"oauth2\"",
|
7168
7194
|
value: input.type
|
@@ -7170,7 +7196,7 @@ class MigrateApplication {
|
|
7170
7196
|
path: _path + ".flows",
|
7171
7197
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
7172
7198
|
value: input.flows
|
7173
|
-
})) &&
|
7199
|
+
})) && _vo201(input.flows, _path + ".flows", true && _exceptionable) || _report(_exceptionable, {
|
7174
7200
|
path: _path + ".flows",
|
7175
7201
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
7176
7202
|
value: input.flows
|
@@ -7178,11 +7204,11 @@ class MigrateApplication {
|
|
7178
7204
|
path: _path + ".description",
|
7179
7205
|
expected: "(string | undefined)",
|
7180
7206
|
value: input.description
|
7181
|
-
})].every(flag => flag); const
|
7207
|
+
})].every(flag => flag); const _vo201 = (input, _path, _exceptionable = true) => [undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) || _report(_exceptionable, {
|
7182
7208
|
path: _path + ".authorizationCode",
|
7183
7209
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
7184
7210
|
value: input.authorizationCode
|
7185
|
-
})) &&
|
7211
|
+
})) && _vo202(input.authorizationCode, _path + ".authorizationCode", true && _exceptionable) || _report(_exceptionable, {
|
7186
7212
|
path: _path + ".authorizationCode",
|
7187
7213
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
7188
7214
|
value: input.authorizationCode
|
@@ -7190,7 +7216,7 @@ class MigrateApplication {
|
|
7190
7216
|
path: _path + ".implicit",
|
7191
7217
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
|
7192
7218
|
value: input.implicit
|
7193
|
-
})) &&
|
7219
|
+
})) && _vo203(input.implicit, _path + ".implicit", true && _exceptionable) || _report(_exceptionable, {
|
7194
7220
|
path: _path + ".implicit",
|
7195
7221
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
|
7196
7222
|
value: input.implicit
|
@@ -7198,7 +7224,7 @@ class MigrateApplication {
|
|
7198
7224
|
path: _path + ".password",
|
7199
7225
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
7200
7226
|
value: input.password
|
7201
|
-
})) &&
|
7227
|
+
})) && _vo204(input.password, _path + ".password", true && _exceptionable) || _report(_exceptionable, {
|
7202
7228
|
path: _path + ".password",
|
7203
7229
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
7204
7230
|
value: input.password
|
@@ -7206,11 +7232,11 @@ class MigrateApplication {
|
|
7206
7232
|
path: _path + ".clientCredentials",
|
7207
7233
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
7208
7234
|
value: input.clientCredentials
|
7209
|
-
})) &&
|
7235
|
+
})) && _vo204(input.clientCredentials, _path + ".clientCredentials", true && _exceptionable) || _report(_exceptionable, {
|
7210
7236
|
path: _path + ".clientCredentials",
|
7211
7237
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
7212
7238
|
value: input.clientCredentials
|
7213
|
-
})].every(flag => flag); const
|
7239
|
+
})].every(flag => flag); const _vo202 = (input, _path, _exceptionable = true) => [undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
7214
7240
|
path: _path + ".authorizationUrl",
|
7215
7241
|
expected: "(string | undefined)",
|
7216
7242
|
value: input.authorizationUrl
|
@@ -7230,7 +7256,7 @@ class MigrateApplication {
|
|
7230
7256
|
path: _path + ".scopes",
|
7231
7257
|
expected: "(Record<string, string> | undefined)",
|
7232
7258
|
value: input.scopes
|
7233
|
-
})].every(flag => flag); const
|
7259
|
+
})].every(flag => flag); const _vo203 = (input, _path, _exceptionable = true) => [undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
7234
7260
|
path: _path + ".authorizationUrl",
|
7235
7261
|
expected: "(string | undefined)",
|
7236
7262
|
value: input.authorizationUrl
|
@@ -7246,7 +7272,7 @@ class MigrateApplication {
|
|
7246
7272
|
path: _path + ".scopes",
|
7247
7273
|
expected: "(Record<string, string> | undefined)",
|
7248
7274
|
value: input.scopes
|
7249
|
-
})].every(flag => flag); const
|
7275
|
+
})].every(flag => flag); const _vo204 = (input, _path, _exceptionable = true) => [undefined === input.tokenUrl || "string" === typeof input.tokenUrl || _report(_exceptionable, {
|
7250
7276
|
path: _path + ".tokenUrl",
|
7251
7277
|
expected: "(string | undefined)",
|
7252
7278
|
value: input.tokenUrl
|
@@ -7262,7 +7288,7 @@ class MigrateApplication {
|
|
7262
7288
|
path: _path + ".scopes",
|
7263
7289
|
expected: "(Record<string, string> | undefined)",
|
7264
7290
|
value: input.scopes
|
7265
|
-
})].every(flag => flag); const
|
7291
|
+
})].every(flag => flag); const _vo205 = (input, _path, _exceptionable = true) => ["openIdConnect" === input.type || _report(_exceptionable, {
|
7266
7292
|
path: _path + ".type",
|
7267
7293
|
expected: "\"openIdConnect\"",
|
7268
7294
|
value: input.type
|
@@ -7274,7 +7300,7 @@ class MigrateApplication {
|
|
7274
7300
|
path: _path + ".description",
|
7275
7301
|
expected: "(string | undefined)",
|
7276
7302
|
value: input.description
|
7277
|
-
})].every(flag => flag); const
|
7303
|
+
})].every(flag => flag); const _vo206 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7278
7304
|
const value = input[key];
|
7279
7305
|
if (undefined === value)
|
7280
7306
|
return true;
|
@@ -7282,12 +7308,12 @@ class MigrateApplication {
|
|
7282
7308
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7283
7309
|
expected: "Omit<OpenApiV3_1.IOperation.IParameter, \"in\">",
|
7284
7310
|
value: value
|
7285
|
-
})) &&
|
7311
|
+
})) && _vo191(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
7286
7312
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7287
7313
|
expected: "Omit<OpenApiV3_1.IOperation.IParameter, \"in\">",
|
7288
7314
|
value: value
|
7289
7315
|
});
|
7290
|
-
}).every(flag => flag)].every(flag => flag); const
|
7316
|
+
}).every(flag => flag)].every(flag => flag); const _vo207 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7291
7317
|
const value = input[key];
|
7292
7318
|
if (undefined === value)
|
7293
7319
|
return true;
|
@@ -7295,12 +7321,12 @@ class MigrateApplication {
|
|
7295
7321
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7296
7322
|
expected: "OpenApiV3_1.IExample",
|
7297
7323
|
value: value
|
7298
|
-
})) &&
|
7324
|
+
})) && _vo179(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
7299
7325
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7300
7326
|
expected: "OpenApiV3_1.IExample",
|
7301
7327
|
value: value
|
7302
7328
|
});
|
7303
|
-
}).every(flag => flag)].every(flag => flag); const
|
7329
|
+
}).every(flag => flag)].every(flag => flag); const _vo208 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
7304
7330
|
const value = input[key];
|
7305
7331
|
if (undefined === value)
|
7306
7332
|
return true;
|
@@ -7313,7 +7339,7 @@ class MigrateApplication {
|
|
7313
7339
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",
|
7314
7340
|
value: value
|
7315
7341
|
});
|
7316
|
-
}).every(flag => flag)].every(flag => flag); const
|
7342
|
+
}).every(flag => flag)].every(flag => flag); const _vo209 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
7317
7343
|
path: _path + ".$ref",
|
7318
7344
|
expected: "`#/components/pathItems/${string}`",
|
7319
7345
|
value: input.$ref
|
@@ -7337,7 +7363,7 @@ class MigrateApplication {
|
|
7337
7363
|
path: _path + ".examples",
|
7338
7364
|
expected: "(Record<string, any> | undefined)",
|
7339
7365
|
value: input.examples
|
7340
|
-
})].every(flag => flag); const
|
7366
|
+
})].every(flag => flag); const _vo210 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
7341
7367
|
path: _path + ".name",
|
7342
7368
|
expected: "string",
|
7343
7369
|
value: input.name
|
@@ -7408,14 +7434,14 @@ class MigrateApplication {
|
|
7408
7434
|
return _vo58(input, _path, true && _exceptionable);
|
7409
7435
|
else if (undefined !== input.$ref)
|
7410
7436
|
return _vo59(input, _path, true && _exceptionable);
|
7411
|
-
else if ("null" === input.type)
|
7412
|
-
return _vo61(input, _path, true && _exceptionable);
|
7413
7437
|
else if (undefined !== input["x-anyOf"])
|
7414
|
-
return
|
7438
|
+
return _vo60(input, _path, true && _exceptionable);
|
7415
7439
|
else if (undefined !== input["x-oneOf"])
|
7416
|
-
return
|
7440
|
+
return _vo61(input, _path, true && _exceptionable);
|
7441
|
+
else if ("null" === input.type)
|
7442
|
+
return _vo62(input, _path, true && _exceptionable);
|
7417
7443
|
else
|
7418
|
-
return
|
7444
|
+
return _vo63(input, _path, true && _exceptionable);
|
7419
7445
|
})(); const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
7420
7446
|
if ("boolean" === input.type)
|
7421
7447
|
return _vo65(input, _path, true && _exceptionable);
|
@@ -7429,16 +7455,16 @@ class MigrateApplication {
|
|
7429
7455
|
return _vo69(input, _path, true && _exceptionable);
|
7430
7456
|
else if ("object" === input.type)
|
7431
7457
|
return _vo70(input, _path, true && _exceptionable);
|
7432
|
-
else if ("null" === input.type)
|
7433
|
-
return _vo73(input, _path, true && _exceptionable);
|
7434
7458
|
else if (undefined !== input["x-anyOf"])
|
7435
|
-
return
|
7459
|
+
return _vo72(input, _path, true && _exceptionable);
|
7436
7460
|
else if (undefined !== input["x-oneOf"])
|
7437
|
-
return
|
7461
|
+
return _vo73(input, _path, true && _exceptionable);
|
7462
|
+
else if ("null" === input.type)
|
7463
|
+
return _vo74(input, _path, true && _exceptionable);
|
7438
7464
|
else if (undefined !== input.schema)
|
7439
7465
|
return _vo76(input, _path, true && _exceptionable);
|
7440
7466
|
else
|
7441
|
-
return _vo71(input, _path, false && _exceptionable) ||
|
7467
|
+
return _vo71(input, _path, false && _exceptionable) || _vo75(input, _path, false && _exceptionable) || _vo88(input, _path, false && _exceptionable);
|
7442
7468
|
})(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
|
7443
7469
|
if ("boolean" === input.type)
|
7444
7470
|
return _vo65(input, _path, true && _exceptionable);
|
@@ -7452,16 +7478,16 @@ class MigrateApplication {
|
|
7452
7478
|
return _vo69(input, _path, true && _exceptionable);
|
7453
7479
|
else if ("object" === input.type)
|
7454
7480
|
return _vo70(input, _path, true && _exceptionable);
|
7455
|
-
else if ("null" === input.type)
|
7456
|
-
return _vo73(input, _path, true && _exceptionable);
|
7457
7481
|
else if (undefined !== input["x-anyOf"])
|
7458
|
-
return
|
7482
|
+
return _vo72(input, _path, true && _exceptionable);
|
7459
7483
|
else if (undefined !== input["x-oneOf"])
|
7460
|
-
return
|
7484
|
+
return _vo73(input, _path, true && _exceptionable);
|
7485
|
+
else if ("null" === input.type)
|
7486
|
+
return _vo74(input, _path, true && _exceptionable);
|
7461
7487
|
else if (undefined !== input.schema)
|
7462
7488
|
return _vo76(input, _path, true && _exceptionable);
|
7463
7489
|
else
|
7464
|
-
return _vo71(input, _path, false && _exceptionable) ||
|
7490
|
+
return _vo71(input, _path, false && _exceptionable) || _vo75(input, _path, false && _exceptionable) || _vo90(input, _path, false && _exceptionable);
|
7465
7491
|
})(); const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
7466
7492
|
if ("boolean" === input.type)
|
7467
7493
|
return _vo103(input, _path, true && _exceptionable);
|
@@ -7477,16 +7503,16 @@ class MigrateApplication {
|
|
7477
7503
|
return _vo108(input, _path, true && _exceptionable);
|
7478
7504
|
else if (undefined !== input.$ref)
|
7479
7505
|
return _vo109(input, _path, true && _exceptionable);
|
7480
|
-
else if ("null" === input.type)
|
7481
|
-
return _vo111(input, _path, true && _exceptionable);
|
7482
7506
|
else if (undefined !== input.allOf)
|
7483
|
-
return
|
7507
|
+
return _vo110(input, _path, true && _exceptionable);
|
7484
7508
|
else if (undefined !== input.anyOf)
|
7485
|
-
return
|
7509
|
+
return _vo111(input, _path, true && _exceptionable);
|
7486
7510
|
else if (undefined !== input.oneOf)
|
7511
|
+
return _vo112(input, _path, true && _exceptionable);
|
7512
|
+
else if ("null" === input.type)
|
7487
7513
|
return _vo114(input, _path, true && _exceptionable);
|
7488
7514
|
else
|
7489
|
-
return
|
7515
|
+
return _vo115(input, _path, true && _exceptionable);
|
7490
7516
|
})(); const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
7491
7517
|
if (undefined !== input["in"])
|
7492
7518
|
return _vo127(input, _path, true && _exceptionable);
|
@@ -7515,8 +7541,10 @@ class MigrateApplication {
|
|
7515
7541
|
return _vo165(input, _path, true && _exceptionable);
|
7516
7542
|
else if ("object" === input.type)
|
7517
7543
|
return _vo166(input, _path, true && _exceptionable);
|
7544
|
+
else if (undefined !== input.$recursiveRef)
|
7545
|
+
return _vo168(input, _path, true && _exceptionable);
|
7518
7546
|
else if ("null" === input.type)
|
7519
|
-
return
|
7547
|
+
return _vo173(input, _path, true && _exceptionable);
|
7520
7548
|
else
|
7521
7549
|
return (() => {
|
7522
7550
|
if (undefined !== input["const"])
|
@@ -7524,21 +7552,21 @@ class MigrateApplication {
|
|
7524
7552
|
else if (undefined !== input.$ref)
|
7525
7553
|
return _vo167(input, _path, true && _exceptionable);
|
7526
7554
|
else if (undefined !== input.allOf)
|
7527
|
-
return
|
7555
|
+
return _vo169(input, _path, true && _exceptionable);
|
7528
7556
|
else if (undefined !== input.anyOf)
|
7529
|
-
return
|
7557
|
+
return _vo170(input, _path, true && _exceptionable);
|
7530
7558
|
else if (undefined !== input.oneOf)
|
7531
|
-
return
|
7559
|
+
return _vo171(input, _path, true && _exceptionable);
|
7532
7560
|
else
|
7533
|
-
return
|
7561
|
+
return _vo174(input, _path, true && _exceptionable);
|
7534
7562
|
})();
|
7535
7563
|
})(); const _vu8 = (input, _path, _exceptionable = true) => (() => {
|
7536
7564
|
if (undefined !== input["in"])
|
7537
|
-
return
|
7565
|
+
return _vo177(input, _path, true && _exceptionable);
|
7538
7566
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref))
|
7539
|
-
return
|
7567
|
+
return _vo182(input, _path, true && _exceptionable);
|
7540
7568
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref))
|
7541
|
-
return
|
7569
|
+
return _vo181(input, _path, true && _exceptionable);
|
7542
7570
|
else
|
7543
7571
|
return _report(_exceptionable, {
|
7544
7572
|
path: _path,
|
@@ -7577,16 +7605,16 @@ class MigrateApplication {
|
|
7577
7605
|
return _vo70(input, _path, true && _exceptionable);
|
7578
7606
|
else if (undefined !== input.$ref)
|
7579
7607
|
return _vo71(input, _path, true && _exceptionable);
|
7580
|
-
else if ("null" === input.type)
|
7581
|
-
return _vo73(input, _path, true && _exceptionable);
|
7582
7608
|
else if (undefined !== input["x-anyOf"])
|
7583
|
-
return
|
7609
|
+
return _vo72(input, _path, true && _exceptionable);
|
7584
7610
|
else if (undefined !== input["x-oneOf"])
|
7585
|
-
return
|
7611
|
+
return _vo73(input, _path, true && _exceptionable);
|
7612
|
+
else if ("null" === input.type)
|
7613
|
+
return _vo74(input, _path, true && _exceptionable);
|
7586
7614
|
else if (undefined !== input.schema)
|
7587
7615
|
return _vo76(input, _path, true && _exceptionable);
|
7588
7616
|
else
|
7589
|
-
return
|
7617
|
+
return _vo75(input, _path, true && _exceptionable);
|
7590
7618
|
})(); const _vu11 = (input, _path, _exceptionable = true) => (() => {
|
7591
7619
|
if ("apiKey" === input.type)
|
7592
7620
|
return _vo80(input, _path, true && _exceptionable);
|
@@ -7656,24 +7684,24 @@ class MigrateApplication {
|
|
7656
7684
|
return _vo117(input, _path, true && _exceptionable);
|
7657
7685
|
})(); const _vu18 = (input, _path, _exceptionable = true) => (() => {
|
7658
7686
|
if (undefined !== input.$ref)
|
7659
|
-
return
|
7687
|
+
return _vo180(input, _path, true && _exceptionable);
|
7660
7688
|
else
|
7661
|
-
return
|
7689
|
+
return _vo179(input, _path, true && _exceptionable);
|
7662
7690
|
})(); const _vu19 = (input, _path, _exceptionable = true) => (() => {
|
7663
7691
|
if (undefined !== input.$ref)
|
7664
|
-
return
|
7692
|
+
return _vo187(input, _path, true && _exceptionable);
|
7665
7693
|
else
|
7666
|
-
return
|
7694
|
+
return _vo184(input, _path, true && _exceptionable);
|
7667
7695
|
})(); const _vu20 = (input, _path, _exceptionable = true) => (() => {
|
7668
7696
|
if (undefined !== input.$ref)
|
7669
|
-
return
|
7697
|
+
return _vo192(input, _path, true && _exceptionable);
|
7670
7698
|
else
|
7671
|
-
return
|
7699
|
+
return _vo189(input, _path, true && _exceptionable);
|
7672
7700
|
})(); const _vu21 = (input, _path, _exceptionable = true) => (() => {
|
7673
7701
|
if (undefined !== input.$ref)
|
7674
|
-
return
|
7702
|
+
return _vo181(input, _path, true && _exceptionable);
|
7675
7703
|
else if (undefined !== input.schema)
|
7676
|
-
return
|
7704
|
+
return _vo191(input, _path, true && _exceptionable);
|
7677
7705
|
else
|
7678
7706
|
return _report(_exceptionable, {
|
7679
7707
|
path: _path,
|
@@ -7682,15 +7710,15 @@ class MigrateApplication {
|
|
7682
7710
|
});
|
7683
7711
|
})(); const _vu22 = (input, _path, _exceptionable = true) => (() => {
|
7684
7712
|
if ("apiKey" === input.type)
|
7685
|
-
return _vo196(input, _path, true && _exceptionable);
|
7686
|
-
else if ("basic" === input.scheme)
|
7687
7713
|
return _vo197(input, _path, true && _exceptionable);
|
7688
|
-
else if ("
|
7714
|
+
else if ("basic" === input.scheme)
|
7689
7715
|
return _vo198(input, _path, true && _exceptionable);
|
7690
|
-
else if ("
|
7716
|
+
else if ("bearer" === input.scheme)
|
7691
7717
|
return _vo199(input, _path, true && _exceptionable);
|
7718
|
+
else if ("oauth2" === input.type)
|
7719
|
+
return _vo200(input, _path, true && _exceptionable);
|
7692
7720
|
else if ("openIdConnect" === input.type)
|
7693
|
-
return
|
7721
|
+
return _vo205(input, _path, true && _exceptionable);
|
7694
7722
|
else
|
7695
7723
|
return _report(_exceptionable, {
|
7696
7724
|
path: _path,
|
@@ -7699,9 +7727,9 @@ class MigrateApplication {
|
|
7699
7727
|
});
|
7700
7728
|
})(); const _vu23 = (input, _path, _exceptionable = true) => (() => {
|
7701
7729
|
if (undefined !== input.$ref)
|
7702
|
-
return
|
7730
|
+
return _vo209(input, _path, true && _exceptionable);
|
7703
7731
|
else
|
7704
|
-
return
|
7732
|
+
return _vo176(input, _path, true && _exceptionable);
|
7705
7733
|
})(); const _vu24 = (input, _path, _exceptionable = true) => (() => {
|
7706
7734
|
if (undefined !== input["x-samchon-emended"])
|
7707
7735
|
return _vo0(input, _path, true && _exceptionable);
|