@agentica/core 0.8.3 → 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/LICENSE +21 -21
- package/README.md +419 -404
- 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/prompts/cancel.md +4 -4
- package/prompts/common.md +2 -2
- package/prompts/describe.md +6 -6
- package/prompts/execute.md +6 -6
- package/prompts/initialize.md +2 -2
- package/prompts/select.md +6 -6
- package/src/Agentica.ts +323 -318
- package/src/chatgpt/ChatGptAgent.ts +75 -71
- package/src/chatgpt/ChatGptCallFunctionAgent.ts +448 -445
- package/src/chatgpt/ChatGptCancelFunctionAgent.ts +287 -283
- package/src/chatgpt/ChatGptDescribeFunctionAgent.ts +52 -51
- package/src/chatgpt/ChatGptHistoryDecoder.ts +88 -87
- package/src/chatgpt/ChatGptInitializeFunctionAgent.ts +88 -88
- package/src/chatgpt/ChatGptSelectFunctionAgent.ts +319 -318
- package/src/functional/createHttpLlmApplication.ts +63 -63
- package/src/index.ts +19 -19
- package/src/internal/AgenticaConstant.ts +4 -4
- package/src/internal/AgenticaDefaultPrompt.ts +43 -39
- package/src/internal/AgenticaOperationComposer.ts +87 -82
- package/src/internal/AgenticaPromptFactory.ts +32 -30
- package/src/internal/AgenticaPromptTransformer.ts +86 -83
- package/src/internal/AgenticaTokenUsageAggregator.ts +115 -115
- package/src/internal/MathUtil.ts +3 -3
- package/src/internal/Singleton.ts +22 -22
- package/src/internal/__map_take.ts +15 -15
- package/src/structures/IAgenticaConfig.ts +123 -121
- package/src/structures/IAgenticaContext.ts +129 -128
- package/src/structures/IAgenticaController.ts +132 -130
- package/src/structures/IAgenticaEvent.ts +229 -224
- package/src/structures/IAgenticaExecutor.ts +156 -152
- package/src/structures/IAgenticaOperation.ts +64 -64
- package/src/structures/IAgenticaOperationCollection.ts +52 -50
- package/src/structures/IAgenticaOperationSelection.ts +69 -69
- package/src/structures/IAgenticaPrompt.ts +178 -173
- package/src/structures/IAgenticaProps.ts +70 -64
- package/src/structures/IAgenticaProvider.ts +39 -45
- package/src/structures/IAgenticaSystemPrompt.ts +124 -122
- package/src/structures/IAgenticaTokenUsage.ts +107 -107
- package/src/structures/internal/__IChatCancelFunctionsApplication.ts +23 -23
- package/src/structures/internal/__IChatFunctionReference.ts +21 -21
- package/src/structures/internal/__IChatInitialApplication.ts +15 -15
- package/src/structures/internal/__IChatSelectFunctionsApplication.ts +24 -24
- package/src/typings/AgenticaSource.ts +6 -6
|
@@ -64,12 +64,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
64
64
|
if (undefined === value)
|
|
65
65
|
return true;
|
|
66
66
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
67
|
-
}); 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
|
|
67
|
+
}); 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)); const _io6 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.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)); 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)); 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); 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)); 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; 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; 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; 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; 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; const _io16 = input => Object.keys(input).every(key => {
|
|
68
68
|
const value = input[key];
|
|
69
69
|
if (undefined === value)
|
|
70
70
|
return true;
|
|
71
71
|
return "object" === typeof value && null !== value && _iu9(value);
|
|
72
|
-
}); 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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io18 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _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["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _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 && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io24 = input => null !== input.type && undefined === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io25 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io26 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io27 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _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); const _io29 = input => Object.keys(input).every(key => {
|
|
72
|
+
}); 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"]; const _io18 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.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"]; 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"]; 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; 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"]; 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"]; 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"]; 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"]; 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"]; 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"]; 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); const _io29 = input => Object.keys(input).every(key => {
|
|
73
73
|
const value = input[key];
|
|
74
74
|
if (undefined === value)
|
|
75
75
|
return true;
|
|
@@ -94,12 +94,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
94
94
|
if (undefined === value)
|
|
95
95
|
return true;
|
|
96
96
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io41(value);
|
|
97
|
-
}); 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)); 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
|
|
97
|
+
}); 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)); 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; 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); 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; const _io45 = input => Object.keys(input).every(key => {
|
|
98
98
|
const value = input[key];
|
|
99
99
|
if (undefined === value)
|
|
100
100
|
return true;
|
|
101
101
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu11(value);
|
|
102
|
-
}); 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
|
|
102
|
+
}); 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; const _io47 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); 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))); 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)); const _io50 = input => Object.keys(input).every(key => {
|
|
103
103
|
const value = input[key];
|
|
104
104
|
if (undefined === value)
|
|
105
105
|
return true;
|
|
@@ -109,12 +109,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
109
109
|
if (undefined === value)
|
|
110
110
|
return true;
|
|
111
111
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu3(value);
|
|
112
|
-
}); 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.
|
|
112
|
+
}); 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)); const _io58 = input => Object.keys(input).every(key => {
|
|
113
113
|
const value = input[key];
|
|
114
114
|
if (undefined === value)
|
|
115
115
|
return true;
|
|
116
116
|
return true;
|
|
117
|
-
}); const _io59 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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.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)); 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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.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)); 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)); const _io65 = 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)); const _io66 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io67 = 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)); const _io68 = 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)); const _io69 = 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 && _io70(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)); const _io70 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io71 = input => Object.keys(input).every(key => {
|
|
117
|
+
}); 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"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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)); 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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)); 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)); 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)); 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)); 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)); 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)); 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)); const _io70 = input => true && (null !== input.type && undefined === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io71 = input => Object.keys(input).every(key => {
|
|
118
118
|
const value = input[key];
|
|
119
119
|
if (undefined === value)
|
|
120
120
|
return true;
|
|
@@ -169,119 +169,119 @@ const createHttpLlmApplication = (props) => {
|
|
|
169
169
|
if (undefined === value)
|
|
170
170
|
return true;
|
|
171
171
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu16(value);
|
|
172
|
-
}); 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)); const _io104 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); 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) &&
|
|
172
|
+
}); 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)); const _io104 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); 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))); 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)); const _io107 = input => Object.keys(input).every(key => {
|
|
173
173
|
const value = input[key];
|
|
174
174
|
if (undefined === value)
|
|
175
175
|
return true;
|
|
176
176
|
return "object" === typeof value && null !== value && _io108(value);
|
|
177
|
-
}); const _io108 = input => "string" === typeof input["default"] && (undefined === input["enum"] || Array.isArray(input["enum"]) && (1 <= input["enum"].length && input["enum"].every(elem => "string" === typeof elem))) && (undefined === input.description || "string" === typeof input.description); const _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; const _io110 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email); const _io111 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url); 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) &&
|
|
177
|
+
}); const _io108 = input => "string" === typeof input["default"] && (undefined === input["enum"] || Array.isArray(input["enum"]) && (1 <= input["enum"].length && input["enum"].every(elem => "string" === typeof elem))) && (undefined === input.description || "string" === typeof input.description); const _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; const _io110 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email); const _io111 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url); 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)); const _io113 = input => Object.keys(input).every(key => {
|
|
178
178
|
const value = input[key];
|
|
179
179
|
if (undefined === value)
|
|
180
180
|
return true;
|
|
181
181
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
182
|
-
}); const _io114 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.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.nullable || "boolean" === typeof input.nullable) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (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 && _io128(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && "string" === typeof input.$ref; const _io115 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.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)); 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.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)); const _io117 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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.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)); const _io119 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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.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)); 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)); const _io123 = 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)); const _io124 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io125 = 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)); const _io126 = 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)); const _io127 = 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 && _io128(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)); const _io128 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io129 = input => Object.keys(input).every(key => {
|
|
182
|
+
}); const _io114 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (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 <= 18446744073709552000)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (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; 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)); 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)); const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io118 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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)); 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)); 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)); 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)); 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)); const _io127 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io128 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io129 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io130 = input => Object.keys(input).every(key => {
|
|
183
183
|
const value = input[key];
|
|
184
184
|
if (undefined === value)
|
|
185
185
|
return true;
|
|
186
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
187
|
-
}); const
|
|
186
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io131(value);
|
|
187
|
+
}); 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)); 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)); const _io133 = input => Object.keys(input).every(key => {
|
|
188
188
|
const value = input[key];
|
|
189
189
|
if (undefined === value)
|
|
190
190
|
return true;
|
|
191
191
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu17(value);
|
|
192
|
-
}); const
|
|
192
|
+
}); 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); 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)); 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)); 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)); 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); 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)); const _io140 = input => Object.keys(input).every(key => {
|
|
193
193
|
const value = input[key];
|
|
194
194
|
if (undefined === value)
|
|
195
195
|
return true;
|
|
196
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
197
|
-
}); const
|
|
196
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io141(value);
|
|
197
|
+
}); 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)); 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)); const _io143 = input => Object.keys(input).every(key => {
|
|
198
198
|
const value = input[key];
|
|
199
199
|
if (undefined === value)
|
|
200
200
|
return true;
|
|
201
201
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu19(value);
|
|
202
|
-
}); const
|
|
202
|
+
}); 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); const _io145 = input => Object.keys(input).every(key => {
|
|
203
203
|
const value = input[key];
|
|
204
204
|
if (undefined === value)
|
|
205
205
|
return true;
|
|
206
206
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
207
|
-
}); const
|
|
207
|
+
}); const _io146 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)); const _io147 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (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)); const _io148 = input => Object.keys(input).every(key => {
|
|
208
208
|
const value = input[key];
|
|
209
209
|
if (undefined === value)
|
|
210
210
|
return true;
|
|
211
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
212
|
-
}); const
|
|
211
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io144(value);
|
|
212
|
+
}); const _io149 = input => Object.keys(input).every(key => {
|
|
213
213
|
const value = input[key];
|
|
214
214
|
if (undefined === value)
|
|
215
215
|
return true;
|
|
216
|
-
return "object" === typeof value && null !== value &&
|
|
217
|
-
}); const
|
|
216
|
+
return "object" === typeof value && null !== value && _io132(value);
|
|
217
|
+
}); const _io150 = input => Object.keys(input).every(key => {
|
|
218
218
|
const value = input[key];
|
|
219
219
|
if (undefined === value)
|
|
220
220
|
return true;
|
|
221
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
222
|
-
}); const
|
|
221
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io139(value);
|
|
222
|
+
}); const _io151 = input => Object.keys(input).every(key => {
|
|
223
223
|
const value = input[key];
|
|
224
224
|
if (undefined === value)
|
|
225
225
|
return true;
|
|
226
226
|
return "object" === typeof value && null !== value && _iu21(value);
|
|
227
|
-
}); const
|
|
227
|
+
}); 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); const _io153 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io154 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); 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); 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)); 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)); 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)); 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)); const _io160 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io161 = input => Object.keys(input).every(key => {
|
|
228
228
|
const value = input[key];
|
|
229
229
|
if (undefined === value)
|
|
230
230
|
return true;
|
|
231
|
-
return "object" === typeof value && null !== value &&
|
|
232
|
-
}); const
|
|
231
|
+
return "object" === typeof value && null !== value && _io146(value);
|
|
232
|
+
}); const _io162 = input => Object.keys(input).every(key => {
|
|
233
233
|
const value = input[key];
|
|
234
234
|
if (undefined === value)
|
|
235
235
|
return true;
|
|
236
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
237
|
-
}); const
|
|
236
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io134(value);
|
|
237
|
+
}); const _io163 = input => Object.keys(input).every(key => {
|
|
238
238
|
const value = input[key];
|
|
239
239
|
if (undefined === value)
|
|
240
240
|
return true;
|
|
241
241
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu22(value);
|
|
242
|
-
}); const
|
|
242
|
+
}); 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)); const _io165 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); 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"]; 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)); const _io168 = input => Object.keys(input).every(key => {
|
|
243
243
|
const value = input[key];
|
|
244
244
|
if (undefined === value)
|
|
245
245
|
return true;
|
|
246
|
-
return "object" === typeof value && null !== value &&
|
|
247
|
-
}); const
|
|
246
|
+
return "object" === typeof value && null !== value && _io169(value);
|
|
247
|
+
}); 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); 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; 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)); const _io172 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url); 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)); const _io174 = input => Object.keys(input).every(key => {
|
|
248
248
|
const value = input[key];
|
|
249
249
|
if (undefined === value)
|
|
250
250
|
return true;
|
|
251
251
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu7(value);
|
|
252
|
-
}); const _io174 = 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)); const _io175 = 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)); const _io176 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io177 = 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)); const _io178 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io179 = 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io180 = input => 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io181 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io173(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)); const _io182 = 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)); const _io183 = 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 && _io186(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)); const _io184 = 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)); const _io185 = 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)); const _io186 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io187 = input => Object.keys(input).every(key => {
|
|
252
|
+
}); 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)); 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)); const _io177 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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)); 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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)); 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)); 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)); 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)); const _io186 = input => true && (null !== input.type && undefined === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); 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)); const _io188 = input => Object.keys(input).every(key => {
|
|
253
253
|
const value = input[key];
|
|
254
254
|
if (undefined === value)
|
|
255
255
|
return true;
|
|
256
256
|
return "object" === typeof value && null !== value && _iu23(value);
|
|
257
|
-
}); const
|
|
257
|
+
}); 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); const _io190 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description); const _io191 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description); 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); 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)); 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)); 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)); 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)); const _io197 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description); const _io198 = input => Object.keys(input).every(key => {
|
|
258
258
|
const value = input[key];
|
|
259
259
|
if (undefined === value)
|
|
260
260
|
return true;
|
|
261
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
262
|
-
}); const
|
|
261
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io199(value);
|
|
262
|
+
}); 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)); 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"]); 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)); const _io202 = input => Object.keys(input).every(key => {
|
|
263
263
|
const value = input[key];
|
|
264
264
|
if (undefined === value)
|
|
265
265
|
return true;
|
|
266
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
267
|
-
}); const
|
|
266
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io203(value);
|
|
267
|
+
}); 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); 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"]); 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 => {
|
|
268
268
|
if (["text/plain", "application/json", "application/x-www-form-url-encoded", "multipart/form-data", "*/*"].some(prop => key === prop))
|
|
269
269
|
return true;
|
|
270
270
|
const value = input[key];
|
|
271
271
|
if (undefined === value)
|
|
272
272
|
return true;
|
|
273
|
-
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
274
|
-
}); const
|
|
273
|
+
return undefined === value || "object" === typeof value && null !== value && false === Array.isArray(value) && _io206(value);
|
|
274
|
+
}); 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)); const _io207 = input => Object.keys(input).every(key => {
|
|
275
275
|
const value = input[key];
|
|
276
276
|
if (undefined === value)
|
|
277
277
|
return true;
|
|
278
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
|
279
|
-
}); const
|
|
278
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io208(value);
|
|
279
|
+
}); 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"]); const _io209 = input => Object.keys(input).every(key => {
|
|
280
280
|
const value = input[key];
|
|
281
281
|
if (undefined === value)
|
|
282
282
|
return true;
|
|
283
|
-
return "object" === typeof value && null !== value &&
|
|
284
|
-
}); const
|
|
283
|
+
return "object" === typeof value && null !== value && _io201(value);
|
|
284
|
+
}); const _io210 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _iu0 = input => (() => {
|
|
285
285
|
if ("boolean" === input.type)
|
|
286
286
|
return _io5(input);
|
|
287
287
|
else if ("number" === input.type)
|
|
@@ -296,14 +296,14 @@ const createHttpLlmApplication = (props) => {
|
|
|
296
296
|
return _io10(input);
|
|
297
297
|
else if (undefined !== input.$ref)
|
|
298
298
|
return _io11(input);
|
|
299
|
-
else if ("null" === input.type)
|
|
300
|
-
return _io13(input);
|
|
301
299
|
else if (undefined !== input["x-anyOf"])
|
|
302
|
-
return
|
|
300
|
+
return _io12(input);
|
|
303
301
|
else if (undefined !== input["x-oneOf"])
|
|
304
|
-
return
|
|
302
|
+
return _io13(input);
|
|
303
|
+
else if ("null" === input.type)
|
|
304
|
+
return _io14(input);
|
|
305
305
|
else
|
|
306
|
-
return
|
|
306
|
+
return _io15(input);
|
|
307
307
|
})(); const _iu1 = input => (() => {
|
|
308
308
|
if ("boolean" === input.type)
|
|
309
309
|
return _io17(input);
|
|
@@ -317,20 +317,20 @@ const createHttpLlmApplication = (props) => {
|
|
|
317
317
|
return _io21(input);
|
|
318
318
|
else if ("object" === input.type)
|
|
319
319
|
return _io22(input);
|
|
320
|
-
else if ("null" === input.type)
|
|
321
|
-
return _io25(input);
|
|
322
320
|
else if (undefined !== input["x-anyOf"])
|
|
323
|
-
return
|
|
321
|
+
return _io24(input);
|
|
324
322
|
else if (undefined !== input["x-oneOf"])
|
|
325
|
-
return
|
|
323
|
+
return _io25(input);
|
|
324
|
+
else if ("null" === input.type)
|
|
325
|
+
return _io26(input);
|
|
326
326
|
else if (undefined !== input.schema)
|
|
327
327
|
return _io28(input);
|
|
328
328
|
else
|
|
329
329
|
return (() => {
|
|
330
330
|
if (_io23(input))
|
|
331
331
|
return _io23(input);
|
|
332
|
-
if (
|
|
333
|
-
return
|
|
332
|
+
if (_io27(input))
|
|
333
|
+
return _io27(input);
|
|
334
334
|
if (_io42(input))
|
|
335
335
|
return _io42(input);
|
|
336
336
|
return false;
|
|
@@ -348,20 +348,20 @@ const createHttpLlmApplication = (props) => {
|
|
|
348
348
|
return _io21(input);
|
|
349
349
|
else if ("object" === input.type)
|
|
350
350
|
return _io22(input);
|
|
351
|
-
else if ("null" === input.type)
|
|
352
|
-
return _io25(input);
|
|
353
351
|
else if (undefined !== input["x-anyOf"])
|
|
354
|
-
return
|
|
352
|
+
return _io24(input);
|
|
355
353
|
else if (undefined !== input["x-oneOf"])
|
|
356
|
-
return
|
|
354
|
+
return _io25(input);
|
|
355
|
+
else if ("null" === input.type)
|
|
356
|
+
return _io26(input);
|
|
357
357
|
else if (undefined !== input.schema)
|
|
358
358
|
return _io28(input);
|
|
359
359
|
else
|
|
360
360
|
return (() => {
|
|
361
361
|
if (_io23(input))
|
|
362
362
|
return _io23(input);
|
|
363
|
-
if (
|
|
364
|
-
return
|
|
363
|
+
if (_io27(input))
|
|
364
|
+
return _io27(input);
|
|
365
365
|
if (_io44(input))
|
|
366
366
|
return _io44(input);
|
|
367
367
|
return false;
|
|
@@ -381,16 +381,16 @@ const createHttpLlmApplication = (props) => {
|
|
|
381
381
|
return _io63(input);
|
|
382
382
|
else if (undefined !== input.$ref)
|
|
383
383
|
return _io64(input);
|
|
384
|
-
else if ("null" === input.type)
|
|
385
|
-
return _io66(input);
|
|
386
384
|
else if (undefined !== input.allOf)
|
|
387
|
-
return
|
|
385
|
+
return _io65(input);
|
|
388
386
|
else if (undefined !== input.anyOf)
|
|
389
|
-
return
|
|
387
|
+
return _io66(input);
|
|
390
388
|
else if (undefined !== input.oneOf)
|
|
389
|
+
return _io67(input);
|
|
390
|
+
else if ("null" === input.type)
|
|
391
391
|
return _io69(input);
|
|
392
392
|
else
|
|
393
|
-
return
|
|
393
|
+
return _io70(input);
|
|
394
394
|
})(); const _iu4 = input => (() => {
|
|
395
395
|
if (undefined !== input["in"])
|
|
396
396
|
return _io82(input);
|
|
@@ -415,8 +415,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
415
415
|
return _io120(input);
|
|
416
416
|
else if ("object" === input.type)
|
|
417
417
|
return _io121(input);
|
|
418
|
+
else if (undefined !== input.$recursiveRef)
|
|
419
|
+
return _io123(input);
|
|
418
420
|
else if ("null" === input.type)
|
|
419
|
-
return
|
|
421
|
+
return _io128(input);
|
|
420
422
|
else
|
|
421
423
|
return (() => {
|
|
422
424
|
if (undefined !== input["const"])
|
|
@@ -424,71 +426,71 @@ const createHttpLlmApplication = (props) => {
|
|
|
424
426
|
else if (undefined !== input.$ref)
|
|
425
427
|
return _io122(input);
|
|
426
428
|
else if (undefined !== input.allOf)
|
|
427
|
-
return
|
|
429
|
+
return _io124(input);
|
|
428
430
|
else if (undefined !== input.anyOf)
|
|
429
|
-
return
|
|
431
|
+
return _io125(input);
|
|
430
432
|
else if (undefined !== input.oneOf)
|
|
431
|
-
return
|
|
433
|
+
return _io126(input);
|
|
432
434
|
else
|
|
433
|
-
return
|
|
435
|
+
return _io129(input);
|
|
434
436
|
})();
|
|
435
437
|
})(); const _iu6 = input => (() => {
|
|
436
438
|
if (undefined !== input["in"])
|
|
437
|
-
return
|
|
439
|
+
return _io132(input);
|
|
438
440
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref))
|
|
439
|
-
return
|
|
441
|
+
return _io137(input);
|
|
440
442
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref))
|
|
441
|
-
return
|
|
443
|
+
return _io136(input);
|
|
442
444
|
else
|
|
443
445
|
return false;
|
|
444
446
|
})(); const _iu7 = input => (() => {
|
|
445
447
|
if (undefined !== input["const"])
|
|
446
|
-
return _io174(input);
|
|
447
|
-
else if ("boolean" === input.type)
|
|
448
448
|
return _io175(input);
|
|
449
|
+
else if ("boolean" === input.type)
|
|
450
|
+
return _io176(input);
|
|
449
451
|
else if ("number" === input.type)
|
|
450
|
-
return
|
|
452
|
+
return _io178(input);
|
|
451
453
|
else if ("integer" === input.type)
|
|
452
|
-
return
|
|
454
|
+
return _io177(input);
|
|
453
455
|
else if ("string" === input.type)
|
|
454
|
-
return _io178(input);
|
|
455
|
-
else if (undefined !== input.items)
|
|
456
456
|
return _io179(input);
|
|
457
|
-
else if (undefined !== input.
|
|
457
|
+
else if (undefined !== input.items)
|
|
458
458
|
return _io180(input);
|
|
459
|
-
else if (
|
|
459
|
+
else if (undefined !== input.prefixItems)
|
|
460
460
|
return _io181(input);
|
|
461
|
-
else if (
|
|
461
|
+
else if ("object" === input.type)
|
|
462
462
|
return _io182(input);
|
|
463
|
-
else if (undefined !== input
|
|
463
|
+
else if (undefined !== input.$ref)
|
|
464
464
|
return _io183(input);
|
|
465
|
-
else if (
|
|
465
|
+
else if (undefined !== input.oneOf)
|
|
466
466
|
return _io184(input);
|
|
467
|
-
else
|
|
467
|
+
else if ("null" === input.type)
|
|
468
468
|
return _io185(input);
|
|
469
|
+
else
|
|
470
|
+
return _io186(input);
|
|
469
471
|
})(); const _iu8 = input => (() => {
|
|
470
472
|
if (undefined !== input["const"])
|
|
471
|
-
return _io174(input);
|
|
472
|
-
else if ("boolean" === input.type)
|
|
473
473
|
return _io175(input);
|
|
474
|
+
else if ("boolean" === input.type)
|
|
475
|
+
return _io176(input);
|
|
474
476
|
else if ("number" === input.type)
|
|
475
|
-
return
|
|
477
|
+
return _io178(input);
|
|
476
478
|
else if ("integer" === input.type)
|
|
477
|
-
return
|
|
479
|
+
return _io177(input);
|
|
478
480
|
else if ("string" === input.type)
|
|
479
|
-
return _io178(input);
|
|
480
|
-
else if (undefined !== input.items)
|
|
481
481
|
return _io179(input);
|
|
482
|
-
else if (undefined !== input.
|
|
482
|
+
else if (undefined !== input.items)
|
|
483
483
|
return _io180(input);
|
|
484
|
-
else if (
|
|
484
|
+
else if (undefined !== input.prefixItems)
|
|
485
485
|
return _io181(input);
|
|
486
|
-
else if (
|
|
486
|
+
else if ("object" === input.type)
|
|
487
487
|
return _io182(input);
|
|
488
|
+
else if (undefined !== input.$ref)
|
|
489
|
+
return _io183(input);
|
|
488
490
|
else if ("null" === input.type)
|
|
489
|
-
return _io184(input);
|
|
490
|
-
else
|
|
491
491
|
return _io185(input);
|
|
492
|
+
else
|
|
493
|
+
return _io186(input);
|
|
492
494
|
})(); const _iu9 = input => (() => {
|
|
493
495
|
if ("boolean" === input.type)
|
|
494
496
|
return _io17(input);
|
|
@@ -504,16 +506,16 @@ const createHttpLlmApplication = (props) => {
|
|
|
504
506
|
return _io22(input);
|
|
505
507
|
else if (undefined !== input.$ref)
|
|
506
508
|
return _io23(input);
|
|
507
|
-
else if ("null" === input.type)
|
|
508
|
-
return _io25(input);
|
|
509
509
|
else if (undefined !== input["x-anyOf"])
|
|
510
|
-
return
|
|
510
|
+
return _io24(input);
|
|
511
511
|
else if (undefined !== input["x-oneOf"])
|
|
512
|
-
return
|
|
512
|
+
return _io25(input);
|
|
513
|
+
else if ("null" === input.type)
|
|
514
|
+
return _io26(input);
|
|
513
515
|
else if (undefined !== input.schema)
|
|
514
516
|
return _io28(input);
|
|
515
517
|
else
|
|
516
|
-
return
|
|
518
|
+
return _io27(input);
|
|
517
519
|
})(); const _iu10 = input => (() => {
|
|
518
520
|
if ("apiKey" === input.type)
|
|
519
521
|
return _io32(input);
|
|
@@ -571,55 +573,55 @@ const createHttpLlmApplication = (props) => {
|
|
|
571
573
|
return _io72(input);
|
|
572
574
|
})(); const _iu17 = input => (() => {
|
|
573
575
|
if (undefined !== input.$ref)
|
|
574
|
-
return
|
|
576
|
+
return _io135(input);
|
|
575
577
|
else
|
|
576
|
-
return
|
|
578
|
+
return _io134(input);
|
|
577
579
|
})(); const _iu18 = input => (() => {
|
|
578
580
|
if (undefined !== input.$ref)
|
|
579
|
-
return
|
|
581
|
+
return _io142(input);
|
|
580
582
|
else
|
|
581
|
-
return
|
|
583
|
+
return _io139(input);
|
|
582
584
|
})(); const _iu19 = input => (() => {
|
|
583
585
|
if (undefined !== input.$ref)
|
|
584
|
-
return
|
|
586
|
+
return _io147(input);
|
|
585
587
|
else
|
|
586
|
-
return
|
|
588
|
+
return _io144(input);
|
|
587
589
|
})(); const _iu20 = input => (() => {
|
|
588
590
|
if (undefined !== input.$ref)
|
|
589
|
-
return
|
|
591
|
+
return _io136(input);
|
|
590
592
|
else if (undefined !== input.schema)
|
|
591
|
-
return
|
|
593
|
+
return _io146(input);
|
|
592
594
|
else
|
|
593
595
|
return false;
|
|
594
596
|
})(); const _iu21 = input => (() => {
|
|
595
597
|
if ("apiKey" === input.type)
|
|
596
|
-
return _io151(input);
|
|
597
|
-
else if ("basic" === input.scheme)
|
|
598
598
|
return _io152(input);
|
|
599
|
-
else if ("
|
|
599
|
+
else if ("basic" === input.scheme)
|
|
600
600
|
return _io153(input);
|
|
601
|
-
else if ("
|
|
601
|
+
else if ("bearer" === input.scheme)
|
|
602
602
|
return _io154(input);
|
|
603
|
+
else if ("oauth2" === input.type)
|
|
604
|
+
return _io155(input);
|
|
603
605
|
else if ("openIdConnect" === input.type)
|
|
604
|
-
return
|
|
606
|
+
return _io160(input);
|
|
605
607
|
else
|
|
606
608
|
return false;
|
|
607
609
|
})(); const _iu22 = input => (() => {
|
|
608
610
|
if (undefined !== input.$ref)
|
|
609
|
-
return
|
|
611
|
+
return _io164(input);
|
|
610
612
|
else
|
|
611
|
-
return
|
|
613
|
+
return _io131(input);
|
|
612
614
|
})(); const _iu23 = input => (() => {
|
|
613
615
|
if ("apiKey" === input.type)
|
|
614
|
-
return _io188(input);
|
|
615
|
-
else if ("basic" === input.scheme)
|
|
616
616
|
return _io189(input);
|
|
617
|
-
else if ("
|
|
617
|
+
else if ("basic" === input.scheme)
|
|
618
618
|
return _io190(input);
|
|
619
|
-
else if ("
|
|
619
|
+
else if ("bearer" === input.scheme)
|
|
620
620
|
return _io191(input);
|
|
621
|
+
else if ("oauth2" === input.type)
|
|
622
|
+
return _io192(input);
|
|
621
623
|
else if ("openIdConnect" === input.type)
|
|
622
|
-
return
|
|
624
|
+
return _io197(input);
|
|
623
625
|
else
|
|
624
626
|
return false;
|
|
625
627
|
})(); const _iu24 = input => (() => {
|
|
@@ -630,7 +632,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
630
632
|
else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))
|
|
631
633
|
return _io105(input);
|
|
632
634
|
else if (undefined !== input["x-samchon-emended"])
|
|
633
|
-
return
|
|
635
|
+
return _io166(input);
|
|
634
636
|
else
|
|
635
637
|
return false;
|
|
636
638
|
})(); const _vo0 = (input, _path, _exceptionable = true) => [(null !== input.swagger || _report(_exceptionable, {
|
|
@@ -842,10 +844,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
842
844
|
path: _path + ".type",
|
|
843
845
|
expected: "\"boolean\"",
|
|
844
846
|
value: input.type
|
|
845
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
846
|
-
path: _path + "[\"x-nullable\"]",
|
|
847
|
-
expected: "(boolean | undefined)",
|
|
848
|
-
value: input["x-nullable"]
|
|
849
847
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
850
848
|
path: _path + ".title",
|
|
851
849
|
expected: "(string | undefined)",
|
|
@@ -858,7 +856,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
858
856
|
path: _path + ".deprecated",
|
|
859
857
|
expected: "(boolean | undefined)",
|
|
860
858
|
value: input.deprecated
|
|
861
|
-
}), 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, {
|
|
862
864
|
path: _path + ".examples",
|
|
863
865
|
expected: "(Array<any> | undefined)",
|
|
864
866
|
value: input.examples
|
|
@@ -922,10 +924,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
922
924
|
path: _path + ".type",
|
|
923
925
|
expected: "\"integer\"",
|
|
924
926
|
value: input.type
|
|
925
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
926
|
-
path: _path + "[\"x-nullable\"]",
|
|
927
|
-
expected: "(boolean | undefined)",
|
|
928
|
-
value: input["x-nullable"]
|
|
929
927
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
930
928
|
path: _path + ".title",
|
|
931
929
|
expected: "(string | undefined)",
|
|
@@ -938,7 +936,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
938
936
|
path: _path + ".deprecated",
|
|
939
937
|
expected: "(boolean | undefined)",
|
|
940
938
|
value: input.deprecated
|
|
941
|
-
}), true, undefined === input
|
|
939
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
940
|
+
path: _path + "[\"x-nullable\"]",
|
|
941
|
+
expected: "(boolean | undefined)",
|
|
942
|
+
value: input["x-nullable"]
|
|
943
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
942
944
|
path: _path + ".examples",
|
|
943
945
|
expected: "(Array<any> | undefined)",
|
|
944
946
|
value: input.examples
|
|
@@ -986,10 +988,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
986
988
|
path: _path + ".type",
|
|
987
989
|
expected: "\"number\"",
|
|
988
990
|
value: input.type
|
|
989
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
990
|
-
path: _path + "[\"x-nullable\"]",
|
|
991
|
-
expected: "(boolean | undefined)",
|
|
992
|
-
value: input["x-nullable"]
|
|
993
991
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
994
992
|
path: _path + ".title",
|
|
995
993
|
expected: "(string | undefined)",
|
|
@@ -1002,7 +1000,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1002
1000
|
path: _path + ".deprecated",
|
|
1003
1001
|
expected: "(boolean | undefined)",
|
|
1004
1002
|
value: input.deprecated
|
|
1005
|
-
}), true, undefined === input
|
|
1003
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1004
|
+
path: _path + "[\"x-nullable\"]",
|
|
1005
|
+
expected: "(boolean | undefined)",
|
|
1006
|
+
value: input["x-nullable"]
|
|
1007
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1006
1008
|
path: _path + ".examples",
|
|
1007
1009
|
expected: "(Array<any> | undefined)",
|
|
1008
1010
|
value: input.examples
|
|
@@ -1050,10 +1052,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1050
1052
|
path: _path + ".type",
|
|
1051
1053
|
expected: "\"string\"",
|
|
1052
1054
|
value: input.type
|
|
1053
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1054
|
-
path: _path + "[\"x-nullable\"]",
|
|
1055
|
-
expected: "(boolean | undefined)",
|
|
1056
|
-
value: input["x-nullable"]
|
|
1057
1055
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1058
1056
|
path: _path + ".title",
|
|
1059
1057
|
expected: "(string | undefined)",
|
|
@@ -1066,7 +1064,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1066
1064
|
path: _path + ".deprecated",
|
|
1067
1065
|
expected: "(boolean | undefined)",
|
|
1068
1066
|
value: input.deprecated
|
|
1069
|
-
}), true, undefined === input
|
|
1067
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1068
|
+
path: _path + "[\"x-nullable\"]",
|
|
1069
|
+
expected: "(boolean | undefined)",
|
|
1070
|
+
value: input["x-nullable"]
|
|
1071
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1070
1072
|
path: _path + ".examples",
|
|
1071
1073
|
expected: "(Array<any> | undefined)",
|
|
1072
1074
|
value: input.examples
|
|
@@ -1102,10 +1104,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1102
1104
|
path: _path + ".type",
|
|
1103
1105
|
expected: "\"array\"",
|
|
1104
1106
|
value: input.type
|
|
1105
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1106
|
-
path: _path + "[\"x-nullable\"]",
|
|
1107
|
-
expected: "(boolean | undefined)",
|
|
1108
|
-
value: input["x-nullable"]
|
|
1109
1107
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1110
1108
|
path: _path + ".title",
|
|
1111
1109
|
expected: "(string | undefined)",
|
|
@@ -1118,7 +1116,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1118
1116
|
path: _path + ".deprecated",
|
|
1119
1117
|
expected: "(boolean | undefined)",
|
|
1120
1118
|
value: input.deprecated
|
|
1121
|
-
}), true, undefined === input
|
|
1119
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1120
|
+
path: _path + "[\"x-nullable\"]",
|
|
1121
|
+
expected: "(boolean | undefined)",
|
|
1122
|
+
value: input["x-nullable"]
|
|
1123
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1122
1124
|
path: _path + ".examples",
|
|
1123
1125
|
expected: "(Array<any> | undefined)",
|
|
1124
1126
|
value: input.examples
|
|
@@ -1166,10 +1168,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1166
1168
|
path: _path + ".type",
|
|
1167
1169
|
expected: "\"object\"",
|
|
1168
1170
|
value: input.type
|
|
1169
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1170
|
-
path: _path + "[\"x-nullable\"]",
|
|
1171
|
-
expected: "(boolean | undefined)",
|
|
1172
|
-
value: input["x-nullable"]
|
|
1173
1171
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1174
1172
|
path: _path + ".title",
|
|
1175
1173
|
expected: "(string | undefined)",
|
|
@@ -1182,7 +1180,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1182
1180
|
path: _path + ".deprecated",
|
|
1183
1181
|
expected: "(boolean | undefined)",
|
|
1184
1182
|
value: input.deprecated
|
|
1185
|
-
}), true, undefined === input
|
|
1183
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1184
|
+
path: _path + "[\"x-nullable\"]",
|
|
1185
|
+
expected: "(boolean | undefined)",
|
|
1186
|
+
value: input["x-nullable"]
|
|
1187
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1186
1188
|
path: _path + ".examples",
|
|
1187
1189
|
expected: "(Array<any> | undefined)",
|
|
1188
1190
|
value: input.examples
|
|
@@ -1190,54 +1192,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
1190
1192
|
path: _path + ".$ref",
|
|
1191
1193
|
expected: "string",
|
|
1192
1194
|
value: input.$ref
|
|
1193
|
-
}), undefined === input.
|
|
1194
|
-
path: _path + ".title",
|
|
1195
|
-
expected: "(string | undefined)",
|
|
1196
|
-
value: input.title
|
|
1197
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1198
|
-
path: _path + ".description",
|
|
1199
|
-
expected: "(string | undefined)",
|
|
1200
|
-
value: input.description
|
|
1201
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1202
|
-
path: _path + ".deprecated",
|
|
1203
|
-
expected: "(boolean | undefined)",
|
|
1204
|
-
value: input.deprecated
|
|
1205
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1195
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1206
1196
|
path: _path + ".examples",
|
|
1207
1197
|
expected: "(Array<any> | undefined)",
|
|
1208
1198
|
value: input.examples
|
|
1209
|
-
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
1210
|
-
path: _path + ".type",
|
|
1211
|
-
expected: "undefined",
|
|
1212
|
-
value: input.type
|
|
1213
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
|
1214
|
-
path: _path + ".type",
|
|
1215
|
-
expected: "undefined",
|
|
1216
|
-
value: input.type
|
|
1217
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1218
|
-
path: _path + ".title",
|
|
1219
|
-
expected: "(string | undefined)",
|
|
1220
|
-
value: input.title
|
|
1221
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1222
|
-
path: _path + ".description",
|
|
1223
|
-
expected: "(string | undefined)",
|
|
1224
|
-
value: input.description
|
|
1225
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1226
|
-
path: _path + ".deprecated",
|
|
1227
|
-
expected: "(boolean | undefined)",
|
|
1228
|
-
value: input.deprecated
|
|
1229
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1230
|
-
path: _path + ".examples",
|
|
1231
|
-
expected: "(Array<any> | undefined)",
|
|
1232
|
-
value: input.examples
|
|
1233
|
-
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
|
1234
|
-
path: _path + ".type",
|
|
1235
|
-
expected: "\"null\"",
|
|
1236
|
-
value: input.type
|
|
1237
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
1238
|
-
path: _path + "[\"default\"]",
|
|
1239
|
-
expected: "(null | undefined)",
|
|
1240
|
-
value: input["default"]
|
|
1241
1199
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1242
1200
|
path: _path + ".title",
|
|
1243
1201
|
expected: "(string | undefined)",
|
|
@@ -1250,11 +1208,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
1250
1208
|
path: _path + ".deprecated",
|
|
1251
1209
|
expected: "(boolean | undefined)",
|
|
1252
1210
|
value: input.deprecated
|
|
1253
|
-
}), true
|
|
1254
|
-
path: _path + ".examples",
|
|
1255
|
-
expected: "(Array<any> | undefined)",
|
|
1256
|
-
value: input.examples
|
|
1257
|
-
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1211
|
+
}), true].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1258
1212
|
path: _path + "[\"x-anyOf\"]",
|
|
1259
1213
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1260
1214
|
value: input["x-anyOf"]
|
|
@@ -1270,6 +1224,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
1270
1224
|
path: _path + "[\"x-anyOf\"]",
|
|
1271
1225
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1272
1226
|
value: input["x-anyOf"]
|
|
1227
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1228
|
+
path: _path + ".examples",
|
|
1229
|
+
expected: "(Array<any> | undefined)",
|
|
1230
|
+
value: input.examples
|
|
1273
1231
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1274
1232
|
path: _path + ".title",
|
|
1275
1233
|
expected: "(string | undefined)",
|
|
@@ -1282,11 +1240,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
1282
1240
|
path: _path + ".deprecated",
|
|
1283
1241
|
expected: "(boolean | undefined)",
|
|
1284
1242
|
value: input.deprecated
|
|
1285
|
-
}), true
|
|
1286
|
-
path: _path + ".examples",
|
|
1287
|
-
expected: "(Array<any> | undefined)",
|
|
1288
|
-
value: input.examples
|
|
1289
|
-
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1243
|
+
}), true].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1290
1244
|
path: _path + "[\"x-oneOf\"]",
|
|
1291
1245
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1292
1246
|
value: input["x-oneOf"]
|
|
@@ -1302,6 +1256,34 @@ const createHttpLlmApplication = (props) => {
|
|
|
1302
1256
|
path: _path + "[\"x-oneOf\"]",
|
|
1303
1257
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1304
1258
|
value: input["x-oneOf"]
|
|
1259
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1260
|
+
path: _path + ".examples",
|
|
1261
|
+
expected: "(Array<any> | undefined)",
|
|
1262
|
+
value: input.examples
|
|
1263
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1264
|
+
path: _path + ".title",
|
|
1265
|
+
expected: "(string | undefined)",
|
|
1266
|
+
value: input.title
|
|
1267
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1268
|
+
path: _path + ".description",
|
|
1269
|
+
expected: "(string | undefined)",
|
|
1270
|
+
value: input.description
|
|
1271
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1272
|
+
path: _path + ".deprecated",
|
|
1273
|
+
expected: "(boolean | undefined)",
|
|
1274
|
+
value: input.deprecated
|
|
1275
|
+
}), true].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
|
1276
|
+
path: _path + ".type",
|
|
1277
|
+
expected: "\"null\"",
|
|
1278
|
+
value: input.type
|
|
1279
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
1280
|
+
path: _path + "[\"default\"]",
|
|
1281
|
+
expected: "(null | undefined)",
|
|
1282
|
+
value: input["default"]
|
|
1283
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1284
|
+
path: _path + ".examples",
|
|
1285
|
+
expected: "(Array<any> | undefined)",
|
|
1286
|
+
value: input.examples
|
|
1305
1287
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1306
1288
|
path: _path + ".title",
|
|
1307
1289
|
expected: "(string | undefined)",
|
|
@@ -1314,11 +1296,31 @@ const createHttpLlmApplication = (props) => {
|
|
|
1314
1296
|
path: _path + ".deprecated",
|
|
1315
1297
|
expected: "(boolean | undefined)",
|
|
1316
1298
|
value: input.deprecated
|
|
1317
|
-
}), true
|
|
1299
|
+
}), true].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
1300
|
+
path: _path + ".type",
|
|
1301
|
+
expected: "undefined",
|
|
1302
|
+
value: input.type
|
|
1303
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
1304
|
+
path: _path + ".type",
|
|
1305
|
+
expected: "undefined",
|
|
1306
|
+
value: input.type
|
|
1307
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1318
1308
|
path: _path + ".examples",
|
|
1319
1309
|
expected: "(Array<any> | undefined)",
|
|
1320
1310
|
value: input.examples
|
|
1321
|
-
})
|
|
1311
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1312
|
+
path: _path + ".title",
|
|
1313
|
+
expected: "(string | undefined)",
|
|
1314
|
+
value: input.title
|
|
1315
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1316
|
+
path: _path + ".description",
|
|
1317
|
+
expected: "(string | undefined)",
|
|
1318
|
+
value: input.description
|
|
1319
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1320
|
+
path: _path + ".deprecated",
|
|
1321
|
+
expected: "(boolean | undefined)",
|
|
1322
|
+
value: input.deprecated
|
|
1323
|
+
}), true].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1322
1324
|
const value = input[key];
|
|
1323
1325
|
if (undefined === value)
|
|
1324
1326
|
return true;
|
|
@@ -1351,10 +1353,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1351
1353
|
path: _path + ".type",
|
|
1352
1354
|
expected: "\"boolean\"",
|
|
1353
1355
|
value: input.type
|
|
1354
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1355
|
-
path: _path + "[\"x-nullable\"]",
|
|
1356
|
-
expected: "(boolean | undefined)",
|
|
1357
|
-
value: input["x-nullable"]
|
|
1358
1356
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1359
1357
|
path: _path + ".title",
|
|
1360
1358
|
expected: "(string | undefined)",
|
|
@@ -1367,7 +1365,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1367
1365
|
path: _path + ".deprecated",
|
|
1368
1366
|
expected: "(boolean | undefined)",
|
|
1369
1367
|
value: input.deprecated
|
|
1370
|
-
}), true, undefined === input
|
|
1368
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1369
|
+
path: _path + "[\"x-nullable\"]",
|
|
1370
|
+
expected: "(boolean | undefined)",
|
|
1371
|
+
value: input["x-nullable"]
|
|
1372
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1371
1373
|
path: _path + ".examples",
|
|
1372
1374
|
expected: "(Array<any> | undefined)",
|
|
1373
1375
|
value: input.examples
|
|
@@ -1439,10 +1441,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1439
1441
|
path: _path + ".type",
|
|
1440
1442
|
expected: "\"integer\"",
|
|
1441
1443
|
value: input.type
|
|
1442
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1443
|
-
path: _path + "[\"x-nullable\"]",
|
|
1444
|
-
expected: "(boolean | undefined)",
|
|
1445
|
-
value: input["x-nullable"]
|
|
1446
1444
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1447
1445
|
path: _path + ".title",
|
|
1448
1446
|
expected: "(string | undefined)",
|
|
@@ -1455,7 +1453,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1455
1453
|
path: _path + ".deprecated",
|
|
1456
1454
|
expected: "(boolean | undefined)",
|
|
1457
1455
|
value: input.deprecated
|
|
1458
|
-
}), true, undefined === input
|
|
1456
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1457
|
+
path: _path + "[\"x-nullable\"]",
|
|
1458
|
+
expected: "(boolean | undefined)",
|
|
1459
|
+
value: input["x-nullable"]
|
|
1460
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1459
1461
|
path: _path + ".examples",
|
|
1460
1462
|
expected: "(Array<any> | undefined)",
|
|
1461
1463
|
value: input.examples
|
|
@@ -1511,10 +1513,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1511
1513
|
path: _path + ".type",
|
|
1512
1514
|
expected: "\"number\"",
|
|
1513
1515
|
value: input.type
|
|
1514
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1515
|
-
path: _path + "[\"x-nullable\"]",
|
|
1516
|
-
expected: "(boolean | undefined)",
|
|
1517
|
-
value: input["x-nullable"]
|
|
1518
1516
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1519
1517
|
path: _path + ".title",
|
|
1520
1518
|
expected: "(string | undefined)",
|
|
@@ -1527,7 +1525,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1527
1525
|
path: _path + ".deprecated",
|
|
1528
1526
|
expected: "(boolean | undefined)",
|
|
1529
1527
|
value: input.deprecated
|
|
1530
|
-
}), true, undefined === input
|
|
1528
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1529
|
+
path: _path + "[\"x-nullable\"]",
|
|
1530
|
+
expected: "(boolean | undefined)",
|
|
1531
|
+
value: input["x-nullable"]
|
|
1532
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1531
1533
|
path: _path + ".examples",
|
|
1532
1534
|
expected: "(Array<any> | undefined)",
|
|
1533
1535
|
value: input.examples
|
|
@@ -1583,10 +1585,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1583
1585
|
path: _path + ".type",
|
|
1584
1586
|
expected: "\"string\"",
|
|
1585
1587
|
value: input.type
|
|
1586
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1587
|
-
path: _path + "[\"x-nullable\"]",
|
|
1588
|
-
expected: "(boolean | undefined)",
|
|
1589
|
-
value: input["x-nullable"]
|
|
1590
1588
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1591
1589
|
path: _path + ".title",
|
|
1592
1590
|
expected: "(string | undefined)",
|
|
@@ -1599,7 +1597,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1599
1597
|
path: _path + ".deprecated",
|
|
1600
1598
|
expected: "(boolean | undefined)",
|
|
1601
1599
|
value: input.deprecated
|
|
1602
|
-
}), true, undefined === input
|
|
1600
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1601
|
+
path: _path + "[\"x-nullable\"]",
|
|
1602
|
+
expected: "(boolean | undefined)",
|
|
1603
|
+
value: input["x-nullable"]
|
|
1604
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1603
1605
|
path: _path + ".examples",
|
|
1604
1606
|
expected: "(Array<any> | undefined)",
|
|
1605
1607
|
value: input.examples
|
|
@@ -1643,10 +1645,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1643
1645
|
path: _path + ".type",
|
|
1644
1646
|
expected: "\"array\"",
|
|
1645
1647
|
value: input.type
|
|
1646
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1647
|
-
path: _path + "[\"x-nullable\"]",
|
|
1648
|
-
expected: "(boolean | undefined)",
|
|
1649
|
-
value: input["x-nullable"]
|
|
1650
1648
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1651
1649
|
path: _path + ".title",
|
|
1652
1650
|
expected: "(string | undefined)",
|
|
@@ -1659,7 +1657,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1659
1657
|
path: _path + ".deprecated",
|
|
1660
1658
|
expected: "(boolean | undefined)",
|
|
1661
1659
|
value: input.deprecated
|
|
1662
|
-
}), true, undefined === input
|
|
1660
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1661
|
+
path: _path + "[\"x-nullable\"]",
|
|
1662
|
+
expected: "(boolean | undefined)",
|
|
1663
|
+
value: input["x-nullable"]
|
|
1664
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1663
1665
|
path: _path + ".examples",
|
|
1664
1666
|
expected: "(Array<any> | undefined)",
|
|
1665
1667
|
value: input.examples
|
|
@@ -1715,10 +1717,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
1715
1717
|
path: _path + ".type",
|
|
1716
1718
|
expected: "\"object\"",
|
|
1717
1719
|
value: input.type
|
|
1718
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1719
|
-
path: _path + "[\"x-nullable\"]",
|
|
1720
|
-
expected: "(boolean | undefined)",
|
|
1721
|
-
value: input["x-nullable"]
|
|
1722
1720
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1723
1721
|
path: _path + ".title",
|
|
1724
1722
|
expected: "(string | undefined)",
|
|
@@ -1731,7 +1729,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
1731
1729
|
path: _path + ".deprecated",
|
|
1732
1730
|
expected: "(boolean | undefined)",
|
|
1733
1731
|
value: input.deprecated
|
|
1734
|
-
}), true, undefined === input
|
|
1732
|
+
}), true, undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1733
|
+
path: _path + "[\"x-nullable\"]",
|
|
1734
|
+
expected: "(boolean | undefined)",
|
|
1735
|
+
value: input["x-nullable"]
|
|
1736
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1735
1737
|
path: _path + ".examples",
|
|
1736
1738
|
expected: "(Array<any> | undefined)",
|
|
1737
1739
|
value: input.examples
|
|
@@ -1747,6 +1749,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
1747
1749
|
path: _path + ".$ref",
|
|
1748
1750
|
expected: "string",
|
|
1749
1751
|
value: input.$ref
|
|
1752
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1753
|
+
path: _path + ".examples",
|
|
1754
|
+
expected: "(Array<any> | undefined)",
|
|
1755
|
+
value: input.examples
|
|
1750
1756
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1751
1757
|
path: _path + ".title",
|
|
1752
1758
|
expected: "(string | undefined)",
|
|
@@ -1759,11 +1765,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
1759
1765
|
path: _path + ".deprecated",
|
|
1760
1766
|
expected: "(boolean | undefined)",
|
|
1761
1767
|
value: input.deprecated
|
|
1762
|
-
}), true,
|
|
1763
|
-
path: _path + ".examples",
|
|
1764
|
-
expected: "(Array<any> | undefined)",
|
|
1765
|
-
value: input.examples
|
|
1766
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1768
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1767
1769
|
path: _path + ".name",
|
|
1768
1770
|
expected: "string",
|
|
1769
1771
|
value: input.name
|
|
@@ -1771,15 +1773,27 @@ const createHttpLlmApplication = (props) => {
|
|
|
1771
1773
|
path: _path + "[\"in\"]",
|
|
1772
1774
|
expected: "string",
|
|
1773
1775
|
value: input["in"]
|
|
1774
|
-
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [(
|
|
1775
|
-
path: _path + "
|
|
1776
|
-
expected: "
|
|
1777
|
-
value: input
|
|
1778
|
-
})) && (
|
|
1779
|
-
path: _path + "
|
|
1780
|
-
expected: "
|
|
1781
|
-
value:
|
|
1782
|
-
})),
|
|
1776
|
+
})].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1777
|
+
path: _path + "[\"x-anyOf\"]",
|
|
1778
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1779
|
+
value: input["x-anyOf"]
|
|
1780
|
+
})) && input["x-anyOf"].map((elem, _index99) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1781
|
+
path: _path + "[\"x-anyOf\"][" + _index99 + "]",
|
|
1782
|
+
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)",
|
|
1783
|
+
value: elem
|
|
1784
|
+
})) && _vu0(elem, _path + "[\"x-anyOf\"][" + _index99 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1785
|
+
path: _path + "[\"x-anyOf\"][" + _index99 + "]",
|
|
1786
|
+
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)",
|
|
1787
|
+
value: elem
|
|
1788
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1789
|
+
path: _path + "[\"x-anyOf\"]",
|
|
1790
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1791
|
+
value: input["x-anyOf"]
|
|
1792
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1793
|
+
path: _path + ".examples",
|
|
1794
|
+
expected: "(Array<any> | undefined)",
|
|
1795
|
+
value: input.examples
|
|
1796
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1783
1797
|
path: _path + ".title",
|
|
1784
1798
|
expected: "(string | undefined)",
|
|
1785
1799
|
value: input.title
|
|
@@ -1791,11 +1805,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
1791
1805
|
path: _path + ".deprecated",
|
|
1792
1806
|
expected: "(boolean | undefined)",
|
|
1793
1807
|
value: input.deprecated
|
|
1794
|
-
}), true,
|
|
1795
|
-
path: _path + ".examples",
|
|
1796
|
-
expected: "(Array<any> | undefined)",
|
|
1797
|
-
value: input.examples
|
|
1798
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1808
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1799
1809
|
path: _path + ".name",
|
|
1800
1810
|
expected: "string",
|
|
1801
1811
|
value: input.name
|
|
@@ -1803,14 +1813,26 @@ const createHttpLlmApplication = (props) => {
|
|
|
1803
1813
|
path: _path + "[\"in\"]",
|
|
1804
1814
|
expected: "string",
|
|
1805
1815
|
value: input["in"]
|
|
1806
|
-
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["
|
|
1807
|
-
path: _path + "
|
|
1808
|
-
expected: "
|
|
1809
|
-
value: input
|
|
1810
|
-
})
|
|
1811
|
-
path: _path + "[\"
|
|
1812
|
-
expected: "(
|
|
1813
|
-
value:
|
|
1816
|
+
})].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1817
|
+
path: _path + "[\"x-oneOf\"]",
|
|
1818
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1819
|
+
value: input["x-oneOf"]
|
|
1820
|
+
})) && input["x-oneOf"].map((elem, _index100) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1821
|
+
path: _path + "[\"x-oneOf\"][" + _index100 + "]",
|
|
1822
|
+
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)",
|
|
1823
|
+
value: elem
|
|
1824
|
+
})) && _vu0(elem, _path + "[\"x-oneOf\"][" + _index100 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1825
|
+
path: _path + "[\"x-oneOf\"][" + _index100 + "]",
|
|
1826
|
+
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)",
|
|
1827
|
+
value: elem
|
|
1828
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1829
|
+
path: _path + "[\"x-oneOf\"]",
|
|
1830
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1831
|
+
value: input["x-oneOf"]
|
|
1832
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1833
|
+
path: _path + ".examples",
|
|
1834
|
+
expected: "(Array<any> | undefined)",
|
|
1835
|
+
value: input.examples
|
|
1814
1836
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1815
1837
|
path: _path + ".title",
|
|
1816
1838
|
expected: "(string | undefined)",
|
|
@@ -1823,11 +1845,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
1823
1845
|
path: _path + ".deprecated",
|
|
1824
1846
|
expected: "(boolean | undefined)",
|
|
1825
1847
|
value: input.deprecated
|
|
1826
|
-
}), true,
|
|
1827
|
-
path: _path + ".examples",
|
|
1828
|
-
expected: "(Array<any> | undefined)",
|
|
1829
|
-
value: input.examples
|
|
1830
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1848
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1831
1849
|
path: _path + ".name",
|
|
1832
1850
|
expected: "string",
|
|
1833
1851
|
value: input.name
|
|
@@ -1835,22 +1853,18 @@ const createHttpLlmApplication = (props) => {
|
|
|
1835
1853
|
path: _path + "[\"in\"]",
|
|
1836
1854
|
expected: "string",
|
|
1837
1855
|
value: input["in"]
|
|
1838
|
-
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => [
|
|
1839
|
-
path: _path + "
|
|
1840
|
-
expected: "
|
|
1841
|
-
value: input
|
|
1842
|
-
})
|
|
1843
|
-
path: _path + "[\"
|
|
1844
|
-
expected: "(
|
|
1845
|
-
value:
|
|
1846
|
-
})
|
|
1847
|
-
path: _path + "
|
|
1848
|
-
expected: "(
|
|
1849
|
-
value:
|
|
1850
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
1851
|
-
path: _path + "[\"x-anyOf\"]",
|
|
1852
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1853
|
-
value: input["x-anyOf"]
|
|
1856
|
+
})].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
|
1857
|
+
path: _path + ".type",
|
|
1858
|
+
expected: "\"null\"",
|
|
1859
|
+
value: input.type
|
|
1860
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
1861
|
+
path: _path + "[\"default\"]",
|
|
1862
|
+
expected: "(null | undefined)",
|
|
1863
|
+
value: input["default"]
|
|
1864
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1865
|
+
path: _path + ".examples",
|
|
1866
|
+
expected: "(Array<any> | undefined)",
|
|
1867
|
+
value: input.examples
|
|
1854
1868
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1855
1869
|
path: _path + ".title",
|
|
1856
1870
|
expected: "(string | undefined)",
|
|
@@ -1863,11 +1877,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
1863
1877
|
path: _path + ".deprecated",
|
|
1864
1878
|
expected: "(boolean | undefined)",
|
|
1865
1879
|
value: input.deprecated
|
|
1866
|
-
}), true,
|
|
1867
|
-
path: _path + ".examples",
|
|
1868
|
-
expected: "(Array<any> | undefined)",
|
|
1869
|
-
value: input.examples
|
|
1870
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1880
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1871
1881
|
path: _path + ".name",
|
|
1872
1882
|
expected: "string",
|
|
1873
1883
|
value: input.name
|
|
@@ -1875,22 +1885,18 @@ const createHttpLlmApplication = (props) => {
|
|
|
1875
1885
|
path: _path + "[\"in\"]",
|
|
1876
1886
|
expected: "string",
|
|
1877
1887
|
value: input["in"]
|
|
1878
|
-
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [(
|
|
1879
|
-
path: _path + "
|
|
1880
|
-
expected: "
|
|
1881
|
-
value: input
|
|
1882
|
-
})) &&
|
|
1883
|
-
path: _path + "
|
|
1884
|
-
expected: "
|
|
1885
|
-
value:
|
|
1886
|
-
}))
|
|
1887
|
-
path: _path + "
|
|
1888
|
-
expected: "(
|
|
1889
|
-
value:
|
|
1890
|
-
})).every(flag => flag) || _report(_exceptionable, {
|
|
1891
|
-
path: _path + "[\"x-oneOf\"]",
|
|
1892
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1893
|
-
value: input["x-oneOf"]
|
|
1888
|
+
})].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
1889
|
+
path: _path + ".type",
|
|
1890
|
+
expected: "undefined",
|
|
1891
|
+
value: input.type
|
|
1892
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
1893
|
+
path: _path + ".type",
|
|
1894
|
+
expected: "undefined",
|
|
1895
|
+
value: input.type
|
|
1896
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
1897
|
+
path: _path + ".examples",
|
|
1898
|
+
expected: "(Array<any> | undefined)",
|
|
1899
|
+
value: input.examples
|
|
1894
1900
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1895
1901
|
path: _path + ".title",
|
|
1896
1902
|
expected: "(string | undefined)",
|
|
@@ -1903,11 +1909,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
1903
1909
|
path: _path + ".deprecated",
|
|
1904
1910
|
expected: "(boolean | undefined)",
|
|
1905
1911
|
value: input.deprecated
|
|
1906
|
-
}), true,
|
|
1907
|
-
path: _path + ".examples",
|
|
1908
|
-
expected: "(Array<any> | undefined)",
|
|
1909
|
-
value: input.examples
|
|
1910
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1912
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
|
1911
1913
|
path: _path + ".name",
|
|
1912
1914
|
expected: "string",
|
|
1913
1915
|
value: input.name
|
|
@@ -2236,6 +2238,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
2236
2238
|
path: _path + ".$ref",
|
|
2237
2239
|
expected: "`#/parameters/${string}`",
|
|
2238
2240
|
value: input.$ref
|
|
2241
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
2242
|
+
path: _path + ".examples",
|
|
2243
|
+
expected: "(Array<any> | undefined)",
|
|
2244
|
+
value: input.examples
|
|
2239
2245
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2240
2246
|
path: _path + ".title",
|
|
2241
2247
|
expected: "(string | undefined)",
|
|
@@ -2248,11 +2254,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
2248
2254
|
path: _path + ".deprecated",
|
|
2249
2255
|
expected: "(boolean | undefined)",
|
|
2250
2256
|
value: input.deprecated
|
|
2251
|
-
}), true, undefined === input.
|
|
2252
|
-
path: _path + ".examples",
|
|
2253
|
-
expected: "(Array<any> | undefined)",
|
|
2254
|
-
value: input.examples
|
|
2255
|
-
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
2257
|
+
}), true].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
2256
2258
|
path: _path + ".operationId",
|
|
2257
2259
|
expected: "(string | undefined)",
|
|
2258
2260
|
value: input.operationId
|
|
@@ -2324,6 +2326,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
2324
2326
|
path: _path + ".$ref",
|
|
2325
2327
|
expected: "`#/definitions/parameters/${string}`",
|
|
2326
2328
|
value: input.$ref
|
|
2329
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
2330
|
+
path: _path + ".examples",
|
|
2331
|
+
expected: "(Array<any> | undefined)",
|
|
2332
|
+
value: input.examples
|
|
2327
2333
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2328
2334
|
path: _path + ".title",
|
|
2329
2335
|
expected: "(string | undefined)",
|
|
@@ -2336,11 +2342,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
2336
2342
|
path: _path + ".deprecated",
|
|
2337
2343
|
expected: "(boolean | undefined)",
|
|
2338
2344
|
value: input.deprecated
|
|
2339
|
-
}), true,
|
|
2340
|
-
path: _path + ".examples",
|
|
2341
|
-
expected: "(Array<any> | undefined)",
|
|
2342
|
-
value: input.examples
|
|
2343
|
-
})].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2345
|
+
}), true].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2344
2346
|
const value = input[key];
|
|
2345
2347
|
if (undefined === value)
|
|
2346
2348
|
return true;
|
|
@@ -2357,6 +2359,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
2357
2359
|
path: _path + ".$ref",
|
|
2358
2360
|
expected: "`#/definitions/responses/${string}`",
|
|
2359
2361
|
value: input.$ref
|
|
2362
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
|
2363
|
+
path: _path + ".examples",
|
|
2364
|
+
expected: "(Array<any> | undefined)",
|
|
2365
|
+
value: input.examples
|
|
2360
2366
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2361
2367
|
path: _path + ".title",
|
|
2362
2368
|
expected: "(string | undefined)",
|
|
@@ -2369,11 +2375,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
2369
2375
|
path: _path + ".deprecated",
|
|
2370
2376
|
expected: "(boolean | undefined)",
|
|
2371
2377
|
value: input.deprecated
|
|
2372
|
-
}), true
|
|
2373
|
-
path: _path + ".examples",
|
|
2374
|
-
expected: "(Array<any> | undefined)",
|
|
2375
|
-
value: input.examples
|
|
2376
|
-
})].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
2378
|
+
}), true].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
2377
2379
|
path: _path + ".name",
|
|
2378
2380
|
expected: "string",
|
|
2379
2381
|
value: input.name
|
|
@@ -2635,7 +2637,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
2635
2637
|
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)",
|
|
2636
2638
|
value: value
|
|
2637
2639
|
});
|
|
2638
|
-
}).every(flag => flag)].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [
|
|
2640
|
+
}).every(flag => flag)].every(flag => flag); const _vo57 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2641
|
+
path: _path + ".nullable",
|
|
2642
|
+
expected: "(boolean | undefined)",
|
|
2643
|
+
value: input.nullable
|
|
2644
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
2639
2645
|
path: _path + "[\"default\"]",
|
|
2640
2646
|
expected: "(boolean | null | undefined)",
|
|
2641
2647
|
value: input["default"]
|
|
@@ -2655,10 +2661,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
2655
2661
|
path: _path + ".type",
|
|
2656
2662
|
expected: "\"boolean\"",
|
|
2657
2663
|
value: input.type
|
|
2658
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2659
|
-
path: _path + ".nullable",
|
|
2660
|
-
expected: "(boolean | undefined)",
|
|
2661
|
-
value: input.nullable
|
|
2662
2664
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2663
2665
|
path: _path + ".title",
|
|
2664
2666
|
expected: "(string | undefined)",
|
|
@@ -2684,7 +2686,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
2684
2686
|
if (undefined === value)
|
|
2685
2687
|
return true;
|
|
2686
2688
|
return true;
|
|
2687
|
-
}).every(flag => flag)].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [
|
|
2689
|
+
}).every(flag => flag)].every(flag => flag); const _vo59 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2690
|
+
path: _path + ".nullable",
|
|
2691
|
+
expected: "(boolean | undefined)",
|
|
2692
|
+
value: input.nullable
|
|
2693
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || _report(_exceptionable, {
|
|
2688
2694
|
path: _path + "[\"default\"]",
|
|
2689
2695
|
expected: "number & Type<\"int64\">",
|
|
2690
2696
|
value: input["default"]
|
|
@@ -2744,10 +2750,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
2744
2750
|
path: _path + ".type",
|
|
2745
2751
|
expected: "\"integer\"",
|
|
2746
2752
|
value: input.type
|
|
2747
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2748
|
-
path: _path + ".nullable",
|
|
2749
|
-
expected: "(boolean | undefined)",
|
|
2750
|
-
value: input.nullable
|
|
2751
2753
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2752
2754
|
path: _path + ".title",
|
|
2753
2755
|
expected: "(string | undefined)",
|
|
@@ -2768,7 +2770,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
2768
2770
|
path: _path + ".examples",
|
|
2769
2771
|
expected: "(Record<string, any> | undefined)",
|
|
2770
2772
|
value: input.examples
|
|
2771
|
-
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [
|
|
2773
|
+
})].every(flag => flag); const _vo60 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2774
|
+
path: _path + ".nullable",
|
|
2775
|
+
expected: "(boolean | undefined)",
|
|
2776
|
+
value: input.nullable
|
|
2777
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
2772
2778
|
path: _path + "[\"default\"]",
|
|
2773
2779
|
expected: "(null | number | undefined)",
|
|
2774
2780
|
value: input["default"]
|
|
@@ -2812,10 +2818,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
2812
2818
|
path: _path + ".type",
|
|
2813
2819
|
expected: "\"number\"",
|
|
2814
2820
|
value: input.type
|
|
2815
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2816
|
-
path: _path + ".nullable",
|
|
2817
|
-
expected: "(boolean | undefined)",
|
|
2818
|
-
value: input.nullable
|
|
2819
2821
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2820
2822
|
path: _path + ".title",
|
|
2821
2823
|
expected: "(string | undefined)",
|
|
@@ -2836,7 +2838,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
2836
2838
|
path: _path + ".examples",
|
|
2837
2839
|
expected: "(Record<string, any> | undefined)",
|
|
2838
2840
|
value: input.examples
|
|
2839
|
-
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [
|
|
2841
|
+
})].every(flag => flag); const _vo61 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2842
|
+
path: _path + ".nullable",
|
|
2843
|
+
expected: "(boolean | undefined)",
|
|
2844
|
+
value: input.nullable
|
|
2845
|
+
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
2840
2846
|
path: _path + "[\"default\"]",
|
|
2841
2847
|
expected: "(null | string | undefined)",
|
|
2842
2848
|
value: input["default"]
|
|
@@ -2880,10 +2886,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
2880
2886
|
path: _path + ".type",
|
|
2881
2887
|
expected: "\"string\"",
|
|
2882
2888
|
value: input.type
|
|
2883
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2884
|
-
path: _path + ".nullable",
|
|
2885
|
-
expected: "(boolean | undefined)",
|
|
2886
|
-
value: input.nullable
|
|
2887
2889
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2888
2890
|
path: _path + ".title",
|
|
2889
2891
|
expected: "(string | undefined)",
|
|
@@ -2904,7 +2906,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
2904
2906
|
path: _path + ".examples",
|
|
2905
2907
|
expected: "(Record<string, any> | undefined)",
|
|
2906
2908
|
value: input.examples
|
|
2907
|
-
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [
|
|
2909
|
+
})].every(flag => flag); const _vo62 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2910
|
+
path: _path + ".nullable",
|
|
2911
|
+
expected: "(boolean | undefined)",
|
|
2912
|
+
value: input.nullable
|
|
2913
|
+
}), ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
2908
2914
|
path: _path + ".items",
|
|
2909
2915
|
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)",
|
|
2910
2916
|
value: input.items
|
|
@@ -2936,10 +2942,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
2936
2942
|
path: _path + ".type",
|
|
2937
2943
|
expected: "\"array\"",
|
|
2938
2944
|
value: input.type
|
|
2939
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2940
|
-
path: _path + ".nullable",
|
|
2941
|
-
expected: "(boolean | undefined)",
|
|
2942
|
-
value: input.nullable
|
|
2943
2945
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
2944
2946
|
path: _path + ".title",
|
|
2945
2947
|
expected: "(string | undefined)",
|
|
@@ -2960,7 +2962,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
2960
2962
|
path: _path + ".examples",
|
|
2961
2963
|
expected: "(Record<string, any> | undefined)",
|
|
2962
2964
|
value: input.examples
|
|
2963
|
-
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
2965
|
+
})].every(flag => flag); const _vo63 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
2966
|
+
path: _path + ".nullable",
|
|
2967
|
+
expected: "(boolean | undefined)",
|
|
2968
|
+
value: input.nullable
|
|
2969
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
2964
2970
|
path: _path + ".properties",
|
|
2965
2971
|
expected: "(Record<string, OpenApiV3.IJsonSchema> | undefined)",
|
|
2966
2972
|
value: input.properties
|
|
@@ -3004,10 +3010,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
3004
3010
|
path: _path + ".type",
|
|
3005
3011
|
expected: "\"object\"",
|
|
3006
3012
|
value: input.type
|
|
3007
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
3008
|
-
path: _path + ".nullable",
|
|
3009
|
-
expected: "(boolean | undefined)",
|
|
3010
|
-
value: input.nullable
|
|
3011
3013
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3012
3014
|
path: _path + ".title",
|
|
3013
3015
|
expected: "(string | undefined)",
|
|
@@ -3052,63 +3054,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
3052
3054
|
path: _path + ".examples",
|
|
3053
3055
|
expected: "(Record<string, any> | undefined)",
|
|
3054
3056
|
value: input.examples
|
|
3055
|
-
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [(
|
|
3056
|
-
path: _path + ".type",
|
|
3057
|
-
expected: "undefined",
|
|
3058
|
-
value: input.type
|
|
3059
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
|
3060
|
-
path: _path + ".type",
|
|
3061
|
-
expected: "undefined",
|
|
3062
|
-
value: input.type
|
|
3063
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3064
|
-
path: _path + ".title",
|
|
3065
|
-
expected: "(string | undefined)",
|
|
3066
|
-
value: input.title
|
|
3067
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3068
|
-
path: _path + ".description",
|
|
3069
|
-
expected: "(string | undefined)",
|
|
3070
|
-
value: input.description
|
|
3071
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
3072
|
-
path: _path + ".deprecated",
|
|
3073
|
-
expected: "(boolean | undefined)",
|
|
3074
|
-
value: input.deprecated
|
|
3075
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
3076
|
-
path: _path + ".examples",
|
|
3077
|
-
expected: "(Record<string, any> | undefined)",
|
|
3078
|
-
value: input.examples
|
|
3079
|
-
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
3080
|
-
path: _path + ".examples",
|
|
3081
|
-
expected: "(Record<string, any> | undefined)",
|
|
3082
|
-
value: input.examples
|
|
3083
|
-
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
|
3084
|
-
path: _path + ".type",
|
|
3085
|
-
expected: "\"null\"",
|
|
3086
|
-
value: input.type
|
|
3087
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
3088
|
-
path: _path + "[\"default\"]",
|
|
3089
|
-
expected: "(null | undefined)",
|
|
3090
|
-
value: input["default"]
|
|
3091
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3092
|
-
path: _path + ".title",
|
|
3093
|
-
expected: "(string | undefined)",
|
|
3094
|
-
value: input.title
|
|
3095
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3096
|
-
path: _path + ".description",
|
|
3097
|
-
expected: "(string | undefined)",
|
|
3098
|
-
value: input.description
|
|
3099
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
3100
|
-
path: _path + ".deprecated",
|
|
3101
|
-
expected: "(boolean | undefined)",
|
|
3102
|
-
value: input.deprecated
|
|
3103
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
3104
|
-
path: _path + ".examples",
|
|
3105
|
-
expected: "(Record<string, any> | undefined)",
|
|
3106
|
-
value: input.examples
|
|
3107
|
-
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
3108
|
-
path: _path + ".examples",
|
|
3109
|
-
expected: "(Record<string, any> | undefined)",
|
|
3110
|
-
value: input.examples
|
|
3111
|
-
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
3057
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
3112
3058
|
path: _path + ".allOf",
|
|
3113
3059
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3114
3060
|
value: input.allOf
|
|
@@ -3144,7 +3090,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
3144
3090
|
path: _path + ".examples",
|
|
3145
3091
|
expected: "(Record<string, any> | undefined)",
|
|
3146
3092
|
value: input.examples
|
|
3147
|
-
})].every(flag => flag); const
|
|
3093
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
3148
3094
|
path: _path + ".anyOf",
|
|
3149
3095
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3150
3096
|
value: input.anyOf
|
|
@@ -3180,7 +3126,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
3180
3126
|
path: _path + ".examples",
|
|
3181
3127
|
expected: "(Record<string, any> | undefined)",
|
|
3182
3128
|
value: input.examples
|
|
3183
|
-
})].every(flag => flag); const
|
|
3129
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
3184
3130
|
path: _path + ".oneOf",
|
|
3185
3131
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3186
3132
|
value: input.oneOf
|
|
@@ -3200,7 +3146,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
3200
3146
|
path: _path + ".discriminator",
|
|
3201
3147
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
3202
3148
|
value: input.discriminator
|
|
3203
|
-
})) &&
|
|
3149
|
+
})) && _vo68(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
|
3204
3150
|
path: _path + ".discriminator",
|
|
3205
3151
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
3206
3152
|
value: input.discriminator
|
|
@@ -3224,7 +3170,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
3224
3170
|
path: _path + ".examples",
|
|
3225
3171
|
expected: "(Record<string, any> | undefined)",
|
|
3226
3172
|
value: input.examples
|
|
3227
|
-
})].every(flag => flag); const
|
|
3173
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
3228
3174
|
path: _path + ".propertyName",
|
|
3229
3175
|
expected: "string",
|
|
3230
3176
|
value: input.propertyName
|
|
@@ -3236,6 +3182,62 @@ const createHttpLlmApplication = (props) => {
|
|
|
3236
3182
|
path: _path + ".mapping",
|
|
3237
3183
|
expected: "(Record<string, string> | undefined)",
|
|
3238
3184
|
value: input.mapping
|
|
3185
|
+
})].every(flag => flag); const _vo69 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
3186
|
+
path: _path + "[\"default\"]",
|
|
3187
|
+
expected: "(null | undefined)",
|
|
3188
|
+
value: input["default"]
|
|
3189
|
+
}), "null" === input.type || _report(_exceptionable, {
|
|
3190
|
+
path: _path + ".type",
|
|
3191
|
+
expected: "\"null\"",
|
|
3192
|
+
value: input.type
|
|
3193
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3194
|
+
path: _path + ".title",
|
|
3195
|
+
expected: "(string | undefined)",
|
|
3196
|
+
value: input.title
|
|
3197
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3198
|
+
path: _path + ".description",
|
|
3199
|
+
expected: "(string | undefined)",
|
|
3200
|
+
value: input.description
|
|
3201
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
3202
|
+
path: _path + ".deprecated",
|
|
3203
|
+
expected: "(boolean | undefined)",
|
|
3204
|
+
value: input.deprecated
|
|
3205
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
3206
|
+
path: _path + ".examples",
|
|
3207
|
+
expected: "(Record<string, any> | undefined)",
|
|
3208
|
+
value: input.examples
|
|
3209
|
+
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
3210
|
+
path: _path + ".examples",
|
|
3211
|
+
expected: "(Record<string, any> | undefined)",
|
|
3212
|
+
value: input.examples
|
|
3213
|
+
})].every(flag => flag); const _vo70 = (input, _path, _exceptionable = true) => [true, (null !== input.type || _report(_exceptionable, {
|
|
3214
|
+
path: _path + ".type",
|
|
3215
|
+
expected: "undefined",
|
|
3216
|
+
value: input.type
|
|
3217
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
3218
|
+
path: _path + ".type",
|
|
3219
|
+
expected: "undefined",
|
|
3220
|
+
value: input.type
|
|
3221
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
3222
|
+
path: _path + ".title",
|
|
3223
|
+
expected: "(string | undefined)",
|
|
3224
|
+
value: input.title
|
|
3225
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
3226
|
+
path: _path + ".description",
|
|
3227
|
+
expected: "(string | undefined)",
|
|
3228
|
+
value: input.description
|
|
3229
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
3230
|
+
path: _path + ".deprecated",
|
|
3231
|
+
expected: "(boolean | undefined)",
|
|
3232
|
+
value: input.deprecated
|
|
3233
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
3234
|
+
path: _path + ".examples",
|
|
3235
|
+
expected: "(Record<string, any> | undefined)",
|
|
3236
|
+
value: input.examples
|
|
3237
|
+
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
3238
|
+
path: _path + ".examples",
|
|
3239
|
+
expected: "(Record<string, any> | undefined)",
|
|
3240
|
+
value: input.examples
|
|
3239
3241
|
})].every(flag => flag); const _vo71 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3240
3242
|
const value = input[key];
|
|
3241
3243
|
if (undefined === value)
|
|
@@ -4023,7 +4025,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4023
4025
|
path: _path + ".paths",
|
|
4024
4026
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
4025
4027
|
value: input.paths
|
|
4026
|
-
})) &&
|
|
4028
|
+
})) && _vo130(input.paths, _path + ".paths", true && _exceptionable) || _report(_exceptionable, {
|
|
4027
4029
|
path: _path + ".paths",
|
|
4028
4030
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
4029
4031
|
value: input.paths
|
|
@@ -4031,7 +4033,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4031
4033
|
path: _path + ".webhooks",
|
|
4032
4034
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
|
4033
4035
|
value: input.webhooks
|
|
4034
|
-
})) &&
|
|
4036
|
+
})) && _vo163(input.webhooks, _path + ".webhooks", true && _exceptionable) || _report(_exceptionable, {
|
|
4035
4037
|
path: _path + ".webhooks",
|
|
4036
4038
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
|
4037
4039
|
value: input.webhooks
|
|
@@ -4059,7 +4061,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4059
4061
|
path: _path + ".tags[" + _index126 + "]",
|
|
4060
4062
|
expected: "OpenApiV3_1.IDocument.ITag",
|
|
4061
4063
|
value: elem
|
|
4062
|
-
})) &&
|
|
4064
|
+
})) && _vo165(elem, _path + ".tags[" + _index126 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4063
4065
|
path: _path + ".tags[" + _index126 + "]",
|
|
4064
4066
|
expected: "OpenApiV3_1.IDocument.ITag",
|
|
4065
4067
|
value: elem
|
|
@@ -4192,7 +4194,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4192
4194
|
path: _path + ".pathItems",
|
|
4193
4195
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
4194
4196
|
value: input.pathItems
|
|
4195
|
-
})) &&
|
|
4197
|
+
})) && _vo130(input.pathItems, _path + ".pathItems", true && _exceptionable) || _report(_exceptionable, {
|
|
4196
4198
|
path: _path + ".pathItems",
|
|
4197
4199
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
|
4198
4200
|
value: input.pathItems
|
|
@@ -4200,7 +4202,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4200
4202
|
path: _path + ".responses",
|
|
4201
4203
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
|
4202
4204
|
value: input.responses
|
|
4203
|
-
})) &&
|
|
4205
|
+
})) && _vo148(input.responses, _path + ".responses", true && _exceptionable) || _report(_exceptionable, {
|
|
4204
4206
|
path: _path + ".responses",
|
|
4205
4207
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
|
4206
4208
|
value: input.responses
|
|
@@ -4208,7 +4210,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4208
4210
|
path: _path + ".parameters",
|
|
4209
4211
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
|
4210
4212
|
value: input.parameters
|
|
4211
|
-
})) &&
|
|
4213
|
+
})) && _vo149(input.parameters, _path + ".parameters", true && _exceptionable) || _report(_exceptionable, {
|
|
4212
4214
|
path: _path + ".parameters",
|
|
4213
4215
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
|
4214
4216
|
value: input.parameters
|
|
@@ -4216,7 +4218,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4216
4218
|
path: _path + ".requestBodies",
|
|
4217
4219
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
|
4218
4220
|
value: input.requestBodies
|
|
4219
|
-
})) &&
|
|
4221
|
+
})) && _vo150(input.requestBodies, _path + ".requestBodies", true && _exceptionable) || _report(_exceptionable, {
|
|
4220
4222
|
path: _path + ".requestBodies",
|
|
4221
4223
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
|
4222
4224
|
value: input.requestBodies
|
|
@@ -4224,7 +4226,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4224
4226
|
path: _path + ".securitySchemes",
|
|
4225
4227
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
|
4226
4228
|
value: input.securitySchemes
|
|
4227
|
-
})) &&
|
|
4229
|
+
})) && _vo151(input.securitySchemes, _path + ".securitySchemes", true && _exceptionable) || _report(_exceptionable, {
|
|
4228
4230
|
path: _path + ".securitySchemes",
|
|
4229
4231
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
|
4230
4232
|
value: input.securitySchemes
|
|
@@ -4232,7 +4234,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4232
4234
|
path: _path + ".headers",
|
|
4233
4235
|
expected: "(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, \"in\">> | undefined)",
|
|
4234
4236
|
value: input.headers
|
|
4235
|
-
})) &&
|
|
4237
|
+
})) && _vo161(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
4236
4238
|
path: _path + ".headers",
|
|
4237
4239
|
expected: "(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, \"in\">> | undefined)",
|
|
4238
4240
|
value: input.headers
|
|
@@ -4240,7 +4242,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4240
4242
|
path: _path + ".examples",
|
|
4241
4243
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
|
4242
4244
|
value: input.examples
|
|
4243
|
-
})) &&
|
|
4245
|
+
})) && _vo162(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
4244
4246
|
path: _path + ".examples",
|
|
4245
4247
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
|
4246
4248
|
value: input.examples
|
|
@@ -4250,11 +4252,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4250
4252
|
return true;
|
|
4251
4253
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
4252
4254
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4253
|
-
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)",
|
|
4255
|
+
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)",
|
|
4254
4256
|
value: value
|
|
4255
4257
|
})) && _vu5(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
4256
4258
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
4257
|
-
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)",
|
|
4259
|
+
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)",
|
|
4258
4260
|
value: value
|
|
4259
4261
|
});
|
|
4260
4262
|
}).every(flag => flag)].every(flag => flag); const _vo114 = (input, _path, _exceptionable = true) => [(Array.isArray(input.type) || _report(_exceptionable, {
|
|
@@ -4281,6 +4283,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
4281
4283
|
path: _path + "[\"const\"]",
|
|
4282
4284
|
expected: "(boolean | number | string)",
|
|
4283
4285
|
value: input["const"]
|
|
4286
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4287
|
+
path: _path + ".nullable",
|
|
4288
|
+
expected: "(boolean | undefined)",
|
|
4289
|
+
value: input.nullable
|
|
4284
4290
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4285
4291
|
path: _path + ".title",
|
|
4286
4292
|
expected: "(string | undefined)",
|
|
@@ -4301,10 +4307,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4301
4307
|
path: _path + ".examples",
|
|
4302
4308
|
expected: "(Record<string, any> | undefined)",
|
|
4303
4309
|
value: input.examples
|
|
4304
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4305
|
-
path: _path + ".nullable",
|
|
4306
|
-
expected: "(boolean | undefined)",
|
|
4307
|
-
value: input.nullable
|
|
4308
4310
|
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
|
4309
4311
|
path: _path + ".minimum",
|
|
4310
4312
|
expected: "(number | undefined)",
|
|
@@ -4337,10 +4339,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4337
4339
|
path: _path + ".maxLength",
|
|
4338
4340
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
4339
4341
|
value: input.maxLength
|
|
4340
|
-
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
|
4341
|
-
path: _path + ".contentMediaType",
|
|
4342
|
-
expected: "(string | undefined)",
|
|
4343
|
-
value: input.contentMediaType
|
|
4344
4342
|
}), undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
|
|
4345
4343
|
path: _path + ".format",
|
|
4346
4344
|
expected: "(string | undefined)",
|
|
@@ -4349,6 +4347,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
4349
4347
|
path: _path + ".pattern",
|
|
4350
4348
|
expected: "(string | undefined)",
|
|
4351
4349
|
value: input.pattern
|
|
4350
|
+
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
|
4351
|
+
path: _path + ".contentMediaType",
|
|
4352
|
+
expected: "(string | undefined)",
|
|
4353
|
+
value: input.contentMediaType
|
|
4352
4354
|
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
4353
4355
|
path: _path + ".minLength",
|
|
4354
4356
|
expected: "number & Type<\"uint64\">",
|
|
@@ -4359,23 +4361,23 @@ const createHttpLlmApplication = (props) => {
|
|
|
4359
4361
|
value: input.minLength
|
|
4360
4362
|
}), (null !== input.items || _report(_exceptionable, {
|
|
4361
4363
|
path: _path + ".items",
|
|
4362
|
-
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)",
|
|
4364
|
+
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)",
|
|
4363
4365
|
value: input.items
|
|
4364
4366
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index129) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4365
4367
|
path: _path + ".items[" + _index129 + "]",
|
|
4366
|
-
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)",
|
|
4368
|
+
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)",
|
|
4367
4369
|
value: elem
|
|
4368
4370
|
})) && _vu5(elem, _path + ".items[" + _index129 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4369
4371
|
path: _path + ".items[" + _index129 + "]",
|
|
4370
|
-
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)",
|
|
4372
|
+
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)",
|
|
4371
4373
|
value: elem
|
|
4372
4374
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
4373
4375
|
path: _path + ".items",
|
|
4374
|
-
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)",
|
|
4376
|
+
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)",
|
|
4375
4377
|
value: input.items
|
|
4376
4378
|
})) || _report(_exceptionable, {
|
|
4377
4379
|
path: _path + ".items",
|
|
4378
|
-
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)",
|
|
4380
|
+
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)",
|
|
4379
4381
|
value: input.items
|
|
4380
4382
|
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
4381
4383
|
path: _path + ".prefixItems",
|
|
@@ -4383,11 +4385,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4383
4385
|
value: input.prefixItems
|
|
4384
4386
|
})) && input.prefixItems.map((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4385
4387
|
path: _path + ".prefixItems[" + _index130 + "]",
|
|
4386
|
-
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)",
|
|
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)",
|
|
4387
4389
|
value: elem
|
|
4388
4390
|
})) && _vu5(elem, _path + ".prefixItems[" + _index130 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4389
4391
|
path: _path + ".prefixItems[" + _index130 + "]",
|
|
4390
|
-
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)",
|
|
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)",
|
|
4391
4393
|
value: elem
|
|
4392
4394
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
4393
4395
|
path: _path + ".prefixItems",
|
|
@@ -4399,15 +4401,15 @@ const createHttpLlmApplication = (props) => {
|
|
|
4399
4401
|
value: input.uniqueItems
|
|
4400
4402
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
|
4401
4403
|
path: _path + ".additionalItems",
|
|
4402
|
-
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)",
|
|
4404
|
+
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)",
|
|
4403
4405
|
value: input.additionalItems
|
|
4404
4406
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
|
4405
4407
|
path: _path + ".additionalItems",
|
|
4406
|
-
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)",
|
|
4408
|
+
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)",
|
|
4407
4409
|
value: input.additionalItems
|
|
4408
4410
|
})) && _vu5(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || _report(_exceptionable, {
|
|
4409
4411
|
path: _path + ".additionalItems",
|
|
4410
|
-
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)",
|
|
4412
|
+
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)",
|
|
4411
4413
|
value: input.additionalItems
|
|
4412
4414
|
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || _report(_exceptionable, {
|
|
4413
4415
|
path: _path + ".minItems",
|
|
@@ -4439,15 +4441,15 @@ const createHttpLlmApplication = (props) => {
|
|
|
4439
4441
|
value: input.required
|
|
4440
4442
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
4441
4443
|
path: _path + ".additionalProperties",
|
|
4442
|
-
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)",
|
|
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 | boolean | undefined)",
|
|
4443
4445
|
value: input.additionalProperties
|
|
4444
4446
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
4445
4447
|
path: _path + ".additionalProperties",
|
|
4446
|
-
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)",
|
|
4448
|
+
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)",
|
|
4447
4449
|
value: input.additionalProperties
|
|
4448
4450
|
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
|
4449
4451
|
path: _path + ".additionalProperties",
|
|
4450
|
-
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)",
|
|
4452
|
+
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)",
|
|
4451
4453
|
value: input.additionalProperties
|
|
4452
4454
|
})), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
4453
4455
|
path: _path + ".properties",
|
|
@@ -4471,11 +4473,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4471
4473
|
value: input.oneOf
|
|
4472
4474
|
})) && input.oneOf.map((elem, _index132) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4473
4475
|
path: _path + ".oneOf[" + _index132 + "]",
|
|
4474
|
-
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)",
|
|
4476
|
+
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)",
|
|
4475
4477
|
value: elem
|
|
4476
4478
|
})) && _vu5(elem, _path + ".oneOf[" + _index132 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4477
4479
|
path: _path + ".oneOf[" + _index132 + "]",
|
|
4478
|
-
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)",
|
|
4480
|
+
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)",
|
|
4479
4481
|
value: elem
|
|
4480
4482
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
4481
4483
|
path: _path + ".oneOf",
|
|
@@ -4485,7 +4487,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
4485
4487
|
path: _path + ".discriminator",
|
|
4486
4488
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
4487
4489
|
value: input.discriminator
|
|
4488
|
-
})) &&
|
|
4490
|
+
})) && _vo127(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
|
4489
4491
|
path: _path + ".discriminator",
|
|
4490
4492
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
4491
4493
|
value: input.discriminator
|
|
@@ -4495,11 +4497,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4495
4497
|
value: input.anyOf
|
|
4496
4498
|
})) && input.anyOf.map((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4497
4499
|
path: _path + ".anyOf[" + _index133 + "]",
|
|
4498
|
-
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)",
|
|
4500
|
+
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)",
|
|
4499
4501
|
value: elem
|
|
4500
4502
|
})) && _vu5(elem, _path + ".anyOf[" + _index133 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4501
4503
|
path: _path + ".anyOf[" + _index133 + "]",
|
|
4502
|
-
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)",
|
|
4504
|
+
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)",
|
|
4503
4505
|
value: elem
|
|
4504
4506
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
4505
4507
|
path: _path + ".anyOf",
|
|
@@ -4511,11 +4513,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4511
4513
|
value: input.allOf
|
|
4512
4514
|
})) && input.allOf.map((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4513
4515
|
path: _path + ".allOf[" + _index134 + "]",
|
|
4514
|
-
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)",
|
|
4516
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
4515
4517
|
value: elem
|
|
4516
4518
|
})) && _vu5(elem, _path + ".allOf[" + _index134 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4517
4519
|
path: _path + ".allOf[" + _index134 + "]",
|
|
4518
|
-
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)",
|
|
4520
|
+
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)",
|
|
4519
4521
|
value: elem
|
|
4520
4522
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
4521
4523
|
path: _path + ".allOf",
|
|
@@ -4529,6 +4531,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
4529
4531
|
path: _path + "[\"const\"]",
|
|
4530
4532
|
expected: "(boolean | number | string)",
|
|
4531
4533
|
value: input["const"]
|
|
4534
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4535
|
+
path: _path + ".nullable",
|
|
4536
|
+
expected: "(boolean | undefined)",
|
|
4537
|
+
value: input.nullable
|
|
4532
4538
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4533
4539
|
path: _path + ".title",
|
|
4534
4540
|
expected: "(string | undefined)",
|
|
@@ -4549,7 +4555,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4549
4555
|
path: _path + ".examples",
|
|
4550
4556
|
expected: "(Record<string, any> | undefined)",
|
|
4551
4557
|
value: input.examples
|
|
4552
|
-
})].every(flag => flag); const _vo116 = (input, _path, _exceptionable = true) => [
|
|
4558
|
+
})].every(flag => flag); const _vo116 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4559
|
+
path: _path + ".nullable",
|
|
4560
|
+
expected: "(boolean | undefined)",
|
|
4561
|
+
value: input.nullable
|
|
4562
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
4553
4563
|
path: _path + "[\"default\"]",
|
|
4554
4564
|
expected: "(boolean | null | undefined)",
|
|
4555
4565
|
value: input["default"]
|
|
@@ -4569,10 +4579,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4569
4579
|
path: _path + ".type",
|
|
4570
4580
|
expected: "\"boolean\"",
|
|
4571
4581
|
value: input.type
|
|
4572
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4573
|
-
path: _path + ".nullable",
|
|
4574
|
-
expected: "(boolean | undefined)",
|
|
4575
|
-
value: input.nullable
|
|
4576
4582
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4577
4583
|
path: _path + ".title",
|
|
4578
4584
|
expected: "(string | undefined)",
|
|
@@ -4593,7 +4599,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4593
4599
|
path: _path + ".examples",
|
|
4594
4600
|
expected: "(Record<string, any> | undefined)",
|
|
4595
4601
|
value: input.examples
|
|
4596
|
-
})].every(flag => flag); const _vo117 = (input, _path, _exceptionable = true) => [
|
|
4602
|
+
})].every(flag => flag); const _vo117 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4603
|
+
path: _path + ".nullable",
|
|
4604
|
+
expected: "(boolean | undefined)",
|
|
4605
|
+
value: input.nullable
|
|
4606
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || _report(_exceptionable, {
|
|
4597
4607
|
path: _path + "[\"default\"]",
|
|
4598
4608
|
expected: "number & Type<\"int64\">",
|
|
4599
4609
|
value: input["default"]
|
|
@@ -4661,10 +4671,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4661
4671
|
path: _path + ".type",
|
|
4662
4672
|
expected: "\"integer\"",
|
|
4663
4673
|
value: input.type
|
|
4664
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4665
|
-
path: _path + ".nullable",
|
|
4666
|
-
expected: "(boolean | undefined)",
|
|
4667
|
-
value: input.nullable
|
|
4668
4674
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4669
4675
|
path: _path + ".title",
|
|
4670
4676
|
expected: "(string | undefined)",
|
|
@@ -4685,7 +4691,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4685
4691
|
path: _path + ".examples",
|
|
4686
4692
|
expected: "(Record<string, any> | undefined)",
|
|
4687
4693
|
value: input.examples
|
|
4688
|
-
})].every(flag => flag); const _vo118 = (input, _path, _exceptionable = true) => [
|
|
4694
|
+
})].every(flag => flag); const _vo118 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4695
|
+
path: _path + ".nullable",
|
|
4696
|
+
expected: "(boolean | undefined)",
|
|
4697
|
+
value: input.nullable
|
|
4698
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
4689
4699
|
path: _path + "[\"default\"]",
|
|
4690
4700
|
expected: "(null | number | undefined)",
|
|
4691
4701
|
value: input["default"]
|
|
@@ -4729,10 +4739,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4729
4739
|
path: _path + ".type",
|
|
4730
4740
|
expected: "\"number\"",
|
|
4731
4741
|
value: input.type
|
|
4732
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4733
|
-
path: _path + ".nullable",
|
|
4734
|
-
expected: "(boolean | undefined)",
|
|
4735
|
-
value: input.nullable
|
|
4736
4742
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4737
4743
|
path: _path + ".title",
|
|
4738
4744
|
expected: "(string | undefined)",
|
|
@@ -4752,11 +4758,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4752
4758
|
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
4753
4759
|
path: _path + ".examples",
|
|
4754
4760
|
expected: "(Record<string, any> | undefined)",
|
|
4755
|
-
value: input.examples
|
|
4756
|
-
})].every(flag => flag); const _vo119 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
4757
|
-
path: _path + ".
|
|
4758
|
-
expected: "(
|
|
4759
|
-
value: input.
|
|
4761
|
+
value: input.examples
|
|
4762
|
+
})].every(flag => flag); const _vo119 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4763
|
+
path: _path + ".nullable",
|
|
4764
|
+
expected: "(boolean | undefined)",
|
|
4765
|
+
value: input.nullable
|
|
4760
4766
|
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
4761
4767
|
path: _path + "[\"default\"]",
|
|
4762
4768
|
expected: "(null | string | undefined)",
|
|
@@ -4781,6 +4787,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
4781
4787
|
path: _path + ".pattern",
|
|
4782
4788
|
expected: "(string | undefined)",
|
|
4783
4789
|
value: input.pattern
|
|
4790
|
+
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
|
4791
|
+
path: _path + ".contentMediaType",
|
|
4792
|
+
expected: "(string | undefined)",
|
|
4793
|
+
value: input.contentMediaType
|
|
4784
4794
|
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
4785
4795
|
path: _path + ".minLength",
|
|
4786
4796
|
expected: "number & Type<\"uint64\">",
|
|
@@ -4801,10 +4811,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4801
4811
|
path: _path + ".type",
|
|
4802
4812
|
expected: "\"string\"",
|
|
4803
4813
|
value: input.type
|
|
4804
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4805
|
-
path: _path + ".nullable",
|
|
4806
|
-
expected: "(boolean | undefined)",
|
|
4807
|
-
value: input.nullable
|
|
4808
4814
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4809
4815
|
path: _path + ".title",
|
|
4810
4816
|
expected: "(string | undefined)",
|
|
@@ -4825,25 +4831,29 @@ const createHttpLlmApplication = (props) => {
|
|
|
4825
4831
|
path: _path + ".examples",
|
|
4826
4832
|
expected: "(Record<string, any> | undefined)",
|
|
4827
4833
|
value: input.examples
|
|
4828
|
-
})].every(flag => flag); const _vo120 = (input, _path, _exceptionable = true) => [
|
|
4834
|
+
})].every(flag => flag); const _vo120 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4835
|
+
path: _path + ".nullable",
|
|
4836
|
+
expected: "(boolean | undefined)",
|
|
4837
|
+
value: input.nullable
|
|
4838
|
+
}), (null !== input.items || _report(_exceptionable, {
|
|
4829
4839
|
path: _path + ".items",
|
|
4830
|
-
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)",
|
|
4840
|
+
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)",
|
|
4831
4841
|
value: input.items
|
|
4832
4842
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index139) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4833
4843
|
path: _path + ".items[" + _index139 + "]",
|
|
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
4844
|
+
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)",
|
|
4835
4845
|
value: elem
|
|
4836
4846
|
})) && _vu5(elem, _path + ".items[" + _index139 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4837
4847
|
path: _path + ".items[" + _index139 + "]",
|
|
4838
|
-
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)",
|
|
4848
|
+
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)",
|
|
4839
4849
|
value: elem
|
|
4840
4850
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
4841
4851
|
path: _path + ".items",
|
|
4842
|
-
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)",
|
|
4852
|
+
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)",
|
|
4843
4853
|
value: input.items
|
|
4844
4854
|
})) || _report(_exceptionable, {
|
|
4845
4855
|
path: _path + ".items",
|
|
4846
|
-
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)",
|
|
4856
|
+
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)",
|
|
4847
4857
|
value: input.items
|
|
4848
4858
|
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
4849
4859
|
path: _path + ".prefixItems",
|
|
@@ -4851,11 +4861,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4851
4861
|
value: input.prefixItems
|
|
4852
4862
|
})) && input.prefixItems.map((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
4853
4863
|
path: _path + ".prefixItems[" + _index140 + "]",
|
|
4854
|
-
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)",
|
|
4864
|
+
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)",
|
|
4855
4865
|
value: elem
|
|
4856
4866
|
})) && _vu5(elem, _path + ".prefixItems[" + _index140 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
4857
4867
|
path: _path + ".prefixItems[" + _index140 + "]",
|
|
4858
|
-
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)",
|
|
4868
|
+
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)",
|
|
4859
4869
|
value: elem
|
|
4860
4870
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
4861
4871
|
path: _path + ".prefixItems",
|
|
@@ -4867,15 +4877,15 @@ const createHttpLlmApplication = (props) => {
|
|
|
4867
4877
|
value: input.uniqueItems
|
|
4868
4878
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
|
4869
4879
|
path: _path + ".additionalItems",
|
|
4870
|
-
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)",
|
|
4880
|
+
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)",
|
|
4871
4881
|
value: input.additionalItems
|
|
4872
4882
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
|
4873
4883
|
path: _path + ".additionalItems",
|
|
4874
|
-
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)",
|
|
4884
|
+
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)",
|
|
4875
4885
|
value: input.additionalItems
|
|
4876
4886
|
})) && _vu5(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || _report(_exceptionable, {
|
|
4877
4887
|
path: _path + ".additionalItems",
|
|
4878
|
-
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)",
|
|
4888
|
+
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)",
|
|
4879
4889
|
value: input.additionalItems
|
|
4880
4890
|
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || _report(_exceptionable, {
|
|
4881
4891
|
path: _path + ".minItems",
|
|
@@ -4897,10 +4907,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4897
4907
|
path: _path + ".type",
|
|
4898
4908
|
expected: "\"array\"",
|
|
4899
4909
|
value: input.type
|
|
4900
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4901
|
-
path: _path + ".nullable",
|
|
4902
|
-
expected: "(boolean | undefined)",
|
|
4903
|
-
value: input.nullable
|
|
4904
4910
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4905
4911
|
path: _path + ".title",
|
|
4906
4912
|
expected: "(string | undefined)",
|
|
@@ -4921,7 +4927,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
4921
4927
|
path: _path + ".examples",
|
|
4922
4928
|
expected: "(Record<string, any> | undefined)",
|
|
4923
4929
|
value: input.examples
|
|
4924
|
-
})].every(flag => flag); const _vo121 = (input, _path, _exceptionable = true) => [undefined === input.
|
|
4930
|
+
})].every(flag => flag); const _vo121 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4931
|
+
path: _path + ".nullable",
|
|
4932
|
+
expected: "(boolean | undefined)",
|
|
4933
|
+
value: input.nullable
|
|
4934
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
4925
4935
|
path: _path + ".properties",
|
|
4926
4936
|
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
4927
4937
|
value: input.properties
|
|
@@ -4943,15 +4953,15 @@ const createHttpLlmApplication = (props) => {
|
|
|
4943
4953
|
value: input.required
|
|
4944
4954
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
4945
4955
|
path: _path + ".additionalProperties",
|
|
4946
|
-
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)",
|
|
4956
|
+
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)",
|
|
4947
4957
|
value: input.additionalProperties
|
|
4948
4958
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
4949
4959
|
path: _path + ".additionalProperties",
|
|
4950
|
-
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)",
|
|
4960
|
+
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)",
|
|
4951
4961
|
value: input.additionalProperties
|
|
4952
4962
|
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
|
4953
4963
|
path: _path + ".additionalProperties",
|
|
4954
|
-
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)",
|
|
4964
|
+
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)",
|
|
4955
4965
|
value: input.additionalProperties
|
|
4956
4966
|
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
4957
4967
|
path: _path + ".maxProperties",
|
|
@@ -4965,10 +4975,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
4965
4975
|
path: _path + ".type",
|
|
4966
4976
|
expected: "\"object\"",
|
|
4967
4977
|
value: input.type
|
|
4968
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4969
|
-
path: _path + ".nullable",
|
|
4970
|
-
expected: "(boolean | undefined)",
|
|
4971
|
-
value: input.nullable
|
|
4972
4978
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
4973
4979
|
path: _path + ".title",
|
|
4974
4980
|
expected: "(string | undefined)",
|
|
@@ -5013,46 +5019,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
5013
5019
|
path: _path + ".examples",
|
|
5014
5020
|
expected: "(Record<string, any> | undefined)",
|
|
5015
5021
|
value: input.examples
|
|
5016
|
-
})].every(flag => flag); const _vo123 = (input, _path, _exceptionable = true) => [
|
|
5017
|
-
path: _path + "
|
|
5018
|
-
expected: "
|
|
5019
|
-
value: input
|
|
5020
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
|
5021
|
-
path: _path + ".type",
|
|
5022
|
-
expected: "undefined",
|
|
5023
|
-
value: input.type
|
|
5024
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5025
|
-
path: _path + ".title",
|
|
5026
|
-
expected: "(string | undefined)",
|
|
5027
|
-
value: input.title
|
|
5028
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5029
|
-
path: _path + ".description",
|
|
5030
|
-
expected: "(string | undefined)",
|
|
5031
|
-
value: input.description
|
|
5032
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
5033
|
-
path: _path + ".deprecated",
|
|
5034
|
-
expected: "(boolean | undefined)",
|
|
5035
|
-
value: input.deprecated
|
|
5036
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
5037
|
-
path: _path + ".examples",
|
|
5038
|
-
expected: "(Record<string, any> | undefined)",
|
|
5039
|
-
value: input.examples
|
|
5040
|
-
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
5041
|
-
path: _path + ".examples",
|
|
5042
|
-
expected: "(Record<string, any> | undefined)",
|
|
5043
|
-
value: input.examples
|
|
5044
|
-
})].every(flag => flag); const _vo124 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
5045
|
-
path: _path + "[\"default\"]",
|
|
5046
|
-
expected: "(null | undefined)",
|
|
5047
|
-
value: input["default"]
|
|
5048
|
-
}), "null" === input.type || _report(_exceptionable, {
|
|
5049
|
-
path: _path + ".type",
|
|
5050
|
-
expected: "\"null\"",
|
|
5051
|
-
value: input.type
|
|
5052
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
5053
|
-
path: _path + ".nullable",
|
|
5054
|
-
expected: "(boolean | undefined)",
|
|
5055
|
-
value: input.nullable
|
|
5022
|
+
})].every(flag => flag); const _vo123 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
|
5023
|
+
path: _path + ".$recursiveRef",
|
|
5024
|
+
expected: "string",
|
|
5025
|
+
value: input.$recursiveRef
|
|
5056
5026
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5057
5027
|
path: _path + ".title",
|
|
5058
5028
|
expected: "(string | undefined)",
|
|
@@ -5073,17 +5043,17 @@ const createHttpLlmApplication = (props) => {
|
|
|
5073
5043
|
path: _path + ".examples",
|
|
5074
5044
|
expected: "(Record<string, any> | undefined)",
|
|
5075
5045
|
value: input.examples
|
|
5076
|
-
})].every(flag => flag); const
|
|
5046
|
+
})].every(flag => flag); const _vo124 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
5077
5047
|
path: _path + ".allOf",
|
|
5078
5048
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5079
5049
|
value: input.allOf
|
|
5080
5050
|
})) && input.allOf.map((elem, _index142) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5081
5051
|
path: _path + ".allOf[" + _index142 + "]",
|
|
5082
|
-
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)",
|
|
5052
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5083
5053
|
value: elem
|
|
5084
5054
|
})) && _vu5(elem, _path + ".allOf[" + _index142 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
5085
5055
|
path: _path + ".allOf[" + _index142 + "]",
|
|
5086
|
-
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)",
|
|
5056
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
5087
5057
|
value: elem
|
|
5088
5058
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
5089
5059
|
path: _path + ".allOf",
|
|
@@ -5109,17 +5079,17 @@ const createHttpLlmApplication = (props) => {
|
|
|
5109
5079
|
path: _path + ".examples",
|
|
5110
5080
|
expected: "(Record<string, any> | undefined)",
|
|
5111
5081
|
value: input.examples
|
|
5112
|
-
})].every(flag => flag); const
|
|
5082
|
+
})].every(flag => flag); const _vo125 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
5113
5083
|
path: _path + ".anyOf",
|
|
5114
5084
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5115
5085
|
value: input.anyOf
|
|
5116
5086
|
})) && input.anyOf.map((elem, _index143) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5117
5087
|
path: _path + ".anyOf[" + _index143 + "]",
|
|
5118
|
-
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)",
|
|
5088
|
+
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)",
|
|
5119
5089
|
value: elem
|
|
5120
5090
|
})) && _vu5(elem, _path + ".anyOf[" + _index143 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
5121
5091
|
path: _path + ".anyOf[" + _index143 + "]",
|
|
5122
|
-
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)",
|
|
5092
|
+
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)",
|
|
5123
5093
|
value: elem
|
|
5124
5094
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
5125
5095
|
path: _path + ".anyOf",
|
|
@@ -5145,17 +5115,17 @@ const createHttpLlmApplication = (props) => {
|
|
|
5145
5115
|
path: _path + ".examples",
|
|
5146
5116
|
expected: "(Record<string, any> | undefined)",
|
|
5147
5117
|
value: input.examples
|
|
5148
|
-
})].every(flag => flag); const
|
|
5118
|
+
})].every(flag => flag); const _vo126 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
5149
5119
|
path: _path + ".oneOf",
|
|
5150
5120
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5151
5121
|
value: input.oneOf
|
|
5152
5122
|
})) && input.oneOf.map((elem, _index144) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
5153
5123
|
path: _path + ".oneOf[" + _index144 + "]",
|
|
5154
|
-
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)",
|
|
5124
|
+
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)",
|
|
5155
5125
|
value: elem
|
|
5156
5126
|
})) && _vu5(elem, _path + ".oneOf[" + _index144 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
5157
5127
|
path: _path + ".oneOf[" + _index144 + "]",
|
|
5158
|
-
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)",
|
|
5128
|
+
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)",
|
|
5159
5129
|
value: elem
|
|
5160
5130
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
5161
5131
|
path: _path + ".oneOf",
|
|
@@ -5165,7 +5135,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5165
5135
|
path: _path + ".discriminator",
|
|
5166
5136
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
5167
5137
|
value: input.discriminator
|
|
5168
|
-
})) &&
|
|
5138
|
+
})) && _vo127(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
|
5169
5139
|
path: _path + ".discriminator",
|
|
5170
5140
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
5171
5141
|
value: input.discriminator
|
|
@@ -5189,7 +5159,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5189
5159
|
path: _path + ".examples",
|
|
5190
5160
|
expected: "(Record<string, any> | undefined)",
|
|
5191
5161
|
value: input.examples
|
|
5192
|
-
})].every(flag => flag); const
|
|
5162
|
+
})].every(flag => flag); const _vo127 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
5193
5163
|
path: _path + ".propertyName",
|
|
5194
5164
|
expected: "string",
|
|
5195
5165
|
value: input.propertyName
|
|
@@ -5201,7 +5171,63 @@ const createHttpLlmApplication = (props) => {
|
|
|
5201
5171
|
path: _path + ".mapping",
|
|
5202
5172
|
expected: "(Record<string, string> | undefined)",
|
|
5203
5173
|
value: input.mapping
|
|
5204
|
-
})].every(flag => flag); const
|
|
5174
|
+
})].every(flag => flag); const _vo128 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
5175
|
+
path: _path + "[\"default\"]",
|
|
5176
|
+
expected: "(null | undefined)",
|
|
5177
|
+
value: input["default"]
|
|
5178
|
+
}), "null" === input.type || _report(_exceptionable, {
|
|
5179
|
+
path: _path + ".type",
|
|
5180
|
+
expected: "\"null\"",
|
|
5181
|
+
value: input.type
|
|
5182
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5183
|
+
path: _path + ".title",
|
|
5184
|
+
expected: "(string | undefined)",
|
|
5185
|
+
value: input.title
|
|
5186
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5187
|
+
path: _path + ".description",
|
|
5188
|
+
expected: "(string | undefined)",
|
|
5189
|
+
value: input.description
|
|
5190
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
5191
|
+
path: _path + ".deprecated",
|
|
5192
|
+
expected: "(boolean | undefined)",
|
|
5193
|
+
value: input.deprecated
|
|
5194
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
5195
|
+
path: _path + ".examples",
|
|
5196
|
+
expected: "(Record<string, any> | undefined)",
|
|
5197
|
+
value: input.examples
|
|
5198
|
+
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
5199
|
+
path: _path + ".examples",
|
|
5200
|
+
expected: "(Record<string, any> | undefined)",
|
|
5201
|
+
value: input.examples
|
|
5202
|
+
})].every(flag => flag); const _vo129 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
5203
|
+
path: _path + ".type",
|
|
5204
|
+
expected: "undefined",
|
|
5205
|
+
value: input.type
|
|
5206
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
|
5207
|
+
path: _path + ".type",
|
|
5208
|
+
expected: "undefined",
|
|
5209
|
+
value: input.type
|
|
5210
|
+
})), true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
5211
|
+
path: _path + ".title",
|
|
5212
|
+
expected: "(string | undefined)",
|
|
5213
|
+
value: input.title
|
|
5214
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5215
|
+
path: _path + ".description",
|
|
5216
|
+
expected: "(string | undefined)",
|
|
5217
|
+
value: input.description
|
|
5218
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
5219
|
+
path: _path + ".deprecated",
|
|
5220
|
+
expected: "(boolean | undefined)",
|
|
5221
|
+
value: input.deprecated
|
|
5222
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
5223
|
+
path: _path + ".examples",
|
|
5224
|
+
expected: "(Record<string, any> | undefined)",
|
|
5225
|
+
value: input.examples
|
|
5226
|
+
})) && _vo58(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
5227
|
+
path: _path + ".examples",
|
|
5228
|
+
expected: "(Record<string, any> | undefined)",
|
|
5229
|
+
value: input.examples
|
|
5230
|
+
})].every(flag => flag); const _vo130 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5205
5231
|
const value = input[key];
|
|
5206
5232
|
if (undefined === value)
|
|
5207
5233
|
return true;
|
|
@@ -5209,12 +5235,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
5209
5235
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5210
5236
|
expected: "OpenApiV3_1.IPath",
|
|
5211
5237
|
value: value
|
|
5212
|
-
})) &&
|
|
5238
|
+
})) && _vo131(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
5213
5239
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5214
5240
|
expected: "OpenApiV3_1.IPath",
|
|
5215
5241
|
value: value
|
|
5216
5242
|
});
|
|
5217
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5243
|
+
}).every(flag => flag)].every(flag => flag); const _vo131 = (input, _path, _exceptionable = true) => [undefined === input.parameters || (Array.isArray(input.parameters) || _report(_exceptionable, {
|
|
5218
5244
|
path: _path + ".parameters",
|
|
5219
5245
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
|
5220
5246
|
value: input.parameters
|
|
@@ -5258,7 +5284,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5258
5284
|
path: _path + ".get",
|
|
5259
5285
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5260
5286
|
value: input.get
|
|
5261
|
-
})) &&
|
|
5287
|
+
})) && _vo138(input.get, _path + ".get", true && _exceptionable) || _report(_exceptionable, {
|
|
5262
5288
|
path: _path + ".get",
|
|
5263
5289
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5264
5290
|
value: input.get
|
|
@@ -5266,7 +5292,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5266
5292
|
path: _path + ".post",
|
|
5267
5293
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5268
5294
|
value: input.post
|
|
5269
|
-
})) &&
|
|
5295
|
+
})) && _vo138(input.post, _path + ".post", true && _exceptionable) || _report(_exceptionable, {
|
|
5270
5296
|
path: _path + ".post",
|
|
5271
5297
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5272
5298
|
value: input.post
|
|
@@ -5274,7 +5300,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5274
5300
|
path: _path + ".patch",
|
|
5275
5301
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5276
5302
|
value: input.patch
|
|
5277
|
-
})) &&
|
|
5303
|
+
})) && _vo138(input.patch, _path + ".patch", true && _exceptionable) || _report(_exceptionable, {
|
|
5278
5304
|
path: _path + ".patch",
|
|
5279
5305
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5280
5306
|
value: input.patch
|
|
@@ -5282,7 +5308,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5282
5308
|
path: _path + ".put",
|
|
5283
5309
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5284
5310
|
value: input.put
|
|
5285
|
-
})) &&
|
|
5311
|
+
})) && _vo138(input.put, _path + ".put", true && _exceptionable) || _report(_exceptionable, {
|
|
5286
5312
|
path: _path + ".put",
|
|
5287
5313
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5288
5314
|
value: input.put
|
|
@@ -5290,7 +5316,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5290
5316
|
path: _path + "[\"delete\"]",
|
|
5291
5317
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5292
5318
|
value: input["delete"]
|
|
5293
|
-
})) &&
|
|
5319
|
+
})) && _vo138(input["delete"], _path + "[\"delete\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
5294
5320
|
path: _path + "[\"delete\"]",
|
|
5295
5321
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5296
5322
|
value: input["delete"]
|
|
@@ -5298,7 +5324,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5298
5324
|
path: _path + ".options",
|
|
5299
5325
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5300
5326
|
value: input.options
|
|
5301
|
-
})) &&
|
|
5327
|
+
})) && _vo138(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
|
|
5302
5328
|
path: _path + ".options",
|
|
5303
5329
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5304
5330
|
value: input.options
|
|
@@ -5306,7 +5332,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5306
5332
|
path: _path + ".head",
|
|
5307
5333
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5308
5334
|
value: input.head
|
|
5309
|
-
})) &&
|
|
5335
|
+
})) && _vo138(input.head, _path + ".head", true && _exceptionable) || _report(_exceptionable, {
|
|
5310
5336
|
path: _path + ".head",
|
|
5311
5337
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5312
5338
|
value: input.head
|
|
@@ -5314,11 +5340,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
5314
5340
|
path: _path + ".trace",
|
|
5315
5341
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5316
5342
|
value: input.trace
|
|
5317
|
-
})) &&
|
|
5343
|
+
})) && _vo138(input.trace, _path + ".trace", true && _exceptionable) || _report(_exceptionable, {
|
|
5318
5344
|
path: _path + ".trace",
|
|
5319
5345
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
|
5320
5346
|
value: input.trace
|
|
5321
|
-
})].every(flag => flag); const
|
|
5347
|
+
})].every(flag => flag); const _vo132 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
5322
5348
|
path: _path + ".name",
|
|
5323
5349
|
expected: "(string | undefined)",
|
|
5324
5350
|
value: input.name
|
|
@@ -5328,11 +5354,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
5328
5354
|
value: input["in"]
|
|
5329
5355
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
5330
5356
|
path: _path + ".schema",
|
|
5331
|
-
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)",
|
|
5357
|
+
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)",
|
|
5332
5358
|
value: input.schema
|
|
5333
5359
|
})) && _vu5(input.schema, _path + ".schema", true && _exceptionable) || _report(_exceptionable, {
|
|
5334
5360
|
path: _path + ".schema",
|
|
5335
|
-
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)",
|
|
5361
|
+
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)",
|
|
5336
5362
|
value: input.schema
|
|
5337
5363
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
5338
5364
|
path: _path + ".required",
|
|
@@ -5346,11 +5372,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
5346
5372
|
path: _path + ".examples",
|
|
5347
5373
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5348
5374
|
value: input.examples
|
|
5349
|
-
})) &&
|
|
5375
|
+
})) && _vo133(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
5350
5376
|
path: _path + ".examples",
|
|
5351
5377
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5352
5378
|
value: input.examples
|
|
5353
|
-
})].every(flag => flag); const
|
|
5379
|
+
})].every(flag => flag); const _vo133 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5354
5380
|
const value = input[key];
|
|
5355
5381
|
if (undefined === value)
|
|
5356
5382
|
return true;
|
|
@@ -5363,7 +5389,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5363
5389
|
expected: "(OpenApiV3_1.IExample | OpenApiV3_1.IJsonSchema.IReference<`#/components/examples/${string}`>)",
|
|
5364
5390
|
value: value
|
|
5365
5391
|
});
|
|
5366
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5392
|
+
}).every(flag => flag)].every(flag => flag); const _vo134 = (input, _path, _exceptionable = true) => [undefined === input.summary || "string" === typeof input.summary || _report(_exceptionable, {
|
|
5367
5393
|
path: _path + ".summary",
|
|
5368
5394
|
expected: "(string | undefined)",
|
|
5369
5395
|
value: input.summary
|
|
@@ -5375,7 +5401,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5375
5401
|
path: _path + ".externalValue",
|
|
5376
5402
|
expected: "(string | undefined)",
|
|
5377
5403
|
value: input.externalValue
|
|
5378
|
-
})].every(flag => flag); const
|
|
5404
|
+
})].every(flag => flag); const _vo135 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5379
5405
|
path: _path + ".$ref",
|
|
5380
5406
|
expected: "`#/components/examples/${string}`",
|
|
5381
5407
|
value: input.$ref
|
|
@@ -5399,7 +5425,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5399
5425
|
path: _path + ".examples",
|
|
5400
5426
|
expected: "(Record<string, any> | undefined)",
|
|
5401
5427
|
value: input.examples
|
|
5402
|
-
})].every(flag => flag); const
|
|
5428
|
+
})].every(flag => flag); const _vo136 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5403
5429
|
path: _path + ".$ref",
|
|
5404
5430
|
expected: "`#/components/headers/${string}`",
|
|
5405
5431
|
value: input.$ref
|
|
@@ -5423,7 +5449,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5423
5449
|
path: _path + ".examples",
|
|
5424
5450
|
expected: "(Record<string, any> | undefined)",
|
|
5425
5451
|
value: input.examples
|
|
5426
|
-
})].every(flag => flag); const
|
|
5452
|
+
})].every(flag => flag); const _vo137 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5427
5453
|
path: _path + ".$ref",
|
|
5428
5454
|
expected: "`#/components/parameters/${string}`",
|
|
5429
5455
|
value: input.$ref
|
|
@@ -5447,7 +5473,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5447
5473
|
path: _path + ".examples",
|
|
5448
5474
|
expected: "(Record<string, any> | undefined)",
|
|
5449
5475
|
value: input.examples
|
|
5450
|
-
})].every(flag => flag); const
|
|
5476
|
+
})].every(flag => flag); const _vo138 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
5451
5477
|
path: _path + ".operationId",
|
|
5452
5478
|
expected: "(string | undefined)",
|
|
5453
5479
|
value: input.operationId
|
|
@@ -5479,7 +5505,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5479
5505
|
path: _path + ".responses",
|
|
5480
5506
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
|
5481
5507
|
value: input.responses
|
|
5482
|
-
})) &&
|
|
5508
|
+
})) && _vo143(input.responses, _path + ".responses", true && _exceptionable) || _report(_exceptionable, {
|
|
5483
5509
|
path: _path + ".responses",
|
|
5484
5510
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
|
5485
5511
|
value: input.responses
|
|
@@ -5539,7 +5565,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5539
5565
|
path: _path + ".deprecated",
|
|
5540
5566
|
expected: "(boolean | undefined)",
|
|
5541
5567
|
value: input.deprecated
|
|
5542
|
-
})].every(flag => flag); const
|
|
5568
|
+
})].every(flag => flag); const _vo139 = (input, _path, _exceptionable = true) => [undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
5543
5569
|
path: _path + ".description",
|
|
5544
5570
|
expected: "(string | undefined)",
|
|
5545
5571
|
value: input.description
|
|
@@ -5551,11 +5577,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
5551
5577
|
path: _path + ".content",
|
|
5552
5578
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5553
5579
|
value: input.content
|
|
5554
|
-
})) &&
|
|
5580
|
+
})) && _vo140(input.content, _path + ".content", true && _exceptionable) || _report(_exceptionable, {
|
|
5555
5581
|
path: _path + ".content",
|
|
5556
5582
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5557
5583
|
value: input.content
|
|
5558
|
-
})].every(flag => flag); const
|
|
5584
|
+
})].every(flag => flag); const _vo140 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5559
5585
|
const value = input[key];
|
|
5560
5586
|
if (undefined === value)
|
|
5561
5587
|
return true;
|
|
@@ -5563,28 +5589,28 @@ const createHttpLlmApplication = (props) => {
|
|
|
5563
5589
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5564
5590
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
|
5565
5591
|
value: value
|
|
5566
|
-
})) &&
|
|
5592
|
+
})) && _vo141(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
5567
5593
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5568
5594
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
|
5569
5595
|
value: value
|
|
5570
5596
|
});
|
|
5571
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5597
|
+
}).every(flag => flag)].every(flag => flag); const _vo141 = (input, _path, _exceptionable = true) => [undefined === input.schema || ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
5572
5598
|
path: _path + ".schema",
|
|
5573
|
-
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)",
|
|
5599
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
5574
5600
|
value: input.schema
|
|
5575
5601
|
})) && _vu5(input.schema, _path + ".schema", true && _exceptionable) || _report(_exceptionable, {
|
|
5576
5602
|
path: _path + ".schema",
|
|
5577
|
-
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)",
|
|
5603
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
5578
5604
|
value: input.schema
|
|
5579
5605
|
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
|
5580
5606
|
path: _path + ".examples",
|
|
5581
5607
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5582
5608
|
value: input.examples
|
|
5583
|
-
})) &&
|
|
5609
|
+
})) && _vo133(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
5584
5610
|
path: _path + ".examples",
|
|
5585
5611
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5586
5612
|
value: input.examples
|
|
5587
|
-
})].every(flag => flag); const
|
|
5613
|
+
})].every(flag => flag); const _vo142 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5588
5614
|
path: _path + ".$ref",
|
|
5589
5615
|
expected: "`#/components/requestBodies/${string}`",
|
|
5590
5616
|
value: input.$ref
|
|
@@ -5608,7 +5634,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5608
5634
|
path: _path + ".examples",
|
|
5609
5635
|
expected: "(Record<string, any> | undefined)",
|
|
5610
5636
|
value: input.examples
|
|
5611
|
-
})].every(flag => flag); const
|
|
5637
|
+
})].every(flag => flag); const _vo143 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5612
5638
|
const value = input[key];
|
|
5613
5639
|
if (undefined === value)
|
|
5614
5640
|
return true;
|
|
@@ -5621,11 +5647,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
5621
5647
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/responses/${string}`> | OpenApiV3_1.IOperation.IResponse)",
|
|
5622
5648
|
value: value
|
|
5623
5649
|
});
|
|
5624
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5650
|
+
}).every(flag => flag)].every(flag => flag); const _vo144 = (input, _path, _exceptionable = true) => [undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || _report(_exceptionable, {
|
|
5625
5651
|
path: _path + ".content",
|
|
5626
5652
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5627
5653
|
value: input.content
|
|
5628
|
-
})) &&
|
|
5654
|
+
})) && _vo140(input.content, _path + ".content", true && _exceptionable) || _report(_exceptionable, {
|
|
5629
5655
|
path: _path + ".content",
|
|
5630
5656
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
|
5631
5657
|
value: input.content
|
|
@@ -5633,7 +5659,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5633
5659
|
path: _path + ".headers",
|
|
5634
5660
|
expected: "(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, \"in\">> | undefined)",
|
|
5635
5661
|
value: input.headers
|
|
5636
|
-
})) &&
|
|
5662
|
+
})) && _vo145(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
5637
5663
|
path: _path + ".headers",
|
|
5638
5664
|
expected: "(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, \"in\">> | undefined)",
|
|
5639
5665
|
value: input.headers
|
|
@@ -5641,7 +5667,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5641
5667
|
path: _path + ".description",
|
|
5642
5668
|
expected: "(string | undefined)",
|
|
5643
5669
|
value: input.description
|
|
5644
|
-
})].every(flag => flag); const
|
|
5670
|
+
})].every(flag => flag); const _vo145 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5645
5671
|
const value = input[key];
|
|
5646
5672
|
if (undefined === value)
|
|
5647
5673
|
return true;
|
|
@@ -5654,7 +5680,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5654
5680
|
expected: "(Omit<OpenApiV3_1.IOperation.IParameter, \"in\"> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
|
5655
5681
|
value: value
|
|
5656
5682
|
});
|
|
5657
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5683
|
+
}).every(flag => flag)].every(flag => flag); const _vo146 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
5658
5684
|
path: _path + ".name",
|
|
5659
5685
|
expected: "(string | undefined)",
|
|
5660
5686
|
value: input.name
|
|
@@ -5670,19 +5696,19 @@ const createHttpLlmApplication = (props) => {
|
|
|
5670
5696
|
path: _path + ".examples",
|
|
5671
5697
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5672
5698
|
value: input.examples
|
|
5673
|
-
})) &&
|
|
5699
|
+
})) && _vo133(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
5674
5700
|
path: _path + ".examples",
|
|
5675
5701
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
5676
5702
|
value: input.examples
|
|
5677
5703
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
5678
5704
|
path: _path + ".schema",
|
|
5679
|
-
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)",
|
|
5705
|
+
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)",
|
|
5680
5706
|
value: input.schema
|
|
5681
5707
|
})) && _vu5(input.schema, _path + ".schema", true && _exceptionable) || _report(_exceptionable, {
|
|
5682
5708
|
path: _path + ".schema",
|
|
5683
|
-
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)",
|
|
5709
|
+
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)",
|
|
5684
5710
|
value: input.schema
|
|
5685
|
-
})].every(flag => flag); const
|
|
5711
|
+
})].every(flag => flag); const _vo147 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5686
5712
|
path: _path + ".$ref",
|
|
5687
5713
|
expected: "`#/components/responses/${string}`",
|
|
5688
5714
|
value: input.$ref
|
|
@@ -5706,7 +5732,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5706
5732
|
path: _path + ".examples",
|
|
5707
5733
|
expected: "(Record<string, any> | undefined)",
|
|
5708
5734
|
value: input.examples
|
|
5709
|
-
})].every(flag => flag); const
|
|
5735
|
+
})].every(flag => flag); const _vo148 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5710
5736
|
const value = input[key];
|
|
5711
5737
|
if (undefined === value)
|
|
5712
5738
|
return true;
|
|
@@ -5714,12 +5740,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
5714
5740
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5715
5741
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
|
5716
5742
|
value: value
|
|
5717
|
-
})) &&
|
|
5743
|
+
})) && _vo144(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
5718
5744
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5719
5745
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
|
5720
5746
|
value: value
|
|
5721
5747
|
});
|
|
5722
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5748
|
+
}).every(flag => flag)].every(flag => flag); const _vo149 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5723
5749
|
const value = input[key];
|
|
5724
5750
|
if (undefined === value)
|
|
5725
5751
|
return true;
|
|
@@ -5727,12 +5753,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
5727
5753
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5728
5754
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
|
5729
5755
|
value: value
|
|
5730
|
-
})) &&
|
|
5756
|
+
})) && _vo132(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
5731
5757
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5732
5758
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
|
5733
5759
|
value: value
|
|
5734
5760
|
});
|
|
5735
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5761
|
+
}).every(flag => flag)].every(flag => flag); const _vo150 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5736
5762
|
const value = input[key];
|
|
5737
5763
|
if (undefined === value)
|
|
5738
5764
|
return true;
|
|
@@ -5740,12 +5766,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
5740
5766
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5741
5767
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
|
5742
5768
|
value: value
|
|
5743
|
-
})) &&
|
|
5769
|
+
})) && _vo139(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
5744
5770
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5745
5771
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
|
5746
5772
|
value: value
|
|
5747
5773
|
});
|
|
5748
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5774
|
+
}).every(flag => flag)].every(flag => flag); const _vo151 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5749
5775
|
const value = input[key];
|
|
5750
5776
|
if (undefined === value)
|
|
5751
5777
|
return true;
|
|
@@ -5758,7 +5784,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5758
5784
|
expected: "(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",
|
|
5759
5785
|
value: value
|
|
5760
5786
|
});
|
|
5761
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5787
|
+
}).every(flag => flag)].every(flag => flag); const _vo152 = (input, _path, _exceptionable = true) => ["apiKey" === input.type || _report(_exceptionable, {
|
|
5762
5788
|
path: _path + ".type",
|
|
5763
5789
|
expected: "\"apiKey\"",
|
|
5764
5790
|
value: input.type
|
|
@@ -5774,7 +5800,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5774
5800
|
path: _path + ".description",
|
|
5775
5801
|
expected: "(string | undefined)",
|
|
5776
5802
|
value: input.description
|
|
5777
|
-
})].every(flag => flag); const
|
|
5803
|
+
})].every(flag => flag); const _vo153 = (input, _path, _exceptionable = true) => ["http" === input.type || _report(_exceptionable, {
|
|
5778
5804
|
path: _path + ".type",
|
|
5779
5805
|
expected: "\"http\"",
|
|
5780
5806
|
value: input.type
|
|
@@ -5786,7 +5812,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5786
5812
|
path: _path + ".description",
|
|
5787
5813
|
expected: "(string | undefined)",
|
|
5788
5814
|
value: input.description
|
|
5789
|
-
})].every(flag => flag); const
|
|
5815
|
+
})].every(flag => flag); const _vo154 = (input, _path, _exceptionable = true) => ["http" === input.type || _report(_exceptionable, {
|
|
5790
5816
|
path: _path + ".type",
|
|
5791
5817
|
expected: "\"http\"",
|
|
5792
5818
|
value: input.type
|
|
@@ -5802,7 +5828,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5802
5828
|
path: _path + ".description",
|
|
5803
5829
|
expected: "(string | undefined)",
|
|
5804
5830
|
value: input.description
|
|
5805
|
-
})].every(flag => flag); const
|
|
5831
|
+
})].every(flag => flag); const _vo155 = (input, _path, _exceptionable = true) => ["oauth2" === input.type || _report(_exceptionable, {
|
|
5806
5832
|
path: _path + ".type",
|
|
5807
5833
|
expected: "\"oauth2\"",
|
|
5808
5834
|
value: input.type
|
|
@@ -5810,7 +5836,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5810
5836
|
path: _path + ".flows",
|
|
5811
5837
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
|
5812
5838
|
value: input.flows
|
|
5813
|
-
})) &&
|
|
5839
|
+
})) && _vo156(input.flows, _path + ".flows", true && _exceptionable) || _report(_exceptionable, {
|
|
5814
5840
|
path: _path + ".flows",
|
|
5815
5841
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
|
5816
5842
|
value: input.flows
|
|
@@ -5818,11 +5844,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
5818
5844
|
path: _path + ".description",
|
|
5819
5845
|
expected: "(string | undefined)",
|
|
5820
5846
|
value: input.description
|
|
5821
|
-
})].every(flag => flag); const
|
|
5847
|
+
})].every(flag => flag); const _vo156 = (input, _path, _exceptionable = true) => [undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) || _report(_exceptionable, {
|
|
5822
5848
|
path: _path + ".authorizationCode",
|
|
5823
5849
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
5824
5850
|
value: input.authorizationCode
|
|
5825
|
-
})) &&
|
|
5851
|
+
})) && _vo157(input.authorizationCode, _path + ".authorizationCode", true && _exceptionable) || _report(_exceptionable, {
|
|
5826
5852
|
path: _path + ".authorizationCode",
|
|
5827
5853
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
5828
5854
|
value: input.authorizationCode
|
|
@@ -5830,7 +5856,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5830
5856
|
path: _path + ".implicit",
|
|
5831
5857
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
|
|
5832
5858
|
value: input.implicit
|
|
5833
|
-
})) &&
|
|
5859
|
+
})) && _vo158(input.implicit, _path + ".implicit", true && _exceptionable) || _report(_exceptionable, {
|
|
5834
5860
|
path: _path + ".implicit",
|
|
5835
5861
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
|
|
5836
5862
|
value: input.implicit
|
|
@@ -5838,7 +5864,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5838
5864
|
path: _path + ".password",
|
|
5839
5865
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
5840
5866
|
value: input.password
|
|
5841
|
-
})) &&
|
|
5867
|
+
})) && _vo159(input.password, _path + ".password", true && _exceptionable) || _report(_exceptionable, {
|
|
5842
5868
|
path: _path + ".password",
|
|
5843
5869
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
5844
5870
|
value: input.password
|
|
@@ -5846,11 +5872,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
5846
5872
|
path: _path + ".clientCredentials",
|
|
5847
5873
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
5848
5874
|
value: input.clientCredentials
|
|
5849
|
-
})) &&
|
|
5875
|
+
})) && _vo159(input.clientCredentials, _path + ".clientCredentials", true && _exceptionable) || _report(_exceptionable, {
|
|
5850
5876
|
path: _path + ".clientCredentials",
|
|
5851
5877
|
expected: "(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
5852
5878
|
value: input.clientCredentials
|
|
5853
|
-
})].every(flag => flag); const
|
|
5879
|
+
})].every(flag => flag); const _vo157 = (input, _path, _exceptionable = true) => [undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
5854
5880
|
path: _path + ".authorizationUrl",
|
|
5855
5881
|
expected: "(string | undefined)",
|
|
5856
5882
|
value: input.authorizationUrl
|
|
@@ -5870,7 +5896,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5870
5896
|
path: _path + ".scopes",
|
|
5871
5897
|
expected: "(Record<string, string> | undefined)",
|
|
5872
5898
|
value: input.scopes
|
|
5873
|
-
})].every(flag => flag); const
|
|
5899
|
+
})].every(flag => flag); const _vo158 = (input, _path, _exceptionable = true) => [undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
5874
5900
|
path: _path + ".authorizationUrl",
|
|
5875
5901
|
expected: "(string | undefined)",
|
|
5876
5902
|
value: input.authorizationUrl
|
|
@@ -5886,7 +5912,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5886
5912
|
path: _path + ".scopes",
|
|
5887
5913
|
expected: "(Record<string, string> | undefined)",
|
|
5888
5914
|
value: input.scopes
|
|
5889
|
-
})].every(flag => flag); const
|
|
5915
|
+
})].every(flag => flag); const _vo159 = (input, _path, _exceptionable = true) => [undefined === input.tokenUrl || "string" === typeof input.tokenUrl || _report(_exceptionable, {
|
|
5890
5916
|
path: _path + ".tokenUrl",
|
|
5891
5917
|
expected: "(string | undefined)",
|
|
5892
5918
|
value: input.tokenUrl
|
|
@@ -5902,7 +5928,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5902
5928
|
path: _path + ".scopes",
|
|
5903
5929
|
expected: "(Record<string, string> | undefined)",
|
|
5904
5930
|
value: input.scopes
|
|
5905
|
-
})].every(flag => flag); const
|
|
5931
|
+
})].every(flag => flag); const _vo160 = (input, _path, _exceptionable = true) => ["openIdConnect" === input.type || _report(_exceptionable, {
|
|
5906
5932
|
path: _path + ".type",
|
|
5907
5933
|
expected: "\"openIdConnect\"",
|
|
5908
5934
|
value: input.type
|
|
@@ -5914,7 +5940,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5914
5940
|
path: _path + ".description",
|
|
5915
5941
|
expected: "(string | undefined)",
|
|
5916
5942
|
value: input.description
|
|
5917
|
-
})].every(flag => flag); const
|
|
5943
|
+
})].every(flag => flag); const _vo161 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5918
5944
|
const value = input[key];
|
|
5919
5945
|
if (undefined === value)
|
|
5920
5946
|
return true;
|
|
@@ -5922,12 +5948,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
5922
5948
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5923
5949
|
expected: "Omit<OpenApiV3_1.IOperation.IParameter, \"in\">",
|
|
5924
5950
|
value: value
|
|
5925
|
-
})) &&
|
|
5951
|
+
})) && _vo146(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
5926
5952
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5927
5953
|
expected: "Omit<OpenApiV3_1.IOperation.IParameter, \"in\">",
|
|
5928
5954
|
value: value
|
|
5929
5955
|
});
|
|
5930
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5956
|
+
}).every(flag => flag)].every(flag => flag); const _vo162 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5931
5957
|
const value = input[key];
|
|
5932
5958
|
if (undefined === value)
|
|
5933
5959
|
return true;
|
|
@@ -5935,12 +5961,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
5935
5961
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5936
5962
|
expected: "OpenApiV3_1.IExample",
|
|
5937
5963
|
value: value
|
|
5938
|
-
})) &&
|
|
5964
|
+
})) && _vo134(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
5939
5965
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
5940
5966
|
expected: "OpenApiV3_1.IExample",
|
|
5941
5967
|
value: value
|
|
5942
5968
|
});
|
|
5943
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5969
|
+
}).every(flag => flag)].every(flag => flag); const _vo163 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5944
5970
|
const value = input[key];
|
|
5945
5971
|
if (undefined === value)
|
|
5946
5972
|
return true;
|
|
@@ -5953,7 +5979,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5953
5979
|
expected: "(OpenApiV3_1.IJsonSchema.IReference<`#/components/pathItems/${string}`> | OpenApiV3_1.IPath)",
|
|
5954
5980
|
value: value
|
|
5955
5981
|
});
|
|
5956
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
5982
|
+
}).every(flag => flag)].every(flag => flag); const _vo164 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5957
5983
|
path: _path + ".$ref",
|
|
5958
5984
|
expected: "`#/components/pathItems/${string}`",
|
|
5959
5985
|
value: input.$ref
|
|
@@ -5977,7 +6003,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5977
6003
|
path: _path + ".examples",
|
|
5978
6004
|
expected: "(Record<string, any> | undefined)",
|
|
5979
6005
|
value: input.examples
|
|
5980
|
-
})].every(flag => flag); const
|
|
6006
|
+
})].every(flag => flag); const _vo165 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
5981
6007
|
path: _path + ".name",
|
|
5982
6008
|
expected: "string",
|
|
5983
6009
|
value: input.name
|
|
@@ -5985,7 +6011,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5985
6011
|
path: _path + ".description",
|
|
5986
6012
|
expected: "(string | undefined)",
|
|
5987
6013
|
value: input.description
|
|
5988
|
-
})].every(flag => flag); const
|
|
6014
|
+
})].every(flag => flag); const _vo166 = (input, _path, _exceptionable = true) => ["string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) || _report(_exceptionable, {
|
|
5989
6015
|
path: _path + ".openapi",
|
|
5990
6016
|
expected: "`3.1.${number}`",
|
|
5991
6017
|
value: input.openapi
|
|
@@ -5997,7 +6023,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
5997
6023
|
path: _path + ".servers[" + _index151 + "]",
|
|
5998
6024
|
expected: "OpenApi.IServer",
|
|
5999
6025
|
value: elem
|
|
6000
|
-
})) &&
|
|
6026
|
+
})) && _vo167(elem, _path + ".servers[" + _index151 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
6001
6027
|
path: _path + ".servers[" + _index151 + "]",
|
|
6002
6028
|
expected: "OpenApi.IServer",
|
|
6003
6029
|
value: elem
|
|
@@ -6009,7 +6035,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6009
6035
|
path: _path + ".info",
|
|
6010
6036
|
expected: "(OpenApi.IDocument.IInfo | undefined)",
|
|
6011
6037
|
value: input.info
|
|
6012
|
-
})) &&
|
|
6038
|
+
})) && _vo170(input.info, _path + ".info", true && _exceptionable) || _report(_exceptionable, {
|
|
6013
6039
|
path: _path + ".info",
|
|
6014
6040
|
expected: "(OpenApi.IDocument.IInfo | undefined)",
|
|
6015
6041
|
value: input.info
|
|
@@ -6017,7 +6043,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6017
6043
|
path: _path + ".components",
|
|
6018
6044
|
expected: "OpenApi.IComponents",
|
|
6019
6045
|
value: input.components
|
|
6020
|
-
})) &&
|
|
6046
|
+
})) && _vo173(input.components, _path + ".components", true && _exceptionable) || _report(_exceptionable, {
|
|
6021
6047
|
path: _path + ".components",
|
|
6022
6048
|
expected: "OpenApi.IComponents",
|
|
6023
6049
|
value: input.components
|
|
@@ -6025,7 +6051,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6025
6051
|
path: _path + ".paths",
|
|
6026
6052
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6027
6053
|
value: input.paths
|
|
6028
|
-
})) &&
|
|
6054
|
+
})) && _vo198(input.paths, _path + ".paths", true && _exceptionable) || _report(_exceptionable, {
|
|
6029
6055
|
path: _path + ".paths",
|
|
6030
6056
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6031
6057
|
value: input.paths
|
|
@@ -6033,7 +6059,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6033
6059
|
path: _path + ".webhooks",
|
|
6034
6060
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6035
6061
|
value: input.webhooks
|
|
6036
|
-
})) &&
|
|
6062
|
+
})) && _vo198(input.webhooks, _path + ".webhooks", true && _exceptionable) || _report(_exceptionable, {
|
|
6037
6063
|
path: _path + ".webhooks",
|
|
6038
6064
|
expected: "(Record<string, OpenApi.IPath> | undefined)",
|
|
6039
6065
|
value: input.webhooks
|
|
@@ -6061,7 +6087,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6061
6087
|
path: _path + ".tags[" + _index153 + "]",
|
|
6062
6088
|
expected: "OpenApi.IDocument.ITag",
|
|
6063
6089
|
value: elem
|
|
6064
|
-
})) &&
|
|
6090
|
+
})) && _vo210(elem, _path + ".tags[" + _index153 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
6065
6091
|
path: _path + ".tags[" + _index153 + "]",
|
|
6066
6092
|
expected: "OpenApi.IDocument.ITag",
|
|
6067
6093
|
value: elem
|
|
@@ -6073,7 +6099,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6073
6099
|
path: _path + "[\"x-samchon-emended\"]",
|
|
6074
6100
|
expected: "true",
|
|
6075
6101
|
value: input["x-samchon-emended"]
|
|
6076
|
-
})].every(flag => flag); const
|
|
6102
|
+
})].every(flag => flag); const _vo167 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || _report(_exceptionable, {
|
|
6077
6103
|
path: _path + ".url",
|
|
6078
6104
|
expected: "string",
|
|
6079
6105
|
value: input.url
|
|
@@ -6085,11 +6111,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
6085
6111
|
path: _path + ".variables",
|
|
6086
6112
|
expected: "(Record<string, OpenApi.IServer.IVariable> | undefined)",
|
|
6087
6113
|
value: input.variables
|
|
6088
|
-
})) &&
|
|
6114
|
+
})) && _vo168(input.variables, _path + ".variables", true && _exceptionable) || _report(_exceptionable, {
|
|
6089
6115
|
path: _path + ".variables",
|
|
6090
6116
|
expected: "(Record<string, OpenApi.IServer.IVariable> | undefined)",
|
|
6091
6117
|
value: input.variables
|
|
6092
|
-
})].every(flag => flag); const
|
|
6118
|
+
})].every(flag => flag); const _vo168 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
6093
6119
|
const value = input[key];
|
|
6094
6120
|
if (undefined === value)
|
|
6095
6121
|
return true;
|
|
@@ -6097,12 +6123,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
6097
6123
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6098
6124
|
expected: "OpenApi.IServer.IVariable",
|
|
6099
6125
|
value: value
|
|
6100
|
-
})) &&
|
|
6126
|
+
})) && _vo169(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
6101
6127
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6102
6128
|
expected: "OpenApi.IServer.IVariable",
|
|
6103
6129
|
value: value
|
|
6104
6130
|
});
|
|
6105
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
6131
|
+
}).every(flag => flag)].every(flag => flag); const _vo169 = (input, _path, _exceptionable = true) => ["string" === typeof input["default"] || _report(_exceptionable, {
|
|
6106
6132
|
path: _path + "[\"default\"]",
|
|
6107
6133
|
expected: "string",
|
|
6108
6134
|
value: input["default"]
|
|
@@ -6122,7 +6148,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6122
6148
|
path: _path + ".description",
|
|
6123
6149
|
expected: "(string | undefined)",
|
|
6124
6150
|
value: input.description
|
|
6125
|
-
})].every(flag => flag); const
|
|
6151
|
+
})].every(flag => flag); const _vo170 = (input, _path, _exceptionable = true) => ["string" === typeof input.title || _report(_exceptionable, {
|
|
6126
6152
|
path: _path + ".title",
|
|
6127
6153
|
expected: "string",
|
|
6128
6154
|
value: input.title
|
|
@@ -6142,7 +6168,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6142
6168
|
path: _path + ".contact",
|
|
6143
6169
|
expected: "(OpenApi.IDocument.IContact | undefined)",
|
|
6144
6170
|
value: input.contact
|
|
6145
|
-
})) &&
|
|
6171
|
+
})) && _vo171(input.contact, _path + ".contact", true && _exceptionable) || _report(_exceptionable, {
|
|
6146
6172
|
path: _path + ".contact",
|
|
6147
6173
|
expected: "(OpenApi.IDocument.IContact | undefined)",
|
|
6148
6174
|
value: input.contact
|
|
@@ -6150,7 +6176,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6150
6176
|
path: _path + ".license",
|
|
6151
6177
|
expected: "(OpenApi.IDocument.ILicense | undefined)",
|
|
6152
6178
|
value: input.license
|
|
6153
|
-
})) &&
|
|
6179
|
+
})) && _vo172(input.license, _path + ".license", true && _exceptionable) || _report(_exceptionable, {
|
|
6154
6180
|
path: _path + ".license",
|
|
6155
6181
|
expected: "(OpenApi.IDocument.ILicense | undefined)",
|
|
6156
6182
|
value: input.license
|
|
@@ -6158,7 +6184,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6158
6184
|
path: _path + ".version",
|
|
6159
6185
|
expected: "string",
|
|
6160
6186
|
value: input.version
|
|
6161
|
-
})].every(flag => flag); const
|
|
6187
|
+
})].every(flag => flag); const _vo171 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
6162
6188
|
path: _path + ".name",
|
|
6163
6189
|
expected: "(string | undefined)",
|
|
6164
6190
|
value: input.name
|
|
@@ -6174,7 +6200,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6174
6200
|
path: _path + ".email",
|
|
6175
6201
|
expected: "((string & Format<\"email\">) | undefined)",
|
|
6176
6202
|
value: input.email
|
|
6177
|
-
})].every(flag => flag); const
|
|
6203
|
+
})].every(flag => flag); const _vo172 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
6178
6204
|
path: _path + ".name",
|
|
6179
6205
|
expected: "string",
|
|
6180
6206
|
value: input.name
|
|
@@ -6186,11 +6212,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
6186
6212
|
path: _path + ".url",
|
|
6187
6213
|
expected: "(string | undefined)",
|
|
6188
6214
|
value: input.url
|
|
6189
|
-
})].every(flag => flag); const
|
|
6215
|
+
})].every(flag => flag); const _vo173 = (input, _path, _exceptionable = true) => [undefined === input.schemas || ("object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) || _report(_exceptionable, {
|
|
6190
6216
|
path: _path + ".schemas",
|
|
6191
6217
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6192
6218
|
value: input.schemas
|
|
6193
|
-
})) &&
|
|
6219
|
+
})) && _vo174(input.schemas, _path + ".schemas", true && _exceptionable) || _report(_exceptionable, {
|
|
6194
6220
|
path: _path + ".schemas",
|
|
6195
6221
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6196
6222
|
value: input.schemas
|
|
@@ -6198,11 +6224,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
6198
6224
|
path: _path + ".securitySchemes",
|
|
6199
6225
|
expected: "(Record<string, OpenApi.ISecurityScheme> | undefined)",
|
|
6200
6226
|
value: input.securitySchemes
|
|
6201
|
-
})) &&
|
|
6227
|
+
})) && _vo188(input.securitySchemes, _path + ".securitySchemes", true && _exceptionable) || _report(_exceptionable, {
|
|
6202
6228
|
path: _path + ".securitySchemes",
|
|
6203
6229
|
expected: "(Record<string, OpenApi.ISecurityScheme> | undefined)",
|
|
6204
6230
|
value: input.securitySchemes
|
|
6205
|
-
})].every(flag => flag); const
|
|
6231
|
+
})].every(flag => flag); const _vo174 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
6206
6232
|
const value = input[key];
|
|
6207
6233
|
if (undefined === value)
|
|
6208
6234
|
return true;
|
|
@@ -6215,7 +6241,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6215
6241
|
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)",
|
|
6216
6242
|
value: value
|
|
6217
6243
|
});
|
|
6218
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
6244
|
+
}).every(flag => flag)].every(flag => flag); const _vo175 = (input, _path, _exceptionable = true) => ["string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
6219
6245
|
path: _path + "[\"const\"]",
|
|
6220
6246
|
expected: "(boolean | number | string)",
|
|
6221
6247
|
value: input["const"]
|
|
@@ -6239,7 +6265,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6239
6265
|
path: _path + ".examples",
|
|
6240
6266
|
expected: "(Record<string, any> | undefined)",
|
|
6241
6267
|
value: input.examples
|
|
6242
|
-
})].every(flag => flag); const
|
|
6268
|
+
})].every(flag => flag); const _vo176 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
6243
6269
|
path: _path + "[\"default\"]",
|
|
6244
6270
|
expected: "(boolean | undefined)",
|
|
6245
6271
|
value: input["default"]
|
|
@@ -6267,7 +6293,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6267
6293
|
path: _path + ".examples",
|
|
6268
6294
|
expected: "(Record<string, any> | undefined)",
|
|
6269
6295
|
value: input.examples
|
|
6270
|
-
})].every(flag => flag); const
|
|
6296
|
+
})].every(flag => flag); const _vo177 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || _report(_exceptionable, {
|
|
6271
6297
|
path: _path + "[\"default\"]",
|
|
6272
6298
|
expected: "number & Type<\"int64\">",
|
|
6273
6299
|
value: input["default"]
|
|
@@ -6335,7 +6361,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6335
6361
|
path: _path + ".examples",
|
|
6336
6362
|
expected: "(Record<string, any> | undefined)",
|
|
6337
6363
|
value: input.examples
|
|
6338
|
-
})].every(flag => flag); const
|
|
6364
|
+
})].every(flag => flag); const _vo178 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
6339
6365
|
path: _path + "[\"default\"]",
|
|
6340
6366
|
expected: "(number | undefined)",
|
|
6341
6367
|
value: input["default"]
|
|
@@ -6387,7 +6413,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6387
6413
|
path: _path + ".examples",
|
|
6388
6414
|
expected: "(Record<string, any> | undefined)",
|
|
6389
6415
|
value: input.examples
|
|
6390
|
-
})].every(flag => flag); const
|
|
6416
|
+
})].every(flag => flag); const _vo179 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
6391
6417
|
path: _path + "[\"default\"]",
|
|
6392
6418
|
expected: "(string | undefined)",
|
|
6393
6419
|
value: input["default"]
|
|
@@ -6443,7 +6469,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6443
6469
|
path: _path + ".examples",
|
|
6444
6470
|
expected: "(Record<string, any> | undefined)",
|
|
6445
6471
|
value: input.examples
|
|
6446
|
-
})].every(flag => flag); const
|
|
6472
|
+
})].every(flag => flag); const _vo180 = (input, _path, _exceptionable = true) => [("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
6447
6473
|
path: _path + ".items",
|
|
6448
6474
|
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)",
|
|
6449
6475
|
value: input.items
|
|
@@ -6495,7 +6521,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
6495
6521
|
path: _path + ".examples",
|
|
6496
6522
|
expected: "(Record<string, any> | undefined)",
|
|
6497
6523
|
value: input.examples
|
|
6498
|
-
})].every(flag => flag); const
|
|
6524
|
+
})].every(flag => flag); const _vo181 = (input, _path, _exceptionable = true) => ["array" === input.type || _report(_exceptionable, {
|
|
6525
|
+
path: _path + ".type",
|
|
6526
|
+
expected: "\"array\"",
|
|
6527
|
+
value: input.type
|
|
6528
|
+
}), (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
6499
6529
|
path: _path + ".prefixItems",
|
|
6500
6530
|
expected: "Array<OpenApi.IJsonSchema>",
|
|
6501
6531
|
value: input.prefixItems
|
|
@@ -6543,10 +6573,6 @@ const createHttpLlmApplication = (props) => {
|
|
|
6543
6573
|
path: _path + ".maxItems",
|
|
6544
6574
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
6545
6575
|
value: input.maxItems
|
|
6546
|
-
}), "array" === input.type || _report(_exceptionable, {
|
|
6547
|
-
path: _path + ".type",
|
|
6548
|
-
expected: "\"array\"",
|
|
6549
|
-
value: input.type
|
|
6550
6576
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
6551
6577
|
path: _path + ".title",
|
|
6552
6578
|
expected: "(string | undefined)",
|
|
@@ -6567,11 +6593,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
6567
6593
|
path: _path + ".examples",
|
|
6568
6594
|
expected: "(Record<string, any> | undefined)",
|
|
6569
6595
|
value: input.examples
|
|
6570
|
-
})].every(flag => flag); const
|
|
6596
|
+
})].every(flag => flag); const _vo182 = (input, _path, _exceptionable = true) => [undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
6571
6597
|
path: _path + ".properties",
|
|
6572
6598
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6573
6599
|
value: input.properties
|
|
6574
|
-
})) &&
|
|
6600
|
+
})) && _vo174(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
6575
6601
|
path: _path + ".properties",
|
|
6576
6602
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
6577
6603
|
value: input.properties
|
|
@@ -6623,7 +6649,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6623
6649
|
path: _path + ".examples",
|
|
6624
6650
|
expected: "(Record<string, any> | undefined)",
|
|
6625
6651
|
value: input.examples
|
|
6626
|
-
})].every(flag => flag); const
|
|
6652
|
+
})].every(flag => flag); const _vo183 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
6627
6653
|
path: _path + ".$ref",
|
|
6628
6654
|
expected: "string",
|
|
6629
6655
|
value: input.$ref
|
|
@@ -6647,7 +6673,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6647
6673
|
path: _path + ".examples",
|
|
6648
6674
|
expected: "(Record<string, any> | undefined)",
|
|
6649
6675
|
value: input.examples
|
|
6650
|
-
})].every(flag => flag); const
|
|
6676
|
+
})].every(flag => flag); const _vo184 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
6651
6677
|
path: _path + ".oneOf",
|
|
6652
6678
|
expected: "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
|
|
6653
6679
|
value: input.oneOf
|
|
@@ -6667,7 +6693,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6667
6693
|
path: _path + ".discriminator",
|
|
6668
6694
|
expected: "(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
6669
6695
|
value: input.discriminator
|
|
6670
|
-
})) &&
|
|
6696
|
+
})) && _vo187(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
|
6671
6697
|
path: _path + ".discriminator",
|
|
6672
6698
|
expected: "(OpenApi.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
6673
6699
|
value: input.discriminator
|
|
@@ -6691,7 +6717,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6691
6717
|
path: _path + ".examples",
|
|
6692
6718
|
expected: "(Record<string, any> | undefined)",
|
|
6693
6719
|
value: input.examples
|
|
6694
|
-
})].every(flag => flag); const
|
|
6720
|
+
})].every(flag => flag); const _vo185 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
6695
6721
|
path: _path + "[\"default\"]",
|
|
6696
6722
|
expected: "(null | undefined)",
|
|
6697
6723
|
value: input["default"]
|
|
@@ -6719,7 +6745,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6719
6745
|
path: _path + ".examples",
|
|
6720
6746
|
expected: "(Record<string, any> | undefined)",
|
|
6721
6747
|
value: input.examples
|
|
6722
|
-
})].every(flag => flag); const
|
|
6748
|
+
})].every(flag => flag); const _vo186 = (input, _path, _exceptionable = true) => [true, (null !== input.type || _report(_exceptionable, {
|
|
6723
6749
|
path: _path + ".type",
|
|
6724
6750
|
expected: "undefined",
|
|
6725
6751
|
value: input.type
|
|
@@ -6747,7 +6773,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6747
6773
|
path: _path + ".examples",
|
|
6748
6774
|
expected: "(Record<string, any> | undefined)",
|
|
6749
6775
|
value: input.examples
|
|
6750
|
-
})].every(flag => flag); const
|
|
6776
|
+
})].every(flag => flag); const _vo187 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
6751
6777
|
path: _path + ".propertyName",
|
|
6752
6778
|
expected: "string",
|
|
6753
6779
|
value: input.propertyName
|
|
@@ -6759,7 +6785,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6759
6785
|
path: _path + ".mapping",
|
|
6760
6786
|
expected: "(Record<string, string> | undefined)",
|
|
6761
6787
|
value: input.mapping
|
|
6762
|
-
})].every(flag => flag); const
|
|
6788
|
+
})].every(flag => flag); const _vo188 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
6763
6789
|
const value = input[key];
|
|
6764
6790
|
if (undefined === value)
|
|
6765
6791
|
return true;
|
|
@@ -6772,7 +6798,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6772
6798
|
expected: "(OpenApi.ISecurityScheme.IApiKey | OpenApi.ISecurityScheme.IHttpBasic | OpenApi.ISecurityScheme.IHttpBearer | OpenApi.ISecurityScheme.IOAuth2 | OpenApi.ISecurityScheme.IOpenId)",
|
|
6773
6799
|
value: value
|
|
6774
6800
|
});
|
|
6775
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
6801
|
+
}).every(flag => flag)].every(flag => flag); 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
|
|
@@ -6788,7 +6814,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6788
6814
|
path: _path + ".description",
|
|
6789
6815
|
expected: "(string | undefined)",
|
|
6790
6816
|
value: input.description
|
|
6791
|
-
})].every(flag => flag); const
|
|
6817
|
+
})].every(flag => flag); const _vo190 = (input, _path, _exceptionable = true) => ["http" === input.type || _report(_exceptionable, {
|
|
6792
6818
|
path: _path + ".type",
|
|
6793
6819
|
expected: "\"http\"",
|
|
6794
6820
|
value: input.type
|
|
@@ -6800,7 +6826,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6800
6826
|
path: _path + ".description",
|
|
6801
6827
|
expected: "(string | undefined)",
|
|
6802
6828
|
value: input.description
|
|
6803
|
-
})].every(flag => flag); const
|
|
6829
|
+
})].every(flag => flag); const _vo191 = (input, _path, _exceptionable = true) => ["http" === input.type || _report(_exceptionable, {
|
|
6804
6830
|
path: _path + ".type",
|
|
6805
6831
|
expected: "\"http\"",
|
|
6806
6832
|
value: input.type
|
|
@@ -6816,7 +6842,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6816
6842
|
path: _path + ".description",
|
|
6817
6843
|
expected: "(string | undefined)",
|
|
6818
6844
|
value: input.description
|
|
6819
|
-
})].every(flag => flag); const
|
|
6845
|
+
})].every(flag => flag); const _vo192 = (input, _path, _exceptionable = true) => ["oauth2" === input.type || _report(_exceptionable, {
|
|
6820
6846
|
path: _path + ".type",
|
|
6821
6847
|
expected: "\"oauth2\"",
|
|
6822
6848
|
value: input.type
|
|
@@ -6824,7 +6850,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6824
6850
|
path: _path + ".flows",
|
|
6825
6851
|
expected: "OpenApi.ISecurityScheme.IOAuth2.IFlowSet",
|
|
6826
6852
|
value: input.flows
|
|
6827
|
-
})) &&
|
|
6853
|
+
})) && _vo193(input.flows, _path + ".flows", true && _exceptionable) || _report(_exceptionable, {
|
|
6828
6854
|
path: _path + ".flows",
|
|
6829
6855
|
expected: "OpenApi.ISecurityScheme.IOAuth2.IFlowSet",
|
|
6830
6856
|
value: input.flows
|
|
@@ -6832,11 +6858,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
6832
6858
|
path: _path + ".description",
|
|
6833
6859
|
expected: "(string | undefined)",
|
|
6834
6860
|
value: input.description
|
|
6835
|
-
})].every(flag => flag); const
|
|
6861
|
+
})].every(flag => flag); const _vo193 = (input, _path, _exceptionable = true) => [undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) || _report(_exceptionable, {
|
|
6836
6862
|
path: _path + ".authorizationCode",
|
|
6837
6863
|
expected: "(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
6838
6864
|
value: input.authorizationCode
|
|
6839
|
-
})) &&
|
|
6865
|
+
})) && _vo194(input.authorizationCode, _path + ".authorizationCode", true && _exceptionable) || _report(_exceptionable, {
|
|
6840
6866
|
path: _path + ".authorizationCode",
|
|
6841
6867
|
expected: "(OpenApi.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
|
6842
6868
|
value: input.authorizationCode
|
|
@@ -6844,7 +6870,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6844
6870
|
path: _path + ".implicit",
|
|
6845
6871
|
expected: "(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
|
|
6846
6872
|
value: input.implicit
|
|
6847
|
-
})) &&
|
|
6873
|
+
})) && _vo195(input.implicit, _path + ".implicit", true && _exceptionable) || _report(_exceptionable, {
|
|
6848
6874
|
path: _path + ".implicit",
|
|
6849
6875
|
expected: "(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
|
|
6850
6876
|
value: input.implicit
|
|
@@ -6852,7 +6878,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6852
6878
|
path: _path + ".password",
|
|
6853
6879
|
expected: "(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
6854
6880
|
value: input.password
|
|
6855
|
-
})) &&
|
|
6881
|
+
})) && _vo196(input.password, _path + ".password", true && _exceptionable) || _report(_exceptionable, {
|
|
6856
6882
|
path: _path + ".password",
|
|
6857
6883
|
expected: "(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
6858
6884
|
value: input.password
|
|
@@ -6860,11 +6886,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
6860
6886
|
path: _path + ".clientCredentials",
|
|
6861
6887
|
expected: "(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
6862
6888
|
value: input.clientCredentials
|
|
6863
|
-
})) &&
|
|
6889
|
+
})) && _vo196(input.clientCredentials, _path + ".clientCredentials", true && _exceptionable) || _report(_exceptionable, {
|
|
6864
6890
|
path: _path + ".clientCredentials",
|
|
6865
6891
|
expected: "(Omit<OpenApi.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
|
|
6866
6892
|
value: input.clientCredentials
|
|
6867
|
-
})].every(flag => flag); const
|
|
6893
|
+
})].every(flag => flag); const _vo194 = (input, _path, _exceptionable = true) => [undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
6868
6894
|
path: _path + ".authorizationUrl",
|
|
6869
6895
|
expected: "(string | undefined)",
|
|
6870
6896
|
value: input.authorizationUrl
|
|
@@ -6884,7 +6910,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6884
6910
|
path: _path + ".scopes",
|
|
6885
6911
|
expected: "(Record<string, string> | undefined)",
|
|
6886
6912
|
value: input.scopes
|
|
6887
|
-
})].every(flag => flag); const
|
|
6913
|
+
})].every(flag => flag); const _vo195 = (input, _path, _exceptionable = true) => [undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
|
6888
6914
|
path: _path + ".authorizationUrl",
|
|
6889
6915
|
expected: "(string | undefined)",
|
|
6890
6916
|
value: input.authorizationUrl
|
|
@@ -6900,7 +6926,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6900
6926
|
path: _path + ".scopes",
|
|
6901
6927
|
expected: "(Record<string, string> | undefined)",
|
|
6902
6928
|
value: input.scopes
|
|
6903
|
-
})].every(flag => flag); const
|
|
6929
|
+
})].every(flag => flag); const _vo196 = (input, _path, _exceptionable = true) => [undefined === input.tokenUrl || "string" === typeof input.tokenUrl || _report(_exceptionable, {
|
|
6904
6930
|
path: _path + ".tokenUrl",
|
|
6905
6931
|
expected: "(string | undefined)",
|
|
6906
6932
|
value: input.tokenUrl
|
|
@@ -6916,7 +6942,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6916
6942
|
path: _path + ".scopes",
|
|
6917
6943
|
expected: "(Record<string, string> | undefined)",
|
|
6918
6944
|
value: input.scopes
|
|
6919
|
-
})].every(flag => flag); const
|
|
6945
|
+
})].every(flag => flag); const _vo197 = (input, _path, _exceptionable = true) => ["openIdConnect" === input.type || _report(_exceptionable, {
|
|
6920
6946
|
path: _path + ".type",
|
|
6921
6947
|
expected: "\"openIdConnect\"",
|
|
6922
6948
|
value: input.type
|
|
@@ -6928,7 +6954,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6928
6954
|
path: _path + ".description",
|
|
6929
6955
|
expected: "(string | undefined)",
|
|
6930
6956
|
value: input.description
|
|
6931
|
-
})].every(flag => flag); const
|
|
6957
|
+
})].every(flag => flag); const _vo198 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
6932
6958
|
const value = input[key];
|
|
6933
6959
|
if (undefined === value)
|
|
6934
6960
|
return true;
|
|
@@ -6936,12 +6962,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
6936
6962
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6937
6963
|
expected: "OpenApi.IPath",
|
|
6938
6964
|
value: value
|
|
6939
|
-
})) &&
|
|
6965
|
+
})) && _vo199(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
6940
6966
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
6941
6967
|
expected: "OpenApi.IPath",
|
|
6942
6968
|
value: value
|
|
6943
6969
|
});
|
|
6944
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
6970
|
+
}).every(flag => flag)].every(flag => flag); const _vo199 = (input, _path, _exceptionable = true) => [undefined === input.servers || (Array.isArray(input.servers) || _report(_exceptionable, {
|
|
6945
6971
|
path: _path + ".servers",
|
|
6946
6972
|
expected: "(Array<OpenApi.IServer> | undefined)",
|
|
6947
6973
|
value: input.servers
|
|
@@ -6949,7 +6975,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6949
6975
|
path: _path + ".servers[" + _index158 + "]",
|
|
6950
6976
|
expected: "OpenApi.IServer",
|
|
6951
6977
|
value: elem
|
|
6952
|
-
})) &&
|
|
6978
|
+
})) && _vo167(elem, _path + ".servers[" + _index158 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
6953
6979
|
path: _path + ".servers[" + _index158 + "]",
|
|
6954
6980
|
expected: "OpenApi.IServer",
|
|
6955
6981
|
value: elem
|
|
@@ -6969,7 +6995,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6969
6995
|
path: _path + ".get",
|
|
6970
6996
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6971
6997
|
value: input.get
|
|
6972
|
-
})) &&
|
|
6998
|
+
})) && _vo200(input.get, _path + ".get", true && _exceptionable) || _report(_exceptionable, {
|
|
6973
6999
|
path: _path + ".get",
|
|
6974
7000
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6975
7001
|
value: input.get
|
|
@@ -6977,7 +7003,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6977
7003
|
path: _path + ".post",
|
|
6978
7004
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6979
7005
|
value: input.post
|
|
6980
|
-
})) &&
|
|
7006
|
+
})) && _vo200(input.post, _path + ".post", true && _exceptionable) || _report(_exceptionable, {
|
|
6981
7007
|
path: _path + ".post",
|
|
6982
7008
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6983
7009
|
value: input.post
|
|
@@ -6985,7 +7011,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6985
7011
|
path: _path + ".patch",
|
|
6986
7012
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6987
7013
|
value: input.patch
|
|
6988
|
-
})) &&
|
|
7014
|
+
})) && _vo200(input.patch, _path + ".patch", true && _exceptionable) || _report(_exceptionable, {
|
|
6989
7015
|
path: _path + ".patch",
|
|
6990
7016
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6991
7017
|
value: input.patch
|
|
@@ -6993,7 +7019,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
6993
7019
|
path: _path + ".put",
|
|
6994
7020
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6995
7021
|
value: input.put
|
|
6996
|
-
})) &&
|
|
7022
|
+
})) && _vo200(input.put, _path + ".put", true && _exceptionable) || _report(_exceptionable, {
|
|
6997
7023
|
path: _path + ".put",
|
|
6998
7024
|
expected: "(OpenApi.IOperation | undefined)",
|
|
6999
7025
|
value: input.put
|
|
@@ -7001,7 +7027,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7001
7027
|
path: _path + "[\"delete\"]",
|
|
7002
7028
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7003
7029
|
value: input["delete"]
|
|
7004
|
-
})) &&
|
|
7030
|
+
})) && _vo200(input["delete"], _path + "[\"delete\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
7005
7031
|
path: _path + "[\"delete\"]",
|
|
7006
7032
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7007
7033
|
value: input["delete"]
|
|
@@ -7009,7 +7035,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7009
7035
|
path: _path + ".options",
|
|
7010
7036
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7011
7037
|
value: input.options
|
|
7012
|
-
})) &&
|
|
7038
|
+
})) && _vo200(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
|
|
7013
7039
|
path: _path + ".options",
|
|
7014
7040
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7015
7041
|
value: input.options
|
|
@@ -7017,7 +7043,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7017
7043
|
path: _path + ".head",
|
|
7018
7044
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7019
7045
|
value: input.head
|
|
7020
|
-
})) &&
|
|
7046
|
+
})) && _vo200(input.head, _path + ".head", true && _exceptionable) || _report(_exceptionable, {
|
|
7021
7047
|
path: _path + ".head",
|
|
7022
7048
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7023
7049
|
value: input.head
|
|
@@ -7025,11 +7051,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
7025
7051
|
path: _path + ".trace",
|
|
7026
7052
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7027
7053
|
value: input.trace
|
|
7028
|
-
})) &&
|
|
7054
|
+
})) && _vo200(input.trace, _path + ".trace", true && _exceptionable) || _report(_exceptionable, {
|
|
7029
7055
|
path: _path + ".trace",
|
|
7030
7056
|
expected: "(OpenApi.IOperation | undefined)",
|
|
7031
7057
|
value: input.trace
|
|
7032
|
-
})].every(flag => flag); const
|
|
7058
|
+
})].every(flag => flag); const _vo200 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
7033
7059
|
path: _path + ".operationId",
|
|
7034
7060
|
expected: "(string | undefined)",
|
|
7035
7061
|
value: input.operationId
|
|
@@ -7041,7 +7067,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7041
7067
|
path: _path + ".parameters[" + _index159 + "]",
|
|
7042
7068
|
expected: "OpenApi.IOperation.IParameter",
|
|
7043
7069
|
value: elem
|
|
7044
|
-
})) &&
|
|
7070
|
+
})) && _vo201(elem, _path + ".parameters[" + _index159 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
7045
7071
|
path: _path + ".parameters[" + _index159 + "]",
|
|
7046
7072
|
expected: "OpenApi.IOperation.IParameter",
|
|
7047
7073
|
value: elem
|
|
@@ -7053,7 +7079,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7053
7079
|
path: _path + ".requestBody",
|
|
7054
7080
|
expected: "(OpenApi.IOperation.IRequestBody | undefined)",
|
|
7055
7081
|
value: input.requestBody
|
|
7056
|
-
})) &&
|
|
7082
|
+
})) && _vo204(input.requestBody, _path + ".requestBody", true && _exceptionable) || _report(_exceptionable, {
|
|
7057
7083
|
path: _path + ".requestBody",
|
|
7058
7084
|
expected: "(OpenApi.IOperation.IRequestBody | undefined)",
|
|
7059
7085
|
value: input.requestBody
|
|
@@ -7061,7 +7087,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7061
7087
|
path: _path + ".responses",
|
|
7062
7088
|
expected: "(Record<string, OpenApi.IOperation.IResponse> | undefined)",
|
|
7063
7089
|
value: input.responses
|
|
7064
|
-
})) &&
|
|
7090
|
+
})) && _vo207(input.responses, _path + ".responses", true && _exceptionable) || _report(_exceptionable, {
|
|
7065
7091
|
path: _path + ".responses",
|
|
7066
7092
|
expected: "(Record<string, OpenApi.IOperation.IResponse> | undefined)",
|
|
7067
7093
|
value: input.responses
|
|
@@ -7073,7 +7099,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7073
7099
|
path: _path + ".servers[" + _index160 + "]",
|
|
7074
7100
|
expected: "OpenApi.IServer",
|
|
7075
7101
|
value: elem
|
|
7076
|
-
})) &&
|
|
7102
|
+
})) && _vo167(elem, _path + ".servers[" + _index160 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
7077
7103
|
path: _path + ".servers[" + _index160 + "]",
|
|
7078
7104
|
expected: "OpenApi.IServer",
|
|
7079
7105
|
value: elem
|
|
@@ -7141,7 +7167,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7141
7167
|
path: _path + "[\"x-samchon-controller\"]",
|
|
7142
7168
|
expected: "(string | undefined)",
|
|
7143
7169
|
value: input["x-samchon-controller"]
|
|
7144
|
-
})].every(flag => flag); const
|
|
7170
|
+
})].every(flag => flag); const _vo201 = (input, _path, _exceptionable = true) => [undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
7145
7171
|
path: _path + ".name",
|
|
7146
7172
|
expected: "(string | undefined)",
|
|
7147
7173
|
value: input.name
|
|
@@ -7173,11 +7199,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
7173
7199
|
path: _path + ".examples",
|
|
7174
7200
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7175
7201
|
value: input.examples
|
|
7176
|
-
})) &&
|
|
7202
|
+
})) && _vo202(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
7177
7203
|
path: _path + ".examples",
|
|
7178
7204
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7179
7205
|
value: input.examples
|
|
7180
|
-
})].every(flag => flag); const
|
|
7206
|
+
})].every(flag => flag); const _vo202 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7181
7207
|
const value = input[key];
|
|
7182
7208
|
if (undefined === value)
|
|
7183
7209
|
return true;
|
|
@@ -7185,12 +7211,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
7185
7211
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7186
7212
|
expected: "OpenApi.IExample",
|
|
7187
7213
|
value: value
|
|
7188
|
-
})) &&
|
|
7214
|
+
})) && _vo203(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
7189
7215
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7190
7216
|
expected: "OpenApi.IExample",
|
|
7191
7217
|
value: value
|
|
7192
7218
|
});
|
|
7193
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
7219
|
+
}).every(flag => flag)].every(flag => flag); const _vo203 = (input, _path, _exceptionable = true) => [undefined === input.summary || "string" === typeof input.summary || _report(_exceptionable, {
|
|
7194
7220
|
path: _path + ".summary",
|
|
7195
7221
|
expected: "(string | undefined)",
|
|
7196
7222
|
value: input.summary
|
|
@@ -7202,11 +7228,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
7202
7228
|
path: _path + ".externalValue",
|
|
7203
7229
|
expected: "(string | undefined)",
|
|
7204
7230
|
value: input.externalValue
|
|
7205
|
-
})].every(flag => flag); const
|
|
7231
|
+
})].every(flag => flag); const _vo204 = (input, _path, _exceptionable = true) => [undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || _report(_exceptionable, {
|
|
7206
7232
|
path: _path + ".content",
|
|
7207
7233
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7208
7234
|
value: input.content
|
|
7209
|
-
})) &&
|
|
7235
|
+
})) && _vo205(input.content, _path + ".content", true && _exceptionable) || _report(_exceptionable, {
|
|
7210
7236
|
path: _path + ".content",
|
|
7211
7237
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7212
7238
|
value: input.content
|
|
@@ -7222,11 +7248,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
7222
7248
|
path: _path + "[\"x-nestia-encrypted\"]",
|
|
7223
7249
|
expected: "(boolean | undefined)",
|
|
7224
7250
|
value: input["x-nestia-encrypted"]
|
|
7225
|
-
})].every(flag => flag); const
|
|
7251
|
+
})].every(flag => flag); 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, {
|
|
7226
7252
|
path: _path + "[\"text/plain\"]",
|
|
7227
7253
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7228
7254
|
value: input["text/plain"]
|
|
7229
|
-
})) &&
|
|
7255
|
+
})) && _vo206(input["text/plain"], _path + "[\"text/plain\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
7230
7256
|
path: _path + "[\"text/plain\"]",
|
|
7231
7257
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7232
7258
|
value: input["text/plain"]
|
|
@@ -7234,7 +7260,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7234
7260
|
path: _path + "[\"application/json\"]",
|
|
7235
7261
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7236
7262
|
value: input["application/json"]
|
|
7237
|
-
})) &&
|
|
7263
|
+
})) && _vo206(input["application/json"], _path + "[\"application/json\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
7238
7264
|
path: _path + "[\"application/json\"]",
|
|
7239
7265
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7240
7266
|
value: input["application/json"]
|
|
@@ -7242,7 +7268,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7242
7268
|
path: _path + "[\"application/x-www-form-url-encoded\"]",
|
|
7243
7269
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7244
7270
|
value: input["application/x-www-form-url-encoded"]
|
|
7245
|
-
})) &&
|
|
7271
|
+
})) && _vo206(input["application/x-www-form-url-encoded"], _path + "[\"application/x-www-form-url-encoded\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
7246
7272
|
path: _path + "[\"application/x-www-form-url-encoded\"]",
|
|
7247
7273
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7248
7274
|
value: input["application/x-www-form-url-encoded"]
|
|
@@ -7250,7 +7276,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7250
7276
|
path: _path + "[\"multipart/form-data\"]",
|
|
7251
7277
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7252
7278
|
value: input["multipart/form-data"]
|
|
7253
|
-
})) &&
|
|
7279
|
+
})) && _vo206(input["multipart/form-data"], _path + "[\"multipart/form-data\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
7254
7280
|
path: _path + "[\"multipart/form-data\"]",
|
|
7255
7281
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7256
7282
|
value: input["multipart/form-data"]
|
|
@@ -7258,7 +7284,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7258
7284
|
path: _path + "[\"*/*\"]",
|
|
7259
7285
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7260
7286
|
value: input["*/*"]
|
|
7261
|
-
})) &&
|
|
7287
|
+
})) && _vo206(input["*/*"], _path + "[\"*/*\"]", true && _exceptionable) || _report(_exceptionable, {
|
|
7262
7288
|
path: _path + "[\"*/*\"]",
|
|
7263
7289
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7264
7290
|
value: input["*/*"]
|
|
@@ -7272,12 +7298,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
7272
7298
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7273
7299
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7274
7300
|
value: value
|
|
7275
|
-
})) &&
|
|
7301
|
+
})) && _vo206(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
7276
7302
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7277
7303
|
expected: "(OpenApi.IOperation.IMediaType | undefined)",
|
|
7278
7304
|
value: value
|
|
7279
7305
|
});
|
|
7280
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
7306
|
+
}).every(flag => flag)].every(flag => flag); const _vo206 = (input, _path, _exceptionable = true) => [undefined === input.schema || ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
7281
7307
|
path: _path + ".schema",
|
|
7282
7308
|
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)",
|
|
7283
7309
|
value: input.schema
|
|
@@ -7289,11 +7315,11 @@ const createHttpLlmApplication = (props) => {
|
|
|
7289
7315
|
path: _path + ".examples",
|
|
7290
7316
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7291
7317
|
value: input.examples
|
|
7292
|
-
})) &&
|
|
7318
|
+
})) && _vo202(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
7293
7319
|
path: _path + ".examples",
|
|
7294
7320
|
expected: "(Record<string, OpenApi.IExample> | undefined)",
|
|
7295
7321
|
value: input.examples
|
|
7296
|
-
})].every(flag => flag); const
|
|
7322
|
+
})].every(flag => flag); const _vo207 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7297
7323
|
const value = input[key];
|
|
7298
7324
|
if (undefined === value)
|
|
7299
7325
|
return true;
|
|
@@ -7301,16 +7327,16 @@ const createHttpLlmApplication = (props) => {
|
|
|
7301
7327
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7302
7328
|
expected: "OpenApi.IOperation.IResponse",
|
|
7303
7329
|
value: value
|
|
7304
|
-
})) &&
|
|
7330
|
+
})) && _vo208(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
7305
7331
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7306
7332
|
expected: "OpenApi.IOperation.IResponse",
|
|
7307
7333
|
value: value
|
|
7308
7334
|
});
|
|
7309
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
7335
|
+
}).every(flag => flag)].every(flag => flag); const _vo208 = (input, _path, _exceptionable = true) => [undefined === input.headers || ("object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) || _report(_exceptionable, {
|
|
7310
7336
|
path: _path + ".headers",
|
|
7311
7337
|
expected: "(Record<string, OpenApi.IOperation.IParameter> | undefined)",
|
|
7312
7338
|
value: input.headers
|
|
7313
|
-
})) &&
|
|
7339
|
+
})) && _vo209(input.headers, _path + ".headers", true && _exceptionable) || _report(_exceptionable, {
|
|
7314
7340
|
path: _path + ".headers",
|
|
7315
7341
|
expected: "(Record<string, OpenApi.IOperation.IParameter> | undefined)",
|
|
7316
7342
|
value: input.headers
|
|
@@ -7318,7 +7344,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7318
7344
|
path: _path + ".content",
|
|
7319
7345
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7320
7346
|
value: input.content
|
|
7321
|
-
})) &&
|
|
7347
|
+
})) && _vo205(input.content, _path + ".content", true && _exceptionable) || _report(_exceptionable, {
|
|
7322
7348
|
path: _path + ".content",
|
|
7323
7349
|
expected: "(OpenApi.IOperation.IContent | undefined)",
|
|
7324
7350
|
value: input.content
|
|
@@ -7330,7 +7356,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7330
7356
|
path: _path + "[\"x-nestia-encrypted\"]",
|
|
7331
7357
|
expected: "(boolean | undefined)",
|
|
7332
7358
|
value: input["x-nestia-encrypted"]
|
|
7333
|
-
})].every(flag => flag); const
|
|
7359
|
+
})].every(flag => flag); const _vo209 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
7334
7360
|
const value = input[key];
|
|
7335
7361
|
if (undefined === value)
|
|
7336
7362
|
return true;
|
|
@@ -7338,12 +7364,12 @@ const createHttpLlmApplication = (props) => {
|
|
|
7338
7364
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7339
7365
|
expected: "OpenApi.IOperation.IParameter",
|
|
7340
7366
|
value: value
|
|
7341
|
-
})) &&
|
|
7367
|
+
})) && _vo201(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
7342
7368
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
7343
7369
|
expected: "OpenApi.IOperation.IParameter",
|
|
7344
7370
|
value: value
|
|
7345
7371
|
});
|
|
7346
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
7372
|
+
}).every(flag => flag)].every(flag => flag); const _vo210 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
7347
7373
|
path: _path + ".name",
|
|
7348
7374
|
expected: "string",
|
|
7349
7375
|
value: input.name
|
|
@@ -7366,14 +7392,14 @@ const createHttpLlmApplication = (props) => {
|
|
|
7366
7392
|
return _vo10(input, _path, true && _exceptionable);
|
|
7367
7393
|
else if (undefined !== input.$ref)
|
|
7368
7394
|
return _vo11(input, _path, true && _exceptionable);
|
|
7369
|
-
else if ("null" === input.type)
|
|
7370
|
-
return _vo13(input, _path, true && _exceptionable);
|
|
7371
7395
|
else if (undefined !== input["x-anyOf"])
|
|
7372
|
-
return
|
|
7396
|
+
return _vo12(input, _path, true && _exceptionable);
|
|
7373
7397
|
else if (undefined !== input["x-oneOf"])
|
|
7374
|
-
return
|
|
7398
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
7399
|
+
else if ("null" === input.type)
|
|
7400
|
+
return _vo14(input, _path, true && _exceptionable);
|
|
7375
7401
|
else
|
|
7376
|
-
return
|
|
7402
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
7377
7403
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
7378
7404
|
if ("boolean" === input.type)
|
|
7379
7405
|
return _vo17(input, _path, true && _exceptionable);
|
|
@@ -7387,16 +7413,16 @@ const createHttpLlmApplication = (props) => {
|
|
|
7387
7413
|
return _vo21(input, _path, true && _exceptionable);
|
|
7388
7414
|
else if ("object" === input.type)
|
|
7389
7415
|
return _vo22(input, _path, true && _exceptionable);
|
|
7390
|
-
else if ("null" === input.type)
|
|
7391
|
-
return _vo25(input, _path, true && _exceptionable);
|
|
7392
7416
|
else if (undefined !== input["x-anyOf"])
|
|
7393
|
-
return
|
|
7417
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
7394
7418
|
else if (undefined !== input["x-oneOf"])
|
|
7395
|
-
return
|
|
7419
|
+
return _vo25(input, _path, true && _exceptionable);
|
|
7420
|
+
else if ("null" === input.type)
|
|
7421
|
+
return _vo26(input, _path, true && _exceptionable);
|
|
7396
7422
|
else if (undefined !== input.schema)
|
|
7397
7423
|
return _vo28(input, _path, true && _exceptionable);
|
|
7398
7424
|
else
|
|
7399
|
-
return _vo23(input, _path, false && _exceptionable) ||
|
|
7425
|
+
return _vo23(input, _path, false && _exceptionable) || _vo27(input, _path, false && _exceptionable) || _vo42(input, _path, false && _exceptionable);
|
|
7400
7426
|
})(); const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
|
7401
7427
|
if ("boolean" === input.type)
|
|
7402
7428
|
return _vo17(input, _path, true && _exceptionable);
|
|
@@ -7410,16 +7436,16 @@ const createHttpLlmApplication = (props) => {
|
|
|
7410
7436
|
return _vo21(input, _path, true && _exceptionable);
|
|
7411
7437
|
else if ("object" === input.type)
|
|
7412
7438
|
return _vo22(input, _path, true && _exceptionable);
|
|
7413
|
-
else if ("null" === input.type)
|
|
7414
|
-
return _vo25(input, _path, true && _exceptionable);
|
|
7415
7439
|
else if (undefined !== input["x-anyOf"])
|
|
7416
|
-
return
|
|
7440
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
7417
7441
|
else if (undefined !== input["x-oneOf"])
|
|
7418
|
-
return
|
|
7442
|
+
return _vo25(input, _path, true && _exceptionable);
|
|
7443
|
+
else if ("null" === input.type)
|
|
7444
|
+
return _vo26(input, _path, true && _exceptionable);
|
|
7419
7445
|
else if (undefined !== input.schema)
|
|
7420
7446
|
return _vo28(input, _path, true && _exceptionable);
|
|
7421
7447
|
else
|
|
7422
|
-
return _vo23(input, _path, false && _exceptionable) ||
|
|
7448
|
+
return _vo23(input, _path, false && _exceptionable) || _vo27(input, _path, false && _exceptionable) || _vo44(input, _path, false && _exceptionable);
|
|
7423
7449
|
})(); const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
|
7424
7450
|
if ("boolean" === input.type)
|
|
7425
7451
|
return _vo57(input, _path, true && _exceptionable);
|
|
@@ -7435,16 +7461,16 @@ const createHttpLlmApplication = (props) => {
|
|
|
7435
7461
|
return _vo63(input, _path, true && _exceptionable);
|
|
7436
7462
|
else if (undefined !== input.$ref)
|
|
7437
7463
|
return _vo64(input, _path, true && _exceptionable);
|
|
7438
|
-
else if ("null" === input.type)
|
|
7439
|
-
return _vo66(input, _path, true && _exceptionable);
|
|
7440
7464
|
else if (undefined !== input.allOf)
|
|
7441
|
-
return
|
|
7465
|
+
return _vo65(input, _path, true && _exceptionable);
|
|
7442
7466
|
else if (undefined !== input.anyOf)
|
|
7443
|
-
return
|
|
7467
|
+
return _vo66(input, _path, true && _exceptionable);
|
|
7444
7468
|
else if (undefined !== input.oneOf)
|
|
7469
|
+
return _vo67(input, _path, true && _exceptionable);
|
|
7470
|
+
else if ("null" === input.type)
|
|
7445
7471
|
return _vo69(input, _path, true && _exceptionable);
|
|
7446
7472
|
else
|
|
7447
|
-
return
|
|
7473
|
+
return _vo70(input, _path, true && _exceptionable);
|
|
7448
7474
|
})(); const _vu4 = (input, _path, _exceptionable = true) => (() => {
|
|
7449
7475
|
if (undefined !== input["in"])
|
|
7450
7476
|
return _vo82(input, _path, true && _exceptionable);
|
|
@@ -7473,8 +7499,10 @@ const createHttpLlmApplication = (props) => {
|
|
|
7473
7499
|
return _vo120(input, _path, true && _exceptionable);
|
|
7474
7500
|
else if ("object" === input.type)
|
|
7475
7501
|
return _vo121(input, _path, true && _exceptionable);
|
|
7502
|
+
else if (undefined !== input.$recursiveRef)
|
|
7503
|
+
return _vo123(input, _path, true && _exceptionable);
|
|
7476
7504
|
else if ("null" === input.type)
|
|
7477
|
-
return
|
|
7505
|
+
return _vo128(input, _path, true && _exceptionable);
|
|
7478
7506
|
else
|
|
7479
7507
|
return (() => {
|
|
7480
7508
|
if (undefined !== input["const"])
|
|
@@ -7482,21 +7510,21 @@ const createHttpLlmApplication = (props) => {
|
|
|
7482
7510
|
else if (undefined !== input.$ref)
|
|
7483
7511
|
return _vo122(input, _path, true && _exceptionable);
|
|
7484
7512
|
else if (undefined !== input.allOf)
|
|
7485
|
-
return
|
|
7513
|
+
return _vo124(input, _path, true && _exceptionable);
|
|
7486
7514
|
else if (undefined !== input.anyOf)
|
|
7487
|
-
return
|
|
7515
|
+
return _vo125(input, _path, true && _exceptionable);
|
|
7488
7516
|
else if (undefined !== input.oneOf)
|
|
7489
|
-
return
|
|
7517
|
+
return _vo126(input, _path, true && _exceptionable);
|
|
7490
7518
|
else
|
|
7491
|
-
return
|
|
7519
|
+
return _vo129(input, _path, true && _exceptionable);
|
|
7492
7520
|
})();
|
|
7493
7521
|
})(); const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
7494
7522
|
if (undefined !== input["in"])
|
|
7495
|
-
return
|
|
7523
|
+
return _vo132(input, _path, true && _exceptionable);
|
|
7496
7524
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref))
|
|
7497
|
-
return
|
|
7525
|
+
return _vo137(input, _path, true && _exceptionable);
|
|
7498
7526
|
else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref))
|
|
7499
|
-
return
|
|
7527
|
+
return _vo136(input, _path, true && _exceptionable);
|
|
7500
7528
|
else
|
|
7501
7529
|
return _report(_exceptionable, {
|
|
7502
7530
|
path: _path,
|
|
@@ -7505,52 +7533,52 @@ const createHttpLlmApplication = (props) => {
|
|
|
7505
7533
|
});
|
|
7506
7534
|
})(); const _vu7 = (input, _path, _exceptionable = true) => (() => {
|
|
7507
7535
|
if (undefined !== input["const"])
|
|
7508
|
-
return _vo174(input, _path, true && _exceptionable);
|
|
7509
|
-
else if ("boolean" === input.type)
|
|
7510
7536
|
return _vo175(input, _path, true && _exceptionable);
|
|
7537
|
+
else if ("boolean" === input.type)
|
|
7538
|
+
return _vo176(input, _path, true && _exceptionable);
|
|
7511
7539
|
else if ("number" === input.type)
|
|
7512
|
-
return
|
|
7540
|
+
return _vo178(input, _path, true && _exceptionable);
|
|
7513
7541
|
else if ("integer" === input.type)
|
|
7514
|
-
return
|
|
7542
|
+
return _vo177(input, _path, true && _exceptionable);
|
|
7515
7543
|
else if ("string" === input.type)
|
|
7516
|
-
return _vo178(input, _path, true && _exceptionable);
|
|
7517
|
-
else if (undefined !== input.items)
|
|
7518
7544
|
return _vo179(input, _path, true && _exceptionable);
|
|
7519
|
-
else if (undefined !== input.
|
|
7545
|
+
else if (undefined !== input.items)
|
|
7520
7546
|
return _vo180(input, _path, true && _exceptionable);
|
|
7521
|
-
else if (
|
|
7547
|
+
else if (undefined !== input.prefixItems)
|
|
7522
7548
|
return _vo181(input, _path, true && _exceptionable);
|
|
7523
|
-
else if (
|
|
7549
|
+
else if ("object" === input.type)
|
|
7524
7550
|
return _vo182(input, _path, true && _exceptionable);
|
|
7525
|
-
else if (undefined !== input
|
|
7551
|
+
else if (undefined !== input.$ref)
|
|
7526
7552
|
return _vo183(input, _path, true && _exceptionable);
|
|
7527
|
-
else if (
|
|
7553
|
+
else if (undefined !== input.oneOf)
|
|
7528
7554
|
return _vo184(input, _path, true && _exceptionable);
|
|
7529
|
-
else
|
|
7555
|
+
else if ("null" === input.type)
|
|
7530
7556
|
return _vo185(input, _path, true && _exceptionable);
|
|
7557
|
+
else
|
|
7558
|
+
return _vo186(input, _path, true && _exceptionable);
|
|
7531
7559
|
})(); const _vu8 = (input, _path, _exceptionable = true) => (() => {
|
|
7532
7560
|
if (undefined !== input["const"])
|
|
7533
|
-
return _vo174(input, _path, true && _exceptionable);
|
|
7534
|
-
else if ("boolean" === input.type)
|
|
7535
7561
|
return _vo175(input, _path, true && _exceptionable);
|
|
7562
|
+
else if ("boolean" === input.type)
|
|
7563
|
+
return _vo176(input, _path, true && _exceptionable);
|
|
7536
7564
|
else if ("number" === input.type)
|
|
7537
|
-
return
|
|
7565
|
+
return _vo178(input, _path, true && _exceptionable);
|
|
7538
7566
|
else if ("integer" === input.type)
|
|
7539
|
-
return
|
|
7567
|
+
return _vo177(input, _path, true && _exceptionable);
|
|
7540
7568
|
else if ("string" === input.type)
|
|
7541
|
-
return _vo178(input, _path, true && _exceptionable);
|
|
7542
|
-
else if (undefined !== input.items)
|
|
7543
7569
|
return _vo179(input, _path, true && _exceptionable);
|
|
7544
|
-
else if (undefined !== input.
|
|
7570
|
+
else if (undefined !== input.items)
|
|
7545
7571
|
return _vo180(input, _path, true && _exceptionable);
|
|
7546
|
-
else if (
|
|
7572
|
+
else if (undefined !== input.prefixItems)
|
|
7547
7573
|
return _vo181(input, _path, true && _exceptionable);
|
|
7548
|
-
else if (
|
|
7574
|
+
else if ("object" === input.type)
|
|
7549
7575
|
return _vo182(input, _path, true && _exceptionable);
|
|
7576
|
+
else if (undefined !== input.$ref)
|
|
7577
|
+
return _vo183(input, _path, true && _exceptionable);
|
|
7550
7578
|
else if ("null" === input.type)
|
|
7551
|
-
return _vo184(input, _path, true && _exceptionable);
|
|
7552
|
-
else
|
|
7553
7579
|
return _vo185(input, _path, true && _exceptionable);
|
|
7580
|
+
else
|
|
7581
|
+
return _vo186(input, _path, true && _exceptionable);
|
|
7554
7582
|
})(); const _vu9 = (input, _path, _exceptionable = true) => (() => {
|
|
7555
7583
|
if ("boolean" === input.type)
|
|
7556
7584
|
return _vo17(input, _path, true && _exceptionable);
|
|
@@ -7566,16 +7594,16 @@ const createHttpLlmApplication = (props) => {
|
|
|
7566
7594
|
return _vo22(input, _path, true && _exceptionable);
|
|
7567
7595
|
else if (undefined !== input.$ref)
|
|
7568
7596
|
return _vo23(input, _path, true && _exceptionable);
|
|
7569
|
-
else if ("null" === input.type)
|
|
7570
|
-
return _vo25(input, _path, true && _exceptionable);
|
|
7571
7597
|
else if (undefined !== input["x-anyOf"])
|
|
7572
|
-
return
|
|
7598
|
+
return _vo24(input, _path, true && _exceptionable);
|
|
7573
7599
|
else if (undefined !== input["x-oneOf"])
|
|
7574
|
-
return
|
|
7600
|
+
return _vo25(input, _path, true && _exceptionable);
|
|
7601
|
+
else if ("null" === input.type)
|
|
7602
|
+
return _vo26(input, _path, true && _exceptionable);
|
|
7575
7603
|
else if (undefined !== input.schema)
|
|
7576
7604
|
return _vo28(input, _path, true && _exceptionable);
|
|
7577
7605
|
else
|
|
7578
|
-
return
|
|
7606
|
+
return _vo27(input, _path, true && _exceptionable);
|
|
7579
7607
|
})(); const _vu10 = (input, _path, _exceptionable = true) => (() => {
|
|
7580
7608
|
if ("apiKey" === input.type)
|
|
7581
7609
|
return _vo32(input, _path, true && _exceptionable);
|
|
@@ -7645,24 +7673,24 @@ const createHttpLlmApplication = (props) => {
|
|
|
7645
7673
|
return _vo72(input, _path, true && _exceptionable);
|
|
7646
7674
|
})(); const _vu17 = (input, _path, _exceptionable = true) => (() => {
|
|
7647
7675
|
if (undefined !== input.$ref)
|
|
7648
|
-
return
|
|
7676
|
+
return _vo135(input, _path, true && _exceptionable);
|
|
7649
7677
|
else
|
|
7650
|
-
return
|
|
7678
|
+
return _vo134(input, _path, true && _exceptionable);
|
|
7651
7679
|
})(); const _vu18 = (input, _path, _exceptionable = true) => (() => {
|
|
7652
7680
|
if (undefined !== input.$ref)
|
|
7653
|
-
return
|
|
7681
|
+
return _vo142(input, _path, true && _exceptionable);
|
|
7654
7682
|
else
|
|
7655
|
-
return
|
|
7683
|
+
return _vo139(input, _path, true && _exceptionable);
|
|
7656
7684
|
})(); const _vu19 = (input, _path, _exceptionable = true) => (() => {
|
|
7657
7685
|
if (undefined !== input.$ref)
|
|
7658
|
-
return
|
|
7686
|
+
return _vo147(input, _path, true && _exceptionable);
|
|
7659
7687
|
else
|
|
7660
|
-
return
|
|
7688
|
+
return _vo144(input, _path, true && _exceptionable);
|
|
7661
7689
|
})(); const _vu20 = (input, _path, _exceptionable = true) => (() => {
|
|
7662
7690
|
if (undefined !== input.$ref)
|
|
7663
|
-
return
|
|
7691
|
+
return _vo136(input, _path, true && _exceptionable);
|
|
7664
7692
|
else if (undefined !== input.schema)
|
|
7665
|
-
return
|
|
7693
|
+
return _vo146(input, _path, true && _exceptionable);
|
|
7666
7694
|
else
|
|
7667
7695
|
return _report(_exceptionable, {
|
|
7668
7696
|
path: _path,
|
|
@@ -7671,15 +7699,15 @@ const createHttpLlmApplication = (props) => {
|
|
|
7671
7699
|
});
|
|
7672
7700
|
})(); const _vu21 = (input, _path, _exceptionable = true) => (() => {
|
|
7673
7701
|
if ("apiKey" === input.type)
|
|
7674
|
-
return _vo151(input, _path, true && _exceptionable);
|
|
7675
|
-
else if ("basic" === input.scheme)
|
|
7676
7702
|
return _vo152(input, _path, true && _exceptionable);
|
|
7677
|
-
else if ("
|
|
7703
|
+
else if ("basic" === input.scheme)
|
|
7678
7704
|
return _vo153(input, _path, true && _exceptionable);
|
|
7679
|
-
else if ("
|
|
7705
|
+
else if ("bearer" === input.scheme)
|
|
7680
7706
|
return _vo154(input, _path, true && _exceptionable);
|
|
7707
|
+
else if ("oauth2" === input.type)
|
|
7708
|
+
return _vo155(input, _path, true && _exceptionable);
|
|
7681
7709
|
else if ("openIdConnect" === input.type)
|
|
7682
|
-
return
|
|
7710
|
+
return _vo160(input, _path, true && _exceptionable);
|
|
7683
7711
|
else
|
|
7684
7712
|
return _report(_exceptionable, {
|
|
7685
7713
|
path: _path,
|
|
@@ -7688,20 +7716,20 @@ const createHttpLlmApplication = (props) => {
|
|
|
7688
7716
|
});
|
|
7689
7717
|
})(); const _vu22 = (input, _path, _exceptionable = true) => (() => {
|
|
7690
7718
|
if (undefined !== input.$ref)
|
|
7691
|
-
return
|
|
7719
|
+
return _vo164(input, _path, true && _exceptionable);
|
|
7692
7720
|
else
|
|
7693
|
-
return
|
|
7721
|
+
return _vo131(input, _path, true && _exceptionable);
|
|
7694
7722
|
})(); const _vu23 = (input, _path, _exceptionable = true) => (() => {
|
|
7695
7723
|
if ("apiKey" === input.type)
|
|
7696
|
-
return _vo188(input, _path, true && _exceptionable);
|
|
7697
|
-
else if ("basic" === input.scheme)
|
|
7698
7724
|
return _vo189(input, _path, true && _exceptionable);
|
|
7699
|
-
else if ("
|
|
7725
|
+
else if ("basic" === input.scheme)
|
|
7700
7726
|
return _vo190(input, _path, true && _exceptionable);
|
|
7701
|
-
else if ("
|
|
7727
|
+
else if ("bearer" === input.scheme)
|
|
7702
7728
|
return _vo191(input, _path, true && _exceptionable);
|
|
7729
|
+
else if ("oauth2" === input.type)
|
|
7730
|
+
return _vo192(input, _path, true && _exceptionable);
|
|
7703
7731
|
else if ("openIdConnect" === input.type)
|
|
7704
|
-
return
|
|
7732
|
+
return _vo197(input, _path, true && _exceptionable);
|
|
7705
7733
|
else
|
|
7706
7734
|
return _report(_exceptionable, {
|
|
7707
7735
|
path: _path,
|
|
@@ -7716,7 +7744,7 @@ const createHttpLlmApplication = (props) => {
|
|
|
7716
7744
|
else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))
|
|
7717
7745
|
return _vo105(input, _path, true && _exceptionable);
|
|
7718
7746
|
else if (undefined !== input["x-samchon-emended"])
|
|
7719
|
-
return
|
|
7747
|
+
return _vo166(input, _path, true && _exceptionable);
|
|
7720
7748
|
else
|
|
7721
7749
|
return _report(_exceptionable, {
|
|
7722
7750
|
path: _path,
|