@agentica/core 0.8.3-dev.20250227 → 0.9.0-dev.20250302
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 +25 -10
- package/lib/Agentica.d.ts +10 -9
- package/lib/Agentica.js.map +1 -1
- package/lib/chatgpt/ChatGptAgent.d.ts +2 -1
- package/lib/chatgpt/ChatGptAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptCallFunctionAgent.d.ts +2 -1
- package/lib/chatgpt/ChatGptCallFunctionAgent.js +3 -1
- package/lib/chatgpt/ChatGptCallFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptCancelFunctionAgent.d.ts +3 -2
- package/lib/chatgpt/ChatGptCancelFunctionAgent.js +55 -2
- package/lib/chatgpt/ChatGptCancelFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptDescribeFunctionAgent.d.ts +2 -1
- package/lib/chatgpt/ChatGptDescribeFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptHistoryDecoder.d.ts +2 -1
- package/lib/chatgpt/ChatGptHistoryDecoder.js.map +1 -1
- package/lib/chatgpt/ChatGptInitializeFunctionAgent.d.ts +2 -1
- package/lib/chatgpt/ChatGptInitializeFunctionAgent.js +63 -1
- package/lib/chatgpt/ChatGptInitializeFunctionAgent.js.map +1 -1
- package/lib/chatgpt/ChatGptSelectFunctionAgent.d.ts +2 -1
- package/lib/chatgpt/ChatGptSelectFunctionAgent.js +55 -2
- package/lib/chatgpt/ChatGptSelectFunctionAgent.js.map +1 -1
- package/lib/functional/createHttpLlmApplication.js +826 -798
- package/lib/functional/createHttpLlmApplication.js.map +1 -1
- package/lib/index.mjs +987 -804
- package/lib/index.mjs.map +1 -1
- package/lib/internal/AgenticaDefaultPrompt.d.ts +2 -1
- package/lib/internal/AgenticaDefaultPrompt.js.map +1 -1
- package/lib/internal/AgenticaOperationComposer.d.ts +5 -4
- package/lib/internal/AgenticaOperationComposer.js +1 -1
- package/lib/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/internal/AgenticaPromptFactory.d.ts +3 -2
- package/lib/internal/AgenticaPromptFactory.js.map +1 -1
- package/lib/internal/AgenticaPromptTransformer.d.ts +5 -4
- package/lib/internal/AgenticaPromptTransformer.js.map +1 -1
- package/lib/structures/IAgenticaConfig.d.ts +4 -3
- package/lib/structures/IAgenticaContext.d.ts +7 -6
- package/lib/structures/IAgenticaController.d.ts +8 -8
- package/lib/structures/IAgenticaEvent.d.ts +19 -18
- package/lib/structures/IAgenticaExecutor.d.ts +7 -6
- package/lib/structures/IAgenticaOperation.d.ts +4 -4
- package/lib/structures/IAgenticaOperationCollection.d.ts +6 -5
- package/lib/structures/IAgenticaOperationSelection.d.ts +4 -4
- package/lib/structures/IAgenticaPrompt.d.ts +11 -11
- package/lib/structures/IAgenticaProps.d.ts +9 -4
- package/lib/structures/IAgenticaProvider.d.ts +22 -27
- package/lib/structures/IAgenticaSystemPrompt.d.ts +8 -7
- package/package.json +6 -9
- package/src/Agentica.ts +24 -19
- package/src/chatgpt/ChatGptAgent.ts +9 -5
- package/src/chatgpt/ChatGptCallFunctionAgent.ts +25 -22
- package/src/chatgpt/ChatGptCancelFunctionAgent.ts +26 -22
- package/src/chatgpt/ChatGptDescribeFunctionAgent.ts +7 -6
- package/src/chatgpt/ChatGptHistoryDecoder.ts +3 -2
- package/src/chatgpt/ChatGptInitializeFunctionAgent.ts +5 -5
- package/src/chatgpt/ChatGptSelectFunctionAgent.ts +33 -32
- package/src/internal/AgenticaDefaultPrompt.ts +5 -1
- package/src/internal/AgenticaOperationComposer.ts +20 -15
- package/src/internal/AgenticaPromptFactory.ts +10 -8
- package/src/internal/AgenticaPromptTransformer.ts +19 -16
- package/src/structures/IAgenticaConfig.ts +6 -4
- package/src/structures/IAgenticaContext.ts +7 -6
- package/src/structures/IAgenticaController.ts +12 -10
- package/src/structures/IAgenticaEvent.ts +28 -23
- package/src/structures/IAgenticaExecutor.ts +12 -8
- package/src/structures/IAgenticaOperation.ts +10 -10
- package/src/structures/IAgenticaOperationCollection.ts +7 -5
- package/src/structures/IAgenticaOperationSelection.ts +10 -10
- package/src/structures/IAgenticaPrompt.ts +24 -19
- package/src/structures/IAgenticaProps.ts +10 -4
- package/src/structures/IAgenticaProvider.ts +22 -28
- package/src/structures/IAgenticaSystemPrompt.ts +9 -7
package/lib/index.mjs
CHANGED
|
@@ -19,33 +19,33 @@ const createHttpLlmApplication = props => {
|
|
|
19
19
|
if (undefined === value) return true;
|
|
20
20
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
21
21
|
}));
|
|
22
|
-
const _io5 = 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
|
|
23
|
-
const _io6 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (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 <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input
|
|
24
|
-
const _io7 = 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
|
|
25
|
-
const _io8 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input
|
|
26
|
-
const _io9 = 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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input
|
|
27
|
-
const _io10 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(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) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input
|
|
28
|
-
const _io11 = 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
|
|
29
|
-
const _io12 = input => null !==
|
|
30
|
-
const _io13 = input => "
|
|
31
|
-
const _io14 = input =>
|
|
32
|
-
const _io15 = input =>
|
|
22
|
+
const _io5 = 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
|
23
|
+
const _io6 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (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 <= 0x10000000000000000 && 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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
|
24
|
+
const _io7 = 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
|
25
|
+
const _io8 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
|
26
|
+
const _io9 = 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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
|
27
|
+
const _io10 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(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) && _iu0(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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
|
28
|
+
const _io11 = 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;
|
|
29
|
+
const _io12 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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;
|
|
30
|
+
const _io13 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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;
|
|
31
|
+
const _io14 = 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;
|
|
32
|
+
const _io15 = 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;
|
|
33
33
|
const _io16 = input => Object.keys(input).every((key => {
|
|
34
34
|
const value = input[key];
|
|
35
35
|
if (undefined === value) return true;
|
|
36
36
|
return "object" === typeof value && null !== value && _iu9(value);
|
|
37
37
|
}));
|
|
38
|
-
const _io17 = 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
|
|
39
|
-
const _io18 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (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 <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input
|
|
40
|
-
const _io19 = 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
|
|
41
|
-
const _io20 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input
|
|
42
|
-
const _io21 = 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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input
|
|
43
|
-
const _io22 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(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) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input
|
|
44
|
-
const _io23 = 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 &&
|
|
45
|
-
const _io24 = input => null !==
|
|
46
|
-
const _io25 = input => "
|
|
47
|
-
const _io26 = input =>
|
|
48
|
-
const _io27 = input =>
|
|
38
|
+
const _io17 = 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
|
39
|
+
const _io18 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (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 <= 0x10000000000000000 && 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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
|
40
|
+
const _io19 = 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
|
41
|
+
const _io20 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
|
42
|
+
const _io21 = 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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
|
43
|
+
const _io22 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(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) && _iu0(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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
|
44
|
+
const _io23 = 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"];
|
|
45
|
+
const _io24 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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"];
|
|
46
|
+
const _io25 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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"];
|
|
47
|
+
const _io26 = 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"];
|
|
48
|
+
const _io27 = 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"];
|
|
49
49
|
const _io28 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu0(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required);
|
|
50
50
|
const _io29 = input => Object.keys(input).every((key => {
|
|
51
51
|
const value = input[key];
|
|
@@ -80,15 +80,15 @@ const createHttpLlmApplication = props => {
|
|
|
80
80
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io41(value);
|
|
81
81
|
}));
|
|
82
82
|
const _io41 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu1(elem)))) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io43(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io43(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io43(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io43(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io43(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io43(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io43(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io43(input.trace));
|
|
83
|
-
const _io42 = 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
|
|
83
|
+
const _io42 = 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;
|
|
84
84
|
const _io43 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu2(elem)))) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io45(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) && _io39(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "string" === typeof elem))) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
85
|
-
const _io44 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/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
|
|
85
|
+
const _io44 = 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;
|
|
86
86
|
const _io45 = input => Object.keys(input).every((key => {
|
|
87
87
|
const value = input[key];
|
|
88
88
|
if (undefined === value) return true;
|
|
89
89
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu11(value);
|
|
90
90
|
}));
|
|
91
|
-
const _io46 = 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
|
|
91
|
+
const _io46 = 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;
|
|
92
92
|
const _io47 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description);
|
|
93
93
|
const _io48 = 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 && _io49(elem)))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io52(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io55(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io97(input.paths)) && (undefined === input.security || Array.isArray(input.security) && input.security.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "object" === typeof elem && null !== elem && _io104(elem))));
|
|
94
94
|
const _io49 = 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) && _io50(input.variables));
|
|
@@ -107,24 +107,24 @@ const createHttpLlmApplication = props => {
|
|
|
107
107
|
if (undefined === value) return true;
|
|
108
108
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu3(value);
|
|
109
109
|
}));
|
|
110
|
-
const _io57 = 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.
|
|
110
|
+
const _io57 = 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) && _io58(input.examples));
|
|
111
111
|
const _io58 = input => Object.keys(input).every((key => {
|
|
112
112
|
const value = input[key];
|
|
113
113
|
if (undefined === value) return true;
|
|
114
114
|
return true;
|
|
115
115
|
}));
|
|
116
|
-
const _io59 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (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 <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.
|
|
117
|
-
const _io60 = 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.
|
|
118
|
-
const _io61 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.
|
|
119
|
-
const _io62 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu3(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.
|
|
120
|
-
const _io63 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io56(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) && _iu3(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.
|
|
116
|
+
const _io59 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (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 <= 0x10000000000000000 && 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) && _io58(input.examples));
|
|
117
|
+
const _io60 = 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) && _io58(input.examples));
|
|
118
|
+
const _io61 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "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) && _io58(input.examples));
|
|
119
|
+
const _io62 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu3(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "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) && _io58(input.examples));
|
|
120
|
+
const _io63 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io56(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) && _iu3(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) && _io58(input.examples));
|
|
121
121
|
const _io64 = 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) && _io58(input.examples));
|
|
122
|
-
const _io65 = input =>
|
|
123
|
-
const _io66 = input => "
|
|
124
|
-
const _io67 = input => Array.isArray(input.
|
|
125
|
-
const _io68 = input =>
|
|
126
|
-
const _io69 = input =>
|
|
127
|
-
const _io70 = input => "string" === typeof input.
|
|
122
|
+
const _io65 = input => Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(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) && _io58(input.examples));
|
|
123
|
+
const _io66 = input => Array.isArray(input.anyOf) && input.anyOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(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) && _io58(input.examples));
|
|
124
|
+
const _io67 = input => Array.isArray(input.oneOf) && input.oneOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io68(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) && _io58(input.examples));
|
|
125
|
+
const _io68 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping));
|
|
126
|
+
const _io69 = 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) && _io58(input.examples));
|
|
127
|
+
const _io70 = 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) && _io58(input.examples));
|
|
128
128
|
const _io71 = input => Object.keys(input).every((key => {
|
|
129
129
|
const value = input[key];
|
|
130
130
|
if (undefined === value) return true;
|
|
@@ -203,7 +203,7 @@ const createHttpLlmApplication = props => {
|
|
|
203
203
|
}));
|
|
204
204
|
const _io103 = 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) && _io58(input.examples));
|
|
205
205
|
const _io104 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description);
|
|
206
|
-
const _io105 = 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 && _io106(elem)))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io109(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io112(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) &&
|
|
206
|
+
const _io105 = 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 && _io106(elem)))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io109(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io112(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io130(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io163(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "object" === typeof elem && null !== elem && _io165(elem))));
|
|
207
207
|
const _io106 = 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) && _io107(input.variables));
|
|
208
208
|
const _io107 = input => Object.keys(input).every((key => {
|
|
209
209
|
const value = input[key];
|
|
@@ -214,230 +214,231 @@ const createHttpLlmApplication = props => {
|
|
|
214
214
|
const _io109 = 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) && _io110(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io111(input.license)) && "string" === typeof input.version;
|
|
215
215
|
const _io110 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email);
|
|
216
216
|
const _io111 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url);
|
|
217
|
-
const _io112 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && _io113(input.schemas)) && (undefined === input.pathItems || "object" === typeof input.pathItems && null !== input.pathItems && false === Array.isArray(input.pathItems) &&
|
|
217
|
+
const _io112 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && _io113(input.schemas)) && (undefined === input.pathItems || "object" === typeof input.pathItems && null !== input.pathItems && false === Array.isArray(input.pathItems) && _io130(input.pathItems)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io148(input.responses)) && (undefined === input.parameters || "object" === typeof input.parameters && null !== input.parameters && false === Array.isArray(input.parameters) && _io149(input.parameters)) && (undefined === input.requestBodies || "object" === typeof input.requestBodies && null !== input.requestBodies && false === Array.isArray(input.requestBodies) && _io150(input.requestBodies)) && (undefined === input.securitySchemes || "object" === typeof input.securitySchemes && null !== input.securitySchemes && false === Array.isArray(input.securitySchemes) && _io151(input.securitySchemes)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io161(input.headers)) && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io162(input.examples));
|
|
218
218
|
const _io113 = input => Object.keys(input).every((key => {
|
|
219
219
|
const value = input[key];
|
|
220
220
|
if (undefined === value) return true;
|
|
221
221
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
222
222
|
}));
|
|
223
|
-
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.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) && _io58(input.examples)) && (undefined === input.
|
|
224
|
-
const _io115 = 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) && _io58(input.examples));
|
|
225
|
-
const _io116 = 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.
|
|
226
|
-
const _io117 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.
|
|
227
|
-
const _io118 = 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.
|
|
228
|
-
const _io119 = input => (undefined === input.
|
|
229
|
-
const _io120 = input => 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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.
|
|
230
|
-
const _io121 = input => (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.
|
|
223
|
+
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) && (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) && _io58(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.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && (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 <= 0x10000000000000000)) && (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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (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;
|
|
224
|
+
const _io115 = 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) && _io58(input.examples));
|
|
225
|
+
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 && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples));
|
|
226
|
+
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"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (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 && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 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) && _io58(input.examples));
|
|
227
|
+
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 && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples));
|
|
228
|
+
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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "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) && _io58(input.examples));
|
|
229
|
+
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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "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) && _io58(input.examples));
|
|
230
|
+
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 && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples));
|
|
231
231
|
const _io122 = 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) && _io58(input.examples));
|
|
232
|
-
const _io123 = input =>
|
|
233
|
-
const _io124 = input => (
|
|
234
|
-
const _io125 = input => Array.isArray(input.
|
|
235
|
-
const _io126 = input => Array.isArray(input.
|
|
236
|
-
const _io127 = input =>
|
|
237
|
-
const _io128 = input => "string" === typeof input.
|
|
238
|
-
const _io129 = input =>
|
|
232
|
+
const _io123 = 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) && _io58(input.examples));
|
|
233
|
+
const _io124 = 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) && _io58(input.examples));
|
|
234
|
+
const _io125 = 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) && _io58(input.examples));
|
|
235
|
+
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)) && (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) && _io58(input.examples));
|
|
236
|
+
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));
|
|
237
|
+
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 && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples));
|
|
238
|
+
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 && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples));
|
|
239
|
+
const _io130 = input => Object.keys(input).every((key => {
|
|
239
240
|
const value = input[key];
|
|
240
241
|
if (undefined === value) return true;
|
|
241
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
242
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
|
|
242
243
|
}));
|
|
243
|
-
const
|
|
244
|
-
const
|
|
245
|
-
const
|
|
244
|
+
const _io131 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu6(elem)))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io106(elem)))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io138(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io138(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io138(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io138(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io138(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io138(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io138(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io138(input.trace));
|
|
245
|
+
const _io132 = input => (undefined === input.name || "string" === typeof input.name) && ("header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || "path" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(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) && _io133(input.examples));
|
|
246
|
+
const _io133 = input => Object.keys(input).every((key => {
|
|
246
247
|
const value = input[key];
|
|
247
248
|
if (undefined === value) return true;
|
|
248
249
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu17(value);
|
|
249
250
|
}));
|
|
250
|
-
const
|
|
251
|
-
const
|
|
252
|
-
const
|
|
253
|
-
const
|
|
254
|
-
const
|
|
255
|
-
const
|
|
256
|
-
const
|
|
251
|
+
const _io134 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue);
|
|
252
|
+
const _io135 = 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) && _io58(input.examples));
|
|
253
|
+
const _io136 = 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) && _io58(input.examples));
|
|
254
|
+
const _io137 = 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) && _io58(input.examples));
|
|
255
|
+
const _io138 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu6(elem)))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu18(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io143(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io106(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) && _io39(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "string" === typeof elem))) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
|
256
|
+
const _io139 = 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) && _io140(input.content));
|
|
257
|
+
const _io140 = input => Object.keys(input).every((key => {
|
|
257
258
|
const value = input[key];
|
|
258
259
|
if (undefined === value) return true;
|
|
259
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
260
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io141(value);
|
|
260
261
|
}));
|
|
261
|
-
const
|
|
262
|
-
const
|
|
263
|
-
const
|
|
262
|
+
const _io141 = input => (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples));
|
|
263
|
+
const _io142 = 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) && _io58(input.examples));
|
|
264
|
+
const _io143 = input => Object.keys(input).every((key => {
|
|
264
265
|
const value = input[key];
|
|
265
266
|
if (undefined === value) return true;
|
|
266
267
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu19(value);
|
|
267
268
|
}));
|
|
268
|
-
const
|
|
269
|
-
const
|
|
269
|
+
const _io144 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io140(input.content)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io145(input.headers)) && (undefined === input.description || "string" === typeof input.description);
|
|
270
|
+
const _io145 = input => Object.keys(input).every((key => {
|
|
270
271
|
const value = input[key];
|
|
271
272
|
if (undefined === value) return true;
|
|
272
273
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
273
274
|
}));
|
|
274
|
-
const
|
|
275
|
-
const
|
|
276
|
-
const _io147 = input => Object.keys(input).every((key => {
|
|
277
|
-
const value = input[key];
|
|
278
|
-
if (undefined === value) return true;
|
|
279
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io143(value);
|
|
280
|
-
}));
|
|
275
|
+
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));
|
|
276
|
+
const _io147 = 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) && _io58(input.examples));
|
|
281
277
|
const _io148 = input => Object.keys(input).every((key => {
|
|
282
278
|
const value = input[key];
|
|
283
279
|
if (undefined === value) return true;
|
|
284
|
-
return "object" === typeof value && null !== value &&
|
|
280
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io144(value);
|
|
285
281
|
}));
|
|
286
282
|
const _io149 = input => Object.keys(input).every((key => {
|
|
287
283
|
const value = input[key];
|
|
288
284
|
if (undefined === value) return true;
|
|
289
|
-
return "object" === typeof value && null !== value &&
|
|
285
|
+
return "object" === typeof value && null !== value && _io132(value);
|
|
290
286
|
}));
|
|
291
287
|
const _io150 = input => Object.keys(input).every((key => {
|
|
292
288
|
const value = input[key];
|
|
293
289
|
if (undefined === value) return true;
|
|
294
|
-
return "object" === typeof value && null !== value &&
|
|
290
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io139(value);
|
|
295
291
|
}));
|
|
296
|
-
const _io151 = input =>
|
|
297
|
-
const _io152 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description);
|
|
298
|
-
const _io153 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description);
|
|
299
|
-
const _io154 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io155(input.flows)) && (undefined === input.description || "string" === typeof input.description);
|
|
300
|
-
const _io155 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io156(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io157(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io158(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io158(input.clientCredentials));
|
|
301
|
-
const _io156 = 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) && _io35(input.scopes));
|
|
302
|
-
const _io157 = 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) && _io35(input.scopes));
|
|
303
|
-
const _io158 = 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) && _io35(input.scopes));
|
|
304
|
-
const _io159 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description);
|
|
305
|
-
const _io160 = input => Object.keys(input).every((key => {
|
|
292
|
+
const _io151 = input => Object.keys(input).every((key => {
|
|
306
293
|
const value = input[key];
|
|
307
294
|
if (undefined === value) return true;
|
|
308
|
-
return "object" === typeof value && null !== value &&
|
|
295
|
+
return "object" === typeof value && null !== value && _iu21(value);
|
|
309
296
|
}));
|
|
297
|
+
const _io152 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description);
|
|
298
|
+
const _io153 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description);
|
|
299
|
+
const _io154 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description);
|
|
300
|
+
const _io155 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io156(input.flows)) && (undefined === input.description || "string" === typeof input.description);
|
|
301
|
+
const _io156 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io157(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io158(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io159(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io159(input.clientCredentials));
|
|
302
|
+
const _io157 = 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) && _io35(input.scopes));
|
|
303
|
+
const _io158 = 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) && _io35(input.scopes));
|
|
304
|
+
const _io159 = 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) && _io35(input.scopes));
|
|
305
|
+
const _io160 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description);
|
|
310
306
|
const _io161 = input => Object.keys(input).every((key => {
|
|
311
307
|
const value = input[key];
|
|
312
308
|
if (undefined === value) return true;
|
|
313
|
-
return "object" === typeof value && null !== value &&
|
|
309
|
+
return "object" === typeof value && null !== value && _io146(value);
|
|
314
310
|
}));
|
|
315
311
|
const _io162 = input => Object.keys(input).every((key => {
|
|
312
|
+
const value = input[key];
|
|
313
|
+
if (undefined === value) return true;
|
|
314
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io134(value);
|
|
315
|
+
}));
|
|
316
|
+
const _io163 = input => Object.keys(input).every((key => {
|
|
316
317
|
const value = input[key];
|
|
317
318
|
if (undefined === value) return true;
|
|
318
319
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu22(value);
|
|
319
320
|
}));
|
|
320
|
-
const
|
|
321
|
-
const
|
|
322
|
-
const
|
|
323
|
-
const
|
|
324
|
-
const
|
|
321
|
+
const _io164 = 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) && _io58(input.examples));
|
|
322
|
+
const _io165 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description);
|
|
323
|
+
const _io166 = 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 && _io167(elem)))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io170(input.info)) && ("object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io173(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io198(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io198(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "object" === typeof elem && null !== elem && _io210(elem)))) && true === input["x-samchon-emended"];
|
|
324
|
+
const _io167 = 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) && _io168(input.variables));
|
|
325
|
+
const _io168 = input => Object.keys(input).every((key => {
|
|
325
326
|
const value = input[key];
|
|
326
327
|
if (undefined === value) return true;
|
|
327
|
-
return "object" === typeof value && null !== value &&
|
|
328
|
+
return "object" === typeof value && null !== value && _io169(value);
|
|
328
329
|
}));
|
|
329
|
-
const
|
|
330
|
-
const
|
|
331
|
-
const
|
|
332
|
-
const
|
|
333
|
-
const
|
|
334
|
-
const
|
|
330
|
+
const _io169 = input => "string" === typeof input["default"] && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => "string" === typeof elem))) && (undefined === input.description || "string" === typeof input.description);
|
|
331
|
+
const _io170 = 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) && _io171(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io172(input.license)) && "string" === typeof input.version;
|
|
332
|
+
const _io171 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email && /^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i.test(input.email));
|
|
333
|
+
const _io172 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url);
|
|
334
|
+
const _io173 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && _io174(input.schemas)) && (undefined === input.securitySchemes || "object" === typeof input.securitySchemes && null !== input.securitySchemes && false === Array.isArray(input.securitySchemes) && _io188(input.securitySchemes));
|
|
335
|
+
const _io174 = input => Object.keys(input).every((key => {
|
|
335
336
|
const value = input[key];
|
|
336
337
|
if (undefined === value) return true;
|
|
337
338
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu7(value);
|
|
338
339
|
}));
|
|
339
|
-
const
|
|
340
|
-
const
|
|
341
|
-
const
|
|
342
|
-
const
|
|
343
|
-
const
|
|
344
|
-
const
|
|
345
|
-
const
|
|
346
|
-
const
|
|
347
|
-
const
|
|
348
|
-
const
|
|
349
|
-
const
|
|
350
|
-
const
|
|
351
|
-
const
|
|
352
|
-
const
|
|
340
|
+
const _io175 = 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) && _io58(input.examples));
|
|
341
|
+
const _io176 = 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) && _io58(input.examples));
|
|
342
|
+
const _io177 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (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 <= 0x10000000000000000 && 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) && _io58(input.examples));
|
|
343
|
+
const _io178 = 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) && _io58(input.examples));
|
|
344
|
+
const _io179 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "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) && _io58(input.examples));
|
|
345
|
+
const _io180 = input => "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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "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) && _io58(input.examples));
|
|
346
|
+
const _io181 = input => "array" === input.type && (Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu7(input.additionalItems))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (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) && _io58(input.examples));
|
|
347
|
+
const _io182 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io174(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))) && "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) && _io58(input.examples));
|
|
348
|
+
const _io183 = 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) && _io58(input.examples));
|
|
349
|
+
const _io184 = input => Array.isArray(input.oneOf) && input.oneOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu8(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io187(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) && _io58(input.examples));
|
|
350
|
+
const _io185 = 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) && _io58(input.examples));
|
|
351
|
+
const _io186 = 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) && _io58(input.examples));
|
|
352
|
+
const _io187 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping));
|
|
353
|
+
const _io188 = input => Object.keys(input).every((key => {
|
|
353
354
|
const value = input[key];
|
|
354
355
|
if (undefined === value) return true;
|
|
355
356
|
return "object" === typeof value && null !== value && _iu23(value);
|
|
356
357
|
}));
|
|
357
|
-
const
|
|
358
|
-
const
|
|
359
|
-
const
|
|
360
|
-
const
|
|
361
|
-
const
|
|
362
|
-
const
|
|
363
|
-
const
|
|
364
|
-
const
|
|
365
|
-
const
|
|
366
|
-
const
|
|
358
|
+
const _io189 = input => "apiKey" === input.type && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description);
|
|
359
|
+
const _io190 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description);
|
|
360
|
+
const _io191 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description);
|
|
361
|
+
const _io192 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io193(input.flows)) && (undefined === input.description || "string" === typeof input.description);
|
|
362
|
+
const _io193 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io194(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io195(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io196(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io196(input.clientCredentials));
|
|
363
|
+
const _io194 = 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) && _io35(input.scopes));
|
|
364
|
+
const _io195 = 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) && _io35(input.scopes));
|
|
365
|
+
const _io196 = 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) && _io35(input.scopes));
|
|
366
|
+
const _io197 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description);
|
|
367
|
+
const _io198 = input => Object.keys(input).every((key => {
|
|
367
368
|
const value = input[key];
|
|
368
369
|
if (undefined === value) return true;
|
|
369
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
370
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
|
|
370
371
|
}));
|
|
371
|
-
const
|
|
372
|
-
const
|
|
373
|
-
const
|
|
374
|
-
const
|
|
372
|
+
const _io199 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io167(elem)))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io200(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io200(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io200(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io200(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io200(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io200(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io200(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io200(input.trace));
|
|
373
|
+
const _io200 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _io201(elem)))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _io204(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io207(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io167(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) && _io39(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "string" === typeof elem))) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-samchon-human"] || "boolean" === typeof input["x-samchon-human"]) && (undefined === input["x-samchon-accessor"] || Array.isArray(input["x-samchon-accessor"]) && input["x-samchon-accessor"].every((elem => "string" === typeof elem))) && (undefined === input["x-samchon-controller"] || "string" === typeof input["x-samchon-controller"]);
|
|
374
|
+
const _io201 = input => (undefined === input.name || "string" === typeof input.name) && ("header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || "path" === 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.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io202(input.examples));
|
|
375
|
+
const _io202 = input => Object.keys(input).every((key => {
|
|
375
376
|
const value = input[key];
|
|
376
377
|
if (undefined === value) return true;
|
|
377
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
378
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io203(value);
|
|
378
379
|
}));
|
|
379
|
-
const
|
|
380
|
-
const
|
|
381
|
-
const
|
|
380
|
+
const _io203 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue);
|
|
381
|
+
const _io204 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io205(input.content)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]);
|
|
382
|
+
const _io205 = input => (undefined === input["text/plain"] || "object" === typeof input["text/plain"] && null !== input["text/plain"] && false === Array.isArray(input["text/plain"]) && _io206(input["text/plain"])) && (undefined === input["application/json"] || "object" === typeof input["application/json"] && null !== input["application/json"] && false === Array.isArray(input["application/json"]) && _io206(input["application/json"])) && (undefined === input["application/x-www-form-url-encoded"] || "object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) && _io206(input["application/x-www-form-url-encoded"])) && (undefined === input["multipart/form-data"] || "object" === typeof input["multipart/form-data"] && null !== input["multipart/form-data"] && false === Array.isArray(input["multipart/form-data"]) && _io206(input["multipart/form-data"])) && (undefined === input["*/*"] || "object" === typeof input["*/*"] && null !== input["*/*"] && false === Array.isArray(input["*/*"]) && _io206(input["*/*"])) && Object.keys(input).every((key => {
|
|
382
383
|
if ([ "text/plain", "application/json", "application/x-www-form-url-encoded", "multipart/form-data", "*/*" ].some((prop => key === prop))) return true;
|
|
383
384
|
const value = input[key];
|
|
384
385
|
if (undefined === value) return true;
|
|
385
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
386
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io206(value);
|
|
386
387
|
}));
|
|
387
|
-
const
|
|
388
|
-
const
|
|
388
|
+
const _io206 = 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) && _io202(input.examples));
|
|
389
|
+
const _io207 = input => Object.keys(input).every((key => {
|
|
389
390
|
const value = input[key];
|
|
390
391
|
if (undefined === value) return true;
|
|
391
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
392
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io208(value);
|
|
392
393
|
}));
|
|
393
|
-
const
|
|
394
|
-
const
|
|
394
|
+
const _io208 = input => (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io209(input.headers)) && (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io205(input.content)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]);
|
|
395
|
+
const _io209 = input => Object.keys(input).every((key => {
|
|
395
396
|
const value = input[key];
|
|
396
397
|
if (undefined === value) return true;
|
|
397
|
-
return "object" === typeof value && null !== value &&
|
|
398
|
+
return "object" === typeof value && null !== value && _io201(value);
|
|
398
399
|
}));
|
|
399
|
-
const
|
|
400
|
+
const _io210 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description);
|
|
400
401
|
const _iu0 = input => (() => {
|
|
401
|
-
if ("boolean" === input.type) return _io5(input); else if ("number" === input.type) return _io7(input); else if ("integer" === input.type) return _io6(input); else if ("string" === input.type) return _io8(input); else if ("array" === input.type) return _io9(input); else if ("object" === input.type) return _io10(input); else if (undefined !== input.$ref) return _io11(input); else if (
|
|
402
|
+
if ("boolean" === input.type) return _io5(input); else if ("number" === input.type) return _io7(input); else if ("integer" === input.type) return _io6(input); else if ("string" === input.type) return _io8(input); else if ("array" === input.type) return _io9(input); else if ("object" === input.type) return _io10(input); else if (undefined !== input.$ref) return _io11(input); else if (undefined !== input["x-anyOf"]) return _io12(input); else if (undefined !== input["x-oneOf"]) return _io13(input); else if ("null" === input.type) return _io14(input); else return _io15(input);
|
|
402
403
|
})();
|
|
403
404
|
const _iu1 = input => (() => {
|
|
404
|
-
if ("boolean" === input.type) return _io17(input); else if ("number" === input.type) return _io19(input); else if ("integer" === input.type) return _io18(input); else if ("string" === input.type) return _io20(input); else if ("array" === input.type) return _io21(input); else if ("object" === input.type) return _io22(input); else if (
|
|
405
|
+
if ("boolean" === input.type) return _io17(input); else if ("number" === input.type) return _io19(input); else if ("integer" === input.type) return _io18(input); else if ("string" === input.type) return _io20(input); else if ("array" === input.type) return _io21(input); else if ("object" === input.type) return _io22(input); else if (undefined !== input["x-anyOf"]) return _io24(input); else if (undefined !== input["x-oneOf"]) return _io25(input); else if ("null" === input.type) return _io26(input); else if (undefined !== input.schema) return _io28(input); else return (() => {
|
|
405
406
|
if (_io23(input)) return _io23(input);
|
|
406
|
-
if (
|
|
407
|
+
if (_io27(input)) return _io27(input);
|
|
407
408
|
if (_io42(input)) return _io42(input);
|
|
408
409
|
return false;
|
|
409
410
|
})();
|
|
410
411
|
})();
|
|
411
412
|
const _iu2 = input => (() => {
|
|
412
|
-
if ("boolean" === input.type) return _io17(input); else if ("number" === input.type) return _io19(input); else if ("integer" === input.type) return _io18(input); else if ("string" === input.type) return _io20(input); else if ("array" === input.type) return _io21(input); else if ("object" === input.type) return _io22(input); else if (
|
|
413
|
+
if ("boolean" === input.type) return _io17(input); else if ("number" === input.type) return _io19(input); else if ("integer" === input.type) return _io18(input); else if ("string" === input.type) return _io20(input); else if ("array" === input.type) return _io21(input); else if ("object" === input.type) return _io22(input); else if (undefined !== input["x-anyOf"]) return _io24(input); else if (undefined !== input["x-oneOf"]) return _io25(input); else if ("null" === input.type) return _io26(input); else if (undefined !== input.schema) return _io28(input); else return (() => {
|
|
413
414
|
if (_io23(input)) return _io23(input);
|
|
414
|
-
if (
|
|
415
|
+
if (_io27(input)) return _io27(input);
|
|
415
416
|
if (_io44(input)) return _io44(input);
|
|
416
417
|
return false;
|
|
417
418
|
})();
|
|
418
419
|
})();
|
|
419
420
|
const _iu3 = input => (() => {
|
|
420
|
-
if ("boolean" === input.type) return _io57(input); else if ("number" === input.type) return _io60(input); else if ("integer" === input.type) return _io59(input); else if ("string" === input.type) return _io61(input); else if ("array" === input.type) return _io62(input); else if ("object" === input.type) return _io63(input); else if (undefined !== input.$ref) return _io64(input); else if (
|
|
421
|
+
if ("boolean" === input.type) return _io57(input); else if ("number" === input.type) return _io60(input); else if ("integer" === input.type) return _io59(input); else if ("string" === input.type) return _io61(input); else if ("array" === input.type) return _io62(input); else if ("object" === input.type) return _io63(input); else if (undefined !== input.$ref) return _io64(input); else if (undefined !== input.allOf) return _io65(input); else if (undefined !== input.anyOf) return _io66(input); else if (undefined !== input.oneOf) return _io67(input); else if ("null" === input.type) return _io69(input); else return _io70(input);
|
|
421
422
|
})();
|
|
422
423
|
const _iu4 = input => (() => {
|
|
423
424
|
if (undefined !== input["in"]) return _io82(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _io99(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _io80(input); else return false;
|
|
424
425
|
})();
|
|
425
426
|
const _iu5 = input => (() => {
|
|
426
|
-
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return _io114(input); else if ("boolean" === input.type) return _io116(input); else if ("number" === input.type) return _io118(input); else if ("integer" === input.type) return _io117(input); else if ("string" === input.type) return _io119(input); else if ("array" === input.type) return _io120(input); else if ("object" === input.type) return _io121(input); else if ("null" === input.type) return
|
|
427
|
-
if (undefined !== input["const"]) return _io115(input); else if (undefined !== input.$ref) return _io122(input); else if (undefined !== input.allOf) return
|
|
427
|
+
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return _io114(input); else if ("boolean" === input.type) return _io116(input); else if ("number" === input.type) return _io118(input); else if ("integer" === input.type) return _io117(input); else if ("string" === input.type) return _io119(input); else if ("array" === input.type) return _io120(input); else if ("object" === input.type) return _io121(input); else if (undefined !== input.$recursiveRef) return _io123(input); else if ("null" === input.type) return _io128(input); else return (() => {
|
|
428
|
+
if (undefined !== input["const"]) return _io115(input); else if (undefined !== input.$ref) return _io122(input); else if (undefined !== input.allOf) return _io124(input); else if (undefined !== input.anyOf) return _io125(input); else if (undefined !== input.oneOf) return _io126(input); else return _io129(input);
|
|
428
429
|
})();
|
|
429
430
|
})();
|
|
430
431
|
const _iu6 = input => (() => {
|
|
431
|
-
if (undefined !== input["in"]) return
|
|
432
|
+
if (undefined !== input["in"]) return _io132(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _io137(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _io136(input); else return false;
|
|
432
433
|
})();
|
|
433
434
|
const _iu7 = input => (() => {
|
|
434
|
-
if (undefined !== input["const"]) return
|
|
435
|
+
if (undefined !== input["const"]) return _io175(input); else if ("boolean" === input.type) return _io176(input); else if ("number" === input.type) return _io178(input); else if ("integer" === input.type) return _io177(input); else if ("string" === input.type) return _io179(input); else if (undefined !== input.items) return _io180(input); else if (undefined !== input.prefixItems) return _io181(input); else if ("object" === input.type) return _io182(input); else if (undefined !== input.$ref) return _io183(input); else if (undefined !== input.oneOf) return _io184(input); else if ("null" === input.type) return _io185(input); else return _io186(input);
|
|
435
436
|
})();
|
|
436
437
|
const _iu8 = input => (() => {
|
|
437
|
-
if (undefined !== input["const"]) return
|
|
438
|
+
if (undefined !== input["const"]) return _io175(input); else if ("boolean" === input.type) return _io176(input); else if ("number" === input.type) return _io178(input); else if ("integer" === input.type) return _io177(input); else if ("string" === input.type) return _io179(input); else if (undefined !== input.items) return _io180(input); else if (undefined !== input.prefixItems) return _io181(input); else if ("object" === input.type) return _io182(input); else if (undefined !== input.$ref) return _io183(input); else if ("null" === input.type) return _io185(input); else return _io186(input);
|
|
438
439
|
})();
|
|
439
440
|
const _iu9 = input => (() => {
|
|
440
|
-
if ("boolean" === input.type) return _io17(input); else if ("number" === input.type) return _io19(input); else if ("integer" === input.type) return _io18(input); else if ("string" === input.type) return _io20(input); else if ("array" === input.type) return _io21(input); else if ("object" === input.type) return _io22(input); else if (undefined !== input.$ref) return _io23(input); else if (
|
|
441
|
+
if ("boolean" === input.type) return _io17(input); else if ("number" === input.type) return _io19(input); else if ("integer" === input.type) return _io18(input); else if ("string" === input.type) return _io20(input); else if ("array" === input.type) return _io21(input); else if ("object" === input.type) return _io22(input); else if (undefined !== input.$ref) return _io23(input); else if (undefined !== input["x-anyOf"]) return _io24(input); else if (undefined !== input["x-oneOf"]) return _io25(input); else if ("null" === input.type) return _io26(input); else if (undefined !== input.schema) return _io28(input); else return _io27(input);
|
|
441
442
|
})();
|
|
442
443
|
const _iu10 = input => (() => {
|
|
443
444
|
if ("apiKey" === input.type) return _io32(input); else if ("basic" === input.type) return _io33(input); else if ("implicit" === input.flow) return _io34(input); else if ("accessCode" === input.flow) return _io36(input); else if ("application" === input.flow) return _io38(input); else if ("password" === input.flow) return _io37(input); else return false;
|
|
@@ -461,28 +462,28 @@ const createHttpLlmApplication = props => {
|
|
|
461
462
|
if (undefined !== input.$ref) return _io103(input); else return _io72(input);
|
|
462
463
|
})();
|
|
463
464
|
const _iu17 = input => (() => {
|
|
464
|
-
if (undefined !== input.$ref) return
|
|
465
|
+
if (undefined !== input.$ref) return _io135(input); else return _io134(input);
|
|
465
466
|
})();
|
|
466
467
|
const _iu18 = input => (() => {
|
|
467
|
-
if (undefined !== input.$ref) return
|
|
468
|
+
if (undefined !== input.$ref) return _io142(input); else return _io139(input);
|
|
468
469
|
})();
|
|
469
470
|
const _iu19 = input => (() => {
|
|
470
|
-
if (undefined !== input.$ref) return
|
|
471
|
+
if (undefined !== input.$ref) return _io147(input); else return _io144(input);
|
|
471
472
|
})();
|
|
472
473
|
const _iu20 = input => (() => {
|
|
473
|
-
if (undefined !== input.$ref) return
|
|
474
|
+
if (undefined !== input.$ref) return _io136(input); else if (undefined !== input.schema) return _io146(input); else return false;
|
|
474
475
|
})();
|
|
475
476
|
const _iu21 = input => (() => {
|
|
476
|
-
if ("apiKey" === input.type) return
|
|
477
|
+
if ("apiKey" === input.type) return _io152(input); else if ("basic" === input.scheme) return _io153(input); else if ("bearer" === input.scheme) return _io154(input); else if ("oauth2" === input.type) return _io155(input); else if ("openIdConnect" === input.type) return _io160(input); else return false;
|
|
477
478
|
})();
|
|
478
479
|
const _iu22 = input => (() => {
|
|
479
|
-
if (undefined !== input.$ref) return
|
|
480
|
+
if (undefined !== input.$ref) return _io164(input); else return _io131(input);
|
|
480
481
|
})();
|
|
481
482
|
const _iu23 = input => (() => {
|
|
482
|
-
if ("apiKey" === input.type) return
|
|
483
|
+
if ("apiKey" === input.type) return _io189(input); else if ("basic" === input.scheme) return _io190(input); else if ("bearer" === input.scheme) return _io191(input); else if ("oauth2" === input.type) return _io192(input); else if ("openIdConnect" === input.type) return _io197(input); else return false;
|
|
483
484
|
})();
|
|
484
485
|
const _iu24 = input => (() => {
|
|
485
|
-
if (undefined !== input.swagger) return _io0(input); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _io48(input); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _io105(input); else if (undefined !== input["x-samchon-emended"]) return
|
|
486
|
+
if (undefined !== input.swagger) return _io0(input); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _io48(input); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _io105(input); else if (undefined !== input["x-samchon-emended"]) return _io166(input); else return false;
|
|
486
487
|
})();
|
|
487
488
|
const _vo0 = (input, _path, _exceptionable = true) => [ (null !== input.swagger || _report(_exceptionable, {
|
|
488
489
|
path: _path + ".swagger",
|
|
@@ -697,10 +698,6 @@ const createHttpLlmApplication = props => {
|
|
|
697
698
|
path: _path + ".type",
|
|
698
699
|
expected: '"boolean"',
|
|
699
700
|
value: input.type
|
|
700
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
701
|
-
path: _path + '["x-nullable"]',
|
|
702
|
-
expected: "(boolean | undefined)",
|
|
703
|
-
value: input["x-nullable"]
|
|
704
701
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
705
702
|
path: _path + ".title",
|
|
706
703
|
expected: "(string | undefined)",
|
|
@@ -713,7 +710,11 @@ const createHttpLlmApplication = props => {
|
|
|
713
710
|
path: _path + ".deprecated",
|
|
714
711
|
expected: "(boolean | undefined)",
|
|
715
712
|
value: input.deprecated
|
|
716
|
-
}), true, undefined === input
|
|
713
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
714
|
+
path: _path + '["x-nullable"]',
|
|
715
|
+
expected: "(boolean | undefined)",
|
|
716
|
+
value: input["x-nullable"]
|
|
717
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
717
718
|
path: _path + ".examples",
|
|
718
719
|
expected: "(Array<any> | undefined)",
|
|
719
720
|
value: input.examples
|
|
@@ -778,10 +779,6 @@ const createHttpLlmApplication = props => {
|
|
|
778
779
|
path: _path + ".type",
|
|
779
780
|
expected: '"integer"',
|
|
780
781
|
value: input.type
|
|
781
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
782
|
-
path: _path + '["x-nullable"]',
|
|
783
|
-
expected: "(boolean | undefined)",
|
|
784
|
-
value: input["x-nullable"]
|
|
785
782
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
786
783
|
path: _path + ".title",
|
|
787
784
|
expected: "(string | undefined)",
|
|
@@ -794,7 +791,11 @@ const createHttpLlmApplication = props => {
|
|
|
794
791
|
path: _path + ".deprecated",
|
|
795
792
|
expected: "(boolean | undefined)",
|
|
796
793
|
value: input.deprecated
|
|
797
|
-
}), true, undefined === input
|
|
794
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
795
|
+
path: _path + '["x-nullable"]',
|
|
796
|
+
expected: "(boolean | undefined)",
|
|
797
|
+
value: input["x-nullable"]
|
|
798
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
798
799
|
path: _path + ".examples",
|
|
799
800
|
expected: "(Array<any> | undefined)",
|
|
800
801
|
value: input.examples
|
|
@@ -843,10 +844,6 @@ const createHttpLlmApplication = props => {
|
|
|
843
844
|
path: _path + ".type",
|
|
844
845
|
expected: '"number"',
|
|
845
846
|
value: input.type
|
|
846
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
847
|
-
path: _path + '["x-nullable"]',
|
|
848
|
-
expected: "(boolean | undefined)",
|
|
849
|
-
value: input["x-nullable"]
|
|
850
847
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
851
848
|
path: _path + ".title",
|
|
852
849
|
expected: "(string | undefined)",
|
|
@@ -859,7 +856,11 @@ const createHttpLlmApplication = props => {
|
|
|
859
856
|
path: _path + ".deprecated",
|
|
860
857
|
expected: "(boolean | undefined)",
|
|
861
858
|
value: input.deprecated
|
|
862
|
-
}), true, undefined === input
|
|
859
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
860
|
+
path: _path + '["x-nullable"]',
|
|
861
|
+
expected: "(boolean | undefined)",
|
|
862
|
+
value: input["x-nullable"]
|
|
863
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
863
864
|
path: _path + ".examples",
|
|
864
865
|
expected: "(Array<any> | undefined)",
|
|
865
866
|
value: input.examples
|
|
@@ -908,10 +909,6 @@ const createHttpLlmApplication = props => {
|
|
|
908
909
|
path: _path + ".type",
|
|
909
910
|
expected: '"string"',
|
|
910
911
|
value: input.type
|
|
911
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
912
|
-
path: _path + '["x-nullable"]',
|
|
913
|
-
expected: "(boolean | undefined)",
|
|
914
|
-
value: input["x-nullable"]
|
|
915
912
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
916
913
|
path: _path + ".title",
|
|
917
914
|
expected: "(string | undefined)",
|
|
@@ -924,7 +921,11 @@ const createHttpLlmApplication = props => {
|
|
|
924
921
|
path: _path + ".deprecated",
|
|
925
922
|
expected: "(boolean | undefined)",
|
|
926
923
|
value: input.deprecated
|
|
927
|
-
}), true, undefined === input
|
|
924
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
925
|
+
path: _path + '["x-nullable"]',
|
|
926
|
+
expected: "(boolean | undefined)",
|
|
927
|
+
value: input["x-nullable"]
|
|
928
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
928
929
|
path: _path + ".examples",
|
|
929
930
|
expected: "(Array<any> | undefined)",
|
|
930
931
|
value: input.examples
|
|
@@ -961,10 +962,6 @@ const createHttpLlmApplication = props => {
|
|
|
961
962
|
path: _path + ".type",
|
|
962
963
|
expected: '"array"',
|
|
963
964
|
value: input.type
|
|
964
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
965
|
-
path: _path + '["x-nullable"]',
|
|
966
|
-
expected: "(boolean | undefined)",
|
|
967
|
-
value: input["x-nullable"]
|
|
968
965
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
969
966
|
path: _path + ".title",
|
|
970
967
|
expected: "(string | undefined)",
|
|
@@ -977,7 +974,11 @@ const createHttpLlmApplication = props => {
|
|
|
977
974
|
path: _path + ".deprecated",
|
|
978
975
|
expected: "(boolean | undefined)",
|
|
979
976
|
value: input.deprecated
|
|
980
|
-
}), true, undefined === input
|
|
977
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
978
|
+
path: _path + '["x-nullable"]',
|
|
979
|
+
expected: "(boolean | undefined)",
|
|
980
|
+
value: input["x-nullable"]
|
|
981
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
981
982
|
path: _path + ".examples",
|
|
982
983
|
expected: "(Array<any> | undefined)",
|
|
983
984
|
value: input.examples
|
|
@@ -1026,10 +1027,6 @@ const createHttpLlmApplication = props => {
|
|
|
1026
1027
|
path: _path + ".type",
|
|
1027
1028
|
expected: '"object"',
|
|
1028
1029
|
value: input.type
|
|
1029
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1030
|
-
path: _path + '["x-nullable"]',
|
|
1031
|
-
expected: "(boolean | undefined)",
|
|
1032
|
-
value: input["x-nullable"]
|
|
1033
1030
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1034
1031
|
path: _path + ".title",
|
|
1035
1032
|
expected: "(string | undefined)",
|
|
@@ -1042,7 +1039,11 @@ const createHttpLlmApplication = props => {
|
|
|
1042
1039
|
path: _path + ".deprecated",
|
|
1043
1040
|
expected: "(boolean | undefined)",
|
|
1044
1041
|
value: input.deprecated
|
|
1045
|
-
}), true, undefined === input
|
|
1042
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1043
|
+
path: _path + '["x-nullable"]',
|
|
1044
|
+
expected: "(boolean | undefined)",
|
|
1045
|
+
value: input["x-nullable"]
|
|
1046
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1046
1047
|
path: _path + ".examples",
|
|
1047
1048
|
expected: "(Array<any> | undefined)",
|
|
1048
1049
|
value: input.examples
|
|
@@ -1051,56 +1052,10 @@ const createHttpLlmApplication = props => {
|
|
|
1051
1052
|
path: _path + ".$ref",
|
|
1052
1053
|
expected: "string",
|
|
1053
1054
|
value: input.$ref
|
|
1054
|
-
}), undefined === input.
|
|
1055
|
-
path: _path + ".title",
|
|
1056
|
-
expected: "(string | undefined)",
|
|
1057
|
-
value: input.title
|
|
1058
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1059
|
-
path: _path + ".description",
|
|
1060
|
-
expected: "(string | undefined)",
|
|
1061
|
-
value: input.description
|
|
1062
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1063
|
-
path: _path + ".deprecated",
|
|
1064
|
-
expected: "(boolean | undefined)",
|
|
1065
|
-
value: input.deprecated
|
|
1066
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1067
|
-
path: _path + ".examples",
|
|
1068
|
-
expected: "(Array<any> | undefined)",
|
|
1069
|
-
value: input.examples
|
|
1070
|
-
}) ].every((flag => flag));
|
|
1071
|
-
const _vo12 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
|
1072
|
-
path: _path + ".type",
|
|
1073
|
-
expected: "undefined",
|
|
1074
|
-
value: input.type
|
|
1075
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
|
1076
|
-
path: _path + ".type",
|
|
1077
|
-
expected: "undefined",
|
|
1078
|
-
value: input.type
|
|
1079
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1080
|
-
path: _path + ".title",
|
|
1081
|
-
expected: "(string | undefined)",
|
|
1082
|
-
value: input.title
|
|
1083
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1084
|
-
path: _path + ".description",
|
|
1085
|
-
expected: "(string | undefined)",
|
|
1086
|
-
value: input.description
|
|
1087
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1088
|
-
path: _path + ".deprecated",
|
|
1089
|
-
expected: "(boolean | undefined)",
|
|
1090
|
-
value: input.deprecated
|
|
1091
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1055
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1092
1056
|
path: _path + ".examples",
|
|
1093
1057
|
expected: "(Array<any> | undefined)",
|
|
1094
1058
|
value: input.examples
|
|
1095
|
-
}) ].every((flag => flag));
|
|
1096
|
-
const _vo13 = (input, _path, _exceptionable = true) => [ "null" === input.type || _report(_exceptionable, {
|
|
1097
|
-
path: _path + ".type",
|
|
1098
|
-
expected: '"null"',
|
|
1099
|
-
value: input.type
|
|
1100
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
1101
|
-
path: _path + '["default"]',
|
|
1102
|
-
expected: "(null | undefined)",
|
|
1103
|
-
value: input["default"]
|
|
1104
1059
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1105
1060
|
path: _path + ".title",
|
|
1106
1061
|
expected: "(string | undefined)",
|
|
@@ -1113,12 +1068,8 @@ const createHttpLlmApplication = props => {
|
|
|
1113
1068
|
path: _path + ".deprecated",
|
|
1114
1069
|
expected: "(boolean | undefined)",
|
|
1115
1070
|
value: input.deprecated
|
|
1116
|
-
}), true
|
|
1117
|
-
|
|
1118
|
-
expected: "(Array<any> | undefined)",
|
|
1119
|
-
value: input.examples
|
|
1120
|
-
}) ].every((flag => flag));
|
|
1121
|
-
const _vo14 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1071
|
+
}), true ].every((flag => flag));
|
|
1072
|
+
const _vo12 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1122
1073
|
path: _path + '["x-anyOf"]',
|
|
1123
1074
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1124
1075
|
value: input["x-anyOf"]
|
|
@@ -1134,6 +1085,10 @@ const createHttpLlmApplication = props => {
|
|
|
1134
1085
|
path: _path + '["x-anyOf"]',
|
|
1135
1086
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1136
1087
|
value: input["x-anyOf"]
|
|
1088
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1089
|
+
path: _path + ".examples",
|
|
1090
|
+
expected: "(Array<any> | undefined)",
|
|
1091
|
+
value: input.examples
|
|
1137
1092
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1138
1093
|
path: _path + ".title",
|
|
1139
1094
|
expected: "(string | undefined)",
|
|
@@ -1146,12 +1101,8 @@ const createHttpLlmApplication = props => {
|
|
|
1146
1101
|
path: _path + ".deprecated",
|
|
1147
1102
|
expected: "(boolean | undefined)",
|
|
1148
1103
|
value: input.deprecated
|
|
1149
|
-
}), true
|
|
1150
|
-
|
|
1151
|
-
expected: "(Array<any> | undefined)",
|
|
1152
|
-
value: input.examples
|
|
1153
|
-
}) ].every((flag => flag));
|
|
1154
|
-
const _vo15 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1104
|
+
}), true ].every((flag => flag));
|
|
1105
|
+
const _vo13 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1155
1106
|
path: _path + '["x-oneOf"]',
|
|
1156
1107
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1157
1108
|
value: input["x-oneOf"]
|
|
@@ -1167,6 +1118,10 @@ const createHttpLlmApplication = props => {
|
|
|
1167
1118
|
path: _path + '["x-oneOf"]',
|
|
1168
1119
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1169
1120
|
value: input["x-oneOf"]
|
|
1121
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1122
|
+
path: _path + ".examples",
|
|
1123
|
+
expected: "(Array<any> | undefined)",
|
|
1124
|
+
value: input.examples
|
|
1170
1125
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1171
1126
|
path: _path + ".title",
|
|
1172
1127
|
expected: "(string | undefined)",
|
|
@@ -1179,11 +1134,57 @@ const createHttpLlmApplication = props => {
|
|
|
1179
1134
|
path: _path + ".deprecated",
|
|
1180
1135
|
expected: "(boolean | undefined)",
|
|
1181
1136
|
value: input.deprecated
|
|
1182
|
-
}), true
|
|
1137
|
+
}), true ].every((flag => flag));
|
|
1138
|
+
const _vo14 = (input, _path, _exceptionable = true) => [ "null" === input.type || _report(_exceptionable, {
|
|
1139
|
+
path: _path + ".type",
|
|
1140
|
+
expected: '"null"',
|
|
1141
|
+
value: input.type
|
|
1142
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
1143
|
+
path: _path + '["default"]',
|
|
1144
|
+
expected: "(null | undefined)",
|
|
1145
|
+
value: input["default"]
|
|
1146
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1183
1147
|
path: _path + ".examples",
|
|
1184
1148
|
expected: "(Array<any> | undefined)",
|
|
1185
1149
|
value: input.examples
|
|
1186
|
-
})
|
|
1150
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1151
|
+
path: _path + ".title",
|
|
1152
|
+
expected: "(string | undefined)",
|
|
1153
|
+
value: input.title
|
|
1154
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1155
|
+
path: _path + ".description",
|
|
1156
|
+
expected: "(string | undefined)",
|
|
1157
|
+
value: input.description
|
|
1158
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1159
|
+
path: _path + ".deprecated",
|
|
1160
|
+
expected: "(boolean | undefined)",
|
|
1161
|
+
value: input.deprecated
|
|
1162
|
+
}), true ].every((flag => flag));
|
|
1163
|
+
const _vo15 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
|
1164
|
+
path: _path + ".type",
|
|
1165
|
+
expected: "undefined",
|
|
1166
|
+
value: input.type
|
|
1167
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
1168
|
+
path: _path + ".type",
|
|
1169
|
+
expected: "undefined",
|
|
1170
|
+
value: input.type
|
|
1171
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1172
|
+
path: _path + ".examples",
|
|
1173
|
+
expected: "(Array<any> | undefined)",
|
|
1174
|
+
value: input.examples
|
|
1175
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1176
|
+
path: _path + ".title",
|
|
1177
|
+
expected: "(string | undefined)",
|
|
1178
|
+
value: input.title
|
|
1179
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1180
|
+
path: _path + ".description",
|
|
1181
|
+
expected: "(string | undefined)",
|
|
1182
|
+
value: input.description
|
|
1183
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1184
|
+
path: _path + ".deprecated",
|
|
1185
|
+
expected: "(boolean | undefined)",
|
|
1186
|
+
value: input.deprecated
|
|
1187
|
+
}), true ].every((flag => flag));
|
|
1187
1188
|
const _vo16 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
1188
1189
|
const value = input[key];
|
|
1189
1190
|
if (undefined === value) return true;
|
|
@@ -1217,10 +1218,6 @@ const createHttpLlmApplication = props => {
|
|
|
1217
1218
|
path: _path + ".type",
|
|
1218
1219
|
expected: '"boolean"',
|
|
1219
1220
|
value: input.type
|
|
1220
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1221
|
-
path: _path + '["x-nullable"]',
|
|
1222
|
-
expected: "(boolean | undefined)",
|
|
1223
|
-
value: input["x-nullable"]
|
|
1224
1221
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1225
1222
|
path: _path + ".title",
|
|
1226
1223
|
expected: "(string | undefined)",
|
|
@@ -1233,7 +1230,11 @@ const createHttpLlmApplication = props => {
|
|
|
1233
1230
|
path: _path + ".deprecated",
|
|
1234
1231
|
expected: "(boolean | undefined)",
|
|
1235
1232
|
value: input.deprecated
|
|
1236
|
-
}), true, undefined === input
|
|
1233
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1234
|
+
path: _path + '["x-nullable"]',
|
|
1235
|
+
expected: "(boolean | undefined)",
|
|
1236
|
+
value: input["x-nullable"]
|
|
1237
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1237
1238
|
path: _path + ".examples",
|
|
1238
1239
|
expected: "(Array<any> | undefined)",
|
|
1239
1240
|
value: input.examples
|
|
@@ -1306,10 +1307,6 @@ const createHttpLlmApplication = props => {
|
|
|
1306
1307
|
path: _path + ".type",
|
|
1307
1308
|
expected: '"integer"',
|
|
1308
1309
|
value: input.type
|
|
1309
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1310
|
-
path: _path + '["x-nullable"]',
|
|
1311
|
-
expected: "(boolean | undefined)",
|
|
1312
|
-
value: input["x-nullable"]
|
|
1313
1310
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1314
1311
|
path: _path + ".title",
|
|
1315
1312
|
expected: "(string | undefined)",
|
|
@@ -1322,7 +1319,11 @@ const createHttpLlmApplication = props => {
|
|
|
1322
1319
|
path: _path + ".deprecated",
|
|
1323
1320
|
expected: "(boolean | undefined)",
|
|
1324
1321
|
value: input.deprecated
|
|
1325
|
-
}), true, undefined === input
|
|
1322
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1323
|
+
path: _path + '["x-nullable"]',
|
|
1324
|
+
expected: "(boolean | undefined)",
|
|
1325
|
+
value: input["x-nullable"]
|
|
1326
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1326
1327
|
path: _path + ".examples",
|
|
1327
1328
|
expected: "(Array<any> | undefined)",
|
|
1328
1329
|
value: input.examples
|
|
@@ -1379,10 +1380,6 @@ const createHttpLlmApplication = props => {
|
|
|
1379
1380
|
path: _path + ".type",
|
|
1380
1381
|
expected: '"number"',
|
|
1381
1382
|
value: input.type
|
|
1382
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1383
|
-
path: _path + '["x-nullable"]',
|
|
1384
|
-
expected: "(boolean | undefined)",
|
|
1385
|
-
value: input["x-nullable"]
|
|
1386
1383
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1387
1384
|
path: _path + ".title",
|
|
1388
1385
|
expected: "(string | undefined)",
|
|
@@ -1395,7 +1392,11 @@ const createHttpLlmApplication = props => {
|
|
|
1395
1392
|
path: _path + ".deprecated",
|
|
1396
1393
|
expected: "(boolean | undefined)",
|
|
1397
1394
|
value: input.deprecated
|
|
1398
|
-
}), true, undefined === input
|
|
1395
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1396
|
+
path: _path + '["x-nullable"]',
|
|
1397
|
+
expected: "(boolean | undefined)",
|
|
1398
|
+
value: input["x-nullable"]
|
|
1399
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1399
1400
|
path: _path + ".examples",
|
|
1400
1401
|
expected: "(Array<any> | undefined)",
|
|
1401
1402
|
value: input.examples
|
|
@@ -1452,10 +1453,6 @@ const createHttpLlmApplication = props => {
|
|
|
1452
1453
|
path: _path + ".type",
|
|
1453
1454
|
expected: '"string"',
|
|
1454
1455
|
value: input.type
|
|
1455
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1456
|
-
path: _path + '["x-nullable"]',
|
|
1457
|
-
expected: "(boolean | undefined)",
|
|
1458
|
-
value: input["x-nullable"]
|
|
1459
1456
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1460
1457
|
path: _path + ".title",
|
|
1461
1458
|
expected: "(string | undefined)",
|
|
@@ -1468,7 +1465,11 @@ const createHttpLlmApplication = props => {
|
|
|
1468
1465
|
path: _path + ".deprecated",
|
|
1469
1466
|
expected: "(boolean | undefined)",
|
|
1470
1467
|
value: input.deprecated
|
|
1471
|
-
}), true, undefined === input
|
|
1468
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1469
|
+
path: _path + '["x-nullable"]',
|
|
1470
|
+
expected: "(boolean | undefined)",
|
|
1471
|
+
value: input["x-nullable"]
|
|
1472
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1472
1473
|
path: _path + ".examples",
|
|
1473
1474
|
expected: "(Array<any> | undefined)",
|
|
1474
1475
|
value: input.examples
|
|
@@ -1513,10 +1514,6 @@ const createHttpLlmApplication = props => {
|
|
|
1513
1514
|
path: _path + ".type",
|
|
1514
1515
|
expected: '"array"',
|
|
1515
1516
|
value: input.type
|
|
1516
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1517
|
-
path: _path + '["x-nullable"]',
|
|
1518
|
-
expected: "(boolean | undefined)",
|
|
1519
|
-
value: input["x-nullable"]
|
|
1520
1517
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1521
1518
|
path: _path + ".title",
|
|
1522
1519
|
expected: "(string | undefined)",
|
|
@@ -1529,7 +1526,11 @@ const createHttpLlmApplication = props => {
|
|
|
1529
1526
|
path: _path + ".deprecated",
|
|
1530
1527
|
expected: "(boolean | undefined)",
|
|
1531
1528
|
value: input.deprecated
|
|
1532
|
-
}), true, undefined === input
|
|
1529
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1530
|
+
path: _path + '["x-nullable"]',
|
|
1531
|
+
expected: "(boolean | undefined)",
|
|
1532
|
+
value: input["x-nullable"]
|
|
1533
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1533
1534
|
path: _path + ".examples",
|
|
1534
1535
|
expected: "(Array<any> | undefined)",
|
|
1535
1536
|
value: input.examples
|
|
@@ -1586,10 +1587,6 @@ const createHttpLlmApplication = props => {
|
|
|
1586
1587
|
path: _path + ".type",
|
|
1587
1588
|
expected: '"object"',
|
|
1588
1589
|
value: input.type
|
|
1589
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1590
|
-
path: _path + '["x-nullable"]',
|
|
1591
|
-
expected: "(boolean | undefined)",
|
|
1592
|
-
value: input["x-nullable"]
|
|
1593
1590
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1594
1591
|
path: _path + ".title",
|
|
1595
1592
|
expected: "(string | undefined)",
|
|
@@ -1602,7 +1599,11 @@ const createHttpLlmApplication = props => {
|
|
|
1602
1599
|
path: _path + ".deprecated",
|
|
1603
1600
|
expected: "(boolean | undefined)",
|
|
1604
1601
|
value: input.deprecated
|
|
1605
|
-
}), true, undefined === input
|
|
1602
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1603
|
+
path: _path + '["x-nullable"]',
|
|
1604
|
+
expected: "(boolean | undefined)",
|
|
1605
|
+
value: input["x-nullable"]
|
|
1606
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1606
1607
|
path: _path + ".examples",
|
|
1607
1608
|
expected: "(Array<any> | undefined)",
|
|
1608
1609
|
value: input.examples
|
|
@@ -1619,6 +1620,10 @@ const createHttpLlmApplication = props => {
|
|
|
1619
1620
|
path: _path + ".$ref",
|
|
1620
1621
|
expected: "string",
|
|
1621
1622
|
value: input.$ref
|
|
1623
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1624
|
+
path: _path + ".examples",
|
|
1625
|
+
expected: "(Array<any> | undefined)",
|
|
1626
|
+
value: input.examples
|
|
1622
1627
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1623
1628
|
path: _path + ".title",
|
|
1624
1629
|
expected: "(string | undefined)",
|
|
@@ -1631,11 +1636,7 @@ const createHttpLlmApplication = props => {
|
|
|
1631
1636
|
path: _path + ".deprecated",
|
|
1632
1637
|
expected: "(boolean | undefined)",
|
|
1633
1638
|
value: input.deprecated
|
|
1634
|
-
}), true,
|
|
1635
|
-
path: _path + ".examples",
|
|
1636
|
-
expected: "(Array<any> | undefined)",
|
|
1637
|
-
value: input.examples
|
|
1638
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1639
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1639
1640
|
path: _path + ".name",
|
|
1640
1641
|
expected: "string",
|
|
1641
1642
|
value: input.name
|
|
@@ -1644,15 +1645,27 @@ const createHttpLlmApplication = props => {
|
|
|
1644
1645
|
expected: "string",
|
|
1645
1646
|
value: input["in"]
|
|
1646
1647
|
}) ].every((flag => flag));
|
|
1647
|
-
const _vo24 = (input, _path, _exceptionable = true) => [ (
|
|
1648
|
-
path: _path + "
|
|
1649
|
-
expected: "
|
|
1650
|
-
value: input
|
|
1651
|
-
})) && (
|
|
1652
|
-
path: _path + "
|
|
1653
|
-
expected: "
|
|
1654
|
-
value:
|
|
1655
|
-
}))
|
|
1648
|
+
const _vo24 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1649
|
+
path: _path + '["x-anyOf"]',
|
|
1650
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1651
|
+
value: input["x-anyOf"]
|
|
1652
|
+
})) && input["x-anyOf"].map(((elem, _index99) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1653
|
+
path: _path + '["x-anyOf"][' + _index99 + "]",
|
|
1654
|
+
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)",
|
|
1655
|
+
value: elem
|
|
1656
|
+
})) && _vu0(elem, _path + '["x-anyOf"][' + _index99 + "]", _exceptionable) || _report(_exceptionable, {
|
|
1657
|
+
path: _path + '["x-anyOf"][' + _index99 + "]",
|
|
1658
|
+
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)",
|
|
1659
|
+
value: elem
|
|
1660
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
1661
|
+
path: _path + '["x-anyOf"]',
|
|
1662
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1663
|
+
value: input["x-anyOf"]
|
|
1664
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1665
|
+
path: _path + ".examples",
|
|
1666
|
+
expected: "(Array<any> | undefined)",
|
|
1667
|
+
value: input.examples
|
|
1668
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1656
1669
|
path: _path + ".title",
|
|
1657
1670
|
expected: "(string | undefined)",
|
|
1658
1671
|
value: input.title
|
|
@@ -1664,11 +1677,7 @@ const createHttpLlmApplication = props => {
|
|
|
1664
1677
|
path: _path + ".deprecated",
|
|
1665
1678
|
expected: "(boolean | undefined)",
|
|
1666
1679
|
value: input.deprecated
|
|
1667
|
-
}), true,
|
|
1668
|
-
path: _path + ".examples",
|
|
1669
|
-
expected: "(Array<any> | undefined)",
|
|
1670
|
-
value: input.examples
|
|
1671
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1680
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1672
1681
|
path: _path + ".name",
|
|
1673
1682
|
expected: "string",
|
|
1674
1683
|
value: input.name
|
|
@@ -1677,14 +1686,26 @@ const createHttpLlmApplication = props => {
|
|
|
1677
1686
|
expected: "string",
|
|
1678
1687
|
value: input["in"]
|
|
1679
1688
|
}) ].every((flag => flag));
|
|
1680
|
-
const _vo25 = (input, _path, _exceptionable = true) => [ "
|
|
1681
|
-
path: _path + "
|
|
1682
|
-
expected:
|
|
1683
|
-
value: input
|
|
1684
|
-
})
|
|
1685
|
-
path: _path + '["
|
|
1686
|
-
expected: "(
|
|
1687
|
-
value:
|
|
1689
|
+
const _vo25 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1690
|
+
path: _path + '["x-oneOf"]',
|
|
1691
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1692
|
+
value: input["x-oneOf"]
|
|
1693
|
+
})) && input["x-oneOf"].map(((elem, _index100) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1694
|
+
path: _path + '["x-oneOf"][' + _index100 + "]",
|
|
1695
|
+
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)",
|
|
1696
|
+
value: elem
|
|
1697
|
+
})) && _vu0(elem, _path + '["x-oneOf"][' + _index100 + "]", _exceptionable) || _report(_exceptionable, {
|
|
1698
|
+
path: _path + '["x-oneOf"][' + _index100 + "]",
|
|
1699
|
+
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)",
|
|
1700
|
+
value: elem
|
|
1701
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
1702
|
+
path: _path + '["x-oneOf"]',
|
|
1703
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1704
|
+
value: input["x-oneOf"]
|
|
1705
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1706
|
+
path: _path + ".examples",
|
|
1707
|
+
expected: "(Array<any> | undefined)",
|
|
1708
|
+
value: input.examples
|
|
1688
1709
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1689
1710
|
path: _path + ".title",
|
|
1690
1711
|
expected: "(string | undefined)",
|
|
@@ -1697,11 +1718,7 @@ const createHttpLlmApplication = props => {
|
|
|
1697
1718
|
path: _path + ".deprecated",
|
|
1698
1719
|
expected: "(boolean | undefined)",
|
|
1699
1720
|
value: input.deprecated
|
|
1700
|
-
}), true,
|
|
1701
|
-
path: _path + ".examples",
|
|
1702
|
-
expected: "(Array<any> | undefined)",
|
|
1703
|
-
value: input.examples
|
|
1704
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1721
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1705
1722
|
path: _path + ".name",
|
|
1706
1723
|
expected: "string",
|
|
1707
1724
|
value: input.name
|
|
@@ -1710,22 +1727,18 @@ const createHttpLlmApplication = props => {
|
|
|
1710
1727
|
expected: "string",
|
|
1711
1728
|
value: input["in"]
|
|
1712
1729
|
}) ].every((flag => flag));
|
|
1713
|
-
const _vo26 = (input, _path, _exceptionable = true) => [
|
|
1714
|
-
path: _path +
|
|
1715
|
-
expected: "
|
|
1716
|
-
value: input
|
|
1717
|
-
})
|
|
1718
|
-
path: _path + '["
|
|
1719
|
-
expected: "(
|
|
1720
|
-
value:
|
|
1721
|
-
})
|
|
1722
|
-
path: _path +
|
|
1723
|
-
expected: "(
|
|
1724
|
-
value:
|
|
1725
|
-
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
1726
|
-
path: _path + '["x-anyOf"]',
|
|
1727
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1728
|
-
value: input["x-anyOf"]
|
|
1730
|
+
const _vo26 = (input, _path, _exceptionable = true) => [ "null" === input.type || _report(_exceptionable, {
|
|
1731
|
+
path: _path + ".type",
|
|
1732
|
+
expected: '"null"',
|
|
1733
|
+
value: input.type
|
|
1734
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
1735
|
+
path: _path + '["default"]',
|
|
1736
|
+
expected: "(null | undefined)",
|
|
1737
|
+
value: input["default"]
|
|
1738
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1739
|
+
path: _path + ".examples",
|
|
1740
|
+
expected: "(Array<any> | undefined)",
|
|
1741
|
+
value: input.examples
|
|
1729
1742
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1730
1743
|
path: _path + ".title",
|
|
1731
1744
|
expected: "(string | undefined)",
|
|
@@ -1738,11 +1751,7 @@ const createHttpLlmApplication = props => {
|
|
|
1738
1751
|
path: _path + ".deprecated",
|
|
1739
1752
|
expected: "(boolean | undefined)",
|
|
1740
1753
|
value: input.deprecated
|
|
1741
|
-
}), true,
|
|
1742
|
-
path: _path + ".examples",
|
|
1743
|
-
expected: "(Array<any> | undefined)",
|
|
1744
|
-
value: input.examples
|
|
1745
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1754
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1746
1755
|
path: _path + ".name",
|
|
1747
1756
|
expected: "string",
|
|
1748
1757
|
value: input.name
|
|
@@ -1751,22 +1760,18 @@ const createHttpLlmApplication = props => {
|
|
|
1751
1760
|
expected: "string",
|
|
1752
1761
|
value: input["in"]
|
|
1753
1762
|
}) ].every((flag => flag));
|
|
1754
|
-
const _vo27 = (input, _path, _exceptionable = true) => [ (
|
|
1755
|
-
path: _path +
|
|
1756
|
-
expected: "
|
|
1757
|
-
value: input
|
|
1758
|
-
})) &&
|
|
1759
|
-
path: _path +
|
|
1760
|
-
expected: "
|
|
1761
|
-
value:
|
|
1762
|
-
}))
|
|
1763
|
-
path: _path +
|
|
1764
|
-
expected: "(
|
|
1765
|
-
value:
|
|
1766
|
-
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
1767
|
-
path: _path + '["x-oneOf"]',
|
|
1768
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1769
|
-
value: input["x-oneOf"]
|
|
1763
|
+
const _vo27 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
|
1764
|
+
path: _path + ".type",
|
|
1765
|
+
expected: "undefined",
|
|
1766
|
+
value: input.type
|
|
1767
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
1768
|
+
path: _path + ".type",
|
|
1769
|
+
expected: "undefined",
|
|
1770
|
+
value: input.type
|
|
1771
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1772
|
+
path: _path + ".examples",
|
|
1773
|
+
expected: "(Array<any> | undefined)",
|
|
1774
|
+
value: input.examples
|
|
1770
1775
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1771
1776
|
path: _path + ".title",
|
|
1772
1777
|
expected: "(string | undefined)",
|
|
@@ -1779,11 +1784,7 @@ const createHttpLlmApplication = props => {
|
|
|
1779
1784
|
path: _path + ".deprecated",
|
|
1780
1785
|
expected: "(boolean | undefined)",
|
|
1781
1786
|
value: input.deprecated
|
|
1782
|
-
}), true,
|
|
1783
|
-
path: _path + ".examples",
|
|
1784
|
-
expected: "(Array<any> | undefined)",
|
|
1785
|
-
value: input.examples
|
|
1786
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1787
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1787
1788
|
path: _path + ".name",
|
|
1788
1789
|
expected: "string",
|
|
1789
1790
|
value: input.name
|
|
@@ -2122,6 +2123,10 @@ const createHttpLlmApplication = props => {
|
|
|
2122
2123
|
path: _path + ".$ref",
|
|
2123
2124
|
expected: "`#/parameters/${string}`",
|
|
2124
2125
|
value: input.$ref
|
|
2126
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
2127
|
+
path: _path + ".examples",
|
|
2128
|
+
expected: "(Array<any> | undefined)",
|
|
2129
|
+
value: input.examples
|
|
2125
2130
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2126
2131
|
path: _path + ".title",
|
|
2127
2132
|
expected: "(string | undefined)",
|
|
@@ -2134,11 +2139,7 @@ const createHttpLlmApplication = props => {
|
|
|
2134
2139
|
path: _path + ".deprecated",
|
|
2135
2140
|
expected: "(boolean | undefined)",
|
|
2136
2141
|
value: input.deprecated
|
|
2137
|
-
}), true
|
|
2138
|
-
path: _path + ".examples",
|
|
2139
|
-
expected: "(Array<any> | undefined)",
|
|
2140
|
-
value: input.examples
|
|
2141
|
-
}) ].every((flag => flag));
|
|
2142
|
+
}), true ].every((flag => flag));
|
|
2142
2143
|
const _vo43 = (input, _path, _exceptionable = true) => [ undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
2143
2144
|
path: _path + ".operationId",
|
|
2144
2145
|
expected: "(string | undefined)",
|
|
@@ -2212,6 +2213,10 @@ const createHttpLlmApplication = props => {
|
|
|
2212
2213
|
path: _path + ".$ref",
|
|
2213
2214
|
expected: "`#/definitions/parameters/${string}`",
|
|
2214
2215
|
value: input.$ref
|
|
2216
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
2217
|
+
path: _path + ".examples",
|
|
2218
|
+
expected: "(Array<any> | undefined)",
|
|
2219
|
+
value: input.examples
|
|
2215
2220
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2216
2221
|
path: _path + ".title",
|
|
2217
2222
|
expected: "(string | undefined)",
|
|
@@ -2224,11 +2229,7 @@ const createHttpLlmApplication = props => {
|
|
|
2224
2229
|
path: _path + ".deprecated",
|
|
2225
2230
|
expected: "(boolean | undefined)",
|
|
2226
2231
|
value: input.deprecated
|
|
2227
|
-
}), true
|
|
2228
|
-
path: _path + ".examples",
|
|
2229
|
-
expected: "(Array<any> | undefined)",
|
|
2230
|
-
value: input.examples
|
|
2231
|
-
}) ].every((flag => flag));
|
|
2232
|
+
}), true ].every((flag => flag));
|
|
2232
2233
|
const _vo45 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
2233
2234
|
const value = input[key];
|
|
2234
2235
|
if (undefined === value) return true;
|
|
@@ -2246,6 +2247,10 @@ const createHttpLlmApplication = props => {
|
|
|
2246
2247
|
path: _path + ".$ref",
|
|
2247
2248
|
expected: "`#/definitions/responses/${string}`",
|
|
2248
2249
|
value: input.$ref
|
|
2250
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
2251
|
+
path: _path + ".examples",
|
|
2252
|
+
expected: "(Array<any> | undefined)",
|
|
2253
|
+
value: input.examples
|
|
2249
2254
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2250
2255
|
path: _path + ".title",
|
|
2251
2256
|
expected: "(string | undefined)",
|
|
@@ -2258,11 +2263,7 @@ const createHttpLlmApplication = props => {
|
|
|
2258
2263
|
path: _path + ".deprecated",
|
|
2259
2264
|
expected: "(boolean | undefined)",
|
|
2260
2265
|
value: input.deprecated
|
|
2261
|
-
}), true
|
|
2262
|
-
path: _path + ".examples",
|
|
2263
|
-
expected: "(Array<any> | undefined)",
|
|
2264
|
-
value: input.examples
|
|
2265
|
-
}) ].every((flag => flag));
|
|
2266
|
+
}), true ].every((flag => flag));
|
|
2266
2267
|
const _vo47 = (input, _path, _exceptionable = true) => [ "string" === typeof input.name || _report(_exceptionable, {
|
|
2267
2268
|
path: _path + ".name",
|
|
2268
2269
|
expected: "string",
|
|
@@ -2533,7 +2534,11 @@ const createHttpLlmApplication = props => {
|
|
|
2533
2534
|
value
|
|
2534
2535
|
});
|
|
2535
2536
|
})).every((flag => flag)) ].every((flag => flag));
|
|
2536
|
-
const _vo57 = (input, _path, _exceptionable = true) => [
|
|
2537
|
+
const _vo57 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2538
|
+
path: _path + ".nullable",
|
|
2539
|
+
expected: "(boolean | undefined)",
|
|
2540
|
+
value: input.nullable
|
|
2541
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
2537
2542
|
path: _path + '["default"]',
|
|
2538
2543
|
expected: "(boolean | null | undefined)",
|
|
2539
2544
|
value: input["default"]
|
|
@@ -2553,10 +2558,6 @@ const createHttpLlmApplication = props => {
|
|
|
2553
2558
|
path: _path + ".type",
|
|
2554
2559
|
expected: '"boolean"',
|
|
2555
2560
|
value: input.type
|
|
2556
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2557
|
-
path: _path + ".nullable",
|
|
2558
|
-
expected: "(boolean | undefined)",
|
|
2559
|
-
value: input.nullable
|
|
2560
2561
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2561
2562
|
path: _path + ".title",
|
|
2562
2563
|
expected: "(string | undefined)",
|
|
@@ -2583,7 +2584,11 @@ const createHttpLlmApplication = props => {
|
|
|
2583
2584
|
if (undefined === value) return true;
|
|
2584
2585
|
return true;
|
|
2585
2586
|
})).every((flag => flag)) ].every((flag => flag));
|
|
2586
|
-
const _vo59 = (input, _path, _exceptionable = true) => [
|
|
2587
|
+
const _vo59 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2588
|
+
path: _path + ".nullable",
|
|
2589
|
+
expected: "(boolean | undefined)",
|
|
2590
|
+
value: input.nullable
|
|
2591
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000 || _report(_exceptionable, {
|
|
2587
2592
|
path: _path + '["default"]',
|
|
2588
2593
|
expected: 'number & Type<"int64">',
|
|
2589
2594
|
value: input["default"]
|
|
@@ -2643,10 +2648,6 @@ const createHttpLlmApplication = props => {
|
|
|
2643
2648
|
path: _path + ".type",
|
|
2644
2649
|
expected: '"integer"',
|
|
2645
2650
|
value: input.type
|
|
2646
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2647
|
-
path: _path + ".nullable",
|
|
2648
|
-
expected: "(boolean | undefined)",
|
|
2649
|
-
value: input.nullable
|
|
2650
2651
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2651
2652
|
path: _path + ".title",
|
|
2652
2653
|
expected: "(string | undefined)",
|
|
@@ -2668,7 +2669,11 @@ const createHttpLlmApplication = props => {
|
|
|
2668
2669
|
expected: "(Record<string, any> | undefined)",
|
|
2669
2670
|
value: input.examples
|
|
2670
2671
|
}) ].every((flag => flag));
|
|
2671
|
-
const _vo60 = (input, _path, _exceptionable = true) => [
|
|
2672
|
+
const _vo60 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2673
|
+
path: _path + ".nullable",
|
|
2674
|
+
expected: "(boolean | undefined)",
|
|
2675
|
+
value: input.nullable
|
|
2676
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
2672
2677
|
path: _path + '["default"]',
|
|
2673
2678
|
expected: "(null | number | undefined)",
|
|
2674
2679
|
value: input["default"]
|
|
@@ -2712,10 +2717,6 @@ const createHttpLlmApplication = props => {
|
|
|
2712
2717
|
path: _path + ".type",
|
|
2713
2718
|
expected: '"number"',
|
|
2714
2719
|
value: input.type
|
|
2715
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2716
|
-
path: _path + ".nullable",
|
|
2717
|
-
expected: "(boolean | undefined)",
|
|
2718
|
-
value: input.nullable
|
|
2719
2720
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2720
2721
|
path: _path + ".title",
|
|
2721
2722
|
expected: "(string | undefined)",
|
|
@@ -2737,7 +2738,11 @@ const createHttpLlmApplication = props => {
|
|
|
2737
2738
|
expected: "(Record<string, any> | undefined)",
|
|
2738
2739
|
value: input.examples
|
|
2739
2740
|
}) ].every((flag => flag));
|
|
2740
|
-
const _vo61 = (input, _path, _exceptionable = true) => [
|
|
2741
|
+
const _vo61 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2742
|
+
path: _path + ".nullable",
|
|
2743
|
+
expected: "(boolean | undefined)",
|
|
2744
|
+
value: input.nullable
|
|
2745
|
+
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
2741
2746
|
path: _path + '["default"]',
|
|
2742
2747
|
expected: "(null | string | undefined)",
|
|
2743
2748
|
value: input["default"]
|
|
@@ -2781,10 +2786,6 @@ const createHttpLlmApplication = props => {
|
|
|
2781
2786
|
path: _path + ".type",
|
|
2782
2787
|
expected: '"string"',
|
|
2783
2788
|
value: input.type
|
|
2784
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2785
|
-
path: _path + ".nullable",
|
|
2786
|
-
expected: "(boolean | undefined)",
|
|
2787
|
-
value: input.nullable
|
|
2788
2789
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2789
2790
|
path: _path + ".title",
|
|
2790
2791
|
expected: "(string | undefined)",
|
|
@@ -2806,7 +2807,11 @@ const createHttpLlmApplication = props => {
|
|
|
2806
2807
|
expected: "(Record<string, any> | undefined)",
|
|
2807
2808
|
value: input.examples
|
|
2808
2809
|
}) ].every((flag => flag));
|
|
2809
|
-
const _vo62 = (input, _path, _exceptionable = true) => [
|
|
2810
|
+
const _vo62 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2811
|
+
path: _path + ".nullable",
|
|
2812
|
+
expected: "(boolean | undefined)",
|
|
2813
|
+
value: input.nullable
|
|
2814
|
+
}), ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
2810
2815
|
path: _path + ".items",
|
|
2811
2816
|
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)",
|
|
2812
2817
|
value: input.items
|
|
@@ -2838,10 +2843,6 @@ const createHttpLlmApplication = props => {
|
|
|
2838
2843
|
path: _path + ".type",
|
|
2839
2844
|
expected: '"array"',
|
|
2840
2845
|
value: input.type
|
|
2841
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2842
|
-
path: _path + ".nullable",
|
|
2843
|
-
expected: "(boolean | undefined)",
|
|
2844
|
-
value: input.nullable
|
|
2845
2846
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2846
2847
|
path: _path + ".title",
|
|
2847
2848
|
expected: "(string | undefined)",
|
|
@@ -2863,7 +2864,11 @@ const createHttpLlmApplication = props => {
|
|
|
2863
2864
|
expected: "(Record<string, any> | undefined)",
|
|
2864
2865
|
value: input.examples
|
|
2865
2866
|
}) ].every((flag => flag));
|
|
2866
|
-
const _vo63 = (input, _path, _exceptionable = true) => [ undefined === input.
|
|
2867
|
+
const _vo63 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2868
|
+
path: _path + ".nullable",
|
|
2869
|
+
expected: "(boolean | undefined)",
|
|
2870
|
+
value: input.nullable
|
|
2871
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
2867
2872
|
path: _path + ".properties",
|
|
2868
2873
|
expected: "(Record<string, OpenApiV3.IJsonSchema> | undefined)",
|
|
2869
2874
|
value: input.properties
|
|
@@ -2907,10 +2912,6 @@ const createHttpLlmApplication = props => {
|
|
|
2907
2912
|
path: _path + ".type",
|
|
2908
2913
|
expected: '"object"',
|
|
2909
2914
|
value: input.type
|
|
2910
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2911
|
-
path: _path + ".nullable",
|
|
2912
|
-
expected: "(boolean | undefined)",
|
|
2913
|
-
value: input.nullable
|
|
2914
2915
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2915
2916
|
path: _path + ".title",
|
|
2916
2917
|
expected: "(string | undefined)",
|
|
@@ -2957,65 +2958,7 @@ const createHttpLlmApplication = props => {
|
|
|
2957
2958
|
expected: "(Record<string, any> | undefined)",
|
|
2958
2959
|
value: input.examples
|
|
2959
2960
|
}) ].every((flag => flag));
|
|
2960
|
-
const _vo65 = (input, _path, _exceptionable = true) => [ (
|
|
2961
|
-
path: _path + ".type",
|
|
2962
|
-
expected: "undefined",
|
|
2963
|
-
value: input.type
|
|
2964
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
|
2965
|
-
path: _path + ".type",
|
|
2966
|
-
expected: "undefined",
|
|
2967
|
-
value: input.type
|
|
2968
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2969
|
-
path: _path + ".title",
|
|
2970
|
-
expected: "(string | undefined)",
|
|
2971
|
-
value: input.title
|
|
2972
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
2973
|
-
path: _path + ".description",
|
|
2974
|
-
expected: "(string | undefined)",
|
|
2975
|
-
value: input.description
|
|
2976
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
2977
|
-
path: _path + ".deprecated",
|
|
2978
|
-
expected: "(boolean | undefined)",
|
|
2979
|
-
value: input.deprecated
|
|
2980
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
2981
|
-
path: _path + ".examples",
|
|
2982
|
-
expected: "(Record<string, any> | undefined)",
|
|
2983
|
-
value: input.examples
|
|
2984
|
-
})) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
2985
|
-
path: _path + ".examples",
|
|
2986
|
-
expected: "(Record<string, any> | undefined)",
|
|
2987
|
-
value: input.examples
|
|
2988
|
-
}) ].every((flag => flag));
|
|
2989
|
-
const _vo66 = (input, _path, _exceptionable = true) => [ "null" === input.type || _report(_exceptionable, {
|
|
2990
|
-
path: _path + ".type",
|
|
2991
|
-
expected: '"null"',
|
|
2992
|
-
value: input.type
|
|
2993
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
2994
|
-
path: _path + '["default"]',
|
|
2995
|
-
expected: "(null | undefined)",
|
|
2996
|
-
value: input["default"]
|
|
2997
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2998
|
-
path: _path + ".title",
|
|
2999
|
-
expected: "(string | undefined)",
|
|
3000
|
-
value: input.title
|
|
3001
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3002
|
-
path: _path + ".description",
|
|
3003
|
-
expected: "(string | undefined)",
|
|
3004
|
-
value: input.description
|
|
3005
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
3006
|
-
path: _path + ".deprecated",
|
|
3007
|
-
expected: "(boolean | undefined)",
|
|
3008
|
-
value: input.deprecated
|
|
3009
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
3010
|
-
path: _path + ".examples",
|
|
3011
|
-
expected: "(Record<string, any> | undefined)",
|
|
3012
|
-
value: input.examples
|
|
3013
|
-
})) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
3014
|
-
path: _path + ".examples",
|
|
3015
|
-
expected: "(Record<string, any> | undefined)",
|
|
3016
|
-
value: input.examples
|
|
3017
|
-
}) ].every((flag => flag));
|
|
3018
|
-
const _vo67 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
2961
|
+
const _vo65 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
3019
2962
|
path: _path + ".allOf",
|
|
3020
2963
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3021
2964
|
value: input.allOf
|
|
@@ -3052,7 +2995,7 @@ const createHttpLlmApplication = props => {
|
|
|
3052
2995
|
expected: "(Record<string, any> | undefined)",
|
|
3053
2996
|
value: input.examples
|
|
3054
2997
|
}) ].every((flag => flag));
|
|
3055
|
-
const
|
|
2998
|
+
const _vo66 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
3056
2999
|
path: _path + ".anyOf",
|
|
3057
3000
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3058
3001
|
value: input.anyOf
|
|
@@ -3089,7 +3032,7 @@ const createHttpLlmApplication = props => {
|
|
|
3089
3032
|
expected: "(Record<string, any> | undefined)",
|
|
3090
3033
|
value: input.examples
|
|
3091
3034
|
}) ].every((flag => flag));
|
|
3092
|
-
const
|
|
3035
|
+
const _vo67 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
3093
3036
|
path: _path + ".oneOf",
|
|
3094
3037
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3095
3038
|
value: input.oneOf
|
|
@@ -3109,7 +3052,7 @@ const createHttpLlmApplication = props => {
|
|
|
3109
3052
|
path: _path + ".discriminator",
|
|
3110
3053
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
3111
3054
|
value: input.discriminator
|
|
3112
|
-
})) &&
|
|
3055
|
+
})) && _vo68(input.discriminator, _path + ".discriminator", _exceptionable) || _report(_exceptionable, {
|
|
3113
3056
|
path: _path + ".discriminator",
|
|
3114
3057
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
3115
3058
|
value: input.discriminator
|
|
@@ -3134,18 +3077,76 @@ const createHttpLlmApplication = props => {
|
|
|
3134
3077
|
expected: "(Record<string, any> | undefined)",
|
|
3135
3078
|
value: input.examples
|
|
3136
3079
|
}) ].every((flag => flag));
|
|
3137
|
-
const
|
|
3138
|
-
path: _path + ".propertyName",
|
|
3139
|
-
expected: "string",
|
|
3140
|
-
value: input.propertyName
|
|
3141
|
-
}), undefined === input.mapping || ("object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) || _report(_exceptionable, {
|
|
3142
|
-
path: _path + ".mapping",
|
|
3143
|
-
expected: "(Record<string, string> | undefined)",
|
|
3144
|
-
value: input.mapping
|
|
3145
|
-
})) && _vo35(input.mapping, _path + ".mapping", _exceptionable) || _report(_exceptionable, {
|
|
3146
|
-
path: _path + ".mapping",
|
|
3147
|
-
expected: "(Record<string, string> | undefined)",
|
|
3148
|
-
value: input.mapping
|
|
3080
|
+
const _vo68 = (input, _path, _exceptionable = true) => [ "string" === typeof input.propertyName || _report(_exceptionable, {
|
|
3081
|
+
path: _path + ".propertyName",
|
|
3082
|
+
expected: "string",
|
|
3083
|
+
value: input.propertyName
|
|
3084
|
+
}), undefined === input.mapping || ("object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) || _report(_exceptionable, {
|
|
3085
|
+
path: _path + ".mapping",
|
|
3086
|
+
expected: "(Record<string, string> | undefined)",
|
|
3087
|
+
value: input.mapping
|
|
3088
|
+
})) && _vo35(input.mapping, _path + ".mapping", _exceptionable) || _report(_exceptionable, {
|
|
3089
|
+
path: _path + ".mapping",
|
|
3090
|
+
expected: "(Record<string, string> | undefined)",
|
|
3091
|
+
value: input.mapping
|
|
3092
|
+
}) ].every((flag => flag));
|
|
3093
|
+
const _vo69 = (input, _path, _exceptionable = true) => [ null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
3094
|
+
path: _path + '["default"]',
|
|
3095
|
+
expected: "(null | undefined)",
|
|
3096
|
+
value: input["default"]
|
|
3097
|
+
}), "null" === input.type || _report(_exceptionable, {
|
|
3098
|
+
path: _path + ".type",
|
|
3099
|
+
expected: '"null"',
|
|
3100
|
+
value: input.type
|
|
3101
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3102
|
+
path: _path + ".title",
|
|
3103
|
+
expected: "(string | undefined)",
|
|
3104
|
+
value: input.title
|
|
3105
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3106
|
+
path: _path + ".description",
|
|
3107
|
+
expected: "(string | undefined)",
|
|
3108
|
+
value: input.description
|
|
3109
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
3110
|
+
path: _path + ".deprecated",
|
|
3111
|
+
expected: "(boolean | undefined)",
|
|
3112
|
+
value: input.deprecated
|
|
3113
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
3114
|
+
path: _path + ".examples",
|
|
3115
|
+
expected: "(Record<string, any> | undefined)",
|
|
3116
|
+
value: input.examples
|
|
3117
|
+
})) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
3118
|
+
path: _path + ".examples",
|
|
3119
|
+
expected: "(Record<string, any> | undefined)",
|
|
3120
|
+
value: input.examples
|
|
3121
|
+
}) ].every((flag => flag));
|
|
3122
|
+
const _vo70 = (input, _path, _exceptionable = true) => [ true, (null !== input.type || _report(_exceptionable, {
|
|
3123
|
+
path: _path + ".type",
|
|
3124
|
+
expected: "undefined",
|
|
3125
|
+
value: input.type
|
|
3126
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
3127
|
+
path: _path + ".type",
|
|
3128
|
+
expected: "undefined",
|
|
3129
|
+
value: input.type
|
|
3130
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3131
|
+
path: _path + ".title",
|
|
3132
|
+
expected: "(string | undefined)",
|
|
3133
|
+
value: input.title
|
|
3134
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3135
|
+
path: _path + ".description",
|
|
3136
|
+
expected: "(string | undefined)",
|
|
3137
|
+
value: input.description
|
|
3138
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
3139
|
+
path: _path + ".deprecated",
|
|
3140
|
+
expected: "(boolean | undefined)",
|
|
3141
|
+
value: input.deprecated
|
|
3142
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
3143
|
+
path: _path + ".examples",
|
|
3144
|
+
expected: "(Record<string, any> | undefined)",
|
|
3145
|
+
value: input.examples
|
|
3146
|
+
})) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
3147
|
+
path: _path + ".examples",
|
|
3148
|
+
expected: "(Record<string, any> | undefined)",
|
|
3149
|
+
value: input.examples
|
|
3149
3150
|
}) ].every((flag => flag));
|
|
3150
3151
|
const _vo71 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
3151
3152
|
const value = input[key];
|
|
@@ -3957,7 +3958,7 @@ const createHttpLlmApplication = props => {
|
|
|
3957
3958
|
path: _path + ".paths",
|
|
3958
3959
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
3959
3960
|
value: input.paths
|
|
3960
|
-
})) &&
|
|
3961
|
+
})) && _vo130(input.paths, _path + ".paths", _exceptionable) || _report(_exceptionable, {
|
|
3961
3962
|
path: _path + ".paths",
|
|
3962
3963
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
3963
3964
|
value: input.paths
|
|
@@ -3965,7 +3966,7 @@ const createHttpLlmApplication = props => {
|
|
|
3965
3966
|
path: _path + ".webhooks",
|
|
3966
3967
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
|
3967
3968
|
value: input.webhooks
|
|
3968
|
-
})) &&
|
|
3969
|
+
})) && _vo163(input.webhooks, _path + ".webhooks", _exceptionable) || _report(_exceptionable, {
|
|
3969
3970
|
path: _path + ".webhooks",
|
|
3970
3971
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
|
3971
3972
|
value: input.webhooks
|
|
@@ -3993,7 +3994,7 @@ const createHttpLlmApplication = props => {
|
|
|
3993
3994
|
path: _path + ".tags[" + _index126 + "]",
|
|
3994
3995
|
expected: "OpenApiV3_1.IDocument.ITag",
|
|
3995
3996
|
value: elem
|
|
3996
|
-
})) &&
|
|
3997
|
+
})) && _vo165(elem, _path + ".tags[" + _index126 + "]", _exceptionable) || _report(_exceptionable, {
|
|
3997
3998
|
path: _path + ".tags[" + _index126 + "]",
|
|
3998
3999
|
expected: "OpenApiV3_1.IDocument.ITag",
|
|
3999
4000
|
value: elem
|
|
@@ -4132,7 +4133,7 @@ const createHttpLlmApplication = props => {
|
|
|
4132
4133
|
path: _path + ".pathItems",
|
|
4133
4134
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
4134
4135
|
value: input.pathItems
|
|
4135
|
-
})) &&
|
|
4136
|
+
})) && _vo130(input.pathItems, _path + ".pathItems", _exceptionable) || _report(_exceptionable, {
|
|
4136
4137
|
path: _path + ".pathItems",
|
|
4137
4138
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
4138
4139
|
value: input.pathItems
|
|
@@ -4140,7 +4141,7 @@ const createHttpLlmApplication = props => {
|
|
|
4140
4141
|
path: _path + ".responses",
|
|
4141
4142
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
|
4142
4143
|
value: input.responses
|
|
4143
|
-
})) &&
|
|
4144
|
+
})) && _vo148(input.responses, _path + ".responses", _exceptionable) || _report(_exceptionable, {
|
|
4144
4145
|
path: _path + ".responses",
|
|
4145
4146
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
|
4146
4147
|
value: input.responses
|
|
@@ -4148,7 +4149,7 @@ const createHttpLlmApplication = props => {
|
|
|
4148
4149
|
path: _path + ".parameters",
|
|
4149
4150
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
|
4150
4151
|
value: input.parameters
|
|
4151
|
-
})) &&
|
|
4152
|
+
})) && _vo149(input.parameters, _path + ".parameters", _exceptionable) || _report(_exceptionable, {
|
|
4152
4153
|
path: _path + ".parameters",
|
|
4153
4154
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
|
4154
4155
|
value: input.parameters
|
|
@@ -4156,7 +4157,7 @@ const createHttpLlmApplication = props => {
|
|
|
4156
4157
|
path: _path + ".requestBodies",
|
|
4157
4158
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
|
4158
4159
|
value: input.requestBodies
|
|
4159
|
-
})) &&
|
|
4160
|
+
})) && _vo150(input.requestBodies, _path + ".requestBodies", _exceptionable) || _report(_exceptionable, {
|
|
4160
4161
|
path: _path + ".requestBodies",
|
|
4161
4162
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
|
4162
4163
|
value: input.requestBodies
|
|
@@ -4164,7 +4165,7 @@ const createHttpLlmApplication = props => {
|
|
|
4164
4165
|
path: _path + ".securitySchemes",
|
|
4165
4166
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
|
4166
4167
|
value: input.securitySchemes
|
|
4167
|
-
})) &&
|
|
4168
|
+
})) && _vo151(input.securitySchemes, _path + ".securitySchemes", _exceptionable) || _report(_exceptionable, {
|
|
4168
4169
|
path: _path + ".securitySchemes",
|
|
4169
4170
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
|
4170
4171
|
value: input.securitySchemes
|
|
@@ -4172,7 +4173,7 @@ const createHttpLlmApplication = props => {
|
|
|
4172
4173
|
path: _path + ".headers",
|
|
4173
4174
|
expected: '(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',
|
|
4174
4175
|
value: input.headers
|
|
4175
|
-
})) &&
|
|
4176
|
+
})) && _vo161(input.headers, _path + ".headers", _exceptionable) || _report(_exceptionable, {
|
|
4176
4177
|
path: _path + ".headers",
|
|
4177
4178
|
expected: '(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',
|
|
4178
4179
|
value: input.headers
|
|
@@ -4180,7 +4181,7 @@ const createHttpLlmApplication = props => {
|
|
|
4180
4181
|
path: _path + ".examples",
|
|
4181
4182
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
|
4182
4183
|
value: input.examples
|
|
4183
|
-
})) &&
|
|
4184
|
+
})) && _vo162(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
4184
4185
|
path: _path + ".examples",
|
|
4185
4186
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
|
4186
4187
|
value: input.examples
|
|
@@ -4190,11 +4191,11 @@ const createHttpLlmApplication = props => {
|
|
|
4190
4191
|
if (undefined === value) return true;
|
|
4191
4192
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
4192
4193
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4193
|
-
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)",
|
|
4194
|
+
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)",
|
|
4194
4195
|
value
|
|
4195
4196
|
})) && _vu5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
4196
4197
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4197
|
-
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)",
|
|
4198
|
+
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)",
|
|
4198
4199
|
value
|
|
4199
4200
|
});
|
|
4200
4201
|
})).every((flag => flag)) ].every((flag => flag));
|
|
@@ -4222,6 +4223,10 @@ const createHttpLlmApplication = props => {
|
|
|
4222
4223
|
path: _path + '["const"]',
|
|
4223
4224
|
expected: "(boolean | number | string)",
|
|
4224
4225
|
value: input["const"]
|
|
4226
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4227
|
+
path: _path + ".nullable",
|
|
4228
|
+
expected: "(boolean | undefined)",
|
|
4229
|
+
value: input.nullable
|
|
4225
4230
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4226
4231
|
path: _path + ".title",
|
|
4227
4232
|
expected: "(string | undefined)",
|
|
@@ -4242,10 +4247,6 @@ const createHttpLlmApplication = props => {
|
|
|
4242
4247
|
path: _path + ".examples",
|
|
4243
4248
|
expected: "(Record<string, any> | undefined)",
|
|
4244
4249
|
value: input.examples
|
|
4245
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4246
|
-
path: _path + ".nullable",
|
|
4247
|
-
expected: "(boolean | undefined)",
|
|
4248
|
-
value: input.nullable
|
|
4249
4250
|
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
|
4250
4251
|
path: _path + ".minimum",
|
|
4251
4252
|
expected: "(number | undefined)",
|
|
@@ -4278,10 +4279,6 @@ const createHttpLlmApplication = props => {
|
|
|
4278
4279
|
path: _path + ".maxLength",
|
|
4279
4280
|
expected: '((number & Type<"uint64">) | undefined)',
|
|
4280
4281
|
value: input.maxLength
|
|
4281
|
-
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
|
4282
|
-
path: _path + ".contentMediaType",
|
|
4283
|
-
expected: "(string | undefined)",
|
|
4284
|
-
value: input.contentMediaType
|
|
4285
4282
|
}), undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
|
|
4286
4283
|
path: _path + ".format",
|
|
4287
4284
|
expected: "(string | undefined)",
|
|
@@ -4290,6 +4287,10 @@ const createHttpLlmApplication = props => {
|
|
|
4290
4287
|
path: _path + ".pattern",
|
|
4291
4288
|
expected: "(string | undefined)",
|
|
4292
4289
|
value: input.pattern
|
|
4290
|
+
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
|
4291
|
+
path: _path + ".contentMediaType",
|
|
4292
|
+
expected: "(string | undefined)",
|
|
4293
|
+
value: input.contentMediaType
|
|
4293
4294
|
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000 || _report(_exceptionable, {
|
|
4294
4295
|
path: _path + ".minLength",
|
|
4295
4296
|
expected: 'number & Type<"uint64">',
|
|
@@ -4300,23 +4301,23 @@ const createHttpLlmApplication = props => {
|
|
|
4300
4301
|
value: input.minLength
|
|
4301
4302
|
}), (null !== input.items || _report(_exceptionable, {
|
|
4302
4303
|
path: _path + ".items",
|
|
4303
|
-
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)",
|
|
4304
|
+
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)",
|
|
4304
4305
|
value: input.items
|
|
4305
4306
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index129) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4306
4307
|
path: _path + ".items[" + _index129 + "]",
|
|
4307
|
-
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)",
|
|
4308
|
+
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)",
|
|
4308
4309
|
value: elem
|
|
4309
4310
|
})) && _vu5(elem, _path + ".items[" + _index129 + "]", _exceptionable) || _report(_exceptionable, {
|
|
4310
4311
|
path: _path + ".items[" + _index129 + "]",
|
|
4311
|
-
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)",
|
|
4312
|
+
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)",
|
|
4312
4313
|
value: elem
|
|
4313
4314
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
|
4314
4315
|
path: _path + ".items",
|
|
4315
|
-
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)",
|
|
4316
|
+
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)",
|
|
4316
4317
|
value: input.items
|
|
4317
4318
|
})) || _report(_exceptionable, {
|
|
4318
4319
|
path: _path + ".items",
|
|
4319
|
-
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)",
|
|
4320
|
+
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)",
|
|
4320
4321
|
value: input.items
|
|
4321
4322
|
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
4322
4323
|
path: _path + ".prefixItems",
|
|
@@ -4324,11 +4325,11 @@ const createHttpLlmApplication = props => {
|
|
|
4324
4325
|
value: input.prefixItems
|
|
4325
4326
|
})) && input.prefixItems.map(((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4326
4327
|
path: _path + ".prefixItems[" + _index130 + "]",
|
|
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
4328
|
+
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
4329
|
value: elem
|
|
4329
4330
|
})) && _vu5(elem, _path + ".prefixItems[" + _index130 + "]", _exceptionable) || _report(_exceptionable, {
|
|
4330
4331
|
path: _path + ".prefixItems[" + _index130 + "]",
|
|
4331
|
-
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)",
|
|
4332
|
+
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)",
|
|
4332
4333
|
value: elem
|
|
4333
4334
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
4334
4335
|
path: _path + ".prefixItems",
|
|
@@ -4340,15 +4341,15 @@ const createHttpLlmApplication = props => {
|
|
|
4340
4341
|
value: input.uniqueItems
|
|
4341
4342
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
|
4342
4343
|
path: _path + ".additionalItems",
|
|
4343
|
-
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)",
|
|
4344
|
+
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)",
|
|
4344
4345
|
value: input.additionalItems
|
|
4345
4346
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
|
4346
4347
|
path: _path + ".additionalItems",
|
|
4347
|
-
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)",
|
|
4348
|
+
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)",
|
|
4348
4349
|
value: input.additionalItems
|
|
4349
4350
|
})) && _vu5(input.additionalItems, _path + ".additionalItems", _exceptionable) || _report(_exceptionable, {
|
|
4350
4351
|
path: _path + ".additionalItems",
|
|
4351
|
-
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)",
|
|
4352
|
+
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)",
|
|
4352
4353
|
value: input.additionalItems
|
|
4353
4354
|
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000 || _report(_exceptionable, {
|
|
4354
4355
|
path: _path + ".minItems",
|
|
@@ -4380,15 +4381,15 @@ const createHttpLlmApplication = props => {
|
|
|
4380
4381
|
value: input.required
|
|
4381
4382
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
4382
4383
|
path: _path + ".additionalProperties",
|
|
4383
|
-
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)",
|
|
4384
|
+
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)",
|
|
4384
4385
|
value: input.additionalProperties
|
|
4385
4386
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
4386
4387
|
path: _path + ".additionalProperties",
|
|
4387
|
-
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)",
|
|
4388
|
+
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)",
|
|
4388
4389
|
value: input.additionalProperties
|
|
4389
4390
|
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
|
4390
4391
|
path: _path + ".additionalProperties",
|
|
4391
|
-
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)",
|
|
4392
|
+
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)",
|
|
4392
4393
|
value: input.additionalProperties
|
|
4393
4394
|
})), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
4394
4395
|
path: _path + ".properties",
|
|
@@ -4412,11 +4413,11 @@ const createHttpLlmApplication = props => {
|
|
|
4412
4413
|
value: input.oneOf
|
|
4413
4414
|
})) && input.oneOf.map(((elem, _index132) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4414
4415
|
path: _path + ".oneOf[" + _index132 + "]",
|
|
4415
|
-
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)",
|
|
4416
|
+
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)",
|
|
4416
4417
|
value: elem
|
|
4417
4418
|
})) && _vu5(elem, _path + ".oneOf[" + _index132 + "]", _exceptionable) || _report(_exceptionable, {
|
|
4418
4419
|
path: _path + ".oneOf[" + _index132 + "]",
|
|
4419
|
-
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)",
|
|
4420
|
+
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)",
|
|
4420
4421
|
value: elem
|
|
4421
4422
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
4422
4423
|
path: _path + ".oneOf",
|
|
@@ -4426,7 +4427,7 @@ const createHttpLlmApplication = props => {
|
|
|
4426
4427
|
path: _path + ".discriminator",
|
|
4427
4428
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
4428
4429
|
value: input.discriminator
|
|
4429
|
-
})) &&
|
|
4430
|
+
})) && _vo127(input.discriminator, _path + ".discriminator", _exceptionable) || _report(_exceptionable, {
|
|
4430
4431
|
path: _path + ".discriminator",
|
|
4431
4432
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
4432
4433
|
value: input.discriminator
|
|
@@ -4436,11 +4437,11 @@ const createHttpLlmApplication = props => {
|
|
|
4436
4437
|
value: input.anyOf
|
|
4437
4438
|
})) && input.anyOf.map(((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4438
4439
|
path: _path + ".anyOf[" + _index133 + "]",
|
|
4439
|
-
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)",
|
|
4440
|
+
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)",
|
|
4440
4441
|
value: elem
|
|
4441
4442
|
})) && _vu5(elem, _path + ".anyOf[" + _index133 + "]", _exceptionable) || _report(_exceptionable, {
|
|
4442
4443
|
path: _path + ".anyOf[" + _index133 + "]",
|
|
4443
|
-
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)",
|
|
4444
|
+
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)",
|
|
4444
4445
|
value: elem
|
|
4445
4446
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
4446
4447
|
path: _path + ".anyOf",
|
|
@@ -4452,11 +4453,11 @@ const createHttpLlmApplication = props => {
|
|
|
4452
4453
|
value: input.allOf
|
|
4453
4454
|
})) && input.allOf.map(((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4454
4455
|
path: _path + ".allOf[" + _index134 + "]",
|
|
4455
|
-
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)",
|
|
4456
|
+
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)",
|
|
4456
4457
|
value: elem
|
|
4457
4458
|
})) && _vu5(elem, _path + ".allOf[" + _index134 + "]", _exceptionable) || _report(_exceptionable, {
|
|
4458
4459
|
path: _path + ".allOf[" + _index134 + "]",
|
|
4459
|
-
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)",
|
|
4460
|
+
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)",
|
|
4460
4461
|
value: elem
|
|
4461
4462
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
4462
4463
|
path: _path + ".allOf",
|
|
@@ -4471,6 +4472,10 @@ const createHttpLlmApplication = props => {
|
|
|
4471
4472
|
path: _path + '["const"]',
|
|
4472
4473
|
expected: "(boolean | number | string)",
|
|
4473
4474
|
value: input["const"]
|
|
4475
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4476
|
+
path: _path + ".nullable",
|
|
4477
|
+
expected: "(boolean | undefined)",
|
|
4478
|
+
value: input.nullable
|
|
4474
4479
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4475
4480
|
path: _path + ".title",
|
|
4476
4481
|
expected: "(string | undefined)",
|
|
@@ -4492,7 +4497,11 @@ const createHttpLlmApplication = props => {
|
|
|
4492
4497
|
expected: "(Record<string, any> | undefined)",
|
|
4493
4498
|
value: input.examples
|
|
4494
4499
|
}) ].every((flag => flag));
|
|
4495
|
-
const _vo116 = (input, _path, _exceptionable = true) => [
|
|
4500
|
+
const _vo116 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4501
|
+
path: _path + ".nullable",
|
|
4502
|
+
expected: "(boolean | undefined)",
|
|
4503
|
+
value: input.nullable
|
|
4504
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
4496
4505
|
path: _path + '["default"]',
|
|
4497
4506
|
expected: "(boolean | null | undefined)",
|
|
4498
4507
|
value: input["default"]
|
|
@@ -4512,10 +4521,6 @@ const createHttpLlmApplication = props => {
|
|
|
4512
4521
|
path: _path + ".type",
|
|
4513
4522
|
expected: '"boolean"',
|
|
4514
4523
|
value: input.type
|
|
4515
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4516
|
-
path: _path + ".nullable",
|
|
4517
|
-
expected: "(boolean | undefined)",
|
|
4518
|
-
value: input.nullable
|
|
4519
4524
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4520
4525
|
path: _path + ".title",
|
|
4521
4526
|
expected: "(string | undefined)",
|
|
@@ -4537,7 +4542,11 @@ const createHttpLlmApplication = props => {
|
|
|
4537
4542
|
expected: "(Record<string, any> | undefined)",
|
|
4538
4543
|
value: input.examples
|
|
4539
4544
|
}) ].every((flag => flag));
|
|
4540
|
-
const _vo117 = (input, _path, _exceptionable = true) => [
|
|
4545
|
+
const _vo117 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4546
|
+
path: _path + ".nullable",
|
|
4547
|
+
expected: "(boolean | undefined)",
|
|
4548
|
+
value: input.nullable
|
|
4549
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000 || _report(_exceptionable, {
|
|
4541
4550
|
path: _path + '["default"]',
|
|
4542
4551
|
expected: 'number & Type<"int64">',
|
|
4543
4552
|
value: input["default"]
|
|
@@ -4605,10 +4614,6 @@ const createHttpLlmApplication = props => {
|
|
|
4605
4614
|
path: _path + ".type",
|
|
4606
4615
|
expected: '"integer"',
|
|
4607
4616
|
value: input.type
|
|
4608
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4609
|
-
path: _path + ".nullable",
|
|
4610
|
-
expected: "(boolean | undefined)",
|
|
4611
|
-
value: input.nullable
|
|
4612
4617
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4613
4618
|
path: _path + ".title",
|
|
4614
4619
|
expected: "(string | undefined)",
|
|
@@ -4630,7 +4635,11 @@ const createHttpLlmApplication = props => {
|
|
|
4630
4635
|
expected: "(Record<string, any> | undefined)",
|
|
4631
4636
|
value: input.examples
|
|
4632
4637
|
}) ].every((flag => flag));
|
|
4633
|
-
const _vo118 = (input, _path, _exceptionable = true) => [
|
|
4638
|
+
const _vo118 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4639
|
+
path: _path + ".nullable",
|
|
4640
|
+
expected: "(boolean | undefined)",
|
|
4641
|
+
value: input.nullable
|
|
4642
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
4634
4643
|
path: _path + '["default"]',
|
|
4635
4644
|
expected: "(null | number | undefined)",
|
|
4636
4645
|
value: input["default"]
|
|
@@ -4674,10 +4683,6 @@ const createHttpLlmApplication = props => {
|
|
|
4674
4683
|
path: _path + ".type",
|
|
4675
4684
|
expected: '"number"',
|
|
4676
4685
|
value: input.type
|
|
4677
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4678
|
-
path: _path + ".nullable",
|
|
4679
|
-
expected: "(boolean | undefined)",
|
|
4680
|
-
value: input.nullable
|
|
4681
4686
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4682
4687
|
path: _path + ".title",
|
|
4683
4688
|
expected: "(string | undefined)",
|
|
@@ -4699,10 +4704,10 @@ const createHttpLlmApplication = props => {
|
|
|
4699
4704
|
expected: "(Record<string, any> | undefined)",
|
|
4700
4705
|
value: input.examples
|
|
4701
4706
|
}) ].every((flag => flag));
|
|
4702
|
-
const _vo119 = (input, _path, _exceptionable = true) => [ undefined === input.
|
|
4703
|
-
path: _path + ".
|
|
4704
|
-
expected: "(
|
|
4705
|
-
value: input.
|
|
4707
|
+
const _vo119 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4708
|
+
path: _path + ".nullable",
|
|
4709
|
+
expected: "(boolean | undefined)",
|
|
4710
|
+
value: input.nullable
|
|
4706
4711
|
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
4707
4712
|
path: _path + '["default"]',
|
|
4708
4713
|
expected: "(null | string | undefined)",
|
|
@@ -4727,6 +4732,10 @@ const createHttpLlmApplication = props => {
|
|
|
4727
4732
|
path: _path + ".pattern",
|
|
4728
4733
|
expected: "(string | undefined)",
|
|
4729
4734
|
value: input.pattern
|
|
4735
|
+
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
|
4736
|
+
path: _path + ".contentMediaType",
|
|
4737
|
+
expected: "(string | undefined)",
|
|
4738
|
+
value: input.contentMediaType
|
|
4730
4739
|
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000 || _report(_exceptionable, {
|
|
4731
4740
|
path: _path + ".minLength",
|
|
4732
4741
|
expected: 'number & Type<"uint64">',
|
|
@@ -4747,10 +4756,6 @@ const createHttpLlmApplication = props => {
|
|
|
4747
4756
|
path: _path + ".type",
|
|
4748
4757
|
expected: '"string"',
|
|
4749
4758
|
value: input.type
|
|
4750
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4751
|
-
path: _path + ".nullable",
|
|
4752
|
-
expected: "(boolean | undefined)",
|
|
4753
|
-
value: input.nullable
|
|
4754
4759
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4755
4760
|
path: _path + ".title",
|
|
4756
4761
|
expected: "(string | undefined)",
|
|
@@ -4772,25 +4777,29 @@ const createHttpLlmApplication = props => {
|
|
|
4772
4777
|
expected: "(Record<string, any> | undefined)",
|
|
4773
4778
|
value: input.examples
|
|
4774
4779
|
}) ].every((flag => flag));
|
|
4775
|
-
const _vo120 = (input, _path, _exceptionable = true) => [
|
|
4780
|
+
const _vo120 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4781
|
+
path: _path + ".nullable",
|
|
4782
|
+
expected: "(boolean | undefined)",
|
|
4783
|
+
value: input.nullable
|
|
4784
|
+
}), (null !== input.items || _report(_exceptionable, {
|
|
4776
4785
|
path: _path + ".items",
|
|
4777
|
-
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)",
|
|
4786
|
+
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)",
|
|
4778
4787
|
value: input.items
|
|
4779
4788
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index139) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4780
4789
|
path: _path + ".items[" + _index139 + "]",
|
|
4781
|
-
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)",
|
|
4790
|
+
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)",
|
|
4782
4791
|
value: elem
|
|
4783
4792
|
})) && _vu5(elem, _path + ".items[" + _index139 + "]", _exceptionable) || _report(_exceptionable, {
|
|
4784
4793
|
path: _path + ".items[" + _index139 + "]",
|
|
4785
|
-
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)",
|
|
4794
|
+
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)",
|
|
4786
4795
|
value: elem
|
|
4787
4796
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
|
4788
4797
|
path: _path + ".items",
|
|
4789
|
-
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)",
|
|
4798
|
+
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)",
|
|
4790
4799
|
value: input.items
|
|
4791
4800
|
})) || _report(_exceptionable, {
|
|
4792
4801
|
path: _path + ".items",
|
|
4793
|
-
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)",
|
|
4802
|
+
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)",
|
|
4794
4803
|
value: input.items
|
|
4795
4804
|
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
4796
4805
|
path: _path + ".prefixItems",
|
|
@@ -4798,11 +4807,11 @@ const createHttpLlmApplication = props => {
|
|
|
4798
4807
|
value: input.prefixItems
|
|
4799
4808
|
})) && input.prefixItems.map(((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4800
4809
|
path: _path + ".prefixItems[" + _index140 + "]",
|
|
4801
|
-
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)",
|
|
4810
|
+
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)",
|
|
4802
4811
|
value: elem
|
|
4803
4812
|
})) && _vu5(elem, _path + ".prefixItems[" + _index140 + "]", _exceptionable) || _report(_exceptionable, {
|
|
4804
4813
|
path: _path + ".prefixItems[" + _index140 + "]",
|
|
4805
|
-
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)",
|
|
4814
|
+
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)",
|
|
4806
4815
|
value: elem
|
|
4807
4816
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
4808
4817
|
path: _path + ".prefixItems",
|
|
@@ -4814,15 +4823,15 @@ const createHttpLlmApplication = props => {
|
|
|
4814
4823
|
value: input.uniqueItems
|
|
4815
4824
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
|
4816
4825
|
path: _path + ".additionalItems",
|
|
4817
|
-
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)",
|
|
4826
|
+
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)",
|
|
4818
4827
|
value: input.additionalItems
|
|
4819
4828
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
|
4820
4829
|
path: _path + ".additionalItems",
|
|
4821
|
-
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)",
|
|
4830
|
+
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)",
|
|
4822
4831
|
value: input.additionalItems
|
|
4823
4832
|
})) && _vu5(input.additionalItems, _path + ".additionalItems", _exceptionable) || _report(_exceptionable, {
|
|
4824
4833
|
path: _path + ".additionalItems",
|
|
4825
|
-
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)",
|
|
4834
|
+
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)",
|
|
4826
4835
|
value: input.additionalItems
|
|
4827
4836
|
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000 || _report(_exceptionable, {
|
|
4828
4837
|
path: _path + ".minItems",
|
|
@@ -4844,10 +4853,6 @@ const createHttpLlmApplication = props => {
|
|
|
4844
4853
|
path: _path + ".type",
|
|
4845
4854
|
expected: '"array"',
|
|
4846
4855
|
value: input.type
|
|
4847
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4848
|
-
path: _path + ".nullable",
|
|
4849
|
-
expected: "(boolean | undefined)",
|
|
4850
|
-
value: input.nullable
|
|
4851
4856
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4852
4857
|
path: _path + ".title",
|
|
4853
4858
|
expected: "(string | undefined)",
|
|
@@ -4869,7 +4874,11 @@ const createHttpLlmApplication = props => {
|
|
|
4869
4874
|
expected: "(Record<string, any> | undefined)",
|
|
4870
4875
|
value: input.examples
|
|
4871
4876
|
}) ].every((flag => flag));
|
|
4872
|
-
const _vo121 = (input, _path, _exceptionable = true) => [ undefined === input.
|
|
4877
|
+
const _vo121 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4878
|
+
path: _path + ".nullable",
|
|
4879
|
+
expected: "(boolean | undefined)",
|
|
4880
|
+
value: input.nullable
|
|
4881
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
4873
4882
|
path: _path + ".properties",
|
|
4874
4883
|
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
4875
4884
|
value: input.properties
|
|
@@ -4891,15 +4900,15 @@ const createHttpLlmApplication = props => {
|
|
|
4891
4900
|
value: input.required
|
|
4892
4901
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
4893
4902
|
path: _path + ".additionalProperties",
|
|
4894
|
-
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)",
|
|
4903
|
+
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)",
|
|
4895
4904
|
value: input.additionalProperties
|
|
4896
4905
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
4897
4906
|
path: _path + ".additionalProperties",
|
|
4898
|
-
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)",
|
|
4907
|
+
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)",
|
|
4899
4908
|
value: input.additionalProperties
|
|
4900
4909
|
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
|
4901
4910
|
path: _path + ".additionalProperties",
|
|
4902
|
-
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)",
|
|
4911
|
+
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)",
|
|
4903
4912
|
value: input.additionalProperties
|
|
4904
4913
|
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
4905
4914
|
path: _path + ".maxProperties",
|
|
@@ -4913,10 +4922,6 @@ const createHttpLlmApplication = props => {
|
|
|
4913
4922
|
path: _path + ".type",
|
|
4914
4923
|
expected: '"object"',
|
|
4915
4924
|
value: input.type
|
|
4916
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4917
|
-
path: _path + ".nullable",
|
|
4918
|
-
expected: "(boolean | undefined)",
|
|
4919
|
-
value: input.nullable
|
|
4920
4925
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4921
4926
|
path: _path + ".title",
|
|
4922
4927
|
expected: "(string | undefined)",
|
|
@@ -4963,47 +4968,10 @@ const createHttpLlmApplication = props => {
|
|
|
4963
4968
|
expected: "(Record<string, any> | undefined)",
|
|
4964
4969
|
value: input.examples
|
|
4965
4970
|
}) ].every((flag => flag));
|
|
4966
|
-
const _vo123 = (input, _path, _exceptionable = true) => [
|
|
4967
|
-
path: _path + "
|
|
4968
|
-
expected: "
|
|
4969
|
-
value: input
|
|
4970
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
|
4971
|
-
path: _path + ".type",
|
|
4972
|
-
expected: "undefined",
|
|
4973
|
-
value: input.type
|
|
4974
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4975
|
-
path: _path + ".title",
|
|
4976
|
-
expected: "(string | undefined)",
|
|
4977
|
-
value: input.title
|
|
4978
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
4979
|
-
path: _path + ".description",
|
|
4980
|
-
expected: "(string | undefined)",
|
|
4981
|
-
value: input.description
|
|
4982
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
4983
|
-
path: _path + ".deprecated",
|
|
4984
|
-
expected: "(boolean | undefined)",
|
|
4985
|
-
value: input.deprecated
|
|
4986
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
4987
|
-
path: _path + ".examples",
|
|
4988
|
-
expected: "(Record<string, any> | undefined)",
|
|
4989
|
-
value: input.examples
|
|
4990
|
-
})) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
4991
|
-
path: _path + ".examples",
|
|
4992
|
-
expected: "(Record<string, any> | undefined)",
|
|
4993
|
-
value: input.examples
|
|
4994
|
-
}) ].every((flag => flag));
|
|
4995
|
-
const _vo124 = (input, _path, _exceptionable = true) => [ null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
4996
|
-
path: _path + '["default"]',
|
|
4997
|
-
expected: "(null | undefined)",
|
|
4998
|
-
value: input["default"]
|
|
4999
|
-
}), "null" === input.type || _report(_exceptionable, {
|
|
5000
|
-
path: _path + ".type",
|
|
5001
|
-
expected: '"null"',
|
|
5002
|
-
value: input.type
|
|
5003
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
5004
|
-
path: _path + ".nullable",
|
|
5005
|
-
expected: "(boolean | undefined)",
|
|
5006
|
-
value: input.nullable
|
|
4971
|
+
const _vo123 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
|
4972
|
+
path: _path + ".$recursiveRef",
|
|
4973
|
+
expected: "string",
|
|
4974
|
+
value: input.$recursiveRef
|
|
5007
4975
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5008
4976
|
path: _path + ".title",
|
|
5009
4977
|
expected: "(string | undefined)",
|
|
@@ -5025,17 +4993,17 @@ const createHttpLlmApplication = props => {
|
|
|
5025
4993
|
expected: "(Record<string, any> | undefined)",
|
|
5026
4994
|
value: input.examples
|
|
5027
4995
|
}) ].every((flag => flag));
|
|
5028
|
-
const
|
|
4996
|
+
const _vo124 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
5029
4997
|
path: _path + ".allOf",
|
|
5030
4998
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5031
4999
|
value: input.allOf
|
|
5032
5000
|
})) && input.allOf.map(((elem, _index142) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5033
5001
|
path: _path + ".allOf[" + _index142 + "]",
|
|
5034
|
-
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)",
|
|
5002
|
+
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)",
|
|
5035
5003
|
value: elem
|
|
5036
5004
|
})) && _vu5(elem, _path + ".allOf[" + _index142 + "]", _exceptionable) || _report(_exceptionable, {
|
|
5037
5005
|
path: _path + ".allOf[" + _index142 + "]",
|
|
5038
|
-
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)",
|
|
5006
|
+
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)",
|
|
5039
5007
|
value: elem
|
|
5040
5008
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
5041
5009
|
path: _path + ".allOf",
|
|
@@ -5062,17 +5030,17 @@ const createHttpLlmApplication = props => {
|
|
|
5062
5030
|
expected: "(Record<string, any> | undefined)",
|
|
5063
5031
|
value: input.examples
|
|
5064
5032
|
}) ].every((flag => flag));
|
|
5065
|
-
const
|
|
5033
|
+
const _vo125 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
5066
5034
|
path: _path + ".anyOf",
|
|
5067
5035
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5068
5036
|
value: input.anyOf
|
|
5069
5037
|
})) && input.anyOf.map(((elem, _index143) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5070
5038
|
path: _path + ".anyOf[" + _index143 + "]",
|
|
5071
|
-
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)",
|
|
5039
|
+
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)",
|
|
5072
5040
|
value: elem
|
|
5073
5041
|
})) && _vu5(elem, _path + ".anyOf[" + _index143 + "]", _exceptionable) || _report(_exceptionable, {
|
|
5074
5042
|
path: _path + ".anyOf[" + _index143 + "]",
|
|
5075
|
-
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)",
|
|
5043
|
+
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)",
|
|
5076
5044
|
value: elem
|
|
5077
5045
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
5078
5046
|
path: _path + ".anyOf",
|
|
@@ -5099,17 +5067,17 @@ const createHttpLlmApplication = props => {
|
|
|
5099
5067
|
expected: "(Record<string, any> | undefined)",
|
|
5100
5068
|
value: input.examples
|
|
5101
5069
|
}) ].every((flag => flag));
|
|
5102
|
-
const
|
|
5070
|
+
const _vo126 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
5103
5071
|
path: _path + ".oneOf",
|
|
5104
5072
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5105
5073
|
value: input.oneOf
|
|
5106
5074
|
})) && input.oneOf.map(((elem, _index144) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5107
5075
|
path: _path + ".oneOf[" + _index144 + "]",
|
|
5108
|
-
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)",
|
|
5076
|
+
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)",
|
|
5109
5077
|
value: elem
|
|
5110
5078
|
})) && _vu5(elem, _path + ".oneOf[" + _index144 + "]", _exceptionable) || _report(_exceptionable, {
|
|
5111
5079
|
path: _path + ".oneOf[" + _index144 + "]",
|
|
5112
|
-
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)",
|
|
5080
|
+
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)",
|
|
5113
5081
|
value: elem
|
|
5114
5082
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
5115
5083
|
path: _path + ".oneOf",
|
|
@@ -5119,7 +5087,7 @@ const createHttpLlmApplication = props => {
|
|
|
5119
5087
|
path: _path + ".discriminator",
|
|
5120
5088
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
5121
5089
|
value: input.discriminator
|
|
5122
|
-
})) &&
|
|
5090
|
+
})) && _vo127(input.discriminator, _path + ".discriminator", _exceptionable) || _report(_exceptionable, {
|
|
5123
5091
|
path: _path + ".discriminator",
|
|
5124
5092
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
5125
5093
|
value: input.discriminator
|
|
@@ -5144,7 +5112,7 @@ const createHttpLlmApplication = props => {
|
|
|
5144
5112
|
expected: "(Record<string, any> | undefined)",
|
|
5145
5113
|
value: input.examples
|
|
5146
5114
|
}) ].every((flag => flag));
|
|
5147
|
-
const
|
|
5115
|
+
const _vo127 = (input, _path, _exceptionable = true) => [ "string" === typeof input.propertyName || _report(_exceptionable, {
|
|
5148
5116
|
path: _path + ".propertyName",
|
|
5149
5117
|
expected: "string",
|
|
5150
5118
|
value: input.propertyName
|
|
@@ -5157,20 +5125,78 @@ const createHttpLlmApplication = props => {
|
|
|
5157
5125
|
expected: "(Record<string, string> | undefined)",
|
|
5158
5126
|
value: input.mapping
|
|
5159
5127
|
}) ].every((flag => flag));
|
|
5160
|
-
const
|
|
5128
|
+
const _vo128 = (input, _path, _exceptionable = true) => [ null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
5129
|
+
path: _path + '["default"]',
|
|
5130
|
+
expected: "(null | undefined)",
|
|
5131
|
+
value: input["default"]
|
|
5132
|
+
}), "null" === input.type || _report(_exceptionable, {
|
|
5133
|
+
path: _path + ".type",
|
|
5134
|
+
expected: '"null"',
|
|
5135
|
+
value: input.type
|
|
5136
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5137
|
+
path: _path + ".title",
|
|
5138
|
+
expected: "(string | undefined)",
|
|
5139
|
+
value: input.title
|
|
5140
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5141
|
+
path: _path + ".description",
|
|
5142
|
+
expected: "(string | undefined)",
|
|
5143
|
+
value: input.description
|
|
5144
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
5145
|
+
path: _path + ".deprecated",
|
|
5146
|
+
expected: "(boolean | undefined)",
|
|
5147
|
+
value: input.deprecated
|
|
5148
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
5149
|
+
path: _path + ".examples",
|
|
5150
|
+
expected: "(Record<string, any> | undefined)",
|
|
5151
|
+
value: input.examples
|
|
5152
|
+
})) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
5153
|
+
path: _path + ".examples",
|
|
5154
|
+
expected: "(Record<string, any> | undefined)",
|
|
5155
|
+
value: input.examples
|
|
5156
|
+
}) ].every((flag => flag));
|
|
5157
|
+
const _vo129 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
|
5158
|
+
path: _path + ".type",
|
|
5159
|
+
expected: "undefined",
|
|
5160
|
+
value: input.type
|
|
5161
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
5162
|
+
path: _path + ".type",
|
|
5163
|
+
expected: "undefined",
|
|
5164
|
+
value: input.type
|
|
5165
|
+
})), true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5166
|
+
path: _path + ".title",
|
|
5167
|
+
expected: "(string | undefined)",
|
|
5168
|
+
value: input.title
|
|
5169
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5170
|
+
path: _path + ".description",
|
|
5171
|
+
expected: "(string | undefined)",
|
|
5172
|
+
value: input.description
|
|
5173
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
5174
|
+
path: _path + ".deprecated",
|
|
5175
|
+
expected: "(boolean | undefined)",
|
|
5176
|
+
value: input.deprecated
|
|
5177
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
5178
|
+
path: _path + ".examples",
|
|
5179
|
+
expected: "(Record<string, any> | undefined)",
|
|
5180
|
+
value: input.examples
|
|
5181
|
+
})) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
5182
|
+
path: _path + ".examples",
|
|
5183
|
+
expected: "(Record<string, any> | undefined)",
|
|
5184
|
+
value: input.examples
|
|
5185
|
+
}) ].every((flag => flag));
|
|
5186
|
+
const _vo130 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5161
5187
|
const value = input[key];
|
|
5162
5188
|
if (undefined === value) return true;
|
|
5163
5189
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
5164
5190
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5165
5191
|
expected: "OpenApiV3_1.IPath",
|
|
5166
5192
|
value
|
|
5167
|
-
})) &&
|
|
5193
|
+
})) && _vo131(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
5168
5194
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5169
5195
|
expected: "OpenApiV3_1.IPath",
|
|
5170
5196
|
value
|
|
5171
5197
|
});
|
|
5172
5198
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5173
|
-
const
|
|
5199
|
+
const _vo131 = (input, _path, _exceptionable = true) => [ undefined === input.parameters || (Array.isArray(input.parameters) || _report(_exceptionable, {
|
|
5174
5200
|
path: _path + ".parameters",
|
|
5175
5201
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
|
5176
5202
|
value: input.parameters
|
|
@@ -5214,7 +5240,7 @@ const createHttpLlmApplication = props => {
|
|
|
5214
5240
|
path: _path + ".get",
|
|
5215
5241
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5216
5242
|
value: input.get
|
|
5217
|
-
})) &&
|
|
5243
|
+
})) && _vo138(input.get, _path + ".get", _exceptionable) || _report(_exceptionable, {
|
|
5218
5244
|
path: _path + ".get",
|
|
5219
5245
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5220
5246
|
value: input.get
|
|
@@ -5222,7 +5248,7 @@ const createHttpLlmApplication = props => {
|
|
|
5222
5248
|
path: _path + ".post",
|
|
5223
5249
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5224
5250
|
value: input.post
|
|
5225
|
-
})) &&
|
|
5251
|
+
})) && _vo138(input.post, _path + ".post", _exceptionable) || _report(_exceptionable, {
|
|
5226
5252
|
path: _path + ".post",
|
|
5227
5253
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5228
5254
|
value: input.post
|
|
@@ -5230,7 +5256,7 @@ const createHttpLlmApplication = props => {
|
|
|
5230
5256
|
path: _path + ".patch",
|
|
5231
5257
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5232
5258
|
value: input.patch
|
|
5233
|
-
})) &&
|
|
5259
|
+
})) && _vo138(input.patch, _path + ".patch", _exceptionable) || _report(_exceptionable, {
|
|
5234
5260
|
path: _path + ".patch",
|
|
5235
5261
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5236
5262
|
value: input.patch
|
|
@@ -5238,7 +5264,7 @@ const createHttpLlmApplication = props => {
|
|
|
5238
5264
|
path: _path + ".put",
|
|
5239
5265
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5240
5266
|
value: input.put
|
|
5241
|
-
})) &&
|
|
5267
|
+
})) && _vo138(input.put, _path + ".put", _exceptionable) || _report(_exceptionable, {
|
|
5242
5268
|
path: _path + ".put",
|
|
5243
5269
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5244
5270
|
value: input.put
|
|
@@ -5246,7 +5272,7 @@ const createHttpLlmApplication = props => {
|
|
|
5246
5272
|
path: _path + '["delete"]',
|
|
5247
5273
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5248
5274
|
value: input["delete"]
|
|
5249
|
-
})) &&
|
|
5275
|
+
})) && _vo138(input["delete"], _path + '["delete"]', _exceptionable) || _report(_exceptionable, {
|
|
5250
5276
|
path: _path + '["delete"]',
|
|
5251
5277
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5252
5278
|
value: input["delete"]
|
|
@@ -5254,7 +5280,7 @@ const createHttpLlmApplication = props => {
|
|
|
5254
5280
|
path: _path + ".options",
|
|
5255
5281
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5256
5282
|
value: input.options
|
|
5257
|
-
})) &&
|
|
5283
|
+
})) && _vo138(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
|
|
5258
5284
|
path: _path + ".options",
|
|
5259
5285
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5260
5286
|
value: input.options
|
|
@@ -5262,7 +5288,7 @@ const createHttpLlmApplication = props => {
|
|
|
5262
5288
|
path: _path + ".head",
|
|
5263
5289
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5264
5290
|
value: input.head
|
|
5265
|
-
})) &&
|
|
5291
|
+
})) && _vo138(input.head, _path + ".head", _exceptionable) || _report(_exceptionable, {
|
|
5266
5292
|
path: _path + ".head",
|
|
5267
5293
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5268
5294
|
value: input.head
|
|
@@ -5270,12 +5296,12 @@ const createHttpLlmApplication = props => {
|
|
|
5270
5296
|
path: _path + ".trace",
|
|
5271
5297
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5272
5298
|
value: input.trace
|
|
5273
|
-
})) &&
|
|
5299
|
+
})) && _vo138(input.trace, _path + ".trace", _exceptionable) || _report(_exceptionable, {
|
|
5274
5300
|
path: _path + ".trace",
|
|
5275
5301
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5276
5302
|
value: input.trace
|
|
5277
5303
|
}) ].every((flag => flag));
|
|
5278
|
-
const
|
|
5304
|
+
const _vo132 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
5279
5305
|
path: _path + ".name",
|
|
5280
5306
|
expected: "(string | undefined)",
|
|
5281
5307
|
value: input.name
|
|
@@ -5285,11 +5311,11 @@ const createHttpLlmApplication = props => {
|
|
|
5285
5311
|
value: input["in"]
|
|
5286
5312
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
5287
5313
|
path: _path + ".schema",
|
|
5288
|
-
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)",
|
|
5314
|
+
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)",
|
|
5289
5315
|
value: input.schema
|
|
5290
5316
|
})) && _vu5(input.schema, _path + ".schema", _exceptionable) || _report(_exceptionable, {
|
|
5291
5317
|
path: _path + ".schema",
|
|
5292
|
-
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)",
|
|
5318
|
+
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)",
|
|
5293
5319
|
value: input.schema
|
|
5294
5320
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
5295
5321
|
path: _path + ".required",
|
|
@@ -5303,12 +5329,12 @@ const createHttpLlmApplication = props => {
|
|
|
5303
5329
|
path: _path + ".examples",
|
|
5304
5330
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5305
5331
|
value: input.examples
|
|
5306
|
-
})) &&
|
|
5332
|
+
})) && _vo133(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
5307
5333
|
path: _path + ".examples",
|
|
5308
5334
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5309
5335
|
value: input.examples
|
|
5310
5336
|
}) ].every((flag => flag));
|
|
5311
|
-
const
|
|
5337
|
+
const _vo133 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5312
5338
|
const value = input[key];
|
|
5313
5339
|
if (undefined === value) return true;
|
|
5314
5340
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
@@ -5321,7 +5347,7 @@ const createHttpLlmApplication = props => {
|
|
|
5321
5347
|
value
|
|
5322
5348
|
});
|
|
5323
5349
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5324
|
-
const
|
|
5350
|
+
const _vo134 = (input, _path, _exceptionable = true) => [ undefined === input.summary || "string" === typeof input.summary || _report(_exceptionable, {
|
|
5325
5351
|
path: _path + ".summary",
|
|
5326
5352
|
expected: "(string | undefined)",
|
|
5327
5353
|
value: input.summary
|
|
@@ -5334,7 +5360,7 @@ const createHttpLlmApplication = props => {
|
|
|
5334
5360
|
expected: "(string | undefined)",
|
|
5335
5361
|
value: input.externalValue
|
|
5336
5362
|
}) ].every((flag => flag));
|
|
5337
|
-
const
|
|
5363
|
+
const _vo135 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5338
5364
|
path: _path + ".$ref",
|
|
5339
5365
|
expected: "`#/components/examples/${string}`",
|
|
5340
5366
|
value: input.$ref
|
|
@@ -5359,7 +5385,7 @@ const createHttpLlmApplication = props => {
|
|
|
5359
5385
|
expected: "(Record<string, any> | undefined)",
|
|
5360
5386
|
value: input.examples
|
|
5361
5387
|
}) ].every((flag => flag));
|
|
5362
|
-
const
|
|
5388
|
+
const _vo136 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5363
5389
|
path: _path + ".$ref",
|
|
5364
5390
|
expected: "`#/components/headers/${string}`",
|
|
5365
5391
|
value: input.$ref
|
|
@@ -5384,7 +5410,7 @@ const createHttpLlmApplication = props => {
|
|
|
5384
5410
|
expected: "(Record<string, any> | undefined)",
|
|
5385
5411
|
value: input.examples
|
|
5386
5412
|
}) ].every((flag => flag));
|
|
5387
|
-
const
|
|
5413
|
+
const _vo137 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5388
5414
|
path: _path + ".$ref",
|
|
5389
5415
|
expected: "`#/components/parameters/${string}`",
|
|
5390
5416
|
value: input.$ref
|
|
@@ -5409,7 +5435,7 @@ const createHttpLlmApplication = props => {
|
|
|
5409
5435
|
expected: "(Record<string, any> | undefined)",
|
|
5410
5436
|
value: input.examples
|
|
5411
5437
|
}) ].every((flag => flag));
|
|
5412
|
-
const
|
|
5438
|
+
const _vo138 = (input, _path, _exceptionable = true) => [ undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
5413
5439
|
path: _path + ".operationId",
|
|
5414
5440
|
expected: "(string | undefined)",
|
|
5415
5441
|
value: input.operationId
|
|
@@ -5441,7 +5467,7 @@ const createHttpLlmApplication = props => {
|
|
|
5441
5467
|
path: _path + ".responses",
|
|
5442
5468
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
|
5443
5469
|
value: input.responses
|
|
5444
|
-
})) &&
|
|
5470
|
+
})) && _vo143(input.responses, _path + ".responses", _exceptionable) || _report(_exceptionable, {
|
|
5445
5471
|
path: _path + ".responses",
|
|
5446
5472
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
|
5447
5473
|
value: input.responses
|
|
@@ -5502,7 +5528,7 @@ const createHttpLlmApplication = props => {
|
|
|
5502
5528
|
expected: "(boolean | undefined)",
|
|
5503
5529
|
value: input.deprecated
|
|
5504
5530
|
}) ].every((flag => flag));
|
|
5505
|
-
const
|
|
5531
|
+
const _vo139 = (input, _path, _exceptionable = true) => [ undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5506
5532
|
path: _path + ".description",
|
|
5507
5533
|
expected: "(string | undefined)",
|
|
5508
5534
|
value: input.description
|
|
@@ -5514,42 +5540,42 @@ const createHttpLlmApplication = props => {
|
|
|
5514
5540
|
path: _path + ".content",
|
|
5515
5541
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5516
5542
|
value: input.content
|
|
5517
|
-
})) &&
|
|
5543
|
+
})) && _vo140(input.content, _path + ".content", _exceptionable) || _report(_exceptionable, {
|
|
5518
5544
|
path: _path + ".content",
|
|
5519
5545
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5520
5546
|
value: input.content
|
|
5521
5547
|
}) ].every((flag => flag));
|
|
5522
|
-
const
|
|
5548
|
+
const _vo140 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5523
5549
|
const value = input[key];
|
|
5524
5550
|
if (undefined === value) return true;
|
|
5525
5551
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
5526
5552
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5527
5553
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
|
5528
5554
|
value
|
|
5529
|
-
})) &&
|
|
5555
|
+
})) && _vo141(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
5530
5556
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5531
5557
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
|
5532
5558
|
value
|
|
5533
5559
|
});
|
|
5534
5560
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5535
|
-
const
|
|
5561
|
+
const _vo141 = (input, _path, _exceptionable = true) => [ undefined === input.schema || ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
5536
5562
|
path: _path + ".schema",
|
|
5537
|
-
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)",
|
|
5563
|
+
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)",
|
|
5538
5564
|
value: input.schema
|
|
5539
5565
|
})) && _vu5(input.schema, _path + ".schema", _exceptionable) || _report(_exceptionable, {
|
|
5540
5566
|
path: _path + ".schema",
|
|
5541
|
-
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)",
|
|
5567
|
+
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)",
|
|
5542
5568
|
value: input.schema
|
|
5543
5569
|
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
5544
5570
|
path: _path + ".examples",
|
|
5545
5571
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5546
5572
|
value: input.examples
|
|
5547
|
-
})) &&
|
|
5573
|
+
})) && _vo133(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
5548
5574
|
path: _path + ".examples",
|
|
5549
5575
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5550
5576
|
value: input.examples
|
|
5551
5577
|
}) ].every((flag => flag));
|
|
5552
|
-
const
|
|
5578
|
+
const _vo142 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5553
5579
|
path: _path + ".$ref",
|
|
5554
5580
|
expected: "`#/components/requestBodies/${string}`",
|
|
5555
5581
|
value: input.$ref
|
|
@@ -5574,7 +5600,7 @@ const createHttpLlmApplication = props => {
|
|
|
5574
5600
|
expected: "(Record<string, any> | undefined)",
|
|
5575
5601
|
value: input.examples
|
|
5576
5602
|
}) ].every((flag => flag));
|
|
5577
|
-
const
|
|
5603
|
+
const _vo143 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5578
5604
|
const value = input[key];
|
|
5579
5605
|
if (undefined === value) return true;
|
|
5580
5606
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
@@ -5587,11 +5613,11 @@ const createHttpLlmApplication = props => {
|
|
|
5587
5613
|
value
|
|
5588
5614
|
});
|
|
5589
5615
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5590
|
-
const
|
|
5616
|
+
const _vo144 = (input, _path, _exceptionable = true) => [ undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || _report(_exceptionable, {
|
|
5591
5617
|
path: _path + ".content",
|
|
5592
5618
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5593
5619
|
value: input.content
|
|
5594
|
-
})) &&
|
|
5620
|
+
})) && _vo140(input.content, _path + ".content", _exceptionable) || _report(_exceptionable, {
|
|
5595
5621
|
path: _path + ".content",
|
|
5596
5622
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5597
5623
|
value: input.content
|
|
@@ -5599,7 +5625,7 @@ const createHttpLlmApplication = props => {
|
|
|
5599
5625
|
path: _path + ".headers",
|
|
5600
5626
|
expected: '(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',
|
|
5601
5627
|
value: input.headers
|
|
5602
|
-
})) &&
|
|
5628
|
+
})) && _vo145(input.headers, _path + ".headers", _exceptionable) || _report(_exceptionable, {
|
|
5603
5629
|
path: _path + ".headers",
|
|
5604
5630
|
expected: '(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',
|
|
5605
5631
|
value: input.headers
|
|
@@ -5608,7 +5634,7 @@ const createHttpLlmApplication = props => {
|
|
|
5608
5634
|
expected: "(string | undefined)",
|
|
5609
5635
|
value: input.description
|
|
5610
5636
|
}) ].every((flag => flag));
|
|
5611
|
-
const
|
|
5637
|
+
const _vo145 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5612
5638
|
const value = input[key];
|
|
5613
5639
|
if (undefined === value) return true;
|
|
5614
5640
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
@@ -5621,7 +5647,7 @@ const createHttpLlmApplication = props => {
|
|
|
5621
5647
|
value
|
|
5622
5648
|
});
|
|
5623
5649
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5624
|
-
const
|
|
5650
|
+
const _vo146 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
5625
5651
|
path: _path + ".name",
|
|
5626
5652
|
expected: "(string | undefined)",
|
|
5627
5653
|
value: input.name
|
|
@@ -5637,20 +5663,20 @@ const createHttpLlmApplication = props => {
|
|
|
5637
5663
|
path: _path + ".examples",
|
|
5638
5664
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5639
5665
|
value: input.examples
|
|
5640
|
-
})) &&
|
|
5666
|
+
})) && _vo133(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
5641
5667
|
path: _path + ".examples",
|
|
5642
5668
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5643
5669
|
value: input.examples
|
|
5644
5670
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
5645
5671
|
path: _path + ".schema",
|
|
5646
|
-
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)",
|
|
5672
|
+
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)",
|
|
5647
5673
|
value: input.schema
|
|
5648
5674
|
})) && _vu5(input.schema, _path + ".schema", _exceptionable) || _report(_exceptionable, {
|
|
5649
5675
|
path: _path + ".schema",
|
|
5650
|
-
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)",
|
|
5676
|
+
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)",
|
|
5651
5677
|
value: input.schema
|
|
5652
5678
|
}) ].every((flag => flag));
|
|
5653
|
-
const
|
|
5679
|
+
const _vo147 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5654
5680
|
path: _path + ".$ref",
|
|
5655
5681
|
expected: "`#/components/responses/${string}`",
|
|
5656
5682
|
value: input.$ref
|
|
@@ -5675,46 +5701,46 @@ const createHttpLlmApplication = props => {
|
|
|
5675
5701
|
expected: "(Record<string, any> | undefined)",
|
|
5676
5702
|
value: input.examples
|
|
5677
5703
|
}) ].every((flag => flag));
|
|
5678
|
-
const
|
|
5704
|
+
const _vo148 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5679
5705
|
const value = input[key];
|
|
5680
5706
|
if (undefined === value) return true;
|
|
5681
5707
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
5682
5708
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5683
5709
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
|
5684
5710
|
value
|
|
5685
|
-
})) &&
|
|
5711
|
+
})) && _vo144(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
5686
5712
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5687
5713
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
|
5688
5714
|
value
|
|
5689
5715
|
});
|
|
5690
5716
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5691
|
-
const
|
|
5717
|
+
const _vo149 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5692
5718
|
const value = input[key];
|
|
5693
5719
|
if (undefined === value) return true;
|
|
5694
5720
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
5695
5721
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5696
5722
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
|
5697
5723
|
value
|
|
5698
|
-
})) &&
|
|
5724
|
+
})) && _vo132(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
5699
5725
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5700
5726
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
|
5701
5727
|
value
|
|
5702
5728
|
});
|
|
5703
5729
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5704
|
-
const
|
|
5730
|
+
const _vo150 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5705
5731
|
const value = input[key];
|
|
5706
5732
|
if (undefined === value) return true;
|
|
5707
5733
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
5708
5734
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5709
5735
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
|
5710
5736
|
value
|
|
5711
|
-
})) &&
|
|
5737
|
+
})) && _vo139(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
5712
5738
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5713
5739
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
|
5714
5740
|
value
|
|
5715
5741
|
});
|
|
5716
5742
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5717
|
-
const
|
|
5743
|
+
const _vo151 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5718
5744
|
const value = input[key];
|
|
5719
5745
|
if (undefined === value) return true;
|
|
5720
5746
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
@@ -5727,7 +5753,7 @@ const createHttpLlmApplication = props => {
|
|
|
5727
5753
|
value
|
|
5728
5754
|
});
|
|
5729
5755
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5730
|
-
const
|
|
5756
|
+
const _vo152 = (input, _path, _exceptionable = true) => [ "apiKey" === input.type || _report(_exceptionable, {
|
|
5731
5757
|
path: _path + ".type",
|
|
5732
5758
|
expected: '"apiKey"',
|
|
5733
5759
|
value: input.type
|
|
@@ -5744,7 +5770,7 @@ const createHttpLlmApplication = props => {
|
|
|
5744
5770
|
expected: "(string | undefined)",
|
|
5745
5771
|
value: input.description
|
|
5746
5772
|
}) ].every((flag => flag));
|
|
5747
|
-
const
|
|
5773
|
+
const _vo153 = (input, _path, _exceptionable = true) => [ "http" === input.type || _report(_exceptionable, {
|
|
5748
5774
|
path: _path + ".type",
|
|
5749
5775
|
expected: '"http"',
|
|
5750
5776
|
value: input.type
|
|
@@ -5757,7 +5783,7 @@ const createHttpLlmApplication = props => {
|
|
|
5757
5783
|
expected: "(string | undefined)",
|
|
5758
5784
|
value: input.description
|
|
5759
5785
|
}) ].every((flag => flag));
|
|
5760
|
-
const
|
|
5786
|
+
const _vo154 = (input, _path, _exceptionable = true) => [ "http" === input.type || _report(_exceptionable, {
|
|
5761
5787
|
path: _path + ".type",
|
|
5762
5788
|
expected: '"http"',
|
|
5763
5789
|
value: input.type
|
|
@@ -5774,7 +5800,7 @@ const createHttpLlmApplication = props => {
|
|
|
5774
5800
|
expected: "(string | undefined)",
|
|
5775
5801
|
value: input.description
|
|
5776
5802
|
}) ].every((flag => flag));
|
|
5777
|
-
const
|
|
5803
|
+
const _vo155 = (input, _path, _exceptionable = true) => [ "oauth2" === input.type || _report(_exceptionable, {
|
|
5778
5804
|
path: _path + ".type",
|
|
5779
5805
|
expected: '"oauth2"',
|
|
5780
5806
|
value: input.type
|
|
@@ -5782,7 +5808,7 @@ const createHttpLlmApplication = props => {
|
|
|
5782
5808
|
path: _path + ".flows",
|
|
5783
5809
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
|
5784
5810
|
value: input.flows
|
|
5785
|
-
})) &&
|
|
5811
|
+
})) && _vo156(input.flows, _path + ".flows", _exceptionable) || _report(_exceptionable, {
|
|
5786
5812
|
path: _path + ".flows",
|
|
5787
5813
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
|
5788
5814
|
value: input.flows
|
|
@@ -5791,11 +5817,11 @@ const createHttpLlmApplication = props => {
|
|
|
5791
5817
|
expected: "(string | undefined)",
|
|
5792
5818
|
value: input.description
|
|
5793
5819
|
}) ].every((flag => flag));
|
|
5794
|
-
const
|
|
5820
|
+
const _vo156 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) || _report(_exceptionable, {
|
|
5795
5821
|
path: _path + ".authorizationCode",
|
|
5796
5822
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
5797
5823
|
value: input.authorizationCode
|
|
5798
|
-
})) &&
|
|
5824
|
+
})) && _vo157(input.authorizationCode, _path + ".authorizationCode", _exceptionable) || _report(_exceptionable, {
|
|
5799
5825
|
path: _path + ".authorizationCode",
|
|
5800
5826
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
5801
5827
|
value: input.authorizationCode
|
|
@@ -5803,7 +5829,7 @@ const createHttpLlmApplication = props => {
|
|
|
5803
5829
|
path: _path + ".implicit",
|
|
5804
5830
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',
|
|
5805
5831
|
value: input.implicit
|
|
5806
|
-
})) &&
|
|
5832
|
+
})) && _vo158(input.implicit, _path + ".implicit", _exceptionable) || _report(_exceptionable, {
|
|
5807
5833
|
path: _path + ".implicit",
|
|
5808
5834
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',
|
|
5809
5835
|
value: input.implicit
|
|
@@ -5811,7 +5837,7 @@ const createHttpLlmApplication = props => {
|
|
|
5811
5837
|
path: _path + ".password",
|
|
5812
5838
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
5813
5839
|
value: input.password
|
|
5814
|
-
})) &&
|
|
5840
|
+
})) && _vo159(input.password, _path + ".password", _exceptionable) || _report(_exceptionable, {
|
|
5815
5841
|
path: _path + ".password",
|
|
5816
5842
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
5817
5843
|
value: input.password
|
|
@@ -5819,12 +5845,12 @@ const createHttpLlmApplication = props => {
|
|
|
5819
5845
|
path: _path + ".clientCredentials",
|
|
5820
5846
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
5821
5847
|
value: input.clientCredentials
|
|
5822
|
-
})) &&
|
|
5848
|
+
})) && _vo159(input.clientCredentials, _path + ".clientCredentials", _exceptionable) || _report(_exceptionable, {
|
|
5823
5849
|
path: _path + ".clientCredentials",
|
|
5824
5850
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
5825
5851
|
value: input.clientCredentials
|
|
5826
5852
|
}) ].every((flag => flag));
|
|
5827
|
-
const
|
|
5853
|
+
const _vo157 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
5828
5854
|
path: _path + ".authorizationUrl",
|
|
5829
5855
|
expected: "(string | undefined)",
|
|
5830
5856
|
value: input.authorizationUrl
|
|
@@ -5845,7 +5871,7 @@ const createHttpLlmApplication = props => {
|
|
|
5845
5871
|
expected: "(Record<string, string> | undefined)",
|
|
5846
5872
|
value: input.scopes
|
|
5847
5873
|
}) ].every((flag => flag));
|
|
5848
|
-
const
|
|
5874
|
+
const _vo158 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
5849
5875
|
path: _path + ".authorizationUrl",
|
|
5850
5876
|
expected: "(string | undefined)",
|
|
5851
5877
|
value: input.authorizationUrl
|
|
@@ -5862,7 +5888,7 @@ const createHttpLlmApplication = props => {
|
|
|
5862
5888
|
expected: "(Record<string, string> | undefined)",
|
|
5863
5889
|
value: input.scopes
|
|
5864
5890
|
}) ].every((flag => flag));
|
|
5865
|
-
const
|
|
5891
|
+
const _vo159 = (input, _path, _exceptionable = true) => [ undefined === input.tokenUrl || "string" === typeof input.tokenUrl || _report(_exceptionable, {
|
|
5866
5892
|
path: _path + ".tokenUrl",
|
|
5867
5893
|
expected: "(string | undefined)",
|
|
5868
5894
|
value: input.tokenUrl
|
|
@@ -5879,7 +5905,7 @@ const createHttpLlmApplication = props => {
|
|
|
5879
5905
|
expected: "(Record<string, string> | undefined)",
|
|
5880
5906
|
value: input.scopes
|
|
5881
5907
|
}) ].every((flag => flag));
|
|
5882
|
-
const
|
|
5908
|
+
const _vo160 = (input, _path, _exceptionable = true) => [ "openIdConnect" === input.type || _report(_exceptionable, {
|
|
5883
5909
|
path: _path + ".type",
|
|
5884
5910
|
expected: '"openIdConnect"',
|
|
5885
5911
|
value: input.type
|
|
@@ -5892,33 +5918,33 @@ const createHttpLlmApplication = props => {
|
|
|
5892
5918
|
expected: "(string | undefined)",
|
|
5893
5919
|
value: input.description
|
|
5894
5920
|
}) ].every((flag => flag));
|
|
5895
|
-
const
|
|
5921
|
+
const _vo161 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5896
5922
|
const value = input[key];
|
|
5897
5923
|
if (undefined === value) return true;
|
|
5898
5924
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
5899
5925
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5900
5926
|
expected: 'Omit<OpenApiV3_1.IOperation.IParameter, "in">',
|
|
5901
5927
|
value
|
|
5902
|
-
})) &&
|
|
5928
|
+
})) && _vo146(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
5903
5929
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5904
5930
|
expected: 'Omit<OpenApiV3_1.IOperation.IParameter, "in">',
|
|
5905
5931
|
value
|
|
5906
5932
|
});
|
|
5907
5933
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5908
|
-
const
|
|
5934
|
+
const _vo162 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5909
5935
|
const value = input[key];
|
|
5910
5936
|
if (undefined === value) return true;
|
|
5911
5937
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
5912
5938
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5913
5939
|
expected: "OpenApiV3_1.IExample",
|
|
5914
5940
|
value
|
|
5915
|
-
})) &&
|
|
5941
|
+
})) && _vo134(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
5916
5942
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5917
5943
|
expected: "OpenApiV3_1.IExample",
|
|
5918
5944
|
value
|
|
5919
5945
|
});
|
|
5920
5946
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5921
|
-
const
|
|
5947
|
+
const _vo163 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
5922
5948
|
const value = input[key];
|
|
5923
5949
|
if (undefined === value) return true;
|
|
5924
5950
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
@@ -5931,7 +5957,7 @@ const createHttpLlmApplication = props => {
|
|
|
5931
5957
|
value
|
|
5932
5958
|
});
|
|
5933
5959
|
})).every((flag => flag)) ].every((flag => flag));
|
|
5934
|
-
const
|
|
5960
|
+
const _vo164 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5935
5961
|
path: _path + ".$ref",
|
|
5936
5962
|
expected: "`#/components/pathItems/${string}`",
|
|
5937
5963
|
value: input.$ref
|
|
@@ -5956,7 +5982,7 @@ const createHttpLlmApplication = props => {
|
|
|
5956
5982
|
expected: "(Record<string, any> | undefined)",
|
|
5957
5983
|
value: input.examples
|
|
5958
5984
|
}) ].every((flag => flag));
|
|
5959
|
-
const
|
|
5985
|
+
const _vo165 = (input, _path, _exceptionable = true) => [ "string" === typeof input.name || _report(_exceptionable, {
|
|
5960
5986
|
path: _path + ".name",
|
|
5961
5987
|
expected: "string",
|
|
5962
5988
|
value: input.name
|
|
@@ -5965,7 +5991,7 @@ const createHttpLlmApplication = props => {
|
|
|
5965
5991
|
expected: "(string | undefined)",
|
|
5966
5992
|
value: input.description
|
|
5967
5993
|
}) ].every((flag => flag));
|
|
5968
|
-
const
|
|
5994
|
+
const _vo166 = (input, _path, _exceptionable = true) => [ "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) || _report(_exceptionable, {
|
|
5969
5995
|
path: _path + ".openapi",
|
|
5970
5996
|
expected: "`3.1.${number}`",
|
|
5971
5997
|
value: input.openapi
|
|
@@ -5977,7 +6003,7 @@ const createHttpLlmApplication = props => {
|
|
|
5977
6003
|
path: _path + ".servers[" + _index151 + "]",
|
|
5978
6004
|
expected: "OpenApi.IServer",
|
|
5979
6005
|
value: elem
|
|
5980
|
-
})) &&
|
|
6006
|
+
})) && _vo167(elem, _path + ".servers[" + _index151 + "]", _exceptionable) || _report(_exceptionable, {
|
|
5981
6007
|
path: _path + ".servers[" + _index151 + "]",
|
|
5982
6008
|
expected: "OpenApi.IServer",
|
|
5983
6009
|
value: elem
|
|
@@ -5989,7 +6015,7 @@ const createHttpLlmApplication = props => {
|
|
|
5989
6015
|
path: _path + ".info",
|
|
5990
6016
|
expected: "(OpenApi.IDocument.IInfo | undefined)",
|
|
5991
6017
|
value: input.info
|
|
5992
|
-
})) &&
|
|
6018
|
+
})) && _vo170(input.info, _path + ".info", _exceptionable) || _report(_exceptionable, {
|
|
5993
6019
|
path: _path + ".info",
|
|
5994
6020
|
expected: "(OpenApi.IDocument.IInfo | undefined)",
|
|
5995
6021
|
value: input.info
|
|
@@ -5997,7 +6023,7 @@ const createHttpLlmApplication = props => {
|
|
|
5997
6023
|
path: _path + ".components",
|
|
5998
6024
|
expected: "OpenApi.IComponents",
|
|
5999
6025
|
value: input.components
|
|
6000
|
-
})) &&
|
|
6026
|
+
})) && _vo173(input.components, _path + ".components", _exceptionable) || _report(_exceptionable, {
|
|
6001
6027
|
path: _path + ".components",
|
|
6002
6028
|
expected: "OpenApi.IComponents",
|
|
6003
6029
|
value: input.components
|
|
@@ -6005,7 +6031,7 @@ const createHttpLlmApplication = props => {
|
|
|
6005
6031
|
path: _path + ".paths",
|
|
6006
6032
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6007
6033
|
value: input.paths
|
|
6008
|
-
})) &&
|
|
6034
|
+
})) && _vo198(input.paths, _path + ".paths", _exceptionable) || _report(_exceptionable, {
|
|
6009
6035
|
path: _path + ".paths",
|
|
6010
6036
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6011
6037
|
value: input.paths
|
|
@@ -6013,7 +6039,7 @@ const createHttpLlmApplication = props => {
|
|
|
6013
6039
|
path: _path + ".webhooks",
|
|
6014
6040
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6015
6041
|
value: input.webhooks
|
|
6016
|
-
})) &&
|
|
6042
|
+
})) && _vo198(input.webhooks, _path + ".webhooks", _exceptionable) || _report(_exceptionable, {
|
|
6017
6043
|
path: _path + ".webhooks",
|
|
6018
6044
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6019
6045
|
value: input.webhooks
|
|
@@ -6041,7 +6067,7 @@ const createHttpLlmApplication = props => {
|
|
|
6041
6067
|
path: _path + ".tags[" + _index153 + "]",
|
|
6042
6068
|
expected: "OpenApi.IDocument.ITag",
|
|
6043
6069
|
value: elem
|
|
6044
|
-
})) &&
|
|
6070
|
+
})) && _vo210(elem, _path + ".tags[" + _index153 + "]", _exceptionable) || _report(_exceptionable, {
|
|
6045
6071
|
path: _path + ".tags[" + _index153 + "]",
|
|
6046
6072
|
expected: "OpenApi.IDocument.ITag",
|
|
6047
6073
|
value: elem
|
|
@@ -6054,7 +6080,7 @@ const createHttpLlmApplication = props => {
|
|
|
6054
6080
|
expected: "true",
|
|
6055
6081
|
value: input["x-samchon-emended"]
|
|
6056
6082
|
}) ].every((flag => flag));
|
|
6057
|
-
const
|
|
6083
|
+
const _vo167 = (input, _path, _exceptionable = true) => [ "string" === typeof input.url || _report(_exceptionable, {
|
|
6058
6084
|
path: _path + ".url",
|
|
6059
6085
|
expected: "string",
|
|
6060
6086
|
value: input.url
|
|
@@ -6066,25 +6092,25 @@ const createHttpLlmApplication = props => {
|
|
|
6066
6092
|
path: _path + ".variables",
|
|
6067
6093
|
expected: "(Record<string, OpenApi.IServer.IVariable> | undefined)",
|
|
6068
6094
|
value: input.variables
|
|
6069
|
-
})) &&
|
|
6095
|
+
})) && _vo168(input.variables, _path + ".variables", _exceptionable) || _report(_exceptionable, {
|
|
6070
6096
|
path: _path + ".variables",
|
|
6071
6097
|
expected: "(Record<string, OpenApi.IServer.IVariable> | undefined)",
|
|
6072
6098
|
value: input.variables
|
|
6073
6099
|
}) ].every((flag => flag));
|
|
6074
|
-
const
|
|
6100
|
+
const _vo168 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
6075
6101
|
const value = input[key];
|
|
6076
6102
|
if (undefined === value) return true;
|
|
6077
6103
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
6078
6104
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6079
6105
|
expected: "OpenApi.IServer.IVariable",
|
|
6080
6106
|
value
|
|
6081
|
-
})) &&
|
|
6107
|
+
})) && _vo169(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
6082
6108
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6083
6109
|
expected: "OpenApi.IServer.IVariable",
|
|
6084
6110
|
value
|
|
6085
6111
|
});
|
|
6086
6112
|
})).every((flag => flag)) ].every((flag => flag));
|
|
6087
|
-
const
|
|
6113
|
+
const _vo169 = (input, _path, _exceptionable = true) => [ "string" === typeof input["default"] || _report(_exceptionable, {
|
|
6088
6114
|
path: _path + '["default"]',
|
|
6089
6115
|
expected: "string",
|
|
6090
6116
|
value: input["default"]
|
|
@@ -6105,7 +6131,7 @@ const createHttpLlmApplication = props => {
|
|
|
6105
6131
|
expected: "(string | undefined)",
|
|
6106
6132
|
value: input.description
|
|
6107
6133
|
}) ].every((flag => flag));
|
|
6108
|
-
const
|
|
6134
|
+
const _vo170 = (input, _path, _exceptionable = true) => [ "string" === typeof input.title || _report(_exceptionable, {
|
|
6109
6135
|
path: _path + ".title",
|
|
6110
6136
|
expected: "string",
|
|
6111
6137
|
value: input.title
|
|
@@ -6125,7 +6151,7 @@ const createHttpLlmApplication = props => {
|
|
|
6125
6151
|
path: _path + ".contact",
|
|
6126
6152
|
expected: "(OpenApi.IDocument.IContact | undefined)",
|
|
6127
6153
|
value: input.contact
|
|
6128
|
-
})) &&
|
|
6154
|
+
})) && _vo171(input.contact, _path + ".contact", _exceptionable) || _report(_exceptionable, {
|
|
6129
6155
|
path: _path + ".contact",
|
|
6130
6156
|
expected: "(OpenApi.IDocument.IContact | undefined)",
|
|
6131
6157
|
value: input.contact
|
|
@@ -6133,7 +6159,7 @@ const createHttpLlmApplication = props => {
|
|
|
6133
6159
|
path: _path + ".license",
|
|
6134
6160
|
expected: "(OpenApi.IDocument.ILicense | undefined)",
|
|
6135
6161
|
value: input.license
|
|
6136
|
-
})) &&
|
|
6162
|
+
})) && _vo172(input.license, _path + ".license", _exceptionable) || _report(_exceptionable, {
|
|
6137
6163
|
path: _path + ".license",
|
|
6138
6164
|
expected: "(OpenApi.IDocument.ILicense | undefined)",
|
|
6139
6165
|
value: input.license
|
|
@@ -6142,7 +6168,7 @@ const createHttpLlmApplication = props => {
|
|
|
6142
6168
|
expected: "string",
|
|
6143
6169
|
value: input.version
|
|
6144
6170
|
}) ].every((flag => flag));
|
|
6145
|
-
const
|
|
6171
|
+
const _vo171 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
6146
6172
|
path: _path + ".name",
|
|
6147
6173
|
expected: "(string | undefined)",
|
|
6148
6174
|
value: input.name
|
|
@@ -6159,7 +6185,7 @@ const createHttpLlmApplication = props => {
|
|
|
6159
6185
|
expected: '((string & Format<"email">) | undefined)',
|
|
6160
6186
|
value: input.email
|
|
6161
6187
|
}) ].every((flag => flag));
|
|
6162
|
-
const
|
|
6188
|
+
const _vo172 = (input, _path, _exceptionable = true) => [ "string" === typeof input.name || _report(_exceptionable, {
|
|
6163
6189
|
path: _path + ".name",
|
|
6164
6190
|
expected: "string",
|
|
6165
6191
|
value: input.name
|
|
@@ -6172,11 +6198,11 @@ const createHttpLlmApplication = props => {
|
|
|
6172
6198
|
expected: "(string | undefined)",
|
|
6173
6199
|
value: input.url
|
|
6174
6200
|
}) ].every((flag => flag));
|
|
6175
|
-
const
|
|
6201
|
+
const _vo173 = (input, _path, _exceptionable = true) => [ undefined === input.schemas || ("object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) || _report(_exceptionable, {
|
|
6176
6202
|
path: _path + ".schemas",
|
|
6177
6203
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6178
6204
|
value: input.schemas
|
|
6179
|
-
})) &&
|
|
6205
|
+
})) && _vo174(input.schemas, _path + ".schemas", _exceptionable) || _report(_exceptionable, {
|
|
6180
6206
|
path: _path + ".schemas",
|
|
6181
6207
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6182
6208
|
value: input.schemas
|
|
@@ -6184,12 +6210,12 @@ const createHttpLlmApplication = props => {
|
|
|
6184
6210
|
path: _path + ".securitySchemes",
|
|
6185
6211
|
expected: "(Record<string, OpenApi.ISecurityScheme> | undefined)",
|
|
6186
6212
|
value: input.securitySchemes
|
|
6187
|
-
})) &&
|
|
6213
|
+
})) && _vo188(input.securitySchemes, _path + ".securitySchemes", _exceptionable) || _report(_exceptionable, {
|
|
6188
6214
|
path: _path + ".securitySchemes",
|
|
6189
6215
|
expected: "(Record<string, OpenApi.ISecurityScheme> | undefined)",
|
|
6190
6216
|
value: input.securitySchemes
|
|
6191
6217
|
}) ].every((flag => flag));
|
|
6192
|
-
const
|
|
6218
|
+
const _vo174 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
6193
6219
|
const value = input[key];
|
|
6194
6220
|
if (undefined === value) return true;
|
|
6195
6221
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
@@ -6202,7 +6228,7 @@ const createHttpLlmApplication = props => {
|
|
|
6202
6228
|
value
|
|
6203
6229
|
});
|
|
6204
6230
|
})).every((flag => flag)) ].every((flag => flag));
|
|
6205
|
-
const
|
|
6231
|
+
const _vo175 = (input, _path, _exceptionable = true) => [ "string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
6206
6232
|
path: _path + '["const"]',
|
|
6207
6233
|
expected: "(boolean | number | string)",
|
|
6208
6234
|
value: input["const"]
|
|
@@ -6227,7 +6253,7 @@ const createHttpLlmApplication = props => {
|
|
|
6227
6253
|
expected: "(Record<string, any> | undefined)",
|
|
6228
6254
|
value: input.examples
|
|
6229
6255
|
}) ].every((flag => flag));
|
|
6230
|
-
const
|
|
6256
|
+
const _vo176 = (input, _path, _exceptionable = true) => [ undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
6231
6257
|
path: _path + '["default"]',
|
|
6232
6258
|
expected: "(boolean | undefined)",
|
|
6233
6259
|
value: input["default"]
|
|
@@ -6256,7 +6282,7 @@ const createHttpLlmApplication = props => {
|
|
|
6256
6282
|
expected: "(Record<string, any> | undefined)",
|
|
6257
6283
|
value: input.examples
|
|
6258
6284
|
}) ].every((flag => flag));
|
|
6259
|
-
const
|
|
6285
|
+
const _vo177 = (input, _path, _exceptionable = true) => [ undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000 || _report(_exceptionable, {
|
|
6260
6286
|
path: _path + '["default"]',
|
|
6261
6287
|
expected: 'number & Type<"int64">',
|
|
6262
6288
|
value: input["default"]
|
|
@@ -6325,7 +6351,7 @@ const createHttpLlmApplication = props => {
|
|
|
6325
6351
|
expected: "(Record<string, any> | undefined)",
|
|
6326
6352
|
value: input.examples
|
|
6327
6353
|
}) ].every((flag => flag));
|
|
6328
|
-
const
|
|
6354
|
+
const _vo178 = (input, _path, _exceptionable = true) => [ undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
6329
6355
|
path: _path + '["default"]',
|
|
6330
6356
|
expected: "(number | undefined)",
|
|
6331
6357
|
value: input["default"]
|
|
@@ -6378,7 +6404,7 @@ const createHttpLlmApplication = props => {
|
|
|
6378
6404
|
expected: "(Record<string, any> | undefined)",
|
|
6379
6405
|
value: input.examples
|
|
6380
6406
|
}) ].every((flag => flag));
|
|
6381
|
-
const
|
|
6407
|
+
const _vo179 = (input, _path, _exceptionable = true) => [ undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
6382
6408
|
path: _path + '["default"]',
|
|
6383
6409
|
expected: "(string | undefined)",
|
|
6384
6410
|
value: input["default"]
|
|
@@ -6435,7 +6461,7 @@ const createHttpLlmApplication = props => {
|
|
|
6435
6461
|
expected: "(Record<string, any> | undefined)",
|
|
6436
6462
|
value: input.examples
|
|
6437
6463
|
}) ].every((flag => flag));
|
|
6438
|
-
const
|
|
6464
|
+
const _vo180 = (input, _path, _exceptionable = true) => [ ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
6439
6465
|
path: _path + ".items",
|
|
6440
6466
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
|
6441
6467
|
value: input.items
|
|
@@ -6488,7 +6514,11 @@ const createHttpLlmApplication = props => {
|
|
|
6488
6514
|
expected: "(Record<string, any> | undefined)",
|
|
6489
6515
|
value: input.examples
|
|
6490
6516
|
}) ].every((flag => flag));
|
|
6491
|
-
const
|
|
6517
|
+
const _vo181 = (input, _path, _exceptionable = true) => [ "array" === input.type || _report(_exceptionable, {
|
|
6518
|
+
path: _path + ".type",
|
|
6519
|
+
expected: '"array"',
|
|
6520
|
+
value: input.type
|
|
6521
|
+
}), (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
6492
6522
|
path: _path + ".prefixItems",
|
|
6493
6523
|
expected: "Array<OpenApi.IJsonSchema>",
|
|
6494
6524
|
value: input.prefixItems
|
|
@@ -6536,10 +6566,6 @@ const createHttpLlmApplication = props => {
|
|
|
6536
6566
|
path: _path + ".maxItems",
|
|
6537
6567
|
expected: '((number & Type<"uint64">) | undefined)',
|
|
6538
6568
|
value: input.maxItems
|
|
6539
|
-
}), "array" === input.type || _report(_exceptionable, {
|
|
6540
|
-
path: _path + ".type",
|
|
6541
|
-
expected: '"array"',
|
|
6542
|
-
value: input.type
|
|
6543
6569
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
6544
6570
|
path: _path + ".title",
|
|
6545
6571
|
expected: "(string | undefined)",
|
|
@@ -6561,11 +6587,11 @@ const createHttpLlmApplication = props => {
|
|
|
6561
6587
|
expected: "(Record<string, any> | undefined)",
|
|
6562
6588
|
value: input.examples
|
|
6563
6589
|
}) ].every((flag => flag));
|
|
6564
|
-
const
|
|
6590
|
+
const _vo182 = (input, _path, _exceptionable = true) => [ undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
6565
6591
|
path: _path + ".properties",
|
|
6566
6592
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6567
6593
|
value: input.properties
|
|
6568
|
-
})) &&
|
|
6594
|
+
})) && _vo174(input.properties, _path + ".properties", _exceptionable) || _report(_exceptionable, {
|
|
6569
6595
|
path: _path + ".properties",
|
|
6570
6596
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6571
6597
|
value: input.properties
|
|
@@ -6618,7 +6644,7 @@ const createHttpLlmApplication = props => {
|
|
|
6618
6644
|
expected: "(Record<string, any> | undefined)",
|
|
6619
6645
|
value: input.examples
|
|
6620
6646
|
}) ].every((flag => flag));
|
|
6621
|
-
const
|
|
6647
|
+
const _vo183 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref || _report(_exceptionable, {
|
|
6622
6648
|
path: _path + ".$ref",
|
|
6623
6649
|
expected: "string",
|
|
6624
6650
|
value: input.$ref
|
|
@@ -6643,7 +6669,7 @@ const createHttpLlmApplication = props => {
|
|
|
6643
6669
|
expected: "(Record<string, any> | undefined)",
|
|
6644
6670
|
value: input.examples
|
|
6645
6671
|
}) ].every((flag => flag));
|
|
6646
|
-
const
|
|
6672
|
+
const _vo184 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
6647
6673
|
path: _path + ".oneOf",
|
|
6648
6674
|
expected: "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
|
|
6649
6675
|
value: input.oneOf
|
|
@@ -6663,7 +6689,7 @@ const createHttpLlmApplication = props => {
|
|
|
6663
6689
|
path: _path + ".discriminator",
|
|
6664
6690
|
expected: "(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
6665
6691
|
value: input.discriminator
|
|
6666
|
-
})) &&
|
|
6692
|
+
})) && _vo187(input.discriminator, _path + ".discriminator", _exceptionable) || _report(_exceptionable, {
|
|
6667
6693
|
path: _path + ".discriminator",
|
|
6668
6694
|
expected: "(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
6669
6695
|
value: input.discriminator
|
|
@@ -6688,7 +6714,7 @@ const createHttpLlmApplication = props => {
|
|
|
6688
6714
|
expected: "(Record<string, any> | undefined)",
|
|
6689
6715
|
value: input.examples
|
|
6690
6716
|
}) ].every((flag => flag));
|
|
6691
|
-
const
|
|
6717
|
+
const _vo185 = (input, _path, _exceptionable = true) => [ null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
6692
6718
|
path: _path + '["default"]',
|
|
6693
6719
|
expected: "(null | undefined)",
|
|
6694
6720
|
value: input["default"]
|
|
@@ -6717,7 +6743,7 @@ const createHttpLlmApplication = props => {
|
|
|
6717
6743
|
expected: "(Record<string, any> | undefined)",
|
|
6718
6744
|
value: input.examples
|
|
6719
6745
|
}) ].every((flag => flag));
|
|
6720
|
-
const
|
|
6746
|
+
const _vo186 = (input, _path, _exceptionable = true) => [ true, (null !== input.type || _report(_exceptionable, {
|
|
6721
6747
|
path: _path + ".type",
|
|
6722
6748
|
expected: "undefined",
|
|
6723
6749
|
value: input.type
|
|
@@ -6746,7 +6772,7 @@ const createHttpLlmApplication = props => {
|
|
|
6746
6772
|
expected: "(Record<string, any> | undefined)",
|
|
6747
6773
|
value: input.examples
|
|
6748
6774
|
}) ].every((flag => flag));
|
|
6749
|
-
const
|
|
6775
|
+
const _vo187 = (input, _path, _exceptionable = true) => [ "string" === typeof input.propertyName || _report(_exceptionable, {
|
|
6750
6776
|
path: _path + ".propertyName",
|
|
6751
6777
|
expected: "string",
|
|
6752
6778
|
value: input.propertyName
|
|
@@ -6759,7 +6785,7 @@ const createHttpLlmApplication = props => {
|
|
|
6759
6785
|
expected: "(Record<string, string> | undefined)",
|
|
6760
6786
|
value: input.mapping
|
|
6761
6787
|
}) ].every((flag => flag));
|
|
6762
|
-
const
|
|
6788
|
+
const _vo188 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
6763
6789
|
const value = input[key];
|
|
6764
6790
|
if (undefined === value) return true;
|
|
6765
6791
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
@@ -6772,7 +6798,7 @@ const createHttpLlmApplication = props => {
|
|
|
6772
6798
|
value
|
|
6773
6799
|
});
|
|
6774
6800
|
})).every((flag => flag)) ].every((flag => flag));
|
|
6775
|
-
const
|
|
6801
|
+
const _vo189 = (input, _path, _exceptionable = true) => [ "apiKey" === input.type || _report(_exceptionable, {
|
|
6776
6802
|
path: _path + ".type",
|
|
6777
6803
|
expected: '"apiKey"',
|
|
6778
6804
|
value: input.type
|
|
@@ -6789,7 +6815,7 @@ const createHttpLlmApplication = props => {
|
|
|
6789
6815
|
expected: "(string | undefined)",
|
|
6790
6816
|
value: input.description
|
|
6791
6817
|
}) ].every((flag => flag));
|
|
6792
|
-
const
|
|
6818
|
+
const _vo190 = (input, _path, _exceptionable = true) => [ "http" === input.type || _report(_exceptionable, {
|
|
6793
6819
|
path: _path + ".type",
|
|
6794
6820
|
expected: '"http"',
|
|
6795
6821
|
value: input.type
|
|
@@ -6802,7 +6828,7 @@ const createHttpLlmApplication = props => {
|
|
|
6802
6828
|
expected: "(string | undefined)",
|
|
6803
6829
|
value: input.description
|
|
6804
6830
|
}) ].every((flag => flag));
|
|
6805
|
-
const
|
|
6831
|
+
const _vo191 = (input, _path, _exceptionable = true) => [ "http" === input.type || _report(_exceptionable, {
|
|
6806
6832
|
path: _path + ".type",
|
|
6807
6833
|
expected: '"http"',
|
|
6808
6834
|
value: input.type
|
|
@@ -6819,7 +6845,7 @@ const createHttpLlmApplication = props => {
|
|
|
6819
6845
|
expected: "(string | undefined)",
|
|
6820
6846
|
value: input.description
|
|
6821
6847
|
}) ].every((flag => flag));
|
|
6822
|
-
const
|
|
6848
|
+
const _vo192 = (input, _path, _exceptionable = true) => [ "oauth2" === input.type || _report(_exceptionable, {
|
|
6823
6849
|
path: _path + ".type",
|
|
6824
6850
|
expected: '"oauth2"',
|
|
6825
6851
|
value: input.type
|
|
@@ -6827,7 +6853,7 @@ const createHttpLlmApplication = props => {
|
|
|
6827
6853
|
path: _path + ".flows",
|
|
6828
6854
|
expected: "OpenApi.ISecurityScheme.IOAuth2.IFlowSet",
|
|
6829
6855
|
value: input.flows
|
|
6830
|
-
})) &&
|
|
6856
|
+
})) && _vo193(input.flows, _path + ".flows", _exceptionable) || _report(_exceptionable, {
|
|
6831
6857
|
path: _path + ".flows",
|
|
6832
6858
|
expected: "OpenApi.ISecurityScheme.IOAuth2.IFlowSet",
|
|
6833
6859
|
value: input.flows
|
|
@@ -6836,11 +6862,11 @@ const createHttpLlmApplication = props => {
|
|
|
6836
6862
|
expected: "(string | undefined)",
|
|
6837
6863
|
value: input.description
|
|
6838
6864
|
}) ].every((flag => flag));
|
|
6839
|
-
const
|
|
6865
|
+
const _vo193 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) || _report(_exceptionable, {
|
|
6840
6866
|
path: _path + ".authorizationCode",
|
|
6841
6867
|
expected: "(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
6842
6868
|
value: input.authorizationCode
|
|
6843
|
-
})) &&
|
|
6869
|
+
})) && _vo194(input.authorizationCode, _path + ".authorizationCode", _exceptionable) || _report(_exceptionable, {
|
|
6844
6870
|
path: _path + ".authorizationCode",
|
|
6845
6871
|
expected: "(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
6846
6872
|
value: input.authorizationCode
|
|
@@ -6848,7 +6874,7 @@ const createHttpLlmApplication = props => {
|
|
|
6848
6874
|
path: _path + ".implicit",
|
|
6849
6875
|
expected: '(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',
|
|
6850
6876
|
value: input.implicit
|
|
6851
|
-
})) &&
|
|
6877
|
+
})) && _vo195(input.implicit, _path + ".implicit", _exceptionable) || _report(_exceptionable, {
|
|
6852
6878
|
path: _path + ".implicit",
|
|
6853
6879
|
expected: '(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',
|
|
6854
6880
|
value: input.implicit
|
|
@@ -6856,7 +6882,7 @@ const createHttpLlmApplication = props => {
|
|
|
6856
6882
|
path: _path + ".password",
|
|
6857
6883
|
expected: '(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
6858
6884
|
value: input.password
|
|
6859
|
-
})) &&
|
|
6885
|
+
})) && _vo196(input.password, _path + ".password", _exceptionable) || _report(_exceptionable, {
|
|
6860
6886
|
path: _path + ".password",
|
|
6861
6887
|
expected: '(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
6862
6888
|
value: input.password
|
|
@@ -6864,12 +6890,12 @@ const createHttpLlmApplication = props => {
|
|
|
6864
6890
|
path: _path + ".clientCredentials",
|
|
6865
6891
|
expected: '(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
6866
6892
|
value: input.clientCredentials
|
|
6867
|
-
})) &&
|
|
6893
|
+
})) && _vo196(input.clientCredentials, _path + ".clientCredentials", _exceptionable) || _report(_exceptionable, {
|
|
6868
6894
|
path: _path + ".clientCredentials",
|
|
6869
6895
|
expected: '(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
|
6870
6896
|
value: input.clientCredentials
|
|
6871
6897
|
}) ].every((flag => flag));
|
|
6872
|
-
const
|
|
6898
|
+
const _vo194 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
6873
6899
|
path: _path + ".authorizationUrl",
|
|
6874
6900
|
expected: "(string | undefined)",
|
|
6875
6901
|
value: input.authorizationUrl
|
|
@@ -6890,7 +6916,7 @@ const createHttpLlmApplication = props => {
|
|
|
6890
6916
|
expected: "(Record<string, string> | undefined)",
|
|
6891
6917
|
value: input.scopes
|
|
6892
6918
|
}) ].every((flag => flag));
|
|
6893
|
-
const
|
|
6919
|
+
const _vo195 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
6894
6920
|
path: _path + ".authorizationUrl",
|
|
6895
6921
|
expected: "(string | undefined)",
|
|
6896
6922
|
value: input.authorizationUrl
|
|
@@ -6907,7 +6933,7 @@ const createHttpLlmApplication = props => {
|
|
|
6907
6933
|
expected: "(Record<string, string> | undefined)",
|
|
6908
6934
|
value: input.scopes
|
|
6909
6935
|
}) ].every((flag => flag));
|
|
6910
|
-
const
|
|
6936
|
+
const _vo196 = (input, _path, _exceptionable = true) => [ undefined === input.tokenUrl || "string" === typeof input.tokenUrl || _report(_exceptionable, {
|
|
6911
6937
|
path: _path + ".tokenUrl",
|
|
6912
6938
|
expected: "(string | undefined)",
|
|
6913
6939
|
value: input.tokenUrl
|
|
@@ -6924,7 +6950,7 @@ const createHttpLlmApplication = props => {
|
|
|
6924
6950
|
expected: "(Record<string, string> | undefined)",
|
|
6925
6951
|
value: input.scopes
|
|
6926
6952
|
}) ].every((flag => flag));
|
|
6927
|
-
const
|
|
6953
|
+
const _vo197 = (input, _path, _exceptionable = true) => [ "openIdConnect" === input.type || _report(_exceptionable, {
|
|
6928
6954
|
path: _path + ".type",
|
|
6929
6955
|
expected: '"openIdConnect"',
|
|
6930
6956
|
value: input.type
|
|
@@ -6937,20 +6963,20 @@ const createHttpLlmApplication = props => {
|
|
|
6937
6963
|
expected: "(string | undefined)",
|
|
6938
6964
|
value: input.description
|
|
6939
6965
|
}) ].every((flag => flag));
|
|
6940
|
-
const
|
|
6966
|
+
const _vo198 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
6941
6967
|
const value = input[key];
|
|
6942
6968
|
if (undefined === value) return true;
|
|
6943
6969
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
6944
6970
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6945
6971
|
expected: "OpenApi.IPath",
|
|
6946
6972
|
value
|
|
6947
|
-
})) &&
|
|
6973
|
+
})) && _vo199(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
6948
6974
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6949
6975
|
expected: "OpenApi.IPath",
|
|
6950
6976
|
value
|
|
6951
6977
|
});
|
|
6952
6978
|
})).every((flag => flag)) ].every((flag => flag));
|
|
6953
|
-
const
|
|
6979
|
+
const _vo199 = (input, _path, _exceptionable = true) => [ undefined === input.servers || (Array.isArray(input.servers) || _report(_exceptionable, {
|
|
6954
6980
|
path: _path + ".servers",
|
|
6955
6981
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
|
6956
6982
|
value: input.servers
|
|
@@ -6958,7 +6984,7 @@ const createHttpLlmApplication = props => {
|
|
|
6958
6984
|
path: _path + ".servers[" + _index158 + "]",
|
|
6959
6985
|
expected: "OpenApi.IServer",
|
|
6960
6986
|
value: elem
|
|
6961
|
-
})) &&
|
|
6987
|
+
})) && _vo167(elem, _path + ".servers[" + _index158 + "]", _exceptionable) || _report(_exceptionable, {
|
|
6962
6988
|
path: _path + ".servers[" + _index158 + "]",
|
|
6963
6989
|
expected: "OpenApi.IServer",
|
|
6964
6990
|
value: elem
|
|
@@ -6978,7 +7004,7 @@ const createHttpLlmApplication = props => {
|
|
|
6978
7004
|
path: _path + ".get",
|
|
6979
7005
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6980
7006
|
value: input.get
|
|
6981
|
-
})) &&
|
|
7007
|
+
})) && _vo200(input.get, _path + ".get", _exceptionable) || _report(_exceptionable, {
|
|
6982
7008
|
path: _path + ".get",
|
|
6983
7009
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6984
7010
|
value: input.get
|
|
@@ -6986,7 +7012,7 @@ const createHttpLlmApplication = props => {
|
|
|
6986
7012
|
path: _path + ".post",
|
|
6987
7013
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6988
7014
|
value: input.post
|
|
6989
|
-
})) &&
|
|
7015
|
+
})) && _vo200(input.post, _path + ".post", _exceptionable) || _report(_exceptionable, {
|
|
6990
7016
|
path: _path + ".post",
|
|
6991
7017
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6992
7018
|
value: input.post
|
|
@@ -6994,7 +7020,7 @@ const createHttpLlmApplication = props => {
|
|
|
6994
7020
|
path: _path + ".patch",
|
|
6995
7021
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6996
7022
|
value: input.patch
|
|
6997
|
-
})) &&
|
|
7023
|
+
})) && _vo200(input.patch, _path + ".patch", _exceptionable) || _report(_exceptionable, {
|
|
6998
7024
|
path: _path + ".patch",
|
|
6999
7025
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7000
7026
|
value: input.patch
|
|
@@ -7002,7 +7028,7 @@ const createHttpLlmApplication = props => {
|
|
|
7002
7028
|
path: _path + ".put",
|
|
7003
7029
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7004
7030
|
value: input.put
|
|
7005
|
-
})) &&
|
|
7031
|
+
})) && _vo200(input.put, _path + ".put", _exceptionable) || _report(_exceptionable, {
|
|
7006
7032
|
path: _path + ".put",
|
|
7007
7033
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7008
7034
|
value: input.put
|
|
@@ -7010,7 +7036,7 @@ const createHttpLlmApplication = props => {
|
|
|
7010
7036
|
path: _path + '["delete"]',
|
|
7011
7037
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7012
7038
|
value: input["delete"]
|
|
7013
|
-
})) &&
|
|
7039
|
+
})) && _vo200(input["delete"], _path + '["delete"]', _exceptionable) || _report(_exceptionable, {
|
|
7014
7040
|
path: _path + '["delete"]',
|
|
7015
7041
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7016
7042
|
value: input["delete"]
|
|
@@ -7018,7 +7044,7 @@ const createHttpLlmApplication = props => {
|
|
|
7018
7044
|
path: _path + ".options",
|
|
7019
7045
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7020
7046
|
value: input.options
|
|
7021
|
-
})) &&
|
|
7047
|
+
})) && _vo200(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
|
|
7022
7048
|
path: _path + ".options",
|
|
7023
7049
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7024
7050
|
value: input.options
|
|
@@ -7026,7 +7052,7 @@ const createHttpLlmApplication = props => {
|
|
|
7026
7052
|
path: _path + ".head",
|
|
7027
7053
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7028
7054
|
value: input.head
|
|
7029
|
-
})) &&
|
|
7055
|
+
})) && _vo200(input.head, _path + ".head", _exceptionable) || _report(_exceptionable, {
|
|
7030
7056
|
path: _path + ".head",
|
|
7031
7057
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7032
7058
|
value: input.head
|
|
@@ -7034,12 +7060,12 @@ const createHttpLlmApplication = props => {
|
|
|
7034
7060
|
path: _path + ".trace",
|
|
7035
7061
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7036
7062
|
value: input.trace
|
|
7037
|
-
})) &&
|
|
7063
|
+
})) && _vo200(input.trace, _path + ".trace", _exceptionable) || _report(_exceptionable, {
|
|
7038
7064
|
path: _path + ".trace",
|
|
7039
7065
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7040
7066
|
value: input.trace
|
|
7041
7067
|
}) ].every((flag => flag));
|
|
7042
|
-
const
|
|
7068
|
+
const _vo200 = (input, _path, _exceptionable = true) => [ undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
7043
7069
|
path: _path + ".operationId",
|
|
7044
7070
|
expected: "(string | undefined)",
|
|
7045
7071
|
value: input.operationId
|
|
@@ -7051,7 +7077,7 @@ const createHttpLlmApplication = props => {
|
|
|
7051
7077
|
path: _path + ".parameters[" + _index159 + "]",
|
|
7052
7078
|
expected: "OpenApi.IOperation.IParameter",
|
|
7053
7079
|
value: elem
|
|
7054
|
-
})) &&
|
|
7080
|
+
})) && _vo201(elem, _path + ".parameters[" + _index159 + "]", _exceptionable) || _report(_exceptionable, {
|
|
7055
7081
|
path: _path + ".parameters[" + _index159 + "]",
|
|
7056
7082
|
expected: "OpenApi.IOperation.IParameter",
|
|
7057
7083
|
value: elem
|
|
@@ -7063,7 +7089,7 @@ const createHttpLlmApplication = props => {
|
|
|
7063
7089
|
path: _path + ".requestBody",
|
|
7064
7090
|
expected: "(OpenApi.IOperation.IRequestBody | undefined)",
|
|
7065
7091
|
value: input.requestBody
|
|
7066
|
-
})) &&
|
|
7092
|
+
})) && _vo204(input.requestBody, _path + ".requestBody", _exceptionable) || _report(_exceptionable, {
|
|
7067
7093
|
path: _path + ".requestBody",
|
|
7068
7094
|
expected: "(OpenApi.IOperation.IRequestBody | undefined)",
|
|
7069
7095
|
value: input.requestBody
|
|
@@ -7071,7 +7097,7 @@ const createHttpLlmApplication = props => {
|
|
|
7071
7097
|
path: _path + ".responses",
|
|
7072
7098
|
expected: "(Record<string, OpenApi.IOperation.IResponse> | undefined)",
|
|
7073
7099
|
value: input.responses
|
|
7074
|
-
})) &&
|
|
7100
|
+
})) && _vo207(input.responses, _path + ".responses", _exceptionable) || _report(_exceptionable, {
|
|
7075
7101
|
path: _path + ".responses",
|
|
7076
7102
|
expected: "(Record<string, OpenApi.IOperation.IResponse> | undefined)",
|
|
7077
7103
|
value: input.responses
|
|
@@ -7083,7 +7109,7 @@ const createHttpLlmApplication = props => {
|
|
|
7083
7109
|
path: _path + ".servers[" + _index160 + "]",
|
|
7084
7110
|
expected: "OpenApi.IServer",
|
|
7085
7111
|
value: elem
|
|
7086
|
-
})) &&
|
|
7112
|
+
})) && _vo167(elem, _path + ".servers[" + _index160 + "]", _exceptionable) || _report(_exceptionable, {
|
|
7087
7113
|
path: _path + ".servers[" + _index160 + "]",
|
|
7088
7114
|
expected: "OpenApi.IServer",
|
|
7089
7115
|
value: elem
|
|
@@ -7152,7 +7178,7 @@ const createHttpLlmApplication = props => {
|
|
|
7152
7178
|
expected: "(string | undefined)",
|
|
7153
7179
|
value: input["x-samchon-controller"]
|
|
7154
7180
|
}) ].every((flag => flag));
|
|
7155
|
-
const
|
|
7181
|
+
const _vo201 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
7156
7182
|
path: _path + ".name",
|
|
7157
7183
|
expected: "(string | undefined)",
|
|
7158
7184
|
value: input.name
|
|
@@ -7184,25 +7210,25 @@ const createHttpLlmApplication = props => {
|
|
|
7184
7210
|
path: _path + ".examples",
|
|
7185
7211
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7186
7212
|
value: input.examples
|
|
7187
|
-
})) &&
|
|
7213
|
+
})) && _vo202(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
7188
7214
|
path: _path + ".examples",
|
|
7189
7215
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7190
7216
|
value: input.examples
|
|
7191
7217
|
}) ].every((flag => flag));
|
|
7192
|
-
const
|
|
7218
|
+
const _vo202 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
7193
7219
|
const value = input[key];
|
|
7194
7220
|
if (undefined === value) return true;
|
|
7195
7221
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
7196
7222
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7197
7223
|
expected: "OpenApi.IExample",
|
|
7198
7224
|
value
|
|
7199
|
-
})) &&
|
|
7225
|
+
})) && _vo203(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
7200
7226
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7201
7227
|
expected: "OpenApi.IExample",
|
|
7202
7228
|
value
|
|
7203
7229
|
});
|
|
7204
7230
|
})).every((flag => flag)) ].every((flag => flag));
|
|
7205
|
-
const
|
|
7231
|
+
const _vo203 = (input, _path, _exceptionable = true) => [ undefined === input.summary || "string" === typeof input.summary || _report(_exceptionable, {
|
|
7206
7232
|
path: _path + ".summary",
|
|
7207
7233
|
expected: "(string | undefined)",
|
|
7208
7234
|
value: input.summary
|
|
@@ -7215,11 +7241,11 @@ const createHttpLlmApplication = props => {
|
|
|
7215
7241
|
expected: "(string | undefined)",
|
|
7216
7242
|
value: input.externalValue
|
|
7217
7243
|
}) ].every((flag => flag));
|
|
7218
|
-
const
|
|
7244
|
+
const _vo204 = (input, _path, _exceptionable = true) => [ undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || _report(_exceptionable, {
|
|
7219
7245
|
path: _path + ".content",
|
|
7220
7246
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7221
7247
|
value: input.content
|
|
7222
|
-
})) &&
|
|
7248
|
+
})) && _vo205(input.content, _path + ".content", _exceptionable) || _report(_exceptionable, {
|
|
7223
7249
|
path: _path + ".content",
|
|
7224
7250
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7225
7251
|
value: input.content
|
|
@@ -7236,11 +7262,11 @@ const createHttpLlmApplication = props => {
|
|
|
7236
7262
|
expected: "(boolean | undefined)",
|
|
7237
7263
|
value: input["x-nestia-encrypted"]
|
|
7238
7264
|
}) ].every((flag => flag));
|
|
7239
|
-
const
|
|
7265
|
+
const _vo205 = (input, _path, _exceptionable = true) => [ undefined === input["text/plain"] || ("object" === typeof input["text/plain"] && null !== input["text/plain"] && false === Array.isArray(input["text/plain"]) || _report(_exceptionable, {
|
|
7240
7266
|
path: _path + '["text/plain"]',
|
|
7241
7267
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7242
7268
|
value: input["text/plain"]
|
|
7243
|
-
})) &&
|
|
7269
|
+
})) && _vo206(input["text/plain"], _path + '["text/plain"]', _exceptionable) || _report(_exceptionable, {
|
|
7244
7270
|
path: _path + '["text/plain"]',
|
|
7245
7271
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7246
7272
|
value: input["text/plain"]
|
|
@@ -7248,7 +7274,7 @@ const createHttpLlmApplication = props => {
|
|
|
7248
7274
|
path: _path + '["application/json"]',
|
|
7249
7275
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7250
7276
|
value: input["application/json"]
|
|
7251
|
-
})) &&
|
|
7277
|
+
})) && _vo206(input["application/json"], _path + '["application/json"]', _exceptionable) || _report(_exceptionable, {
|
|
7252
7278
|
path: _path + '["application/json"]',
|
|
7253
7279
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7254
7280
|
value: input["application/json"]
|
|
@@ -7256,7 +7282,7 @@ const createHttpLlmApplication = props => {
|
|
|
7256
7282
|
path: _path + '["application/x-www-form-url-encoded"]',
|
|
7257
7283
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7258
7284
|
value: input["application/x-www-form-url-encoded"]
|
|
7259
|
-
})) &&
|
|
7285
|
+
})) && _vo206(input["application/x-www-form-url-encoded"], _path + '["application/x-www-form-url-encoded"]', _exceptionable) || _report(_exceptionable, {
|
|
7260
7286
|
path: _path + '["application/x-www-form-url-encoded"]',
|
|
7261
7287
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7262
7288
|
value: input["application/x-www-form-url-encoded"]
|
|
@@ -7264,7 +7290,7 @@ const createHttpLlmApplication = props => {
|
|
|
7264
7290
|
path: _path + '["multipart/form-data"]',
|
|
7265
7291
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7266
7292
|
value: input["multipart/form-data"]
|
|
7267
|
-
})) &&
|
|
7293
|
+
})) && _vo206(input["multipart/form-data"], _path + '["multipart/form-data"]', _exceptionable) || _report(_exceptionable, {
|
|
7268
7294
|
path: _path + '["multipart/form-data"]',
|
|
7269
7295
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7270
7296
|
value: input["multipart/form-data"]
|
|
@@ -7272,7 +7298,7 @@ const createHttpLlmApplication = props => {
|
|
|
7272
7298
|
path: _path + '["*/*"]',
|
|
7273
7299
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7274
7300
|
value: input["*/*"]
|
|
7275
|
-
})) &&
|
|
7301
|
+
})) && _vo206(input["*/*"], _path + '["*/*"]', _exceptionable) || _report(_exceptionable, {
|
|
7276
7302
|
path: _path + '["*/*"]',
|
|
7277
7303
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7278
7304
|
value: input["*/*"]
|
|
@@ -7284,13 +7310,13 @@ const createHttpLlmApplication = props => {
|
|
|
7284
7310
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7285
7311
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7286
7312
|
value
|
|
7287
|
-
})) &&
|
|
7313
|
+
})) && _vo206(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
7288
7314
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7289
7315
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7290
7316
|
value
|
|
7291
7317
|
});
|
|
7292
7318
|
})).every((flag => flag)) ].every((flag => flag));
|
|
7293
|
-
const
|
|
7319
|
+
const _vo206 = (input, _path, _exceptionable = true) => [ undefined === input.schema || ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
7294
7320
|
path: _path + ".schema",
|
|
7295
7321
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown | undefined)",
|
|
7296
7322
|
value: input.schema
|
|
@@ -7302,29 +7328,29 @@ const createHttpLlmApplication = props => {
|
|
|
7302
7328
|
path: _path + ".examples",
|
|
7303
7329
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7304
7330
|
value: input.examples
|
|
7305
|
-
})) &&
|
|
7331
|
+
})) && _vo202(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
7306
7332
|
path: _path + ".examples",
|
|
7307
7333
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7308
7334
|
value: input.examples
|
|
7309
7335
|
}) ].every((flag => flag));
|
|
7310
|
-
const
|
|
7336
|
+
const _vo207 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
7311
7337
|
const value = input[key];
|
|
7312
7338
|
if (undefined === value) return true;
|
|
7313
7339
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
7314
7340
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7315
7341
|
expected: "OpenApi.IOperation.IResponse",
|
|
7316
7342
|
value
|
|
7317
|
-
})) &&
|
|
7343
|
+
})) && _vo208(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
7318
7344
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7319
7345
|
expected: "OpenApi.IOperation.IResponse",
|
|
7320
7346
|
value
|
|
7321
7347
|
});
|
|
7322
7348
|
})).every((flag => flag)) ].every((flag => flag));
|
|
7323
|
-
const
|
|
7349
|
+
const _vo208 = (input, _path, _exceptionable = true) => [ undefined === input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
7324
7350
|
path: _path + ".headers",
|
|
7325
7351
|
expected: "(Record<string, OpenApi.IOperation.IParameter> | undefined)",
|
|
7326
7352
|
value: input.headers
|
|
7327
|
-
})) &&
|
|
7353
|
+
})) && _vo209(input.headers, _path + ".headers", _exceptionable) || _report(_exceptionable, {
|
|
7328
7354
|
path: _path + ".headers",
|
|
7329
7355
|
expected: "(Record<string, OpenApi.IOperation.IParameter> | undefined)",
|
|
7330
7356
|
value: input.headers
|
|
@@ -7332,7 +7358,7 @@ const createHttpLlmApplication = props => {
|
|
|
7332
7358
|
path: _path + ".content",
|
|
7333
7359
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7334
7360
|
value: input.content
|
|
7335
|
-
})) &&
|
|
7361
|
+
})) && _vo205(input.content, _path + ".content", _exceptionable) || _report(_exceptionable, {
|
|
7336
7362
|
path: _path + ".content",
|
|
7337
7363
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7338
7364
|
value: input.content
|
|
@@ -7345,20 +7371,20 @@ const createHttpLlmApplication = props => {
|
|
|
7345
7371
|
expected: "(boolean | undefined)",
|
|
7346
7372
|
value: input["x-nestia-encrypted"]
|
|
7347
7373
|
}) ].every((flag => flag));
|
|
7348
|
-
const
|
|
7374
|
+
const _vo209 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
|
7349
7375
|
const value = input[key];
|
|
7350
7376
|
if (undefined === value) return true;
|
|
7351
7377
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
|
7352
7378
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7353
7379
|
expected: "OpenApi.IOperation.IParameter",
|
|
7354
7380
|
value
|
|
7355
|
-
})) &&
|
|
7381
|
+
})) && _vo201(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
|
7356
7382
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7357
7383
|
expected: "OpenApi.IOperation.IParameter",
|
|
7358
7384
|
value
|
|
7359
7385
|
});
|
|
7360
7386
|
})).every((flag => flag)) ].every((flag => flag));
|
|
7361
|
-
const
|
|
7387
|
+
const _vo210 = (input, _path, _exceptionable = true) => [ "string" === typeof input.name || _report(_exceptionable, {
|
|
7362
7388
|
path: _path + ".name",
|
|
7363
7389
|
expected: "string",
|
|
7364
7390
|
value: input.name
|
|
@@ -7368,16 +7394,16 @@ const createHttpLlmApplication = props => {
|
|
|
7368
7394
|
value: input.description
|
|
7369
7395
|
}) ].every((flag => flag));
|
|
7370
7396
|
const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
7371
|
-
if ("boolean" === input.type) return _vo5(input, _path, _exceptionable); else if ("number" === input.type) return _vo7(input, _path, _exceptionable); else if ("integer" === input.type) return _vo6(input, _path, _exceptionable); else if ("string" === input.type) return _vo8(input, _path, _exceptionable); else if ("array" === input.type) return _vo9(input, _path, _exceptionable); else if ("object" === input.type) return _vo10(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo11(input, _path, _exceptionable); else if (
|
|
7397
|
+
if ("boolean" === input.type) return _vo5(input, _path, _exceptionable); else if ("number" === input.type) return _vo7(input, _path, _exceptionable); else if ("integer" === input.type) return _vo6(input, _path, _exceptionable); else if ("string" === input.type) return _vo8(input, _path, _exceptionable); else if ("array" === input.type) return _vo9(input, _path, _exceptionable); else if ("object" === input.type) return _vo10(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo11(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo12(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo13(input, _path, _exceptionable); else if ("null" === input.type) return _vo14(input, _path, _exceptionable); else return _vo15(input, _path, _exceptionable);
|
|
7372
7398
|
})();
|
|
7373
7399
|
const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
7374
|
-
if ("boolean" === input.type) return _vo17(input, _path, _exceptionable); else if ("number" === input.type) return _vo19(input, _path, _exceptionable); else if ("integer" === input.type) return _vo18(input, _path, _exceptionable); else if ("string" === input.type) return _vo20(input, _path, _exceptionable); else if ("array" === input.type) return _vo21(input, _path, _exceptionable); else if ("object" === input.type) return _vo22(input, _path, _exceptionable); else if (
|
|
7400
|
+
if ("boolean" === input.type) return _vo17(input, _path, _exceptionable); else if ("number" === input.type) return _vo19(input, _path, _exceptionable); else if ("integer" === input.type) return _vo18(input, _path, _exceptionable); else if ("string" === input.type) return _vo20(input, _path, _exceptionable); else if ("array" === input.type) return _vo21(input, _path, _exceptionable); else if ("object" === input.type) return _vo22(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo24(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo25(input, _path, _exceptionable); else if ("null" === input.type) return _vo26(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo28(input, _path, _exceptionable); else return _vo23(input, _path, false) || _vo27(input, _path, false) || _vo42(input, _path, false);
|
|
7375
7401
|
})();
|
|
7376
7402
|
const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
7377
|
-
if ("boolean" === input.type) return _vo17(input, _path, _exceptionable); else if ("number" === input.type) return _vo19(input, _path, _exceptionable); else if ("integer" === input.type) return _vo18(input, _path, _exceptionable); else if ("string" === input.type) return _vo20(input, _path, _exceptionable); else if ("array" === input.type) return _vo21(input, _path, _exceptionable); else if ("object" === input.type) return _vo22(input, _path, _exceptionable); else if (
|
|
7403
|
+
if ("boolean" === input.type) return _vo17(input, _path, _exceptionable); else if ("number" === input.type) return _vo19(input, _path, _exceptionable); else if ("integer" === input.type) return _vo18(input, _path, _exceptionable); else if ("string" === input.type) return _vo20(input, _path, _exceptionable); else if ("array" === input.type) return _vo21(input, _path, _exceptionable); else if ("object" === input.type) return _vo22(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo24(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo25(input, _path, _exceptionable); else if ("null" === input.type) return _vo26(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo28(input, _path, _exceptionable); else return _vo23(input, _path, false) || _vo27(input, _path, false) || _vo44(input, _path, false);
|
|
7378
7404
|
})();
|
|
7379
7405
|
const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
|
7380
|
-
if ("boolean" === input.type) return _vo57(input, _path, _exceptionable); else if ("number" === input.type) return _vo60(input, _path, _exceptionable); else if ("integer" === input.type) return _vo59(input, _path, _exceptionable); else if ("string" === input.type) return _vo61(input, _path, _exceptionable); else if ("array" === input.type) return _vo62(input, _path, _exceptionable); else if ("object" === input.type) return _vo63(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo64(input, _path, _exceptionable); else if (
|
|
7406
|
+
if ("boolean" === input.type) return _vo57(input, _path, _exceptionable); else if ("number" === input.type) return _vo60(input, _path, _exceptionable); else if ("integer" === input.type) return _vo59(input, _path, _exceptionable); else if ("string" === input.type) return _vo61(input, _path, _exceptionable); else if ("array" === input.type) return _vo62(input, _path, _exceptionable); else if ("object" === input.type) return _vo63(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo64(input, _path, _exceptionable); else if (undefined !== input.allOf) return _vo65(input, _path, _exceptionable); else if (undefined !== input.anyOf) return _vo66(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _vo67(input, _path, _exceptionable); else if ("null" === input.type) return _vo69(input, _path, _exceptionable); else return _vo70(input, _path, _exceptionable);
|
|
7381
7407
|
})();
|
|
7382
7408
|
const _vu4 = (input, _path, _exceptionable = true) => (() => {
|
|
7383
7409
|
if (undefined !== input["in"]) return _vo82(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _vo99(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _vo80(input, _path, _exceptionable); else return _report(_exceptionable, {
|
|
@@ -7387,25 +7413,25 @@ const createHttpLlmApplication = props => {
|
|
|
7387
7413
|
});
|
|
7388
7414
|
})();
|
|
7389
7415
|
const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
|
7390
|
-
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))) return _vo114(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo116(input, _path, _exceptionable); else if ("number" === input.type) return _vo118(input, _path, _exceptionable); else if ("integer" === input.type) return _vo117(input, _path, _exceptionable); else if ("string" === input.type) return _vo119(input, _path, _exceptionable); else if ("array" === input.type) return _vo120(input, _path, _exceptionable); else if ("object" === input.type) return _vo121(input, _path, _exceptionable); else if ("null" === input.type) return
|
|
7391
|
-
if (undefined !== input["const"]) return _vo115(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo122(input, _path, _exceptionable); else if (undefined !== input.allOf) return
|
|
7416
|
+
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))) return _vo114(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo116(input, _path, _exceptionable); else if ("number" === input.type) return _vo118(input, _path, _exceptionable); else if ("integer" === input.type) return _vo117(input, _path, _exceptionable); else if ("string" === input.type) return _vo119(input, _path, _exceptionable); else if ("array" === input.type) return _vo120(input, _path, _exceptionable); else if ("object" === input.type) return _vo121(input, _path, _exceptionable); else if (undefined !== input.$recursiveRef) return _vo123(input, _path, _exceptionable); else if ("null" === input.type) return _vo128(input, _path, _exceptionable); else return (() => {
|
|
7417
|
+
if (undefined !== input["const"]) return _vo115(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo122(input, _path, _exceptionable); else if (undefined !== input.allOf) return _vo124(input, _path, _exceptionable); else if (undefined !== input.anyOf) return _vo125(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _vo126(input, _path, _exceptionable); else return _vo129(input, _path, _exceptionable);
|
|
7392
7418
|
})();
|
|
7393
7419
|
})();
|
|
7394
7420
|
const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
7395
|
-
if (undefined !== input["in"]) return
|
|
7421
|
+
if (undefined !== input["in"]) return _vo132(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _vo137(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _vo136(input, _path, _exceptionable); else return _report(_exceptionable, {
|
|
7396
7422
|
path: _path,
|
|
7397
7423
|
expected: "(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
|
7398
7424
|
value: input
|
|
7399
7425
|
});
|
|
7400
7426
|
})();
|
|
7401
7427
|
const _vu7 = (input, _path, _exceptionable = true) => (() => {
|
|
7402
|
-
if (undefined !== input["const"]) return
|
|
7428
|
+
if (undefined !== input["const"]) return _vo175(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo176(input, _path, _exceptionable); else if ("number" === input.type) return _vo178(input, _path, _exceptionable); else if ("integer" === input.type) return _vo177(input, _path, _exceptionable); else if ("string" === input.type) return _vo179(input, _path, _exceptionable); else if (undefined !== input.items) return _vo180(input, _path, _exceptionable); else if (undefined !== input.prefixItems) return _vo181(input, _path, _exceptionable); else if ("object" === input.type) return _vo182(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo183(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _vo184(input, _path, _exceptionable); else if ("null" === input.type) return _vo185(input, _path, _exceptionable); else return _vo186(input, _path, _exceptionable);
|
|
7403
7429
|
})();
|
|
7404
7430
|
const _vu8 = (input, _path, _exceptionable = true) => (() => {
|
|
7405
|
-
if (undefined !== input["const"]) return
|
|
7431
|
+
if (undefined !== input["const"]) return _vo175(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo176(input, _path, _exceptionable); else if ("number" === input.type) return _vo178(input, _path, _exceptionable); else if ("integer" === input.type) return _vo177(input, _path, _exceptionable); else if ("string" === input.type) return _vo179(input, _path, _exceptionable); else if (undefined !== input.items) return _vo180(input, _path, _exceptionable); else if (undefined !== input.prefixItems) return _vo181(input, _path, _exceptionable); else if ("object" === input.type) return _vo182(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo183(input, _path, _exceptionable); else if ("null" === input.type) return _vo185(input, _path, _exceptionable); else return _vo186(input, _path, _exceptionable);
|
|
7406
7432
|
})();
|
|
7407
7433
|
const _vu9 = (input, _path, _exceptionable = true) => (() => {
|
|
7408
|
-
if ("boolean" === input.type) return _vo17(input, _path, _exceptionable); else if ("number" === input.type) return _vo19(input, _path, _exceptionable); else if ("integer" === input.type) return _vo18(input, _path, _exceptionable); else if ("string" === input.type) return _vo20(input, _path, _exceptionable); else if ("array" === input.type) return _vo21(input, _path, _exceptionable); else if ("object" === input.type) return _vo22(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo23(input, _path, _exceptionable); else if (
|
|
7434
|
+
if ("boolean" === input.type) return _vo17(input, _path, _exceptionable); else if ("number" === input.type) return _vo19(input, _path, _exceptionable); else if ("integer" === input.type) return _vo18(input, _path, _exceptionable); else if ("string" === input.type) return _vo20(input, _path, _exceptionable); else if ("array" === input.type) return _vo21(input, _path, _exceptionable); else if ("object" === input.type) return _vo22(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo23(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo24(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo25(input, _path, _exceptionable); else if ("null" === input.type) return _vo26(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo28(input, _path, _exceptionable); else return _vo27(input, _path, _exceptionable);
|
|
7409
7435
|
})();
|
|
7410
7436
|
const _vu10 = (input, _path, _exceptionable = true) => (() => {
|
|
7411
7437
|
if ("apiKey" === input.type) return _vo32(input, _path, _exceptionable); else if ("basic" === input.type) return _vo33(input, _path, _exceptionable); else if ("implicit" === input.flow) return _vo34(input, _path, _exceptionable); else if ("accessCode" === input.flow) return _vo36(input, _path, _exceptionable); else if ("application" === input.flow) return _vo38(input, _path, _exceptionable); else if ("password" === input.flow) return _vo37(input, _path, _exceptionable); else return _report(_exceptionable, {
|
|
@@ -7441,40 +7467,40 @@ const createHttpLlmApplication = props => {
|
|
|
7441
7467
|
if (undefined !== input.$ref) return _vo103(input, _path, _exceptionable); else return _vo72(input, _path, _exceptionable);
|
|
7442
7468
|
})();
|
|
7443
7469
|
const _vu17 = (input, _path, _exceptionable = true) => (() => {
|
|
7444
|
-
if (undefined !== input.$ref) return
|
|
7470
|
+
if (undefined !== input.$ref) return _vo135(input, _path, _exceptionable); else return _vo134(input, _path, _exceptionable);
|
|
7445
7471
|
})();
|
|
7446
7472
|
const _vu18 = (input, _path, _exceptionable = true) => (() => {
|
|
7447
|
-
if (undefined !== input.$ref) return
|
|
7473
|
+
if (undefined !== input.$ref) return _vo142(input, _path, _exceptionable); else return _vo139(input, _path, _exceptionable);
|
|
7448
7474
|
})();
|
|
7449
7475
|
const _vu19 = (input, _path, _exceptionable = true) => (() => {
|
|
7450
|
-
if (undefined !== input.$ref) return
|
|
7476
|
+
if (undefined !== input.$ref) return _vo147(input, _path, _exceptionable); else return _vo144(input, _path, _exceptionable);
|
|
7451
7477
|
})();
|
|
7452
7478
|
const _vu20 = (input, _path, _exceptionable = true) => (() => {
|
|
7453
|
-
if (undefined !== input.$ref) return
|
|
7479
|
+
if (undefined !== input.$ref) return _vo136(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo146(input, _path, _exceptionable); else return _report(_exceptionable, {
|
|
7454
7480
|
path: _path,
|
|
7455
7481
|
expected: '(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',
|
|
7456
7482
|
value: input
|
|
7457
7483
|
});
|
|
7458
7484
|
})();
|
|
7459
7485
|
const _vu21 = (input, _path, _exceptionable = true) => (() => {
|
|
7460
|
-
if ("apiKey" === input.type) return
|
|
7486
|
+
if ("apiKey" === input.type) return _vo152(input, _path, _exceptionable); else if ("basic" === input.scheme) return _vo153(input, _path, _exceptionable); else if ("bearer" === input.scheme) return _vo154(input, _path, _exceptionable); else if ("oauth2" === input.type) return _vo155(input, _path, _exceptionable); else if ("openIdConnect" === input.type) return _vo160(input, _path, _exceptionable); else return _report(_exceptionable, {
|
|
7461
7487
|
path: _path,
|
|
7462
7488
|
expected: "(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",
|
|
7463
7489
|
value: input
|
|
7464
7490
|
});
|
|
7465
7491
|
})();
|
|
7466
7492
|
const _vu22 = (input, _path, _exceptionable = true) => (() => {
|
|
7467
|
-
if (undefined !== input.$ref) return
|
|
7493
|
+
if (undefined !== input.$ref) return _vo164(input, _path, _exceptionable); else return _vo131(input, _path, _exceptionable);
|
|
7468
7494
|
})();
|
|
7469
7495
|
const _vu23 = (input, _path, _exceptionable = true) => (() => {
|
|
7470
|
-
if ("apiKey" === input.type) return
|
|
7496
|
+
if ("apiKey" === input.type) return _vo189(input, _path, _exceptionable); else if ("basic" === input.scheme) return _vo190(input, _path, _exceptionable); else if ("bearer" === input.scheme) return _vo191(input, _path, _exceptionable); else if ("oauth2" === input.type) return _vo192(input, _path, _exceptionable); else if ("openIdConnect" === input.type) return _vo197(input, _path, _exceptionable); else return _report(_exceptionable, {
|
|
7471
7497
|
path: _path,
|
|
7472
7498
|
expected: "(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",
|
|
7473
7499
|
value: input
|
|
7474
7500
|
});
|
|
7475
7501
|
})();
|
|
7476
7502
|
const _vu24 = (input, _path, _exceptionable = true) => (() => {
|
|
7477
|
-
if (undefined !== input.swagger) return _vo0(input, _path, _exceptionable); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _vo48(input, _path, _exceptionable); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _vo105(input, _path, _exceptionable); else if (undefined !== input["x-samchon-emended"]) return
|
|
7503
|
+
if (undefined !== input.swagger) return _vo0(input, _path, _exceptionable); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _vo48(input, _path, _exceptionable); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _vo105(input, _path, _exceptionable); else if (undefined !== input["x-samchon-emended"]) return _vo166(input, _path, _exceptionable); else return _report(_exceptionable, {
|
|
7478
7504
|
path: _path,
|
|
7479
7505
|
expected: "(SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument)",
|
|
7480
7506
|
value: input
|
|
@@ -7900,7 +7926,68 @@ const CONTAINER$1 = {
|
|
|
7900
7926
|
additionalProperties: false,
|
|
7901
7927
|
$defs: {}
|
|
7902
7928
|
},
|
|
7903
|
-
description: "Cancel a function from the candidate list to call.\n\nIf you A.I. agent has understood that the user wants to cancel\nsome candidate functions to call from the conversation, please cancel\nthem through this function.\n\nAlso, when you A.I. find a function that has been selected by the candidate\npooling, cancel the function by calling this function. For reference, the\ncandidate pooling means that user wants only one function to call, but you A.I.\nagent selects multiple candidate functions because the A.I. agent can't specify\nonly one thing due to lack of specificity or homogeneity of candidate functions.\n\nAdditionally, if you A.I. agent wants to cancel same function multiply, you can\ndo it by assigning the same function name multiply in the `functions` property."
|
|
7929
|
+
description: "Cancel a function from the candidate list to call.\n\nIf you A.I. agent has understood that the user wants to cancel\nsome candidate functions to call from the conversation, please cancel\nthem through this function.\n\nAlso, when you A.I. find a function that has been selected by the candidate\npooling, cancel the function by calling this function. For reference, the\ncandidate pooling means that user wants only one function to call, but you A.I.\nagent selects multiple candidate functions because the A.I. agent can't specify\nonly one thing due to lack of specificity or homogeneity of candidate functions.\n\nAdditionally, if you A.I. agent wants to cancel same function multiply, you can\ndo it by assigning the same function name multiply in the `functions` property.",
|
|
7930
|
+
validate: (() => {
|
|
7931
|
+
const _io0 = input => Array.isArray(input.functions) && input.functions.every((elem => "object" === typeof elem && null !== elem && _io1(elem)));
|
|
7932
|
+
const _io1 = input => "string" === typeof input.reason && "string" === typeof input.name;
|
|
7933
|
+
const _vo0 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.functions) || _report(_exceptionable, {
|
|
7934
|
+
path: _path + ".functions",
|
|
7935
|
+
expected: "Array<___IChatFunctionReference>",
|
|
7936
|
+
value: input.functions
|
|
7937
|
+
})) && input.functions.map(((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
7938
|
+
path: _path + ".functions[" + _index2 + "]",
|
|
7939
|
+
expected: "___IChatFunctionReference",
|
|
7940
|
+
value: elem
|
|
7941
|
+
})) && _vo1(elem, _path + ".functions[" + _index2 + "]", _exceptionable) || _report(_exceptionable, {
|
|
7942
|
+
path: _path + ".functions[" + _index2 + "]",
|
|
7943
|
+
expected: "___IChatFunctionReference",
|
|
7944
|
+
value: elem
|
|
7945
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
7946
|
+
path: _path + ".functions",
|
|
7947
|
+
expected: "Array<___IChatFunctionReference>",
|
|
7948
|
+
value: input.functions
|
|
7949
|
+
}) ].every((flag => flag));
|
|
7950
|
+
const _vo1 = (input, _path, _exceptionable = true) => [ "string" === typeof input.reason || _report(_exceptionable, {
|
|
7951
|
+
path: _path + ".reason",
|
|
7952
|
+
expected: "string",
|
|
7953
|
+
value: input.reason
|
|
7954
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
7955
|
+
path: _path + ".name",
|
|
7956
|
+
expected: "string",
|
|
7957
|
+
value: input.name
|
|
7958
|
+
}) ].every((flag => flag));
|
|
7959
|
+
const __is = input => "object" === typeof input && null !== input && _io0(input);
|
|
7960
|
+
let errors;
|
|
7961
|
+
let _report;
|
|
7962
|
+
return input => {
|
|
7963
|
+
if (false === __is(input)) {
|
|
7964
|
+
errors = [];
|
|
7965
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
7966
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
7967
|
+
path: _path + "",
|
|
7968
|
+
expected: "__IChatFunctionReference.IProps",
|
|
7969
|
+
value: input
|
|
7970
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
7971
|
+
path: _path + "",
|
|
7972
|
+
expected: "__IChatFunctionReference.IProps",
|
|
7973
|
+
value: input
|
|
7974
|
+
}))(input, "$input", true);
|
|
7975
|
+
const success = 0 === errors.length;
|
|
7976
|
+
return success ? {
|
|
7977
|
+
success,
|
|
7978
|
+
data: input
|
|
7979
|
+
} : {
|
|
7980
|
+
success,
|
|
7981
|
+
errors,
|
|
7982
|
+
data: input
|
|
7983
|
+
};
|
|
7984
|
+
}
|
|
7985
|
+
return {
|
|
7986
|
+
success: true,
|
|
7987
|
+
data: input
|
|
7988
|
+
};
|
|
7989
|
+
};
|
|
7990
|
+
})()
|
|
7904
7991
|
} ]
|
|
7905
7992
|
};
|
|
7906
7993
|
|
|
@@ -9814,7 +9901,42 @@ const FUNCTION = {
|
|
|
9814
9901
|
required: [ "method", "path", "name", "parameters" ]
|
|
9815
9902
|
}
|
|
9816
9903
|
},
|
|
9817
|
-
description: "Get list of API functions.\n\nIf user seems like to request some function calling except this one,\ncall this `getApiFunctions()` to get the list of candidate API functions\nprovided from this application.\n\nAlso, user just wants to list up every remote API functions that can be\ncalled from the backend server, utilize this function too."
|
|
9904
|
+
description: "Get list of API functions.\n\nIf user seems like to request some function calling except this one,\ncall this `getApiFunctions()` to get the list of candidate API functions\nprovided from this application.\n\nAlso, user just wants to list up every remote API functions that can be\ncalled from the backend server, utilize this function too.",
|
|
9905
|
+
validate: (() => {
|
|
9906
|
+
const _io0 = input => true;
|
|
9907
|
+
const _vo0 = (input, _path, _exceptionable = true) => true;
|
|
9908
|
+
const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0();
|
|
9909
|
+
let errors;
|
|
9910
|
+
let _report;
|
|
9911
|
+
return input => {
|
|
9912
|
+
if (false === __is(input)) {
|
|
9913
|
+
errors = [];
|
|
9914
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
9915
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
9916
|
+
path: _path + "",
|
|
9917
|
+
expected: "{}",
|
|
9918
|
+
value: input
|
|
9919
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
9920
|
+
path: _path + "",
|
|
9921
|
+
expected: "{}",
|
|
9922
|
+
value: input
|
|
9923
|
+
}))(input, "$input", true);
|
|
9924
|
+
const success = 0 === errors.length;
|
|
9925
|
+
return success ? {
|
|
9926
|
+
success,
|
|
9927
|
+
data: input
|
|
9928
|
+
} : {
|
|
9929
|
+
success,
|
|
9930
|
+
errors,
|
|
9931
|
+
data: input
|
|
9932
|
+
};
|
|
9933
|
+
}
|
|
9934
|
+
return {
|
|
9935
|
+
success: true,
|
|
9936
|
+
data: input
|
|
9937
|
+
};
|
|
9938
|
+
};
|
|
9939
|
+
})()
|
|
9818
9940
|
} ]
|
|
9819
9941
|
}.functions[0];
|
|
9820
9942
|
|
|
@@ -10081,7 +10203,68 @@ const CONTAINER = {
|
|
|
10081
10203
|
additionalProperties: false,
|
|
10082
10204
|
$defs: {}
|
|
10083
10205
|
},
|
|
10084
|
-
description: "Select proper API functions to call.\n\nIf you A.I. agent has found some proper API functions to call\nfrom the conversation with user, please select the API functions\njust by calling this function.\n\nWhen user wants to call a same function multiply, you A.I. agent must\nlist up it multiply in the `functions` property. Otherwise the user has\nrequested to call many different functions, you A.I. agent have to assign\nthem all into the `functions` property.\n\nAlso, if you A.I. agent can't specify a specific function to call due to lack\nof specificity or homogeneity of candidate functions, just assign all of them\nby in the` functions` property` too. Instead, when you A.I. agent can specify\na specific function to call, the others would be eliminated."
|
|
10206
|
+
description: "Select proper API functions to call.\n\nIf you A.I. agent has found some proper API functions to call\nfrom the conversation with user, please select the API functions\njust by calling this function.\n\nWhen user wants to call a same function multiply, you A.I. agent must\nlist up it multiply in the `functions` property. Otherwise the user has\nrequested to call many different functions, you A.I. agent have to assign\nthem all into the `functions` property.\n\nAlso, if you A.I. agent can't specify a specific function to call due to lack\nof specificity or homogeneity of candidate functions, just assign all of them\nby in the` functions` property` too. Instead, when you A.I. agent can specify\na specific function to call, the others would be eliminated.",
|
|
10207
|
+
validate: (() => {
|
|
10208
|
+
const _io0 = input => Array.isArray(input.functions) && input.functions.every((elem => "object" === typeof elem && null !== elem && _io1(elem)));
|
|
10209
|
+
const _io1 = input => "string" === typeof input.reason && "string" === typeof input.name;
|
|
10210
|
+
const _vo0 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.functions) || _report(_exceptionable, {
|
|
10211
|
+
path: _path + ".functions",
|
|
10212
|
+
expected: "Array<___IChatFunctionReference>",
|
|
10213
|
+
value: input.functions
|
|
10214
|
+
})) && input.functions.map(((elem, _index2) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
10215
|
+
path: _path + ".functions[" + _index2 + "]",
|
|
10216
|
+
expected: "___IChatFunctionReference",
|
|
10217
|
+
value: elem
|
|
10218
|
+
})) && _vo1(elem, _path + ".functions[" + _index2 + "]", _exceptionable) || _report(_exceptionable, {
|
|
10219
|
+
path: _path + ".functions[" + _index2 + "]",
|
|
10220
|
+
expected: "___IChatFunctionReference",
|
|
10221
|
+
value: elem
|
|
10222
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
10223
|
+
path: _path + ".functions",
|
|
10224
|
+
expected: "Array<___IChatFunctionReference>",
|
|
10225
|
+
value: input.functions
|
|
10226
|
+
}) ].every((flag => flag));
|
|
10227
|
+
const _vo1 = (input, _path, _exceptionable = true) => [ "string" === typeof input.reason || _report(_exceptionable, {
|
|
10228
|
+
path: _path + ".reason",
|
|
10229
|
+
expected: "string",
|
|
10230
|
+
value: input.reason
|
|
10231
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
10232
|
+
path: _path + ".name",
|
|
10233
|
+
expected: "string",
|
|
10234
|
+
value: input.name
|
|
10235
|
+
}) ].every((flag => flag));
|
|
10236
|
+
const __is = input => "object" === typeof input && null !== input && _io0(input);
|
|
10237
|
+
let errors;
|
|
10238
|
+
let _report;
|
|
10239
|
+
return input => {
|
|
10240
|
+
if (false === __is(input)) {
|
|
10241
|
+
errors = [];
|
|
10242
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
10243
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
|
|
10244
|
+
path: _path + "",
|
|
10245
|
+
expected: "__IChatFunctionReference.IProps",
|
|
10246
|
+
value: input
|
|
10247
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
10248
|
+
path: _path + "",
|
|
10249
|
+
expected: "__IChatFunctionReference.IProps",
|
|
10250
|
+
value: input
|
|
10251
|
+
}))(input, "$input", true);
|
|
10252
|
+
const success = 0 === errors.length;
|
|
10253
|
+
return success ? {
|
|
10254
|
+
success,
|
|
10255
|
+
data: input
|
|
10256
|
+
} : {
|
|
10257
|
+
success,
|
|
10258
|
+
errors,
|
|
10259
|
+
data: input
|
|
10260
|
+
};
|
|
10261
|
+
}
|
|
10262
|
+
return {
|
|
10263
|
+
success: true,
|
|
10264
|
+
data: input
|
|
10265
|
+
};
|
|
10266
|
+
};
|
|
10267
|
+
})()
|
|
10085
10268
|
} ]
|
|
10086
10269
|
};
|
|
10087
10270
|
|