@agentica/core 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/context/AgenticaOperation.d.ts +3 -4
- package/lib/context/internal/AgenticaOperationComposer.js +8 -1
- package/lib/context/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/context/internal/AgenticaOperationComposer.spec.js +39 -10
- package/lib/context/internal/AgenticaOperationComposer.spec.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.js +168 -168
- package/lib/functional/assertMcpController.d.ts +24 -0
- package/lib/functional/assertMcpController.js +1701 -0
- package/lib/functional/assertMcpController.js.map +1 -0
- package/lib/functional/validateHttpLlmApplication.js +148 -148
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +2013 -404
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/call.js +11 -1
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/initialize.js +60 -60
- package/lib/structures/IAgenticaController.d.ts +8 -4
- package/lib/structures/mcp/index.d.ts +0 -2
- package/lib/structures/mcp/index.js +0 -2
- package/lib/structures/mcp/index.js.map +1 -1
- package/lib/utils/AsyncQueue.d.ts +10 -0
- package/lib/utils/AsyncQueue.js +33 -9
- package/lib/utils/AsyncQueue.js.map +1 -1
- package/lib/utils/AsyncQueue.spec.d.ts +1 -0
- package/lib/utils/AsyncQueue.spec.js +280 -0
- package/lib/utils/AsyncQueue.spec.js.map +1 -0
- package/lib/utils/MPSC.spec.d.ts +1 -0
- package/lib/utils/MPSC.spec.js +222 -0
- package/lib/utils/MPSC.spec.js.map +1 -0
- package/lib/utils/StreamUtil.spec.d.ts +1 -0
- package/lib/utils/StreamUtil.spec.js +471 -0
- package/lib/utils/StreamUtil.spec.js.map +1 -0
- package/package.json +3 -3
- package/src/context/AgenticaOperation.ts +5 -6
- package/src/context/internal/AgenticaOperationComposer.spec.ts +45 -14
- package/src/context/internal/AgenticaOperationComposer.ts +10 -2
- package/src/functional/assertMcpController.ts +49 -0
- package/src/index.ts +1 -1
- package/src/orchestrate/call.ts +14 -4
- package/src/structures/IAgenticaController.ts +9 -4
- package/src/structures/mcp/index.ts +0 -2
- package/src/utils/AsyncQueue.spec.ts +355 -0
- package/src/utils/AsyncQueue.ts +36 -8
- package/src/utils/MPSC.spec.ts +276 -0
- package/src/utils/StreamUtil.spec.ts +520 -0
- package/lib/functional/assertMcpLlmApplication.d.ts +0 -18
- package/lib/functional/assertMcpLlmApplication.js +0 -74
- package/lib/functional/assertMcpLlmApplication.js.map +0 -1
- package/lib/structures/mcp/IMcpLlmApplication.d.ts +0 -9
- package/lib/structures/mcp/IMcpLlmApplication.js +0 -3
- package/lib/structures/mcp/IMcpLlmApplication.js.map +0 -1
- package/lib/structures/mcp/IMcpLlmFunction.d.ts +0 -17
- package/lib/structures/mcp/IMcpLlmFunction.js +0 -3
- package/lib/structures/mcp/IMcpLlmFunction.js.map +0 -1
- package/src/functional/assertMcpLlmApplication.ts +0 -32
- package/src/structures/mcp/IMcpLlmApplication.ts +0 -10
- package/src/structures/mcp/IMcpLlmFunction.ts +0 -19
|
@@ -134,7 +134,7 @@ function validateHttpLlmApplication(props) {
|
|
|
134
134
|
if (undefined === value)
|
|
135
135
|
return true;
|
|
136
136
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
137
|
-
}); const _io79 = input => (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) && _io75(input.examples)) && (
|
|
137
|
+
}); const _io79 = input => (undefined === input.name || "string" === typeof input.name) && (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) && _io75(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu3(input.schema)); const _io80 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io81 = input => Object.keys(input).every(key => {
|
|
138
138
|
const value = input[key];
|
|
139
139
|
if (undefined === value)
|
|
140
140
|
return true;
|
|
@@ -179,7 +179,7 @@ function validateHttpLlmApplication(props) {
|
|
|
179
179
|
if (undefined === value)
|
|
180
180
|
return true;
|
|
181
181
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
182
|
-
}); const _io114 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (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)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(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) && _iu5(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)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (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) && _iu5(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && "string" === typeof input.$ref; const _io115 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io116 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io117 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io118 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io119 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io120 = 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) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(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) && _iu5(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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io122 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io123 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io124 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io125 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io126 = input => 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 && _io127(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io127 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io128 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io129 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io130 = input => Object.keys(input).every(key => {
|
|
182
|
+
}); const _io114 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io115 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (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)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(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) && _iu5(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)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (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) && _iu5(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && "string" === typeof input.$ref; const _io116 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io117 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io118 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io119 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io120 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io121 = 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) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(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) && _iu5(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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io122 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io123 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io124 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io125 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io126 = input => 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 && _io127(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io127 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io128 = 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 && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io129 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io130 = input => Object.keys(input).every(key => {
|
|
183
183
|
const value = input[key];
|
|
184
184
|
if (undefined === value)
|
|
185
185
|
return true;
|
|
@@ -204,7 +204,7 @@ function validateHttpLlmApplication(props) {
|
|
|
204
204
|
if (undefined === value)
|
|
205
205
|
return true;
|
|
206
206
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
207
|
-
}); const _io146 = input => (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) && _io133(input.examples)) && (
|
|
207
|
+
}); const _io146 = input => (undefined === input.name || "string" === typeof input.name) && (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) && _io133(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)); const _io147 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(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 _io148 = input => Object.keys(input).every(key => {
|
|
208
208
|
const value = input[key];
|
|
209
209
|
if (undefined === value)
|
|
210
210
|
return true;
|
|
@@ -401,19 +401,19 @@ function validateHttpLlmApplication(props) {
|
|
|
401
401
|
else
|
|
402
402
|
return false;
|
|
403
403
|
})(); const _iu5 = input => (() => {
|
|
404
|
-
if (
|
|
404
|
+
if ("object" === input.type)
|
|
405
405
|
return _io114(input);
|
|
406
|
+
else if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
407
|
+
return _io115(input);
|
|
406
408
|
else if ("boolean" === input.type)
|
|
407
|
-
return
|
|
409
|
+
return _io117(input);
|
|
408
410
|
else if ("number" === input.type)
|
|
409
|
-
return
|
|
411
|
+
return _io119(input);
|
|
410
412
|
else if ("integer" === input.type)
|
|
411
|
-
return
|
|
413
|
+
return _io118(input);
|
|
412
414
|
else if ("string" === input.type)
|
|
413
|
-
return _io119(input);
|
|
414
|
-
else if ("array" === input.type)
|
|
415
415
|
return _io120(input);
|
|
416
|
-
else if ("
|
|
416
|
+
else if ("array" === input.type)
|
|
417
417
|
return _io121(input);
|
|
418
418
|
else if (undefined !== input.$recursiveRef)
|
|
419
419
|
return _io123(input);
|
|
@@ -422,7 +422,7 @@ function validateHttpLlmApplication(props) {
|
|
|
422
422
|
else
|
|
423
423
|
return (() => {
|
|
424
424
|
if (undefined !== input["const"])
|
|
425
|
-
return
|
|
425
|
+
return _io116(input);
|
|
426
426
|
else if (undefined !== input.$ref)
|
|
427
427
|
return _io122(input);
|
|
428
428
|
else if (undefined !== input.allOf)
|
|
@@ -3414,7 +3414,11 @@ function validateHttpLlmApplication(props) {
|
|
|
3414
3414
|
expected: "(Omit<OpenApiV3.IOperation.IParameter, \"in\"> | OpenApiV3.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
|
3415
3415
|
value: value
|
|
3416
3416
|
});
|
|
3417
|
-
}).every(flag => flag)].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
3417
|
+
}).every(flag => flag)].every(flag => flag); const _vo79 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
3418
|
+
path: _path + ".name",
|
|
3419
|
+
expected: "(string | undefined)",
|
|
3420
|
+
value: input.name
|
|
3421
|
+
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
3418
3422
|
path: _path + ".required",
|
|
3419
3423
|
expected: "(boolean | undefined)",
|
|
3420
3424
|
value: input.required
|
|
@@ -3430,10 +3434,6 @@ function validateHttpLlmApplication(props) {
|
|
|
3430
3434
|
path: _path + ".examples",
|
|
3431
3435
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
3432
3436
|
value: input.examples
|
|
3433
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
3434
|
-
path: _path + ".name",
|
|
3435
|
-
expected: "(string | undefined)",
|
|
3436
|
-
value: input.name
|
|
3437
3437
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
3438
3438
|
path: _path + ".schema",
|
|
3439
3439
|
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)",
|
|
@@ -4327,12 +4327,84 @@ function validateHttpLlmApplication(props) {
|
|
|
4327
4327
|
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)",
|
|
4328
4328
|
value: value
|
|
4329
4329
|
});
|
|
4330
|
-
}).every(flag => flag)].every(flag => flag); const _vo114 = (input, _path, _exceptionable = true) => [
|
|
4330
|
+
}).every(flag => flag)].every(flag => flag); const _vo114 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4331
|
+
path: _path + ".nullable",
|
|
4332
|
+
expected: "(boolean | undefined)",
|
|
4333
|
+
value: input.nullable
|
|
4334
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
4335
|
+
path: _path + ".properties",
|
|
4336
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
4337
|
+
value: input.properties
|
|
4338
|
+
})) && _vo113(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
4339
|
+
path: _path + ".properties",
|
|
4340
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
4341
|
+
value: input.properties
|
|
4342
|
+
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
4343
|
+
path: _path + ".required",
|
|
4344
|
+
expected: "(Array<string> | undefined)",
|
|
4345
|
+
value: input.required
|
|
4346
|
+
})) && input.required.map((elem, _index128) => "string" === typeof elem || _report(_exceptionable, {
|
|
4347
|
+
path: _path + ".required[" + _index128 + "]",
|
|
4348
|
+
expected: "string",
|
|
4349
|
+
value: elem
|
|
4350
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
4351
|
+
path: _path + ".required",
|
|
4352
|
+
expected: "(Array<string> | undefined)",
|
|
4353
|
+
value: input.required
|
|
4354
|
+
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
4355
|
+
path: _path + ".additionalProperties",
|
|
4356
|
+
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)",
|
|
4357
|
+
value: input.additionalProperties
|
|
4358
|
+
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
4359
|
+
path: _path + ".additionalProperties",
|
|
4360
|
+
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)",
|
|
4361
|
+
value: input.additionalProperties
|
|
4362
|
+
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
|
4363
|
+
path: _path + ".additionalProperties",
|
|
4364
|
+
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)",
|
|
4365
|
+
value: input.additionalProperties
|
|
4366
|
+
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
4367
|
+
path: _path + ".maxProperties",
|
|
4368
|
+
expected: "(number | undefined)",
|
|
4369
|
+
value: input.maxProperties
|
|
4370
|
+
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
|
4371
|
+
path: _path + ".minProperties",
|
|
4372
|
+
expected: "(number | undefined)",
|
|
4373
|
+
value: input.minProperties
|
|
4374
|
+
}), "object" === input.type || _report(_exceptionable, {
|
|
4375
|
+
path: _path + ".type",
|
|
4376
|
+
expected: "\"object\"",
|
|
4377
|
+
value: input.type
|
|
4378
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4379
|
+
path: _path + ".title",
|
|
4380
|
+
expected: "(string | undefined)",
|
|
4381
|
+
value: input.title
|
|
4382
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
4383
|
+
path: _path + ".description",
|
|
4384
|
+
expected: "(string | undefined)",
|
|
4385
|
+
value: input.description
|
|
4386
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
4387
|
+
path: _path + ".deprecated",
|
|
4388
|
+
expected: "(boolean | undefined)",
|
|
4389
|
+
value: input.deprecated
|
|
4390
|
+
}), true, (null !== input.examples || _report(_exceptionable, {
|
|
4391
|
+
path: _path + ".examples",
|
|
4392
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4393
|
+
value: input.examples
|
|
4394
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
4395
|
+
path: _path + ".examples",
|
|
4396
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4397
|
+
value: input.examples
|
|
4398
|
+
})) || _report(_exceptionable, {
|
|
4399
|
+
path: _path + ".examples",
|
|
4400
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4401
|
+
value: input.examples
|
|
4402
|
+
}))].every(flag => flag); const _vo115 = (input, _path, _exceptionable = true) => [(Array.isArray(input.type) || _report(_exceptionable, {
|
|
4331
4403
|
path: _path + ".type",
|
|
4332
4404
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\" | \"null\">",
|
|
4333
4405
|
value: input.type
|
|
4334
|
-
})) && input.type.map((elem,
|
|
4335
|
-
path: _path + ".type[" +
|
|
4406
|
+
})) && input.type.map((elem, _index129) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem || _report(_exceptionable, {
|
|
4407
|
+
path: _path + ".type[" + _index129 + "]",
|
|
4336
4408
|
expected: "(\"array\" | \"boolean\" | \"integer\" | \"null\" | \"number\" | \"object\" | \"string\")",
|
|
4337
4409
|
value: elem
|
|
4338
4410
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4435,12 +4507,12 @@ function validateHttpLlmApplication(props) {
|
|
|
4435
4507
|
path: _path + ".items",
|
|
4436
4508
|
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)",
|
|
4437
4509
|
value: input.items
|
|
4438
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem,
|
|
4439
|
-
path: _path + ".items[" +
|
|
4510
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4511
|
+
path: _path + ".items[" + _index130 + "]",
|
|
4440
4512
|
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)",
|
|
4441
4513
|
value: elem
|
|
4442
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
4443
|
-
path: _path + ".items[" +
|
|
4514
|
+
})) && _vu5(elem, _path + ".items[" + _index130 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4515
|
+
path: _path + ".items[" + _index130 + "]",
|
|
4444
4516
|
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)",
|
|
4445
4517
|
value: elem
|
|
4446
4518
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
@@ -4455,12 +4527,12 @@ function validateHttpLlmApplication(props) {
|
|
|
4455
4527
|
path: _path + ".prefixItems",
|
|
4456
4528
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
4457
4529
|
value: input.prefixItems
|
|
4458
|
-
})) && input.prefixItems.map((elem,
|
|
4459
|
-
path: _path + ".prefixItems[" +
|
|
4530
|
+
})) && input.prefixItems.map((elem, _index131) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4531
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
4460
4532
|
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)",
|
|
4461
4533
|
value: elem
|
|
4462
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
4463
|
-
path: _path + ".prefixItems[" +
|
|
4534
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index131 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4535
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
4464
4536
|
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)",
|
|
4465
4537
|
value: elem
|
|
4466
4538
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4523,8 +4595,8 @@ function validateHttpLlmApplication(props) {
|
|
|
4523
4595
|
path: _path + ".required",
|
|
4524
4596
|
expected: "(Array<string> | undefined)",
|
|
4525
4597
|
value: input.required
|
|
4526
|
-
})) && input.required.map((elem,
|
|
4527
|
-
path: _path + ".required[" +
|
|
4598
|
+
})) && input.required.map((elem, _index132) => "string" === typeof elem || _report(_exceptionable, {
|
|
4599
|
+
path: _path + ".required[" + _index132 + "]",
|
|
4528
4600
|
expected: "string",
|
|
4529
4601
|
value: elem
|
|
4530
4602
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4543,12 +4615,12 @@ function validateHttpLlmApplication(props) {
|
|
|
4543
4615
|
path: _path + ".oneOf",
|
|
4544
4616
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
4545
4617
|
value: input.oneOf
|
|
4546
|
-
})) && input.oneOf.map((elem,
|
|
4547
|
-
path: _path + ".oneOf[" +
|
|
4618
|
+
})) && input.oneOf.map((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4619
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
4548
4620
|
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)",
|
|
4549
4621
|
value: elem
|
|
4550
|
-
})) && _vu5(elem, _path + ".oneOf[" +
|
|
4551
|
-
path: _path + ".oneOf[" +
|
|
4622
|
+
})) && _vu5(elem, _path + ".oneOf[" + _index133 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4623
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
4552
4624
|
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)",
|
|
4553
4625
|
value: elem
|
|
4554
4626
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4567,12 +4639,12 @@ function validateHttpLlmApplication(props) {
|
|
|
4567
4639
|
path: _path + ".anyOf",
|
|
4568
4640
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
4569
4641
|
value: input.anyOf
|
|
4570
|
-
})) && input.anyOf.map((elem,
|
|
4571
|
-
path: _path + ".anyOf[" +
|
|
4642
|
+
})) && input.anyOf.map((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4643
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
4572
4644
|
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)",
|
|
4573
4645
|
value: elem
|
|
4574
|
-
})) && _vu5(elem, _path + ".anyOf[" +
|
|
4575
|
-
path: _path + ".anyOf[" +
|
|
4646
|
+
})) && _vu5(elem, _path + ".anyOf[" + _index134 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4647
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
4576
4648
|
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)",
|
|
4577
4649
|
value: elem
|
|
4578
4650
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4583,12 +4655,12 @@ function validateHttpLlmApplication(props) {
|
|
|
4583
4655
|
path: _path + ".allOf",
|
|
4584
4656
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
4585
4657
|
value: input.allOf
|
|
4586
|
-
})) && input.allOf.map((elem,
|
|
4587
|
-
path: _path + ".allOf[" +
|
|
4658
|
+
})) && input.allOf.map((elem, _index135) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4659
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
4588
4660
|
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)",
|
|
4589
4661
|
value: elem
|
|
4590
|
-
})) && _vu5(elem, _path + ".allOf[" +
|
|
4591
|
-
path: _path + ".allOf[" +
|
|
4662
|
+
})) && _vu5(elem, _path + ".allOf[" + _index135 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4663
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
4592
4664
|
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)",
|
|
4593
4665
|
value: elem
|
|
4594
4666
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4599,7 +4671,7 @@ function validateHttpLlmApplication(props) {
|
|
|
4599
4671
|
path: _path + ".$ref",
|
|
4600
4672
|
expected: "string",
|
|
4601
4673
|
value: input.$ref
|
|
4602
|
-
})].every(flag => flag); const
|
|
4674
|
+
})].every(flag => flag); const _vo116 = (input, _path, _exceptionable = true) => ["string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
4603
4675
|
path: _path + "[\"const\"]",
|
|
4604
4676
|
expected: "(boolean | number | string)",
|
|
4605
4677
|
value: input["const"]
|
|
@@ -4631,7 +4703,7 @@ function validateHttpLlmApplication(props) {
|
|
|
4631
4703
|
path: _path + ".deprecated",
|
|
4632
4704
|
expected: "(boolean | undefined)",
|
|
4633
4705
|
value: input.deprecated
|
|
4634
|
-
}), true].every(flag => flag); const
|
|
4706
|
+
}), true].every(flag => flag); const _vo117 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4635
4707
|
path: _path + ".nullable",
|
|
4636
4708
|
expected: "(boolean | undefined)",
|
|
4637
4709
|
value: input.nullable
|
|
@@ -4643,8 +4715,8 @@ function validateHttpLlmApplication(props) {
|
|
|
4643
4715
|
path: _path + "[\"enum\"]",
|
|
4644
4716
|
expected: "(Array<boolean | null> | undefined)",
|
|
4645
4717
|
value: input["enum"]
|
|
4646
|
-
})) && input["enum"].map((elem,
|
|
4647
|
-
path: _path + "[\"enum\"][" +
|
|
4718
|
+
})) && input["enum"].map((elem, _index136) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
|
4719
|
+
path: _path + "[\"enum\"][" + _index136 + "]",
|
|
4648
4720
|
expected: "(boolean | null)",
|
|
4649
4721
|
value: elem
|
|
4650
4722
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4679,7 +4751,7 @@ function validateHttpLlmApplication(props) {
|
|
|
4679
4751
|
path: _path + ".examples",
|
|
4680
4752
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4681
4753
|
value: input.examples
|
|
4682
|
-
}))].every(flag => flag); const
|
|
4754
|
+
}))].every(flag => flag); const _vo118 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4683
4755
|
path: _path + ".nullable",
|
|
4684
4756
|
expected: "(boolean | undefined)",
|
|
4685
4757
|
value: input.nullable
|
|
@@ -4695,8 +4767,8 @@ function validateHttpLlmApplication(props) {
|
|
|
4695
4767
|
path: _path + "[\"enum\"]",
|
|
4696
4768
|
expected: "(Array<number | null> | undefined)",
|
|
4697
4769
|
value: input["enum"]
|
|
4698
|
-
})) && input["enum"].map((elem,
|
|
4699
|
-
path: _path + "[\"enum\"][" +
|
|
4770
|
+
})) && input["enum"].map((elem, _index137) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
4771
|
+
path: _path + "[\"enum\"][" + _index137 + "]",
|
|
4700
4772
|
expected: "(null | number)",
|
|
4701
4773
|
value: elem
|
|
4702
4774
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4775,7 +4847,7 @@ function validateHttpLlmApplication(props) {
|
|
|
4775
4847
|
path: _path + ".examples",
|
|
4776
4848
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4777
4849
|
value: input.examples
|
|
4778
|
-
}))].every(flag => flag); const
|
|
4850
|
+
}))].every(flag => flag); const _vo119 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4779
4851
|
path: _path + ".nullable",
|
|
4780
4852
|
expected: "(boolean | undefined)",
|
|
4781
4853
|
value: input.nullable
|
|
@@ -4787,8 +4859,8 @@ function validateHttpLlmApplication(props) {
|
|
|
4787
4859
|
path: _path + "[\"enum\"]",
|
|
4788
4860
|
expected: "(Array<number | null> | undefined)",
|
|
4789
4861
|
value: input["enum"]
|
|
4790
|
-
})) && input["enum"].map((elem,
|
|
4791
|
-
path: _path + "[\"enum\"][" +
|
|
4862
|
+
})) && input["enum"].map((elem, _index138) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
4863
|
+
path: _path + "[\"enum\"][" + _index138 + "]",
|
|
4792
4864
|
expected: "(null | number)",
|
|
4793
4865
|
value: elem
|
|
4794
4866
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4847,7 +4919,7 @@ function validateHttpLlmApplication(props) {
|
|
|
4847
4919
|
path: _path + ".examples",
|
|
4848
4920
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4849
4921
|
value: input.examples
|
|
4850
|
-
}))].every(flag => flag); const
|
|
4922
|
+
}))].every(flag => flag); const _vo120 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4851
4923
|
path: _path + ".nullable",
|
|
4852
4924
|
expected: "(boolean | undefined)",
|
|
4853
4925
|
value: input.nullable
|
|
@@ -4859,8 +4931,8 @@ function validateHttpLlmApplication(props) {
|
|
|
4859
4931
|
path: _path + "[\"enum\"]",
|
|
4860
4932
|
expected: "(Array<string | null> | undefined)",
|
|
4861
4933
|
value: input["enum"]
|
|
4862
|
-
})) && input["enum"].map((elem,
|
|
4863
|
-
path: _path + "[\"enum\"][" +
|
|
4934
|
+
})) && input["enum"].map((elem, _index139) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
|
4935
|
+
path: _path + "[\"enum\"][" + _index139 + "]",
|
|
4864
4936
|
expected: "(null | string)",
|
|
4865
4937
|
value: elem
|
|
4866
4938
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -4923,7 +4995,7 @@ function validateHttpLlmApplication(props) {
|
|
|
4923
4995
|
path: _path + ".examples",
|
|
4924
4996
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4925
4997
|
value: input.examples
|
|
4926
|
-
}))].every(flag => flag); const
|
|
4998
|
+
}))].every(flag => flag); const _vo121 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4927
4999
|
path: _path + ".nullable",
|
|
4928
5000
|
expected: "(boolean | undefined)",
|
|
4929
5001
|
value: input.nullable
|
|
@@ -4931,12 +5003,12 @@ function validateHttpLlmApplication(props) {
|
|
|
4931
5003
|
path: _path + ".items",
|
|
4932
5004
|
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)",
|
|
4933
5005
|
value: input.items
|
|
4934
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem,
|
|
4935
|
-
path: _path + ".items[" +
|
|
5006
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5007
|
+
path: _path + ".items[" + _index140 + "]",
|
|
4936
5008
|
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)",
|
|
4937
5009
|
value: elem
|
|
4938
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
4939
|
-
path: _path + ".items[" +
|
|
5010
|
+
})) && _vu5(elem, _path + ".items[" + _index140 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
5011
|
+
path: _path + ".items[" + _index140 + "]",
|
|
4940
5012
|
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)",
|
|
4941
5013
|
value: elem
|
|
4942
5014
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
@@ -4951,12 +5023,12 @@ function validateHttpLlmApplication(props) {
|
|
|
4951
5023
|
path: _path + ".prefixItems",
|
|
4952
5024
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
4953
5025
|
value: input.prefixItems
|
|
4954
|
-
})) && input.prefixItems.map((elem,
|
|
4955
|
-
path: _path + ".prefixItems[" +
|
|
5026
|
+
})) && input.prefixItems.map((elem, _index141) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5027
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
4956
5028
|
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)",
|
|
4957
5029
|
value: elem
|
|
4958
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
4959
|
-
path: _path + ".prefixItems[" +
|
|
5030
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index141 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
5031
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
4960
5032
|
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)",
|
|
4961
5033
|
value: elem
|
|
4962
5034
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -5023,78 +5095,6 @@ function validateHttpLlmApplication(props) {
|
|
|
5023
5095
|
path: _path + ".examples",
|
|
5024
5096
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5025
5097
|
value: input.examples
|
|
5026
|
-
}))].every(flag => flag); const _vo121 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
5027
|
-
path: _path + ".nullable",
|
|
5028
|
-
expected: "(boolean | undefined)",
|
|
5029
|
-
value: input.nullable
|
|
5030
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
5031
|
-
path: _path + ".properties",
|
|
5032
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
5033
|
-
value: input.properties
|
|
5034
|
-
})) && _vo113(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
5035
|
-
path: _path + ".properties",
|
|
5036
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
5037
|
-
value: input.properties
|
|
5038
|
-
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
5039
|
-
path: _path + ".required",
|
|
5040
|
-
expected: "(Array<string> | undefined)",
|
|
5041
|
-
value: input.required
|
|
5042
|
-
})) && input.required.map((elem, _index141) => "string" === typeof elem || _report(_exceptionable, {
|
|
5043
|
-
path: _path + ".required[" + _index141 + "]",
|
|
5044
|
-
expected: "string",
|
|
5045
|
-
value: elem
|
|
5046
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
5047
|
-
path: _path + ".required",
|
|
5048
|
-
expected: "(Array<string> | undefined)",
|
|
5049
|
-
value: input.required
|
|
5050
|
-
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
5051
|
-
path: _path + ".additionalProperties",
|
|
5052
|
-
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)",
|
|
5053
|
-
value: input.additionalProperties
|
|
5054
|
-
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
5055
|
-
path: _path + ".additionalProperties",
|
|
5056
|
-
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)",
|
|
5057
|
-
value: input.additionalProperties
|
|
5058
|
-
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
|
5059
|
-
path: _path + ".additionalProperties",
|
|
5060
|
-
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)",
|
|
5061
|
-
value: input.additionalProperties
|
|
5062
|
-
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
5063
|
-
path: _path + ".maxProperties",
|
|
5064
|
-
expected: "(number | undefined)",
|
|
5065
|
-
value: input.maxProperties
|
|
5066
|
-
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
|
5067
|
-
path: _path + ".minProperties",
|
|
5068
|
-
expected: "(number | undefined)",
|
|
5069
|
-
value: input.minProperties
|
|
5070
|
-
}), "object" === input.type || _report(_exceptionable, {
|
|
5071
|
-
path: _path + ".type",
|
|
5072
|
-
expected: "\"object\"",
|
|
5073
|
-
value: input.type
|
|
5074
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5075
|
-
path: _path + ".title",
|
|
5076
|
-
expected: "(string | undefined)",
|
|
5077
|
-
value: input.title
|
|
5078
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5079
|
-
path: _path + ".description",
|
|
5080
|
-
expected: "(string | undefined)",
|
|
5081
|
-
value: input.description
|
|
5082
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
5083
|
-
path: _path + ".deprecated",
|
|
5084
|
-
expected: "(boolean | undefined)",
|
|
5085
|
-
value: input.deprecated
|
|
5086
|
-
}), true, (null !== input.examples || _report(_exceptionable, {
|
|
5087
|
-
path: _path + ".examples",
|
|
5088
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5089
|
-
value: input.examples
|
|
5090
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
5091
|
-
path: _path + ".examples",
|
|
5092
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5093
|
-
value: input.examples
|
|
5094
|
-
})) || _report(_exceptionable, {
|
|
5095
|
-
path: _path + ".examples",
|
|
5096
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5097
|
-
value: input.examples
|
|
5098
5098
|
}))].every(flag => flag); const _vo122 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
5099
5099
|
path: _path + ".$ref",
|
|
5100
5100
|
expected: "string",
|
|
@@ -5824,7 +5824,11 @@ function validateHttpLlmApplication(props) {
|
|
|
5824
5824
|
expected: "(Omit<OpenApiV3_1.IOperation.IParameter, \"in\"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
|
5825
5825
|
value: value
|
|
5826
5826
|
});
|
|
5827
|
-
}).every(flag => flag)].every(flag => flag); const _vo146 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
5827
|
+
}).every(flag => flag)].every(flag => flag); const _vo146 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
5828
|
+
path: _path + ".name",
|
|
5829
|
+
expected: "(string | undefined)",
|
|
5830
|
+
value: input.name
|
|
5831
|
+
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
5828
5832
|
path: _path + ".required",
|
|
5829
5833
|
expected: "(boolean | undefined)",
|
|
5830
5834
|
value: input.required
|
|
@@ -5840,10 +5844,6 @@ function validateHttpLlmApplication(props) {
|
|
|
5840
5844
|
path: _path + ".examples",
|
|
5841
5845
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5842
5846
|
value: input.examples
|
|
5843
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
5844
|
-
path: _path + ".name",
|
|
5845
|
-
expected: "(string | undefined)",
|
|
5846
|
-
value: input.name
|
|
5847
5847
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
5848
5848
|
path: _path + ".schema",
|
|
5849
5849
|
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)",
|
|
@@ -7637,19 +7637,19 @@ function validateHttpLlmApplication(props) {
|
|
|
7637
7637
|
value: input
|
|
7638
7638
|
});
|
|
7639
7639
|
})(); const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
|
7640
|
-
if (
|
|
7640
|
+
if ("object" === input.type)
|
|
7641
7641
|
return _vo114(input, _path, true && _exceptionable);
|
|
7642
|
+
else if (Array.isArray(input.type) && input.type.map((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem).every(flag => flag))
|
|
7643
|
+
return _vo115(input, _path, true && _exceptionable);
|
|
7642
7644
|
else if ("boolean" === input.type)
|
|
7643
|
-
return
|
|
7645
|
+
return _vo117(input, _path, true && _exceptionable);
|
|
7644
7646
|
else if ("number" === input.type)
|
|
7645
|
-
return
|
|
7647
|
+
return _vo119(input, _path, true && _exceptionable);
|
|
7646
7648
|
else if ("integer" === input.type)
|
|
7647
|
-
return
|
|
7649
|
+
return _vo118(input, _path, true && _exceptionable);
|
|
7648
7650
|
else if ("string" === input.type)
|
|
7649
|
-
return _vo119(input, _path, true && _exceptionable);
|
|
7650
|
-
else if ("array" === input.type)
|
|
7651
7651
|
return _vo120(input, _path, true && _exceptionable);
|
|
7652
|
-
else if ("
|
|
7652
|
+
else if ("array" === input.type)
|
|
7653
7653
|
return _vo121(input, _path, true && _exceptionable);
|
|
7654
7654
|
else if (undefined !== input.$recursiveRef)
|
|
7655
7655
|
return _vo123(input, _path, true && _exceptionable);
|
|
@@ -7658,7 +7658,7 @@ function validateHttpLlmApplication(props) {
|
|
|
7658
7658
|
else
|
|
7659
7659
|
return (() => {
|
|
7660
7660
|
if (undefined !== input["const"])
|
|
7661
|
-
return
|
|
7661
|
+
return _vo116(input, _path, true && _exceptionable);
|
|
7662
7662
|
else if (undefined !== input.$ref)
|
|
7663
7663
|
return _vo122(input, _path, true && _exceptionable);
|
|
7664
7664
|
else if (undefined !== input.allOf)
|