@agentica/core 0.43.2 → 0.44.0-dev.20260313
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 +218 -218
- package/lib/constants/AgenticaSystemPrompt.js +1 -1
- package/lib/constants/AgenticaSystemPrompt.js.map +1 -1
- package/lib/context/AgenticaOperation.d.ts +3 -2
- package/lib/context/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/context/internal/AgenticaTokenUsageAggregator.js.map +1 -1
- package/lib/context/internal/__IChatInitialApplication.d.ts +1 -1
- package/lib/errors/AgenticaJsonParseError.d.ts +5 -8
- package/lib/errors/AgenticaJsonParseError.js +11 -6
- package/lib/errors/AgenticaJsonParseError.js.map +1 -1
- package/lib/errors/AgenticaValidationError.d.ts +1 -1
- package/lib/events/AgenticaExecuteEvent.d.ts +1 -1
- package/lib/events/AgenticaJsonParseErrorEvent.d.ts +2 -2
- package/lib/factory/events.d.ts +2 -3
- package/lib/factory/events.js +1 -2
- package/lib/factory/events.js.map +1 -1
- package/lib/functional/assertHttpController.d.ts +2 -3
- package/lib/functional/assertHttpController.js +3939 -2656
- package/lib/functional/assertHttpController.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.d.ts +3 -3
- package/lib/functional/assertHttpLlmApplication.js +3939 -2656
- package/lib/functional/assertHttpLlmApplication.js.map +1 -1
- package/lib/functional/assertMcpController.d.ts +2 -2
- package/lib/functional/assertMcpController.js +202 -629
- package/lib/functional/assertMcpController.js.map +1 -1
- package/lib/functional/createMcpLlmApplication.d.ts +6 -0
- package/lib/functional/createMcpLlmApplication.js +56 -0
- package/lib/functional/createMcpLlmApplication.js.map +1 -0
- package/lib/functional/validateHttpController.d.ts +3 -3
- package/lib/functional/validateHttpController.js +3367 -2268
- package/lib/functional/validateHttpController.js.map +1 -1
- package/lib/functional/validateHttpLlmApplication.d.ts +3 -4
- package/lib/functional/validateHttpLlmApplication.js +3367 -2268
- package/lib/functional/validateHttpLlmApplication.js.map +1 -1
- package/lib/functional/validateMcpController.d.ts +2 -2
- package/lib/functional/validateMcpController.js +388 -1161
- package/lib/functional/validateMcpController.js.map +1 -1
- package/lib/histories/AgenticaExecuteHistory.d.ts +1 -1
- package/lib/index.mjs +21256 -18948
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/call.js +43 -56
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/cancel.js +9 -66
- package/lib/orchestrate/cancel.js.map +1 -1
- package/lib/orchestrate/initialize.js +4 -947
- package/lib/orchestrate/initialize.js.map +1 -1
- package/lib/orchestrate/select.js +11 -68
- package/lib/orchestrate/select.js.map +1 -1
- package/lib/structures/IAgenticaController.d.ts +143 -151
- package/lib/structures/IMcpTool.d.ts +52 -0
- package/lib/structures/IMcpTool.js +3 -0
- package/lib/structures/IMcpTool.js.map +1 -0
- package/lib/utils/ChatGptCompletionMessageUtil.js +16 -5
- package/lib/utils/ChatGptCompletionMessageUtil.js.map +1 -1
- package/lib/utils/ChatGptCompletionMessageUtil.spec.js +0 -5
- package/lib/utils/ChatGptCompletionMessageUtil.spec.js.map +1 -1
- package/package.json +7 -9
- package/prompts/cancel.md +5 -5
- package/prompts/common.md +3 -3
- package/prompts/describe.md +7 -7
- package/prompts/execute.md +122 -122
- package/prompts/initialize.md +3 -3
- package/prompts/json_parse_error.md +35 -33
- package/prompts/select.md +7 -7
- package/prompts/validate.md +123 -123
- package/prompts/validate_repeated.md +31 -31
- package/src/Agentica.ts +367 -367
- package/src/MicroAgentica.ts +357 -357
- package/src/constants/AgenticaConstant.ts +4 -4
- package/src/constants/AgenticaDefaultPrompt.ts +44 -44
- package/src/constants/AgenticaSystemPrompt.ts +1 -1
- package/src/constants/index.ts +2 -2
- package/src/context/AgenticaContext.ts +136 -136
- package/src/context/AgenticaContextRequestResult.ts +14 -14
- package/src/context/AgenticaOperation.ts +73 -72
- package/src/context/AgenticaOperationCollection.ts +49 -49
- package/src/context/AgenticaOperationSelection.ts +9 -9
- package/src/context/AgenticaTokenUsage.ts +186 -186
- package/src/context/MicroAgenticaContext.ts +99 -99
- package/src/context/index.ts +5 -5
- package/src/context/internal/AgenticaOperationComposer.ts +177 -177
- package/src/context/internal/AgenticaTokenUsageAggregator.ts +66 -66
- package/src/context/internal/__IChatCancelFunctionsApplication.ts +23 -23
- package/src/context/internal/__IChatFunctionReference.ts +21 -21
- package/src/context/internal/__IChatInitialApplication.ts +15 -15
- package/src/context/internal/__IChatSelectFunctionsApplication.ts +24 -24
- package/src/context/internal/isAgenticaContext.ts +11 -11
- package/src/errors/AgenticaJsonParseError.ts +52 -47
- package/src/errors/AgenticaValidationError.ts +49 -49
- package/src/errors/index.ts +2 -2
- package/src/events/AgenticaAssistantMessageEvent.ts +12 -12
- package/src/events/AgenticaCallEvent.ts +27 -27
- package/src/events/AgenticaCancelEvent.ts +9 -9
- package/src/events/AgenticaDescribeEvent.ts +14 -14
- package/src/events/AgenticaEvent.ts +59 -59
- package/src/events/AgenticaEvent.type.ts +19 -19
- package/src/events/AgenticaEventBase.ts +18 -18
- package/src/events/AgenticaEventSource.ts +6 -6
- package/src/events/AgenticaExecuteEvent.ts +45 -45
- package/src/events/AgenticaInitializeEvent.ts +7 -7
- package/src/events/AgenticaJsonParseErrorEvent.ts +16 -15
- package/src/events/AgenticaRequestEvent.ts +27 -27
- package/src/events/AgenticaResponseEvent.ts +32 -32
- package/src/events/AgenticaSelectEvent.ts +11 -11
- package/src/events/AgenticaUserMessageEvent.ts +12 -12
- package/src/events/AgenticaValidateEvent.ts +32 -32
- package/src/events/MicroAgenticaEvent.ts +45 -45
- package/src/events/index.ts +15 -15
- package/src/factory/events.ts +357 -359
- package/src/factory/histories.ts +348 -348
- package/src/factory/index.ts +3 -3
- package/src/factory/operations.ts +16 -16
- package/src/functional/assertHttpController.ts +106 -104
- package/src/functional/assertHttpLlmApplication.ts +52 -57
- package/src/functional/assertMcpController.ts +47 -44
- package/src/functional/createMcpLlmApplication.ts +72 -0
- package/src/functional/index.ts +7 -7
- package/src/functional/validateHttpController.ts +113 -110
- package/src/functional/validateHttpLlmApplication.ts +65 -70
- package/src/functional/validateMcpController.ts +53 -50
- package/src/histories/AgenticaAssistantMessageHistory.ts +10 -10
- package/src/histories/AgenticaCancelHistory.ts +8 -8
- package/src/histories/AgenticaDescribeHistory.ts +18 -18
- package/src/histories/AgenticaExecuteHistory.ts +64 -64
- package/src/histories/AgenticaHistory.ts +28 -28
- package/src/histories/AgenticaHistoryBase.ts +35 -35
- package/src/histories/AgenticaSelectHistory.ts +8 -8
- package/src/histories/AgenticaSystemMessageHistory.ts +10 -10
- package/src/histories/AgenticaUserMessageHistory.ts +11 -11
- package/src/histories/MicroAgenticaHistory.ts +19 -19
- package/src/histories/contents/AgenticaUserMessageAudioContent.ts +21 -21
- package/src/histories/contents/AgenticaUserMessageContent.ts +19 -19
- package/src/histories/contents/AgenticaUserMessageContentBase.ts +6 -6
- package/src/histories/contents/AgenticaUserMessageFileContent.ts +25 -25
- package/src/histories/contents/AgenticaUserMessageImageContent.ts +33 -33
- package/src/histories/contents/AgenticaUserMessageTextContent.ts +15 -15
- package/src/histories/contents/index.ts +5 -5
- package/src/histories/index.ts +10 -10
- package/src/index.ts +15 -15
- package/src/json/IAgenticaEventJson.ts +265 -265
- package/src/json/IAgenticaEventJson.type.ts +19 -19
- package/src/json/IAgenticaHistoryJson.ts +165 -165
- package/src/json/IAgenticaHistoryJson.type.ts +19 -19
- package/src/json/IAgenticaOperationJson.ts +36 -36
- package/src/json/IAgenticaOperationSelectionJson.ts +26 -26
- package/src/json/IAgenticaTokenUsageJson.ts +107 -107
- package/src/json/IMicroAgenticaEventJson.ts +22 -22
- package/src/json/IMicroAgenticaHistoryJson.ts +25 -25
- package/src/json/index.ts +7 -7
- package/src/orchestrate/call.ts +542 -558
- package/src/orchestrate/cancel.ts +265 -269
- package/src/orchestrate/describe.ts +66 -66
- package/src/orchestrate/execute.ts +61 -61
- package/src/orchestrate/index.ts +6 -6
- package/src/orchestrate/initialize.ts +102 -102
- package/src/orchestrate/internal/cancelFunctionFromContext.ts +33 -33
- package/src/orchestrate/internal/selectFunctionFromContext.ts +34 -34
- package/src/orchestrate/select.ts +320 -322
- package/src/structures/IAgenticaConfig.ts +83 -83
- package/src/structures/IAgenticaConfigBase.ts +87 -87
- package/src/structures/IAgenticaController.ts +143 -151
- package/src/structures/IAgenticaExecutor.ts +167 -167
- package/src/structures/IAgenticaProps.ts +78 -78
- package/src/structures/IAgenticaSystemPrompt.ts +236 -236
- package/src/structures/IAgenticaVendor.ts +54 -54
- package/src/structures/IMcpTool.ts +60 -0
- package/src/structures/IMicroAgenticaConfig.ts +56 -56
- package/src/structures/IMicroAgenticaExecutor.ts +67 -67
- package/src/structures/IMicroAgenticaProps.ts +77 -77
- package/src/structures/IMicroAgenticaSystemPrompt.ts +169 -169
- package/src/structures/index.ts +10 -10
- package/src/transformers/transformHistory.ts +172 -172
- package/src/utils/AssistantMessageEmptyError.ts +20 -20
- package/src/utils/AsyncQueue.spec.ts +355 -355
- package/src/utils/AsyncQueue.ts +95 -95
- package/src/utils/ByteArrayUtil.ts +5 -5
- package/src/utils/ChatGptCompletionMessageUtil.spec.ts +314 -320
- package/src/utils/ChatGptCompletionMessageUtil.ts +210 -195
- package/src/utils/ChatGptCompletionStreamingUtil.spec.ts +909 -909
- package/src/utils/ChatGptCompletionStreamingUtil.ts +91 -91
- package/src/utils/ChatGptTokenUsageAggregator.spec.ts +226 -226
- package/src/utils/ChatGptTokenUsageAggregator.ts +57 -57
- package/src/utils/MPSC.spec.ts +276 -276
- package/src/utils/MPSC.ts +42 -42
- package/src/utils/Singleton.spec.ts +138 -138
- package/src/utils/Singleton.ts +42 -42
- package/src/utils/StreamUtil.spec.ts +512 -512
- package/src/utils/StreamUtil.ts +87 -87
- package/src/utils/__map_take.spec.ts +140 -140
- package/src/utils/__map_take.ts +13 -13
- package/src/utils/__retry.spec.ts +198 -198
- package/src/utils/__retry.ts +18 -18
- package/src/utils/assertExecuteFailure.ts +16 -16
- package/src/utils/index.ts +4 -4
- package/src/utils/request.ts +140 -140
- package/src/utils/types.ts +50 -50
- package/lib/context/internal/AgenticaOperationComposer.spec.d.ts +0 -1
- package/lib/context/internal/AgenticaOperationComposer.spec.js +0 -353
- package/lib/context/internal/AgenticaOperationComposer.spec.js.map +0 -1
- package/lib/utils/JsonUtil.d.ts +0 -8
- package/lib/utils/JsonUtil.js +0 -350
- package/lib/utils/JsonUtil.js.map +0 -1
- package/src/context/internal/AgenticaOperationComposer.spec.ts +0 -401
- package/src/utils/JsonUtil.ts +0 -462
|
@@ -46,11 +46,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
48
|
exports.validateMcpController = validateMcpController;
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
49
|
+
const __typia_transform__isTypeUint64 = __importStar(require("typia/lib/internal/_isTypeUint64"));
|
|
50
|
+
const __typia_transform__isTypeInt64 = __importStar(require("typia/lib/internal/_isTypeInt64"));
|
|
51
|
+
const __typia_transform__accessExpressionAsString = __importStar(require("typia/lib/internal/_accessExpressionAsString"));
|
|
52
|
+
const __typia_transform__validateReport = __importStar(require("typia/lib/internal/_validateReport"));
|
|
53
|
+
const __typia_transform__assertGuard = __importStar(require("typia/lib/internal/_assertGuard"));
|
|
53
54
|
const typia_1 = __importDefault(require("typia"));
|
|
55
|
+
const createMcpLlmApplication_1 = require("./createMcpLlmApplication");
|
|
54
56
|
/**
|
|
55
57
|
* Create an MCP controller with type validation.
|
|
56
58
|
*
|
|
@@ -72,60 +74,55 @@ function validateMcpController(props) {
|
|
|
72
74
|
const { ListToolsResultSchema } = yield Promise.resolve().then(() => __importStar(require("@modelcontextprotocol/sdk/types.js")));
|
|
73
75
|
// get list of tools
|
|
74
76
|
const { tools } = yield props.client.request({ method: "tools/list" }, ListToolsResultSchema);
|
|
75
|
-
const inspect = (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (
|
|
77
|
+
const inspect = (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)) && (undefined === input.outputSchema || "object" === typeof input.outputSchema && null !== input.outputSchema && _iu1(input.outputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _io2 = input => Object.keys(input).every(key => {
|
|
76
78
|
const value = input[key];
|
|
77
79
|
if (undefined === value)
|
|
78
80
|
return true;
|
|
79
81
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
80
|
-
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io4 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "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)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu0(input.additionalItems))) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && "string" === typeof input.$ref; const _io5 = input => Object.keys(input).every(key => {
|
|
81
|
-
const value = input[key];
|
|
82
|
-
if (undefined === value)
|
|
83
|
-
return true;
|
|
84
|
-
return true;
|
|
85
|
-
}); const _io6 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io7 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io8 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io9 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io10 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io11 = 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) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _iu0(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io12 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io13 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io14 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io15 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io16 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io17 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io18(input.mapping)); const _io18 = input => Object.keys(input).every(key => {
|
|
82
|
+
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io4 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && __typia_transform__isTypeUint64._isTypeUint64(input.minLength)) && (undefined === input.maxLength || "number" === typeof input.maxLength && __typia_transform__isTypeUint64._isTypeUint64(input.maxLength)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _iu0(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && __typia_transform__isTypeUint64._isTypeUint64(input.minItems)) && (undefined === input.maxItems || "number" === typeof input.maxItems && __typia_transform__isTypeUint64._isTypeUint64(input.maxItems)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io16(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && "string" === typeof input.$ref; const _io5 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable); const _io6 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io7 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && __typia_transform__isTypeInt64._isTypeInt64(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem && __typia_transform__isTypeInt64._isTypeInt64(elem))) && (undefined === input.minimum || "number" === typeof input.minimum && __typia_transform__isTypeInt64._isTypeInt64(input.minimum)) && (undefined === input.maximum || "number" === typeof input.maximum && __typia_transform__isTypeInt64._isTypeInt64(input.maximum)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && __typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMinimum) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && __typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMaximum) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io8 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io9 = 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 && __typia_transform__isTypeUint64._isTypeUint64(input.minLength)) && (undefined === input.maxLength || "number" === typeof input.maxLength && __typia_transform__isTypeUint64._isTypeUint64(input.maxLength)) && "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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io10 = 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) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _iu0(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && __typia_transform__isTypeUint64._isTypeUint64(input.minItems)) && (undefined === input.maxItems || "number" === typeof input.maxItems && __typia_transform__isTypeUint64._isTypeUint64(input.maxItems)) && "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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io11 = input => "string" === typeof input.$ref; const _io12 = input => "string" === typeof input.$recursiveRef; const _io13 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)); const _io14 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)); const _io15 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io16(input.discriminator)); const _io16 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io17(input.mapping)); const _io17 = input => Object.keys(input).every(key => {
|
|
86
83
|
const value = input[key];
|
|
87
84
|
if (undefined === value)
|
|
88
85
|
return true;
|
|
89
86
|
return "string" === typeof value;
|
|
90
|
-
}); const
|
|
87
|
+
}); const _io18 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io19 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io20 = input => "string" === typeof input.$ref && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _iu0 = input => (() => {
|
|
91
88
|
if ("object" === input.type)
|
|
92
89
|
return _io3(input);
|
|
93
90
|
else if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
94
91
|
return _io4(input);
|
|
95
92
|
else if ("boolean" === input.type)
|
|
96
|
-
return
|
|
93
|
+
return _io6(input);
|
|
97
94
|
else if ("number" === input.type)
|
|
98
|
-
return _io9(input);
|
|
99
|
-
else if ("integer" === input.type)
|
|
100
95
|
return _io8(input);
|
|
96
|
+
else if ("integer" === input.type)
|
|
97
|
+
return _io7(input);
|
|
101
98
|
else if ("string" === input.type)
|
|
102
|
-
return
|
|
99
|
+
return _io9(input);
|
|
103
100
|
else if ("array" === input.type)
|
|
104
|
-
return
|
|
101
|
+
return _io10(input);
|
|
105
102
|
else if (undefined !== input.$recursiveRef)
|
|
106
|
-
return
|
|
103
|
+
return _io12(input);
|
|
107
104
|
else if ("null" === input.type)
|
|
108
|
-
return
|
|
105
|
+
return _io18(input);
|
|
109
106
|
else
|
|
110
107
|
return (() => {
|
|
111
108
|
if (undefined !== input["const"])
|
|
112
|
-
return
|
|
109
|
+
return _io5(input);
|
|
113
110
|
else if (undefined !== input.$ref)
|
|
114
|
-
return
|
|
111
|
+
return _io11(input);
|
|
115
112
|
else if (undefined !== input.allOf)
|
|
116
|
-
return
|
|
113
|
+
return _io13(input);
|
|
117
114
|
else if (undefined !== input.anyOf)
|
|
118
|
-
return
|
|
115
|
+
return _io14(input);
|
|
119
116
|
else if (undefined !== input.oneOf)
|
|
120
|
-
return
|
|
117
|
+
return _io15(input);
|
|
121
118
|
else
|
|
122
|
-
return
|
|
119
|
+
return _io19(input);
|
|
123
120
|
})();
|
|
124
121
|
})(); const _iu1 = input => (() => {
|
|
125
122
|
if (undefined !== input.type)
|
|
126
123
|
return _io1(input);
|
|
127
124
|
else if (undefined !== input.$ref)
|
|
128
|
-
return
|
|
125
|
+
return _io20(input);
|
|
129
126
|
else
|
|
130
127
|
return false;
|
|
131
128
|
})(); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.name && (input.name.length <= 64 || _report(_exceptionable, {
|
|
@@ -148,17 +145,25 @@ function validateMcpController(props) {
|
|
|
148
145
|
path: _path + ".inputSchema",
|
|
149
146
|
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
150
147
|
value: input.inputSchema
|
|
148
|
+
}), undefined === input.outputSchema || ("object" === typeof input.outputSchema && null !== input.outputSchema || _report(_exceptionable, {
|
|
149
|
+
path: _path + ".outputSchema",
|
|
150
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; } | undefined)",
|
|
151
|
+
value: input.outputSchema
|
|
152
|
+
})) && _vu1(input.outputSchema, _path + ".outputSchema", true && _exceptionable) || _report(_exceptionable, {
|
|
153
|
+
path: _path + ".outputSchema",
|
|
154
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; } | undefined)",
|
|
155
|
+
value: input.outputSchema
|
|
151
156
|
})].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
152
157
|
path: _path + ".nullable",
|
|
153
158
|
expected: "(boolean | undefined)",
|
|
154
159
|
value: input.nullable
|
|
155
160
|
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
156
161
|
path: _path + ".properties",
|
|
157
|
-
expected: "(Record<string,
|
|
162
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
158
163
|
value: input.properties
|
|
159
164
|
})) && _vo2(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
160
165
|
path: _path + ".properties",
|
|
161
|
-
expected: "(Record<string,
|
|
166
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
162
167
|
value: input.properties
|
|
163
168
|
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
164
169
|
path: _path + ".required",
|
|
@@ -174,15 +179,15 @@ function validateMcpController(props) {
|
|
|
174
179
|
value: input.required
|
|
175
180
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
176
181
|
path: _path + ".additionalProperties",
|
|
177
|
-
expected: "(
|
|
182
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
178
183
|
value: input.additionalProperties
|
|
179
184
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
180
185
|
path: _path + ".additionalProperties",
|
|
181
|
-
expected: "(
|
|
186
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
182
187
|
value: input.additionalProperties
|
|
183
188
|
})) && _vu0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
|
184
189
|
path: _path + ".additionalProperties",
|
|
185
|
-
expected: "(
|
|
190
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
186
191
|
value: input.additionalProperties
|
|
187
192
|
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
188
193
|
path: _path + ".maxProperties",
|
|
@@ -216,25 +221,13 @@ function validateMcpController(props) {
|
|
|
216
221
|
path: _path + ".writeOnly",
|
|
217
222
|
expected: "(boolean | undefined)",
|
|
218
223
|
value: input.writeOnly
|
|
219
|
-
}), (null !== input.
|
|
220
|
-
path: _path + ".examples",
|
|
221
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
222
|
-
value: input.examples
|
|
223
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
224
|
-
path: _path + ".examples",
|
|
225
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
226
|
-
value: input.examples
|
|
227
|
-
})) || _report(_exceptionable, {
|
|
228
|
-
path: _path + ".examples",
|
|
229
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
230
|
-
value: input.examples
|
|
231
|
-
})), undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || _report(_exceptionable, {
|
|
224
|
+
}), undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || _report(_exceptionable, {
|
|
232
225
|
path: _path + ".$defs",
|
|
233
|
-
expected: "(Record<string,
|
|
226
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
234
227
|
value: input.$defs
|
|
235
228
|
})) && _vo2(input.$defs, _path + ".$defs", true && _exceptionable) || _report(_exceptionable, {
|
|
236
229
|
path: _path + ".$defs",
|
|
237
|
-
expected: "(Record<string,
|
|
230
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
238
231
|
value: input.$defs
|
|
239
232
|
})].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
240
233
|
const value = input[key];
|
|
@@ -242,11 +235,11 @@ function validateMcpController(props) {
|
|
|
242
235
|
return true;
|
|
243
236
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
|
244
237
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
245
|
-
expected: "(
|
|
238
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
246
239
|
value: value
|
|
247
240
|
})) && _vu0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || _report(_exceptionable, {
|
|
248
241
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
249
|
-
expected: "(
|
|
242
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
250
243
|
value: value
|
|
251
244
|
});
|
|
252
245
|
}).every(flag => flag)].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
@@ -255,11 +248,11 @@ function validateMcpController(props) {
|
|
|
255
248
|
value: input.nullable
|
|
256
249
|
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
257
250
|
path: _path + ".properties",
|
|
258
|
-
expected: "(Record<string,
|
|
251
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
259
252
|
value: input.properties
|
|
260
253
|
})) && _vo2(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
261
254
|
path: _path + ".properties",
|
|
262
|
-
expected: "(Record<string,
|
|
255
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
263
256
|
value: input.properties
|
|
264
257
|
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
265
258
|
path: _path + ".required",
|
|
@@ -275,15 +268,15 @@ function validateMcpController(props) {
|
|
|
275
268
|
value: input.required
|
|
276
269
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
277
270
|
path: _path + ".additionalProperties",
|
|
278
|
-
expected: "(
|
|
271
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
279
272
|
value: input.additionalProperties
|
|
280
273
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
281
274
|
path: _path + ".additionalProperties",
|
|
282
|
-
expected: "(
|
|
275
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
283
276
|
value: input.additionalProperties
|
|
284
277
|
})) && _vu0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
|
285
278
|
path: _path + ".additionalProperties",
|
|
286
|
-
expected: "(
|
|
279
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
287
280
|
value: input.additionalProperties
|
|
288
281
|
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
289
282
|
path: _path + ".maxProperties",
|
|
@@ -317,19 +310,7 @@ function validateMcpController(props) {
|
|
|
317
310
|
path: _path + ".writeOnly",
|
|
318
311
|
expected: "(boolean | undefined)",
|
|
319
312
|
value: input.writeOnly
|
|
320
|
-
})
|
|
321
|
-
path: _path + ".examples",
|
|
322
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
323
|
-
value: input.examples
|
|
324
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
325
|
-
path: _path + ".examples",
|
|
326
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
327
|
-
value: input.examples
|
|
328
|
-
})) || _report(_exceptionable, {
|
|
329
|
-
path: _path + ".examples",
|
|
330
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
331
|
-
value: input.examples
|
|
332
|
-
}))].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [(Array.isArray(input.type) || _report(_exceptionable, {
|
|
313
|
+
})].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [(Array.isArray(input.type) || _report(_exceptionable, {
|
|
333
314
|
path: _path + ".type",
|
|
334
315
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\" | \"null\">",
|
|
335
316
|
value: input.type
|
|
@@ -357,19 +338,7 @@ function validateMcpController(props) {
|
|
|
357
338
|
path: _path + ".nullable",
|
|
358
339
|
expected: "(boolean | undefined)",
|
|
359
340
|
value: input.nullable
|
|
360
|
-
}),
|
|
361
|
-
path: _path + ".examples",
|
|
362
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
363
|
-
value: input.examples
|
|
364
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
365
|
-
path: _path + ".examples",
|
|
366
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
367
|
-
value: input.examples
|
|
368
|
-
})) || _report(_exceptionable, {
|
|
369
|
-
path: _path + ".examples",
|
|
370
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
371
|
-
value: input.examples
|
|
372
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
341
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
373
342
|
path: _path + ".title",
|
|
374
343
|
expected: "(string | undefined)",
|
|
375
344
|
value: input.title
|
|
@@ -397,14 +366,6 @@ function validateMcpController(props) {
|
|
|
397
366
|
path: _path + ".maximum",
|
|
398
367
|
expected: "(number | undefined)",
|
|
399
368
|
value: input.maximum
|
|
400
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || _report(_exceptionable, {
|
|
401
|
-
path: _path + ".multipleOf",
|
|
402
|
-
expected: "number & ExclusiveMinimum<0>",
|
|
403
|
-
value: input.multipleOf
|
|
404
|
-
})) || _report(_exceptionable, {
|
|
405
|
-
path: _path + ".multipleOf",
|
|
406
|
-
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
407
|
-
value: input.multipleOf
|
|
408
369
|
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || _report(_exceptionable, {
|
|
409
370
|
path: _path + ".exclusiveMinimum",
|
|
410
371
|
expected: "(boolean | number | undefined)",
|
|
@@ -413,6 +374,14 @@ function validateMcpController(props) {
|
|
|
413
374
|
path: _path + ".exclusiveMaximum",
|
|
414
375
|
expected: "(boolean | number | undefined)",
|
|
415
376
|
value: input.exclusiveMaximum
|
|
377
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || _report(_exceptionable, {
|
|
378
|
+
path: _path + ".multipleOf",
|
|
379
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
380
|
+
value: input.multipleOf
|
|
381
|
+
})) || _report(_exceptionable, {
|
|
382
|
+
path: _path + ".multipleOf",
|
|
383
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
384
|
+
value: input.multipleOf
|
|
416
385
|
}), undefined === input.format || "string" === typeof input.format || _report(_exceptionable, {
|
|
417
386
|
path: _path + ".format",
|
|
418
387
|
expected: "(string | undefined)",
|
|
@@ -425,7 +394,7 @@ function validateMcpController(props) {
|
|
|
425
394
|
path: _path + ".contentMediaType",
|
|
426
395
|
expected: "(string | undefined)",
|
|
427
396
|
value: input.contentMediaType
|
|
428
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (
|
|
397
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (__typia_transform__isTypeUint64._isTypeUint64(input.minLength) || _report(_exceptionable, {
|
|
429
398
|
path: _path + ".minLength",
|
|
430
399
|
expected: "number & Type<\"uint64\">",
|
|
431
400
|
value: input.minLength
|
|
@@ -433,7 +402,7 @@ function validateMcpController(props) {
|
|
|
433
402
|
path: _path + ".minLength",
|
|
434
403
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
435
404
|
value: input.minLength
|
|
436
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (
|
|
405
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (__typia_transform__isTypeUint64._isTypeUint64(input.maxLength) || _report(_exceptionable, {
|
|
437
406
|
path: _path + ".maxLength",
|
|
438
407
|
expected: "number & Type<\"uint64\">",
|
|
439
408
|
value: input.maxLength
|
|
@@ -443,91 +412,91 @@ function validateMcpController(props) {
|
|
|
443
412
|
value: input.maxLength
|
|
444
413
|
}), (null !== input.items || _report(_exceptionable, {
|
|
445
414
|
path: _path + ".items",
|
|
446
|
-
expected: "(Array<
|
|
415
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
447
416
|
value: input.items
|
|
448
417
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index25) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
449
418
|
path: _path + ".items[" + _index25 + "]",
|
|
450
|
-
expected: "(
|
|
419
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
451
420
|
value: elem
|
|
452
421
|
})) && _vu0(elem, _path + ".items[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
453
422
|
path: _path + ".items[" + _index25 + "]",
|
|
454
|
-
expected: "(
|
|
423
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
455
424
|
value: elem
|
|
456
425
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu0(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
457
426
|
path: _path + ".items",
|
|
458
|
-
expected: "(Array<
|
|
427
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
459
428
|
value: input.items
|
|
460
429
|
})) || _report(_exceptionable, {
|
|
461
430
|
path: _path + ".items",
|
|
462
|
-
expected: "(Array<
|
|
431
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
463
432
|
value: input.items
|
|
464
|
-
})), undefined === input.
|
|
465
|
-
path: _path + ".uniqueItems",
|
|
466
|
-
expected: "(boolean | undefined)",
|
|
467
|
-
value: input.uniqueItems
|
|
468
|
-
}), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || _report(_exceptionable, {
|
|
469
|
-
path: _path + ".minItems",
|
|
470
|
-
expected: "number & Type<\"uint64\">",
|
|
471
|
-
value: input.minItems
|
|
472
|
-
})) || _report(_exceptionable, {
|
|
473
|
-
path: _path + ".minItems",
|
|
474
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
475
|
-
value: input.minItems
|
|
476
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || _report(_exceptionable, {
|
|
477
|
-
path: _path + ".maxItems",
|
|
478
|
-
expected: "number & Type<\"uint64\">",
|
|
479
|
-
value: input.maxItems
|
|
480
|
-
})) || _report(_exceptionable, {
|
|
481
|
-
path: _path + ".maxItems",
|
|
482
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
483
|
-
value: input.maxItems
|
|
484
|
-
}), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
433
|
+
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
485
434
|
path: _path + ".prefixItems",
|
|
486
|
-
expected: "(Array<
|
|
435
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
487
436
|
value: input.prefixItems
|
|
488
437
|
})) && input.prefixItems.map((elem, _index26) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
489
438
|
path: _path + ".prefixItems[" + _index26 + "]",
|
|
490
|
-
expected: "(
|
|
439
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
491
440
|
value: elem
|
|
492
441
|
})) && _vu0(elem, _path + ".prefixItems[" + _index26 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
493
442
|
path: _path + ".prefixItems[" + _index26 + "]",
|
|
494
|
-
expected: "(
|
|
443
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
495
444
|
value: elem
|
|
496
445
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
497
446
|
path: _path + ".prefixItems",
|
|
498
|
-
expected: "(Array<
|
|
447
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
499
448
|
value: input.prefixItems
|
|
449
|
+
}), undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || _report(_exceptionable, {
|
|
450
|
+
path: _path + ".uniqueItems",
|
|
451
|
+
expected: "(boolean | undefined)",
|
|
452
|
+
value: input.uniqueItems
|
|
500
453
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
|
501
454
|
path: _path + ".additionalItems",
|
|
502
|
-
expected: "(
|
|
455
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
503
456
|
value: input.additionalItems
|
|
504
457
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
|
505
458
|
path: _path + ".additionalItems",
|
|
506
|
-
expected: "(
|
|
459
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
507
460
|
value: input.additionalItems
|
|
508
461
|
})) && _vu0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || _report(_exceptionable, {
|
|
509
462
|
path: _path + ".additionalItems",
|
|
510
|
-
expected: "(
|
|
463
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
511
464
|
value: input.additionalItems
|
|
512
|
-
})),
|
|
465
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (__typia_transform__isTypeUint64._isTypeUint64(input.minItems) || _report(_exceptionable, {
|
|
466
|
+
path: _path + ".minItems",
|
|
467
|
+
expected: "number & Type<\"uint64\">",
|
|
468
|
+
value: input.minItems
|
|
469
|
+
})) || _report(_exceptionable, {
|
|
470
|
+
path: _path + ".minItems",
|
|
471
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
472
|
+
value: input.minItems
|
|
473
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (__typia_transform__isTypeUint64._isTypeUint64(input.maxItems) || _report(_exceptionable, {
|
|
474
|
+
path: _path + ".maxItems",
|
|
475
|
+
expected: "number & Type<\"uint64\">",
|
|
476
|
+
value: input.maxItems
|
|
477
|
+
})) || _report(_exceptionable, {
|
|
478
|
+
path: _path + ".maxItems",
|
|
479
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
480
|
+
value: input.maxItems
|
|
481
|
+
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
513
482
|
path: _path + ".additionalProperties",
|
|
514
|
-
expected: "(
|
|
483
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
515
484
|
value: input.additionalProperties
|
|
516
485
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
517
486
|
path: _path + ".additionalProperties",
|
|
518
|
-
expected: "(
|
|
487
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
519
488
|
value: input.additionalProperties
|
|
520
489
|
})) && _vu0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || _report(_exceptionable, {
|
|
521
490
|
path: _path + ".additionalProperties",
|
|
522
|
-
expected: "(
|
|
491
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
523
492
|
value: input.additionalProperties
|
|
524
493
|
})), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
525
494
|
path: _path + ".properties",
|
|
526
|
-
expected: "(Record<string,
|
|
495
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
527
496
|
value: input.properties
|
|
528
497
|
})) && _vo2(input.properties, _path + ".properties", true && _exceptionable) || _report(_exceptionable, {
|
|
529
498
|
path: _path + ".properties",
|
|
530
|
-
expected: "(Record<string,
|
|
499
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
531
500
|
value: input.properties
|
|
532
501
|
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
533
502
|
path: _path + ".required",
|
|
@@ -551,70 +520,65 @@ function validateMcpController(props) {
|
|
|
551
520
|
value: input.minProperties
|
|
552
521
|
}), (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
553
522
|
path: _path + ".oneOf",
|
|
554
|
-
expected: "Array<
|
|
523
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
555
524
|
value: input.oneOf
|
|
556
525
|
})) && input.oneOf.map((elem, _index28) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
557
526
|
path: _path + ".oneOf[" + _index28 + "]",
|
|
558
|
-
expected: "(
|
|
527
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
559
528
|
value: elem
|
|
560
529
|
})) && _vu0(elem, _path + ".oneOf[" + _index28 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
561
530
|
path: _path + ".oneOf[" + _index28 + "]",
|
|
562
|
-
expected: "(
|
|
531
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
563
532
|
value: elem
|
|
564
533
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
565
534
|
path: _path + ".oneOf",
|
|
566
|
-
expected: "Array<
|
|
535
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
567
536
|
value: input.oneOf
|
|
568
537
|
}), undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || _report(_exceptionable, {
|
|
569
538
|
path: _path + ".discriminator",
|
|
570
|
-
expected: "(
|
|
539
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
571
540
|
value: input.discriminator
|
|
572
|
-
})) &&
|
|
541
|
+
})) && _vo16(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
|
573
542
|
path: _path + ".discriminator",
|
|
574
|
-
expected: "(
|
|
543
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
575
544
|
value: input.discriminator
|
|
576
545
|
}), (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
577
546
|
path: _path + ".anyOf",
|
|
578
|
-
expected: "Array<
|
|
547
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
579
548
|
value: input.anyOf
|
|
580
549
|
})) && input.anyOf.map((elem, _index29) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
581
550
|
path: _path + ".anyOf[" + _index29 + "]",
|
|
582
|
-
expected: "(
|
|
551
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
583
552
|
value: elem
|
|
584
553
|
})) && _vu0(elem, _path + ".anyOf[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
585
554
|
path: _path + ".anyOf[" + _index29 + "]",
|
|
586
|
-
expected: "(
|
|
555
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
587
556
|
value: elem
|
|
588
557
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
589
558
|
path: _path + ".anyOf",
|
|
590
|
-
expected: "Array<
|
|
559
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
591
560
|
value: input.anyOf
|
|
592
561
|
}), (Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
593
562
|
path: _path + ".allOf",
|
|
594
|
-
expected: "Array<
|
|
563
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
595
564
|
value: input.allOf
|
|
596
565
|
})) && input.allOf.map((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
597
566
|
path: _path + ".allOf[" + _index30 + "]",
|
|
598
|
-
expected: "(
|
|
567
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
599
568
|
value: elem
|
|
600
569
|
})) && _vu0(elem, _path + ".allOf[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
601
570
|
path: _path + ".allOf[" + _index30 + "]",
|
|
602
|
-
expected: "(
|
|
571
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
603
572
|
value: elem
|
|
604
573
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
605
574
|
path: _path + ".allOf",
|
|
606
|
-
expected: "Array<
|
|
575
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
607
576
|
value: input.allOf
|
|
608
577
|
}), "string" === typeof input.$ref || _report(_exceptionable, {
|
|
609
578
|
path: _path + ".$ref",
|
|
610
579
|
expected: "string",
|
|
611
580
|
value: input.$ref
|
|
612
|
-
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => [
|
|
613
|
-
const value = input[key];
|
|
614
|
-
if (undefined === value)
|
|
615
|
-
return true;
|
|
616
|
-
return true;
|
|
617
|
-
}).every(flag => flag)].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
581
|
+
})].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
618
582
|
path: _path + "[\"const\"]",
|
|
619
583
|
expected: "(boolean | number | string)",
|
|
620
584
|
value: input["const"]
|
|
@@ -622,39 +586,7 @@ function validateMcpController(props) {
|
|
|
622
586
|
path: _path + ".nullable",
|
|
623
587
|
expected: "(boolean | undefined)",
|
|
624
588
|
value: input.nullable
|
|
625
|
-
})
|
|
626
|
-
path: _path + ".examples",
|
|
627
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
628
|
-
value: input.examples
|
|
629
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
630
|
-
path: _path + ".examples",
|
|
631
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
632
|
-
value: input.examples
|
|
633
|
-
})) || _report(_exceptionable, {
|
|
634
|
-
path: _path + ".examples",
|
|
635
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
636
|
-
value: input.examples
|
|
637
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
638
|
-
path: _path + ".title",
|
|
639
|
-
expected: "(string | undefined)",
|
|
640
|
-
value: input.title
|
|
641
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
642
|
-
path: _path + ".description",
|
|
643
|
-
expected: "(string | undefined)",
|
|
644
|
-
value: input.description
|
|
645
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
646
|
-
path: _path + ".deprecated",
|
|
647
|
-
expected: "(boolean | undefined)",
|
|
648
|
-
value: input.deprecated
|
|
649
|
-
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
650
|
-
path: _path + ".readOnly",
|
|
651
|
-
expected: "(boolean | undefined)",
|
|
652
|
-
value: input.readOnly
|
|
653
|
-
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
654
|
-
path: _path + ".writeOnly",
|
|
655
|
-
expected: "(boolean | undefined)",
|
|
656
|
-
value: input.writeOnly
|
|
657
|
-
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
589
|
+
})].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
658
590
|
path: _path + ".nullable",
|
|
659
591
|
expected: "(boolean | undefined)",
|
|
660
592
|
value: input.nullable
|
|
@@ -698,23 +630,11 @@ function validateMcpController(props) {
|
|
|
698
630
|
path: _path + ".writeOnly",
|
|
699
631
|
expected: "(boolean | undefined)",
|
|
700
632
|
value: input.writeOnly
|
|
701
|
-
})
|
|
702
|
-
path: _path + ".examples",
|
|
703
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
704
|
-
value: input.examples
|
|
705
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
706
|
-
path: _path + ".examples",
|
|
707
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
708
|
-
value: input.examples
|
|
709
|
-
})) || _report(_exceptionable, {
|
|
710
|
-
path: _path + ".examples",
|
|
711
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
712
|
-
value: input.examples
|
|
713
|
-
}))].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
633
|
+
})].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
714
634
|
path: _path + ".nullable",
|
|
715
635
|
expected: "(boolean | undefined)",
|
|
716
636
|
value: input.nullable
|
|
717
|
-
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (
|
|
637
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (__typia_transform__isTypeInt64._isTypeInt64(input["default"]) || _report(_exceptionable, {
|
|
718
638
|
path: _path + "[\"default\"]",
|
|
719
639
|
expected: "number & Type<\"int64\">",
|
|
720
640
|
value: input["default"]
|
|
@@ -724,17 +644,21 @@ function validateMcpController(props) {
|
|
|
724
644
|
value: input["default"]
|
|
725
645
|
}), undefined === input["enum"] || (Array.isArray(input["enum"]) || _report(_exceptionable, {
|
|
726
646
|
path: _path + "[\"enum\"]",
|
|
727
|
-
expected: "(Array<number | null> | undefined)",
|
|
647
|
+
expected: "(Array<(number & Type<\"int64\">) | null> | undefined)",
|
|
728
648
|
value: input["enum"]
|
|
729
|
-
})) && input["enum"].map((elem, _index32) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
649
|
+
})) && input["enum"].map((elem, _index32) => null === elem || "number" === typeof elem && (__typia_transform__isTypeInt64._isTypeInt64(elem) || _report(_exceptionable, {
|
|
730
650
|
path: _path + "[\"enum\"][" + _index32 + "]",
|
|
731
|
-
expected: "
|
|
651
|
+
expected: "number & Type<\"int64\">",
|
|
652
|
+
value: elem
|
|
653
|
+
})) || _report(_exceptionable, {
|
|
654
|
+
path: _path + "[\"enum\"][" + _index32 + "]",
|
|
655
|
+
expected: "((number & Type<\"int64\">) | null)",
|
|
732
656
|
value: elem
|
|
733
657
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
734
658
|
path: _path + "[\"enum\"]",
|
|
735
|
-
expected: "(Array<number | null> | undefined)",
|
|
659
|
+
expected: "(Array<(number & Type<\"int64\">) | null> | undefined)",
|
|
736
660
|
value: input["enum"]
|
|
737
|
-
}), undefined === input.minimum || "number" === typeof input.minimum && (
|
|
661
|
+
}), undefined === input.minimum || "number" === typeof input.minimum && (__typia_transform__isTypeInt64._isTypeInt64(input.minimum) || _report(_exceptionable, {
|
|
738
662
|
path: _path + ".minimum",
|
|
739
663
|
expected: "number & Type<\"int64\">",
|
|
740
664
|
value: input.minimum
|
|
@@ -742,7 +666,7 @@ function validateMcpController(props) {
|
|
|
742
666
|
path: _path + ".minimum",
|
|
743
667
|
expected: "((number & Type<\"int64\">) | undefined)",
|
|
744
668
|
value: input.minimum
|
|
745
|
-
}), undefined === input.maximum || "number" === typeof input.maximum && (
|
|
669
|
+
}), undefined === input.maximum || "number" === typeof input.maximum && (__typia_transform__isTypeInt64._isTypeInt64(input.maximum) || _report(_exceptionable, {
|
|
746
670
|
path: _path + ".maximum",
|
|
747
671
|
expected: "number & Type<\"int64\">",
|
|
748
672
|
value: input.maximum
|
|
@@ -750,7 +674,7 @@ function validateMcpController(props) {
|
|
|
750
674
|
path: _path + ".maximum",
|
|
751
675
|
expected: "((number & Type<\"int64\">) | undefined)",
|
|
752
676
|
value: input.maximum
|
|
753
|
-
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (
|
|
677
|
+
}), undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (__typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMinimum) || _report(_exceptionable, {
|
|
754
678
|
path: _path + ".exclusiveMinimum",
|
|
755
679
|
expected: "number & Type<\"int64\">",
|
|
756
680
|
value: input.exclusiveMinimum
|
|
@@ -758,7 +682,7 @@ function validateMcpController(props) {
|
|
|
758
682
|
path: _path + ".exclusiveMinimum",
|
|
759
683
|
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
|
760
684
|
value: input.exclusiveMinimum
|
|
761
|
-
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (
|
|
685
|
+
}), undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (__typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMaximum) || _report(_exceptionable, {
|
|
762
686
|
path: _path + ".exclusiveMaximum",
|
|
763
687
|
expected: "number & Type<\"int64\">",
|
|
764
688
|
value: input.exclusiveMaximum
|
|
@@ -766,17 +690,13 @@ function validateMcpController(props) {
|
|
|
766
690
|
path: _path + ".exclusiveMaximum",
|
|
767
691
|
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
|
768
692
|
value: input.exclusiveMaximum
|
|
769
|
-
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (
|
|
770
|
-
path: _path + ".multipleOf",
|
|
771
|
-
expected: "number & Type<\"uint64\">",
|
|
772
|
-
value: input.multipleOf
|
|
773
|
-
})) && (0 < input.multipleOf || _report(_exceptionable, {
|
|
693
|
+
}), undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || _report(_exceptionable, {
|
|
774
694
|
path: _path + ".multipleOf",
|
|
775
695
|
expected: "number & ExclusiveMinimum<0>",
|
|
776
696
|
value: input.multipleOf
|
|
777
697
|
})) || _report(_exceptionable, {
|
|
778
698
|
path: _path + ".multipleOf",
|
|
779
|
-
expected: "((number &
|
|
699
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
780
700
|
value: input.multipleOf
|
|
781
701
|
}), "integer" === input.type || _report(_exceptionable, {
|
|
782
702
|
path: _path + ".type",
|
|
@@ -802,19 +722,7 @@ function validateMcpController(props) {
|
|
|
802
722
|
path: _path + ".writeOnly",
|
|
803
723
|
expected: "(boolean | undefined)",
|
|
804
724
|
value: input.writeOnly
|
|
805
|
-
})
|
|
806
|
-
path: _path + ".examples",
|
|
807
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
808
|
-
value: input.examples
|
|
809
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
810
|
-
path: _path + ".examples",
|
|
811
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
812
|
-
value: input.examples
|
|
813
|
-
})) || _report(_exceptionable, {
|
|
814
|
-
path: _path + ".examples",
|
|
815
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
816
|
-
value: input.examples
|
|
817
|
-
}))].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
725
|
+
})].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
818
726
|
path: _path + ".nullable",
|
|
819
727
|
expected: "(boolean | undefined)",
|
|
820
728
|
value: input.nullable
|
|
@@ -882,19 +790,7 @@ function validateMcpController(props) {
|
|
|
882
790
|
path: _path + ".writeOnly",
|
|
883
791
|
expected: "(boolean | undefined)",
|
|
884
792
|
value: input.writeOnly
|
|
885
|
-
})
|
|
886
|
-
path: _path + ".examples",
|
|
887
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
888
|
-
value: input.examples
|
|
889
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
890
|
-
path: _path + ".examples",
|
|
891
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
892
|
-
value: input.examples
|
|
893
|
-
})) || _report(_exceptionable, {
|
|
894
|
-
path: _path + ".examples",
|
|
895
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
896
|
-
value: input.examples
|
|
897
|
-
}))].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
793
|
+
})].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
898
794
|
path: _path + ".nullable",
|
|
899
795
|
expected: "(boolean | undefined)",
|
|
900
796
|
value: input.nullable
|
|
@@ -926,7 +822,7 @@ function validateMcpController(props) {
|
|
|
926
822
|
path: _path + ".contentMediaType",
|
|
927
823
|
expected: "(string | undefined)",
|
|
928
824
|
value: input.contentMediaType
|
|
929
|
-
}), undefined === input.minLength || "number" === typeof input.minLength && (
|
|
825
|
+
}), undefined === input.minLength || "number" === typeof input.minLength && (__typia_transform__isTypeUint64._isTypeUint64(input.minLength) || _report(_exceptionable, {
|
|
930
826
|
path: _path + ".minLength",
|
|
931
827
|
expected: "number & Type<\"uint64\">",
|
|
932
828
|
value: input.minLength
|
|
@@ -934,7 +830,7 @@ function validateMcpController(props) {
|
|
|
934
830
|
path: _path + ".minLength",
|
|
935
831
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
936
832
|
value: input.minLength
|
|
937
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (
|
|
833
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (__typia_transform__isTypeUint64._isTypeUint64(input.maxLength) || _report(_exceptionable, {
|
|
938
834
|
path: _path + ".maxLength",
|
|
939
835
|
expected: "number & Type<\"uint64\">",
|
|
940
836
|
value: input.maxLength
|
|
@@ -966,57 +862,45 @@ function validateMcpController(props) {
|
|
|
966
862
|
path: _path + ".writeOnly",
|
|
967
863
|
expected: "(boolean | undefined)",
|
|
968
864
|
value: input.writeOnly
|
|
969
|
-
})
|
|
970
|
-
path: _path + ".examples",
|
|
971
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
972
|
-
value: input.examples
|
|
973
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
974
|
-
path: _path + ".examples",
|
|
975
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
976
|
-
value: input.examples
|
|
977
|
-
})) || _report(_exceptionable, {
|
|
978
|
-
path: _path + ".examples",
|
|
979
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
980
|
-
value: input.examples
|
|
981
|
-
}))].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
865
|
+
})].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
982
866
|
path: _path + ".nullable",
|
|
983
867
|
expected: "(boolean | undefined)",
|
|
984
868
|
value: input.nullable
|
|
985
869
|
}), (null !== input.items || _report(_exceptionable, {
|
|
986
870
|
path: _path + ".items",
|
|
987
|
-
expected: "(Array<
|
|
871
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
988
872
|
value: input.items
|
|
989
873
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index35) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
990
874
|
path: _path + ".items[" + _index35 + "]",
|
|
991
|
-
expected: "(
|
|
875
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
992
876
|
value: elem
|
|
993
877
|
})) && _vu0(elem, _path + ".items[" + _index35 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
994
878
|
path: _path + ".items[" + _index35 + "]",
|
|
995
|
-
expected: "(
|
|
879
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
996
880
|
value: elem
|
|
997
881
|
})).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu0(input.items, _path + ".items", true && _exceptionable) || _report(_exceptionable, {
|
|
998
882
|
path: _path + ".items",
|
|
999
|
-
expected: "(Array<
|
|
883
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
1000
884
|
value: input.items
|
|
1001
885
|
})) || _report(_exceptionable, {
|
|
1002
886
|
path: _path + ".items",
|
|
1003
|
-
expected: "(Array<
|
|
887
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
1004
888
|
value: input.items
|
|
1005
889
|
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
|
1006
890
|
path: _path + ".prefixItems",
|
|
1007
|
-
expected: "(Array<
|
|
891
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1008
892
|
value: input.prefixItems
|
|
1009
893
|
})) && input.prefixItems.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1010
894
|
path: _path + ".prefixItems[" + _index36 + "]",
|
|
1011
|
-
expected: "(
|
|
895
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1012
896
|
value: elem
|
|
1013
897
|
})) && _vu0(elem, _path + ".prefixItems[" + _index36 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1014
898
|
path: _path + ".prefixItems[" + _index36 + "]",
|
|
1015
|
-
expected: "(
|
|
899
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1016
900
|
value: elem
|
|
1017
901
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1018
902
|
path: _path + ".prefixItems",
|
|
1019
|
-
expected: "(Array<
|
|
903
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1020
904
|
value: input.prefixItems
|
|
1021
905
|
}), undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || _report(_exceptionable, {
|
|
1022
906
|
path: _path + ".uniqueItems",
|
|
@@ -1024,17 +908,17 @@ function validateMcpController(props) {
|
|
|
1024
908
|
value: input.uniqueItems
|
|
1025
909
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
|
1026
910
|
path: _path + ".additionalItems",
|
|
1027
|
-
expected: "(
|
|
911
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1028
912
|
value: input.additionalItems
|
|
1029
913
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
|
1030
914
|
path: _path + ".additionalItems",
|
|
1031
|
-
expected: "(
|
|
915
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1032
916
|
value: input.additionalItems
|
|
1033
917
|
})) && _vu0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || _report(_exceptionable, {
|
|
1034
918
|
path: _path + ".additionalItems",
|
|
1035
|
-
expected: "(
|
|
919
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1036
920
|
value: input.additionalItems
|
|
1037
|
-
})), undefined === input.minItems || "number" === typeof input.minItems && (
|
|
921
|
+
})), undefined === input.minItems || "number" === typeof input.minItems && (__typia_transform__isTypeUint64._isTypeUint64(input.minItems) || _report(_exceptionable, {
|
|
1038
922
|
path: _path + ".minItems",
|
|
1039
923
|
expected: "number & Type<\"uint64\">",
|
|
1040
924
|
value: input.minItems
|
|
@@ -1042,7 +926,7 @@ function validateMcpController(props) {
|
|
|
1042
926
|
path: _path + ".minItems",
|
|
1043
927
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1044
928
|
value: input.minItems
|
|
1045
|
-
}), undefined === input.maxItems || "number" === typeof input.maxItems && (
|
|
929
|
+
}), undefined === input.maxItems || "number" === typeof input.maxItems && (__typia_transform__isTypeUint64._isTypeUint64(input.maxItems) || _report(_exceptionable, {
|
|
1046
930
|
path: _path + ".maxItems",
|
|
1047
931
|
expected: "number & Type<\"uint64\">",
|
|
1048
932
|
value: input.maxItems
|
|
@@ -1074,243 +958,71 @@ function validateMcpController(props) {
|
|
|
1074
958
|
path: _path + ".writeOnly",
|
|
1075
959
|
expected: "(boolean | undefined)",
|
|
1076
960
|
value: input.writeOnly
|
|
1077
|
-
})
|
|
1078
|
-
path: _path + ".examples",
|
|
1079
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1080
|
-
value: input.examples
|
|
1081
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1082
|
-
path: _path + ".examples",
|
|
1083
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1084
|
-
value: input.examples
|
|
1085
|
-
})) || _report(_exceptionable, {
|
|
1086
|
-
path: _path + ".examples",
|
|
1087
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1088
|
-
value: input.examples
|
|
1089
|
-
}))].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
961
|
+
})].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
1090
962
|
path: _path + ".$ref",
|
|
1091
963
|
expected: "string",
|
|
1092
964
|
value: input.$ref
|
|
1093
|
-
})
|
|
1094
|
-
path: _path + ".examples",
|
|
1095
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1096
|
-
value: input.examples
|
|
1097
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1098
|
-
path: _path + ".examples",
|
|
1099
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1100
|
-
value: input.examples
|
|
1101
|
-
})) || _report(_exceptionable, {
|
|
1102
|
-
path: _path + ".examples",
|
|
1103
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1104
|
-
value: input.examples
|
|
1105
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1106
|
-
path: _path + ".title",
|
|
1107
|
-
expected: "(string | undefined)",
|
|
1108
|
-
value: input.title
|
|
1109
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1110
|
-
path: _path + ".description",
|
|
1111
|
-
expected: "(string | undefined)",
|
|
1112
|
-
value: input.description
|
|
1113
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1114
|
-
path: _path + ".deprecated",
|
|
1115
|
-
expected: "(boolean | undefined)",
|
|
1116
|
-
value: input.deprecated
|
|
1117
|
-
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1118
|
-
path: _path + ".readOnly",
|
|
1119
|
-
expected: "(boolean | undefined)",
|
|
1120
|
-
value: input.readOnly
|
|
1121
|
-
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1122
|
-
path: _path + ".writeOnly",
|
|
1123
|
-
expected: "(boolean | undefined)",
|
|
1124
|
-
value: input.writeOnly
|
|
1125
|
-
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
|
965
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
|
1126
966
|
path: _path + ".$recursiveRef",
|
|
1127
967
|
expected: "string",
|
|
1128
968
|
value: input.$recursiveRef
|
|
1129
|
-
})
|
|
1130
|
-
path: _path + ".examples",
|
|
1131
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1132
|
-
value: input.examples
|
|
1133
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1134
|
-
path: _path + ".examples",
|
|
1135
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1136
|
-
value: input.examples
|
|
1137
|
-
})) || _report(_exceptionable, {
|
|
1138
|
-
path: _path + ".examples",
|
|
1139
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1140
|
-
value: input.examples
|
|
1141
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1142
|
-
path: _path + ".title",
|
|
1143
|
-
expected: "(string | undefined)",
|
|
1144
|
-
value: input.title
|
|
1145
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1146
|
-
path: _path + ".description",
|
|
1147
|
-
expected: "(string | undefined)",
|
|
1148
|
-
value: input.description
|
|
1149
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1150
|
-
path: _path + ".deprecated",
|
|
1151
|
-
expected: "(boolean | undefined)",
|
|
1152
|
-
value: input.deprecated
|
|
1153
|
-
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1154
|
-
path: _path + ".readOnly",
|
|
1155
|
-
expected: "(boolean | undefined)",
|
|
1156
|
-
value: input.readOnly
|
|
1157
|
-
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1158
|
-
path: _path + ".writeOnly",
|
|
1159
|
-
expected: "(boolean | undefined)",
|
|
1160
|
-
value: input.writeOnly
|
|
1161
|
-
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
969
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
1162
970
|
path: _path + ".allOf",
|
|
1163
|
-
expected: "Array<
|
|
971
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1164
972
|
value: input.allOf
|
|
1165
973
|
})) && input.allOf.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1166
974
|
path: _path + ".allOf[" + _index37 + "]",
|
|
1167
|
-
expected: "(
|
|
975
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1168
976
|
value: elem
|
|
1169
977
|
})) && _vu0(elem, _path + ".allOf[" + _index37 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1170
978
|
path: _path + ".allOf[" + _index37 + "]",
|
|
1171
|
-
expected: "(
|
|
979
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1172
980
|
value: elem
|
|
1173
981
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1174
982
|
path: _path + ".allOf",
|
|
1175
|
-
expected: "Array<
|
|
983
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1176
984
|
value: input.allOf
|
|
1177
|
-
})
|
|
1178
|
-
path: _path + ".examples",
|
|
1179
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1180
|
-
value: input.examples
|
|
1181
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1182
|
-
path: _path + ".examples",
|
|
1183
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1184
|
-
value: input.examples
|
|
1185
|
-
})) || _report(_exceptionable, {
|
|
1186
|
-
path: _path + ".examples",
|
|
1187
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1188
|
-
value: input.examples
|
|
1189
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1190
|
-
path: _path + ".title",
|
|
1191
|
-
expected: "(string | undefined)",
|
|
1192
|
-
value: input.title
|
|
1193
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1194
|
-
path: _path + ".description",
|
|
1195
|
-
expected: "(string | undefined)",
|
|
1196
|
-
value: input.description
|
|
1197
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1198
|
-
path: _path + ".deprecated",
|
|
1199
|
-
expected: "(boolean | undefined)",
|
|
1200
|
-
value: input.deprecated
|
|
1201
|
-
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1202
|
-
path: _path + ".readOnly",
|
|
1203
|
-
expected: "(boolean | undefined)",
|
|
1204
|
-
value: input.readOnly
|
|
1205
|
-
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1206
|
-
path: _path + ".writeOnly",
|
|
1207
|
-
expected: "(boolean | undefined)",
|
|
1208
|
-
value: input.writeOnly
|
|
1209
|
-
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
985
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
1210
986
|
path: _path + ".anyOf",
|
|
1211
|
-
expected: "Array<
|
|
987
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1212
988
|
value: input.anyOf
|
|
1213
989
|
})) && input.anyOf.map((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1214
990
|
path: _path + ".anyOf[" + _index38 + "]",
|
|
1215
|
-
expected: "(
|
|
991
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1216
992
|
value: elem
|
|
1217
993
|
})) && _vu0(elem, _path + ".anyOf[" + _index38 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1218
994
|
path: _path + ".anyOf[" + _index38 + "]",
|
|
1219
|
-
expected: "(
|
|
995
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1220
996
|
value: elem
|
|
1221
997
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1222
998
|
path: _path + ".anyOf",
|
|
1223
|
-
expected: "Array<
|
|
999
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1224
1000
|
value: input.anyOf
|
|
1225
|
-
})
|
|
1226
|
-
path: _path + ".examples",
|
|
1227
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1228
|
-
value: input.examples
|
|
1229
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1230
|
-
path: _path + ".examples",
|
|
1231
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1232
|
-
value: input.examples
|
|
1233
|
-
})) || _report(_exceptionable, {
|
|
1234
|
-
path: _path + ".examples",
|
|
1235
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1236
|
-
value: input.examples
|
|
1237
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1238
|
-
path: _path + ".title",
|
|
1239
|
-
expected: "(string | undefined)",
|
|
1240
|
-
value: input.title
|
|
1241
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1242
|
-
path: _path + ".description",
|
|
1243
|
-
expected: "(string | undefined)",
|
|
1244
|
-
value: input.description
|
|
1245
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1246
|
-
path: _path + ".deprecated",
|
|
1247
|
-
expected: "(boolean | undefined)",
|
|
1248
|
-
value: input.deprecated
|
|
1249
|
-
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1250
|
-
path: _path + ".readOnly",
|
|
1251
|
-
expected: "(boolean | undefined)",
|
|
1252
|
-
value: input.readOnly
|
|
1253
|
-
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1254
|
-
path: _path + ".writeOnly",
|
|
1255
|
-
expected: "(boolean | undefined)",
|
|
1256
|
-
value: input.writeOnly
|
|
1257
|
-
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
1001
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
1258
1002
|
path: _path + ".oneOf",
|
|
1259
|
-
expected: "Array<
|
|
1003
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1260
1004
|
value: input.oneOf
|
|
1261
1005
|
})) && input.oneOf.map((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
1262
1006
|
path: _path + ".oneOf[" + _index39 + "]",
|
|
1263
|
-
expected: "(
|
|
1007
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1264
1008
|
value: elem
|
|
1265
1009
|
})) && _vu0(elem, _path + ".oneOf[" + _index39 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1266
1010
|
path: _path + ".oneOf[" + _index39 + "]",
|
|
1267
|
-
expected: "(
|
|
1011
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1268
1012
|
value: elem
|
|
1269
1013
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
1270
1014
|
path: _path + ".oneOf",
|
|
1271
|
-
expected: "Array<
|
|
1015
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1272
1016
|
value: input.oneOf
|
|
1273
1017
|
}), undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || _report(_exceptionable, {
|
|
1274
1018
|
path: _path + ".discriminator",
|
|
1275
|
-
expected: "(
|
|
1019
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
1276
1020
|
value: input.discriminator
|
|
1277
|
-
})) &&
|
|
1021
|
+
})) && _vo16(input.discriminator, _path + ".discriminator", true && _exceptionable) || _report(_exceptionable, {
|
|
1278
1022
|
path: _path + ".discriminator",
|
|
1279
|
-
expected: "(
|
|
1023
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
1280
1024
|
value: input.discriminator
|
|
1281
|
-
})
|
|
1282
|
-
path: _path + ".examples",
|
|
1283
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1284
|
-
value: input.examples
|
|
1285
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1286
|
-
path: _path + ".examples",
|
|
1287
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1288
|
-
value: input.examples
|
|
1289
|
-
})) || _report(_exceptionable, {
|
|
1290
|
-
path: _path + ".examples",
|
|
1291
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1292
|
-
value: input.examples
|
|
1293
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1294
|
-
path: _path + ".title",
|
|
1295
|
-
expected: "(string | undefined)",
|
|
1296
|
-
value: input.title
|
|
1297
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1298
|
-
path: _path + ".description",
|
|
1299
|
-
expected: "(string | undefined)",
|
|
1300
|
-
value: input.description
|
|
1301
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1302
|
-
path: _path + ".deprecated",
|
|
1303
|
-
expected: "(boolean | undefined)",
|
|
1304
|
-
value: input.deprecated
|
|
1305
|
-
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1306
|
-
path: _path + ".readOnly",
|
|
1307
|
-
expected: "(boolean | undefined)",
|
|
1308
|
-
value: input.readOnly
|
|
1309
|
-
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1310
|
-
path: _path + ".writeOnly",
|
|
1311
|
-
expected: "(boolean | undefined)",
|
|
1312
|
-
value: input.writeOnly
|
|
1313
|
-
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
1025
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
1314
1026
|
path: _path + ".propertyName",
|
|
1315
1027
|
expected: "string",
|
|
1316
1028
|
value: input.propertyName
|
|
@@ -1318,11 +1030,11 @@ function validateMcpController(props) {
|
|
|
1318
1030
|
path: _path + ".mapping",
|
|
1319
1031
|
expected: "(Record<string, string> | undefined)",
|
|
1320
1032
|
value: input.mapping
|
|
1321
|
-
})) &&
|
|
1033
|
+
})) && _vo17(input.mapping, _path + ".mapping", true && _exceptionable) || _report(_exceptionable, {
|
|
1322
1034
|
path: _path + ".mapping",
|
|
1323
1035
|
expected: "(Record<string, string> | undefined)",
|
|
1324
1036
|
value: input.mapping
|
|
1325
|
-
})].every(flag => flag); const
|
|
1037
|
+
})].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1326
1038
|
const value = input[key];
|
|
1327
1039
|
if (undefined === value)
|
|
1328
1040
|
return true;
|
|
@@ -1331,7 +1043,7 @@ function validateMcpController(props) {
|
|
|
1331
1043
|
expected: "string",
|
|
1332
1044
|
value: value
|
|
1333
1045
|
});
|
|
1334
|
-
}).every(flag => flag)].every(flag => flag); const
|
|
1046
|
+
}).every(flag => flag)].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
1335
1047
|
path: _path + "[\"default\"]",
|
|
1336
1048
|
expected: "(null | undefined)",
|
|
1337
1049
|
value: input["default"]
|
|
@@ -1359,19 +1071,7 @@ function validateMcpController(props) {
|
|
|
1359
1071
|
path: _path + ".writeOnly",
|
|
1360
1072
|
expected: "(boolean | undefined)",
|
|
1361
1073
|
value: input.writeOnly
|
|
1362
|
-
}), (null !== input.
|
|
1363
|
-
path: _path + ".examples",
|
|
1364
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1365
|
-
value: input.examples
|
|
1366
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1367
|
-
path: _path + ".examples",
|
|
1368
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1369
|
-
value: input.examples
|
|
1370
|
-
})) || _report(_exceptionable, {
|
|
1371
|
-
path: _path + ".examples",
|
|
1372
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1373
|
-
value: input.examples
|
|
1374
|
-
}))].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
1074
|
+
})].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
1375
1075
|
path: _path + ".type",
|
|
1376
1076
|
expected: "undefined",
|
|
1377
1077
|
value: input.type
|
|
@@ -1399,61 +1099,17 @@ function validateMcpController(props) {
|
|
|
1399
1099
|
path: _path + ".writeOnly",
|
|
1400
1100
|
expected: "(boolean | undefined)",
|
|
1401
1101
|
value: input.writeOnly
|
|
1402
|
-
})
|
|
1403
|
-
path: _path + ".examples",
|
|
1404
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1405
|
-
value: input.examples
|
|
1406
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1407
|
-
path: _path + ".examples",
|
|
1408
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1409
|
-
value: input.examples
|
|
1410
|
-
})) || _report(_exceptionable, {
|
|
1411
|
-
path: _path + ".examples",
|
|
1412
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1413
|
-
value: input.examples
|
|
1414
|
-
}))].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
1102
|
+
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
1415
1103
|
path: _path + ".$ref",
|
|
1416
1104
|
expected: "string",
|
|
1417
1105
|
value: input.$ref
|
|
1418
|
-
}), (null !== input.examples || _report(_exceptionable, {
|
|
1419
|
-
path: _path + ".examples",
|
|
1420
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1421
|
-
value: input.examples
|
|
1422
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo5(input.examples, _path + ".examples", true && _exceptionable) || _report(_exceptionable, {
|
|
1423
|
-
path: _path + ".examples",
|
|
1424
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1425
|
-
value: input.examples
|
|
1426
|
-
})) || _report(_exceptionable, {
|
|
1427
|
-
path: _path + ".examples",
|
|
1428
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1429
|
-
value: input.examples
|
|
1430
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
1431
|
-
path: _path + ".title",
|
|
1432
|
-
expected: "(string | undefined)",
|
|
1433
|
-
value: input.title
|
|
1434
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
1435
|
-
path: _path + ".description",
|
|
1436
|
-
expected: "(string | undefined)",
|
|
1437
|
-
value: input.description
|
|
1438
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
1439
|
-
path: _path + ".deprecated",
|
|
1440
|
-
expected: "(boolean | undefined)",
|
|
1441
|
-
value: input.deprecated
|
|
1442
|
-
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1443
|
-
path: _path + ".readOnly",
|
|
1444
|
-
expected: "(boolean | undefined)",
|
|
1445
|
-
value: input.readOnly
|
|
1446
|
-
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1447
|
-
path: _path + ".writeOnly",
|
|
1448
|
-
expected: "(boolean | undefined)",
|
|
1449
|
-
value: input.writeOnly
|
|
1450
1106
|
}), undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || _report(_exceptionable, {
|
|
1451
1107
|
path: _path + ".$defs",
|
|
1452
|
-
expected: "(Record<string,
|
|
1108
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1453
1109
|
value: input.$defs
|
|
1454
1110
|
})) && _vo2(input.$defs, _path + ".$defs", true && _exceptionable) || _report(_exceptionable, {
|
|
1455
1111
|
path: _path + ".$defs",
|
|
1456
|
-
expected: "(Record<string,
|
|
1112
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1457
1113
|
value: input.$defs
|
|
1458
1114
|
})].every(flag => flag); const _vu0 = (input, _path, _exceptionable = true) => (() => {
|
|
1459
1115
|
if ("object" === input.type)
|
|
@@ -1461,39 +1117,39 @@ function validateMcpController(props) {
|
|
|
1461
1117
|
else if (Array.isArray(input.type) && input.type.map((elem, _index40) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem).every(flag => flag))
|
|
1462
1118
|
return _vo4(input, _path, true && _exceptionable);
|
|
1463
1119
|
else if ("boolean" === input.type)
|
|
1464
|
-
return
|
|
1120
|
+
return _vo6(input, _path, true && _exceptionable);
|
|
1465
1121
|
else if ("number" === input.type)
|
|
1466
|
-
return _vo9(input, _path, true && _exceptionable);
|
|
1467
|
-
else if ("integer" === input.type)
|
|
1468
1122
|
return _vo8(input, _path, true && _exceptionable);
|
|
1123
|
+
else if ("integer" === input.type)
|
|
1124
|
+
return _vo7(input, _path, true && _exceptionable);
|
|
1469
1125
|
else if ("string" === input.type)
|
|
1470
|
-
return
|
|
1126
|
+
return _vo9(input, _path, true && _exceptionable);
|
|
1471
1127
|
else if ("array" === input.type)
|
|
1472
|
-
return
|
|
1128
|
+
return _vo10(input, _path, true && _exceptionable);
|
|
1473
1129
|
else if (undefined !== input.$recursiveRef)
|
|
1474
|
-
return
|
|
1130
|
+
return _vo12(input, _path, true && _exceptionable);
|
|
1475
1131
|
else if ("null" === input.type)
|
|
1476
|
-
return
|
|
1132
|
+
return _vo18(input, _path, true && _exceptionable);
|
|
1477
1133
|
else
|
|
1478
1134
|
return (() => {
|
|
1479
1135
|
if (undefined !== input["const"])
|
|
1480
|
-
return
|
|
1136
|
+
return _vo5(input, _path, true && _exceptionable);
|
|
1481
1137
|
else if (undefined !== input.$ref)
|
|
1482
|
-
return
|
|
1138
|
+
return _vo11(input, _path, true && _exceptionable);
|
|
1483
1139
|
else if (undefined !== input.allOf)
|
|
1484
|
-
return
|
|
1140
|
+
return _vo13(input, _path, true && _exceptionable);
|
|
1485
1141
|
else if (undefined !== input.anyOf)
|
|
1486
|
-
return
|
|
1142
|
+
return _vo14(input, _path, true && _exceptionable);
|
|
1487
1143
|
else if (undefined !== input.oneOf)
|
|
1488
|
-
return
|
|
1144
|
+
return _vo15(input, _path, true && _exceptionable);
|
|
1489
1145
|
else
|
|
1490
|
-
return
|
|
1146
|
+
return _vo19(input, _path, true && _exceptionable);
|
|
1491
1147
|
})();
|
|
1492
1148
|
})(); const _vu1 = (input, _path, _exceptionable = true) => (() => {
|
|
1493
1149
|
if (undefined !== input.type)
|
|
1494
1150
|
return _vo1(input, _path, true && _exceptionable);
|
|
1495
1151
|
else if (undefined !== input.$ref)
|
|
1496
|
-
return
|
|
1152
|
+
return _vo20(input, _path, true && _exceptionable);
|
|
1497
1153
|
else
|
|
1498
1154
|
return _report(_exceptionable, {
|
|
1499
1155
|
path: _path,
|
|
@@ -1539,61 +1195,56 @@ function validateMcpController(props) {
|
|
|
1539
1195
|
if (inspect.success === false) {
|
|
1540
1196
|
return inspect;
|
|
1541
1197
|
}
|
|
1542
|
-
const application =
|
|
1543
|
-
tools: (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (
|
|
1198
|
+
const application = (0, createMcpLlmApplication_1.createMcpLlmApplication)({
|
|
1199
|
+
tools: (() => { const _io0 = input => "string" === typeof input.name && input.name.length <= 64 && (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.inputSchema && null !== input.inputSchema && _iu1(input.inputSchema)) && (undefined === input.outputSchema || "object" === typeof input.outputSchema && null !== input.outputSchema && _iu1(input.outputSchema)); const _io1 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _io2 = input => Object.keys(input).every(key => {
|
|
1544
1200
|
const value = input[key];
|
|
1545
1201
|
if (undefined === value)
|
|
1546
1202
|
return true;
|
|
1547
1203
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
1548
|
-
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io4 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "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)) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu0(input.additionalItems))) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && "string" === typeof input.$ref; const _io5 = input => Object.keys(input).every(key => {
|
|
1549
|
-
const value = input[key];
|
|
1550
|
-
if (undefined === value)
|
|
1551
|
-
return true;
|
|
1552
|
-
return true;
|
|
1553
|
-
}); const _io6 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io7 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io8 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io9 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io10 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io11 = 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) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _iu0(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))); const _io12 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io13 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io14 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io15 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io16 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io17(input.discriminator)) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io17 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io18(input.mapping)); const _io18 = input => Object.keys(input).every(key => {
|
|
1204
|
+
}); const _io3 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io4 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && __typia_transform__isTypeUint64._isTypeUint64(input.minLength)) && (undefined === input.maxLength || "number" === typeof input.maxLength && __typia_transform__isTypeUint64._isTypeUint64(input.maxLength)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _iu0(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && __typia_transform__isTypeUint64._isTypeUint64(input.minItems)) && (undefined === input.maxItems || "number" === typeof input.maxItems && __typia_transform__isTypeUint64._isTypeUint64(input.maxItems)) && (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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io2(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io16(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && "string" === typeof input.$ref; const _io5 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable); const _io6 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io7 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && __typia_transform__isTypeInt64._isTypeInt64(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem && __typia_transform__isTypeInt64._isTypeInt64(elem))) && (undefined === input.minimum || "number" === typeof input.minimum && __typia_transform__isTypeInt64._isTypeInt64(input.minimum)) && (undefined === input.maximum || "number" === typeof input.maximum && __typia_transform__isTypeInt64._isTypeInt64(input.maximum)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && __typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMinimum) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && __typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMaximum) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io8 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io9 = 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 && __typia_transform__isTypeUint64._isTypeUint64(input.minLength)) && (undefined === input.maxLength || "number" === typeof input.maxLength && __typia_transform__isTypeUint64._isTypeUint64(input.maxLength)) && "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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io10 = 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) && _iu0(elem)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(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) && _iu0(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && __typia_transform__isTypeUint64._isTypeUint64(input.minItems)) && (undefined === input.maxItems || "number" === typeof input.maxItems && __typia_transform__isTypeUint64._isTypeUint64(input.maxItems)) && "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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io11 = input => "string" === typeof input.$ref; const _io12 = input => "string" === typeof input.$recursiveRef; const _io13 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)); const _io14 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)); const _io15 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io16(input.discriminator)); const _io16 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io17(input.mapping)); const _io17 = input => Object.keys(input).every(key => {
|
|
1554
1205
|
const value = input[key];
|
|
1555
1206
|
if (undefined === value)
|
|
1556
1207
|
return true;
|
|
1557
1208
|
return "string" === typeof value;
|
|
1558
|
-
}); const
|
|
1209
|
+
}); const _io18 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io19 = 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io20 = input => "string" === typeof input.$ref && (undefined === input.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs)); const _iu0 = input => (() => {
|
|
1559
1210
|
if ("object" === input.type)
|
|
1560
1211
|
return _io3(input);
|
|
1561
1212
|
else if (Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
1562
1213
|
return _io4(input);
|
|
1563
1214
|
else if ("boolean" === input.type)
|
|
1564
|
-
return
|
|
1215
|
+
return _io6(input);
|
|
1565
1216
|
else if ("number" === input.type)
|
|
1566
|
-
return _io9(input);
|
|
1567
|
-
else if ("integer" === input.type)
|
|
1568
1217
|
return _io8(input);
|
|
1218
|
+
else if ("integer" === input.type)
|
|
1219
|
+
return _io7(input);
|
|
1569
1220
|
else if ("string" === input.type)
|
|
1570
|
-
return
|
|
1221
|
+
return _io9(input);
|
|
1571
1222
|
else if ("array" === input.type)
|
|
1572
|
-
return
|
|
1223
|
+
return _io10(input);
|
|
1573
1224
|
else if (undefined !== input.$recursiveRef)
|
|
1574
|
-
return
|
|
1225
|
+
return _io12(input);
|
|
1575
1226
|
else if ("null" === input.type)
|
|
1576
|
-
return
|
|
1227
|
+
return _io18(input);
|
|
1577
1228
|
else
|
|
1578
1229
|
return (() => {
|
|
1579
1230
|
if (undefined !== input["const"])
|
|
1580
|
-
return
|
|
1231
|
+
return _io5(input);
|
|
1581
1232
|
else if (undefined !== input.$ref)
|
|
1582
|
-
return
|
|
1233
|
+
return _io11(input);
|
|
1583
1234
|
else if (undefined !== input.allOf)
|
|
1584
|
-
return
|
|
1235
|
+
return _io13(input);
|
|
1585
1236
|
else if (undefined !== input.anyOf)
|
|
1586
|
-
return
|
|
1237
|
+
return _io14(input);
|
|
1587
1238
|
else if (undefined !== input.oneOf)
|
|
1588
|
-
return
|
|
1239
|
+
return _io15(input);
|
|
1589
1240
|
else
|
|
1590
|
-
return
|
|
1241
|
+
return _io19(input);
|
|
1591
1242
|
})();
|
|
1592
1243
|
})(); const _iu1 = input => (() => {
|
|
1593
1244
|
if (undefined !== input.type)
|
|
1594
1245
|
return _io1(input);
|
|
1595
1246
|
else if (undefined !== input.$ref)
|
|
1596
|
-
return
|
|
1247
|
+
return _io20(input);
|
|
1597
1248
|
else
|
|
1598
1249
|
return false;
|
|
1599
1250
|
})(); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name && (input.name.length <= 64 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -1621,6 +1272,16 @@ function validateMcpController(props) {
|
|
|
1621
1272
|
path: _path + ".inputSchema",
|
|
1622
1273
|
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
1623
1274
|
value: input.inputSchema
|
|
1275
|
+
}, _errorFactory)) && (undefined === input.outputSchema || ("object" === typeof input.outputSchema && null !== input.outputSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1276
|
+
method: "typia.assert",
|
|
1277
|
+
path: _path + ".outputSchema",
|
|
1278
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; } | undefined)",
|
|
1279
|
+
value: input.outputSchema
|
|
1280
|
+
}, _errorFactory)) && _au1(input.outputSchema, _path + ".outputSchema", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1281
|
+
method: "typia.assert",
|
|
1282
|
+
path: _path + ".outputSchema",
|
|
1283
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; } | undefined)",
|
|
1284
|
+
value: input.outputSchema
|
|
1624
1285
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1625
1286
|
method: "typia.assert",
|
|
1626
1287
|
path: _path + ".nullable",
|
|
@@ -1629,12 +1290,12 @@ function validateMcpController(props) {
|
|
|
1629
1290
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1630
1291
|
method: "typia.assert",
|
|
1631
1292
|
path: _path + ".properties",
|
|
1632
|
-
expected: "(Record<string,
|
|
1293
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1633
1294
|
value: input.properties
|
|
1634
1295
|
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1635
1296
|
method: "typia.assert",
|
|
1636
1297
|
path: _path + ".properties",
|
|
1637
|
-
expected: "(Record<string,
|
|
1298
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1638
1299
|
value: input.properties
|
|
1639
1300
|
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1640
1301
|
method: "typia.assert",
|
|
@@ -1654,17 +1315,17 @@ function validateMcpController(props) {
|
|
|
1654
1315
|
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1655
1316
|
method: "typia.assert",
|
|
1656
1317
|
path: _path + ".additionalProperties",
|
|
1657
|
-
expected: "(
|
|
1318
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1658
1319
|
value: input.additionalProperties
|
|
1659
1320
|
}, _errorFactory)) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1660
1321
|
method: "typia.assert",
|
|
1661
1322
|
path: _path + ".additionalProperties",
|
|
1662
|
-
expected: "(
|
|
1323
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1663
1324
|
value: input.additionalProperties
|
|
1664
1325
|
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1665
1326
|
method: "typia.assert",
|
|
1666
1327
|
path: _path + ".additionalProperties",
|
|
1667
|
-
expected: "(
|
|
1328
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1668
1329
|
value: input.additionalProperties
|
|
1669
1330
|
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1670
1331
|
method: "typia.assert",
|
|
@@ -1706,30 +1367,15 @@ function validateMcpController(props) {
|
|
|
1706
1367
|
path: _path + ".writeOnly",
|
|
1707
1368
|
expected: "(boolean | undefined)",
|
|
1708
1369
|
value: input.writeOnly
|
|
1709
|
-
}, _errorFactory)) && ((null !== input.
|
|
1710
|
-
method: "typia.assert",
|
|
1711
|
-
path: _path + ".examples",
|
|
1712
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1713
|
-
value: input.examples
|
|
1714
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1715
|
-
method: "typia.assert",
|
|
1716
|
-
path: _path + ".examples",
|
|
1717
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1718
|
-
value: input.examples
|
|
1719
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1720
|
-
method: "typia.assert",
|
|
1721
|
-
path: _path + ".examples",
|
|
1722
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1723
|
-
value: input.examples
|
|
1724
|
-
}, _errorFactory))) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1370
|
+
}, _errorFactory)) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1725
1371
|
method: "typia.assert",
|
|
1726
1372
|
path: _path + ".$defs",
|
|
1727
|
-
expected: "(Record<string,
|
|
1373
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1728
1374
|
value: input.$defs
|
|
1729
1375
|
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1730
1376
|
method: "typia.assert",
|
|
1731
1377
|
path: _path + ".$defs",
|
|
1732
|
-
expected: "(Record<string,
|
|
1378
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1733
1379
|
value: input.$defs
|
|
1734
1380
|
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1735
1381
|
const value = input[key];
|
|
@@ -1738,12 +1384,12 @@ function validateMcpController(props) {
|
|
|
1738
1384
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1739
1385
|
method: "typia.assert",
|
|
1740
1386
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1741
|
-
expected: "(
|
|
1387
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1742
1388
|
value: value
|
|
1743
1389
|
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1744
1390
|
method: "typia.assert",
|
|
1745
1391
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
1746
|
-
expected: "(
|
|
1392
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1747
1393
|
value: value
|
|
1748
1394
|
}, _errorFactory);
|
|
1749
1395
|
}); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -1754,12 +1400,12 @@ function validateMcpController(props) {
|
|
|
1754
1400
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1755
1401
|
method: "typia.assert",
|
|
1756
1402
|
path: _path + ".properties",
|
|
1757
|
-
expected: "(Record<string,
|
|
1403
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1758
1404
|
value: input.properties
|
|
1759
1405
|
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1760
1406
|
method: "typia.assert",
|
|
1761
1407
|
path: _path + ".properties",
|
|
1762
|
-
expected: "(Record<string,
|
|
1408
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1763
1409
|
value: input.properties
|
|
1764
1410
|
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1765
1411
|
method: "typia.assert",
|
|
@@ -1779,17 +1425,17 @@ function validateMcpController(props) {
|
|
|
1779
1425
|
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1780
1426
|
method: "typia.assert",
|
|
1781
1427
|
path: _path + ".additionalProperties",
|
|
1782
|
-
expected: "(
|
|
1428
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1783
1429
|
value: input.additionalProperties
|
|
1784
1430
|
}, _errorFactory)) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1785
1431
|
method: "typia.assert",
|
|
1786
1432
|
path: _path + ".additionalProperties",
|
|
1787
|
-
expected: "(
|
|
1433
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1788
1434
|
value: input.additionalProperties
|
|
1789
1435
|
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1790
1436
|
method: "typia.assert",
|
|
1791
1437
|
path: _path + ".additionalProperties",
|
|
1792
|
-
expected: "(
|
|
1438
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
1793
1439
|
value: input.additionalProperties
|
|
1794
1440
|
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1795
1441
|
method: "typia.assert",
|
|
@@ -1831,22 +1477,7 @@ function validateMcpController(props) {
|
|
|
1831
1477
|
path: _path + ".writeOnly",
|
|
1832
1478
|
expected: "(boolean | undefined)",
|
|
1833
1479
|
value: input.writeOnly
|
|
1834
|
-
}, _errorFactory))
|
|
1835
|
-
method: "typia.assert",
|
|
1836
|
-
path: _path + ".examples",
|
|
1837
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1838
|
-
value: input.examples
|
|
1839
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1840
|
-
method: "typia.assert",
|
|
1841
|
-
path: _path + ".examples",
|
|
1842
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1843
|
-
value: input.examples
|
|
1844
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1845
|
-
method: "typia.assert",
|
|
1846
|
-
path: _path + ".examples",
|
|
1847
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1848
|
-
value: input.examples
|
|
1849
|
-
}, _errorFactory))); const _ao4 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1480
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1850
1481
|
method: "typia.assert",
|
|
1851
1482
|
path: _path + ".type",
|
|
1852
1483
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\" | \"null\">",
|
|
@@ -1881,22 +1512,7 @@ function validateMcpController(props) {
|
|
|
1881
1512
|
path: _path + ".nullable",
|
|
1882
1513
|
expected: "(boolean | undefined)",
|
|
1883
1514
|
value: input.nullable
|
|
1884
|
-
}, _errorFactory)) && (
|
|
1885
|
-
method: "typia.assert",
|
|
1886
|
-
path: _path + ".examples",
|
|
1887
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1888
|
-
value: input.examples
|
|
1889
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1890
|
-
method: "typia.assert",
|
|
1891
|
-
path: _path + ".examples",
|
|
1892
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1893
|
-
value: input.examples
|
|
1894
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1895
|
-
method: "typia.assert",
|
|
1896
|
-
path: _path + ".examples",
|
|
1897
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1898
|
-
value: input.examples
|
|
1899
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1515
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1900
1516
|
method: "typia.assert",
|
|
1901
1517
|
path: _path + ".title",
|
|
1902
1518
|
expected: "(string | undefined)",
|
|
@@ -1931,16 +1547,6 @@ function validateMcpController(props) {
|
|
|
1931
1547
|
path: _path + ".maximum",
|
|
1932
1548
|
expected: "(number | undefined)",
|
|
1933
1549
|
value: input.maximum
|
|
1934
|
-
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1935
|
-
method: "typia.assert",
|
|
1936
|
-
path: _path + ".multipleOf",
|
|
1937
|
-
expected: "number & ExclusiveMinimum<0>",
|
|
1938
|
-
value: input.multipleOf
|
|
1939
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1940
|
-
method: "typia.assert",
|
|
1941
|
-
path: _path + ".multipleOf",
|
|
1942
|
-
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
1943
|
-
value: input.multipleOf
|
|
1944
1550
|
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1945
1551
|
method: "typia.assert",
|
|
1946
1552
|
path: _path + ".exclusiveMinimum",
|
|
@@ -1951,6 +1557,16 @@ function validateMcpController(props) {
|
|
|
1951
1557
|
path: _path + ".exclusiveMaximum",
|
|
1952
1558
|
expected: "(boolean | number | undefined)",
|
|
1953
1559
|
value: input.exclusiveMaximum
|
|
1560
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1561
|
+
method: "typia.assert",
|
|
1562
|
+
path: _path + ".multipleOf",
|
|
1563
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
1564
|
+
value: input.multipleOf
|
|
1565
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1566
|
+
method: "typia.assert",
|
|
1567
|
+
path: _path + ".multipleOf",
|
|
1568
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
1569
|
+
value: input.multipleOf
|
|
1954
1570
|
}, _errorFactory)) && (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1955
1571
|
method: "typia.assert",
|
|
1956
1572
|
path: _path + ".format",
|
|
@@ -1966,7 +1582,7 @@ function validateMcpController(props) {
|
|
|
1966
1582
|
path: _path + ".contentMediaType",
|
|
1967
1583
|
expected: "(string | undefined)",
|
|
1968
1584
|
value: input.contentMediaType
|
|
1969
|
-
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (
|
|
1585
|
+
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (__typia_transform__isTypeUint64._isTypeUint64(input.minLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1970
1586
|
method: "typia.assert",
|
|
1971
1587
|
path: _path + ".minLength",
|
|
1972
1588
|
expected: "number & Type<\"uint64\">",
|
|
@@ -1976,7 +1592,7 @@ function validateMcpController(props) {
|
|
|
1976
1592
|
path: _path + ".minLength",
|
|
1977
1593
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1978
1594
|
value: input.minLength
|
|
1979
|
-
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (
|
|
1595
|
+
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (__typia_transform__isTypeUint64._isTypeUint64(input.maxLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1980
1596
|
method: "typia.assert",
|
|
1981
1597
|
path: _path + ".maxLength",
|
|
1982
1598
|
expected: "number & Type<\"uint64\">",
|
|
@@ -1989,112 +1605,112 @@ function validateMcpController(props) {
|
|
|
1989
1605
|
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1990
1606
|
method: "typia.assert",
|
|
1991
1607
|
path: _path + ".items",
|
|
1992
|
-
expected: "(Array<
|
|
1608
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
1993
1609
|
value: input.items
|
|
1994
1610
|
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem, _index25) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1995
1611
|
method: "typia.assert",
|
|
1996
1612
|
path: _path + ".items[" + _index25 + "]",
|
|
1997
|
-
expected: "(
|
|
1613
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
1998
1614
|
value: elem
|
|
1999
1615
|
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index25 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2000
1616
|
method: "typia.assert",
|
|
2001
1617
|
path: _path + ".items[" + _index25 + "]",
|
|
2002
|
-
expected: "(
|
|
1618
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2003
1619
|
value: elem
|
|
2004
1620
|
}, _errorFactory)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au0(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2005
1621
|
method: "typia.assert",
|
|
2006
1622
|
path: _path + ".items",
|
|
2007
|
-
expected: "(Array<
|
|
1623
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
2008
1624
|
value: input.items
|
|
2009
1625
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2010
1626
|
method: "typia.assert",
|
|
2011
1627
|
path: _path + ".items",
|
|
2012
|
-
expected: "(Array<
|
|
1628
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
2013
1629
|
value: input.items
|
|
2014
|
-
}, _errorFactory))) && (undefined === input.
|
|
2015
|
-
method: "typia.assert",
|
|
2016
|
-
path: _path + ".uniqueItems",
|
|
2017
|
-
expected: "(boolean | undefined)",
|
|
2018
|
-
value: input.uniqueItems
|
|
2019
|
-
}, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2020
|
-
method: "typia.assert",
|
|
2021
|
-
path: _path + ".minItems",
|
|
2022
|
-
expected: "number & Type<\"uint64\">",
|
|
2023
|
-
value: input.minItems
|
|
2024
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2025
|
-
method: "typia.assert",
|
|
2026
|
-
path: _path + ".minItems",
|
|
2027
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
2028
|
-
value: input.minItems
|
|
2029
|
-
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2030
|
-
method: "typia.assert",
|
|
2031
|
-
path: _path + ".maxItems",
|
|
2032
|
-
expected: "number & Type<\"uint64\">",
|
|
2033
|
-
value: input.maxItems
|
|
2034
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2035
|
-
method: "typia.assert",
|
|
2036
|
-
path: _path + ".maxItems",
|
|
2037
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
2038
|
-
value: input.maxItems
|
|
2039
|
-
}, _errorFactory)) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1630
|
+
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2040
1631
|
method: "typia.assert",
|
|
2041
1632
|
path: _path + ".prefixItems",
|
|
2042
|
-
expected: "(Array<
|
|
1633
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
2043
1634
|
value: input.prefixItems
|
|
2044
1635
|
}, _errorFactory)) && input.prefixItems.every((elem, _index26) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2045
1636
|
method: "typia.assert",
|
|
2046
1637
|
path: _path + ".prefixItems[" + _index26 + "]",
|
|
2047
|
-
expected: "(
|
|
1638
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2048
1639
|
value: elem
|
|
2049
1640
|
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index26 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2050
1641
|
method: "typia.assert",
|
|
2051
1642
|
path: _path + ".prefixItems[" + _index26 + "]",
|
|
2052
|
-
expected: "(
|
|
1643
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2053
1644
|
value: elem
|
|
2054
1645
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2055
1646
|
method: "typia.assert",
|
|
2056
1647
|
path: _path + ".prefixItems",
|
|
2057
|
-
expected: "(Array<
|
|
1648
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
2058
1649
|
value: input.prefixItems
|
|
1650
|
+
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1651
|
+
method: "typia.assert",
|
|
1652
|
+
path: _path + ".uniqueItems",
|
|
1653
|
+
expected: "(boolean | undefined)",
|
|
1654
|
+
value: input.uniqueItems
|
|
2059
1655
|
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2060
1656
|
method: "typia.assert",
|
|
2061
1657
|
path: _path + ".additionalItems",
|
|
2062
|
-
expected: "(
|
|
1658
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2063
1659
|
value: input.additionalItems
|
|
2064
1660
|
}, _errorFactory)) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2065
1661
|
method: "typia.assert",
|
|
2066
1662
|
path: _path + ".additionalItems",
|
|
2067
|
-
expected: "(
|
|
1663
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2068
1664
|
value: input.additionalItems
|
|
2069
1665
|
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2070
1666
|
method: "typia.assert",
|
|
2071
1667
|
path: _path + ".additionalItems",
|
|
2072
|
-
expected: "(
|
|
1668
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2073
1669
|
value: input.additionalItems
|
|
2074
|
-
}, _errorFactory))) && (
|
|
1670
|
+
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (__typia_transform__isTypeUint64._isTypeUint64(input.minItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1671
|
+
method: "typia.assert",
|
|
1672
|
+
path: _path + ".minItems",
|
|
1673
|
+
expected: "number & Type<\"uint64\">",
|
|
1674
|
+
value: input.minItems
|
|
1675
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1676
|
+
method: "typia.assert",
|
|
1677
|
+
path: _path + ".minItems",
|
|
1678
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1679
|
+
value: input.minItems
|
|
1680
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (__typia_transform__isTypeUint64._isTypeUint64(input.maxItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1681
|
+
method: "typia.assert",
|
|
1682
|
+
path: _path + ".maxItems",
|
|
1683
|
+
expected: "number & Type<\"uint64\">",
|
|
1684
|
+
value: input.maxItems
|
|
1685
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1686
|
+
method: "typia.assert",
|
|
1687
|
+
path: _path + ".maxItems",
|
|
1688
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1689
|
+
value: input.maxItems
|
|
1690
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2075
1691
|
method: "typia.assert",
|
|
2076
1692
|
path: _path + ".additionalProperties",
|
|
2077
|
-
expected: "(
|
|
1693
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2078
1694
|
value: input.additionalProperties
|
|
2079
1695
|
}, _errorFactory)) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2080
1696
|
method: "typia.assert",
|
|
2081
1697
|
path: _path + ".additionalProperties",
|
|
2082
|
-
expected: "(
|
|
1698
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2083
1699
|
value: input.additionalProperties
|
|
2084
1700
|
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2085
1701
|
method: "typia.assert",
|
|
2086
1702
|
path: _path + ".additionalProperties",
|
|
2087
|
-
expected: "(
|
|
1703
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2088
1704
|
value: input.additionalProperties
|
|
2089
1705
|
}, _errorFactory))) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2090
1706
|
method: "typia.assert",
|
|
2091
1707
|
path: _path + ".properties",
|
|
2092
|
-
expected: "(Record<string,
|
|
1708
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
2093
1709
|
value: input.properties
|
|
2094
1710
|
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2095
1711
|
method: "typia.assert",
|
|
2096
1712
|
path: _path + ".properties",
|
|
2097
|
-
expected: "(Record<string,
|
|
1713
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
2098
1714
|
value: input.properties
|
|
2099
1715
|
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2100
1716
|
method: "typia.assert",
|
|
@@ -2124,84 +1740,79 @@ function validateMcpController(props) {
|
|
|
2124
1740
|
}, _errorFactory)) && ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2125
1741
|
method: "typia.assert",
|
|
2126
1742
|
path: _path + ".oneOf",
|
|
2127
|
-
expected: "Array<
|
|
1743
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2128
1744
|
value: input.oneOf
|
|
2129
1745
|
}, _errorFactory)) && input.oneOf.every((elem, _index28) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2130
1746
|
method: "typia.assert",
|
|
2131
1747
|
path: _path + ".oneOf[" + _index28 + "]",
|
|
2132
|
-
expected: "(
|
|
1748
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2133
1749
|
value: elem
|
|
2134
1750
|
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index28 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2135
1751
|
method: "typia.assert",
|
|
2136
1752
|
path: _path + ".oneOf[" + _index28 + "]",
|
|
2137
|
-
expected: "(
|
|
1753
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2138
1754
|
value: elem
|
|
2139
1755
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2140
1756
|
method: "typia.assert",
|
|
2141
1757
|
path: _path + ".oneOf",
|
|
2142
|
-
expected: "Array<
|
|
1758
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2143
1759
|
value: input.oneOf
|
|
2144
1760
|
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2145
1761
|
method: "typia.assert",
|
|
2146
1762
|
path: _path + ".discriminator",
|
|
2147
|
-
expected: "(
|
|
1763
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
2148
1764
|
value: input.discriminator
|
|
2149
|
-
}, _errorFactory)) &&
|
|
1765
|
+
}, _errorFactory)) && _ao16(input.discriminator, _path + ".discriminator", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2150
1766
|
method: "typia.assert",
|
|
2151
1767
|
path: _path + ".discriminator",
|
|
2152
|
-
expected: "(
|
|
1768
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
2153
1769
|
value: input.discriminator
|
|
2154
1770
|
}, _errorFactory)) && ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2155
1771
|
method: "typia.assert",
|
|
2156
1772
|
path: _path + ".anyOf",
|
|
2157
|
-
expected: "Array<
|
|
1773
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2158
1774
|
value: input.anyOf
|
|
2159
1775
|
}, _errorFactory)) && input.anyOf.every((elem, _index29) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2160
1776
|
method: "typia.assert",
|
|
2161
1777
|
path: _path + ".anyOf[" + _index29 + "]",
|
|
2162
|
-
expected: "(
|
|
1778
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2163
1779
|
value: elem
|
|
2164
1780
|
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index29 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2165
1781
|
method: "typia.assert",
|
|
2166
1782
|
path: _path + ".anyOf[" + _index29 + "]",
|
|
2167
|
-
expected: "(
|
|
1783
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2168
1784
|
value: elem
|
|
2169
1785
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2170
1786
|
method: "typia.assert",
|
|
2171
1787
|
path: _path + ".anyOf",
|
|
2172
|
-
expected: "Array<
|
|
1788
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2173
1789
|
value: input.anyOf
|
|
2174
1790
|
}, _errorFactory)) && ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2175
1791
|
method: "typia.assert",
|
|
2176
1792
|
path: _path + ".allOf",
|
|
2177
|
-
expected: "Array<
|
|
1793
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2178
1794
|
value: input.allOf
|
|
2179
1795
|
}, _errorFactory)) && input.allOf.every((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2180
1796
|
method: "typia.assert",
|
|
2181
1797
|
path: _path + ".allOf[" + _index30 + "]",
|
|
2182
|
-
expected: "(
|
|
1798
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2183
1799
|
value: elem
|
|
2184
1800
|
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index30 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2185
1801
|
method: "typia.assert",
|
|
2186
1802
|
path: _path + ".allOf[" + _index30 + "]",
|
|
2187
|
-
expected: "(
|
|
1803
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2188
1804
|
value: elem
|
|
2189
1805
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2190
1806
|
method: "typia.assert",
|
|
2191
1807
|
path: _path + ".allOf",
|
|
2192
|
-
expected: "Array<
|
|
1808
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2193
1809
|
value: input.allOf
|
|
2194
1810
|
}, _errorFactory)) && ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2195
1811
|
method: "typia.assert",
|
|
2196
1812
|
path: _path + ".$ref",
|
|
2197
1813
|
expected: "string",
|
|
2198
1814
|
value: input.$ref
|
|
2199
|
-
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) =>
|
|
2200
|
-
const value = input[key];
|
|
2201
|
-
if (undefined === value)
|
|
2202
|
-
return true;
|
|
2203
|
-
return true;
|
|
2204
|
-
}); const _ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1815
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2205
1816
|
method: "typia.assert",
|
|
2206
1817
|
path: _path + "[\"const\"]",
|
|
2207
1818
|
expected: "(boolean | number | string)",
|
|
@@ -2211,47 +1822,7 @@ function validateMcpController(props) {
|
|
|
2211
1822
|
path: _path + ".nullable",
|
|
2212
1823
|
expected: "(boolean | undefined)",
|
|
2213
1824
|
value: input.nullable
|
|
2214
|
-
}, _errorFactory))
|
|
2215
|
-
method: "typia.assert",
|
|
2216
|
-
path: _path + ".examples",
|
|
2217
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2218
|
-
value: input.examples
|
|
2219
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2220
|
-
method: "typia.assert",
|
|
2221
|
-
path: _path + ".examples",
|
|
2222
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2223
|
-
value: input.examples
|
|
2224
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2225
|
-
method: "typia.assert",
|
|
2226
|
-
path: _path + ".examples",
|
|
2227
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2228
|
-
value: input.examples
|
|
2229
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2230
|
-
method: "typia.assert",
|
|
2231
|
-
path: _path + ".title",
|
|
2232
|
-
expected: "(string | undefined)",
|
|
2233
|
-
value: input.title
|
|
2234
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2235
|
-
method: "typia.assert",
|
|
2236
|
-
path: _path + ".description",
|
|
2237
|
-
expected: "(string | undefined)",
|
|
2238
|
-
value: input.description
|
|
2239
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2240
|
-
method: "typia.assert",
|
|
2241
|
-
path: _path + ".deprecated",
|
|
2242
|
-
expected: "(boolean | undefined)",
|
|
2243
|
-
value: input.deprecated
|
|
2244
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2245
|
-
method: "typia.assert",
|
|
2246
|
-
path: _path + ".readOnly",
|
|
2247
|
-
expected: "(boolean | undefined)",
|
|
2248
|
-
value: input.readOnly
|
|
2249
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2250
|
-
method: "typia.assert",
|
|
2251
|
-
path: _path + ".writeOnly",
|
|
2252
|
-
expected: "(boolean | undefined)",
|
|
2253
|
-
value: input.writeOnly
|
|
2254
|
-
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1825
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2255
1826
|
method: "typia.assert",
|
|
2256
1827
|
path: _path + ".nullable",
|
|
2257
1828
|
expected: "(boolean | undefined)",
|
|
@@ -2306,27 +1877,12 @@ function validateMcpController(props) {
|
|
|
2306
1877
|
path: _path + ".writeOnly",
|
|
2307
1878
|
expected: "(boolean | undefined)",
|
|
2308
1879
|
value: input.writeOnly
|
|
2309
|
-
}, _errorFactory))
|
|
2310
|
-
method: "typia.assert",
|
|
2311
|
-
path: _path + ".examples",
|
|
2312
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2313
|
-
value: input.examples
|
|
2314
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2315
|
-
method: "typia.assert",
|
|
2316
|
-
path: _path + ".examples",
|
|
2317
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2318
|
-
value: input.examples
|
|
2319
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2320
|
-
method: "typia.assert",
|
|
2321
|
-
path: _path + ".examples",
|
|
2322
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2323
|
-
value: input.examples
|
|
2324
|
-
}, _errorFactory))); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1880
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2325
1881
|
method: "typia.assert",
|
|
2326
1882
|
path: _path + ".nullable",
|
|
2327
1883
|
expected: "(boolean | undefined)",
|
|
2328
1884
|
value: input.nullable
|
|
2329
|
-
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (
|
|
1885
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (__typia_transform__isTypeInt64._isTypeInt64(input["default"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2330
1886
|
method: "typia.assert",
|
|
2331
1887
|
path: _path + "[\"default\"]",
|
|
2332
1888
|
expected: "number & Type<\"int64\">",
|
|
@@ -2339,19 +1895,24 @@ function validateMcpController(props) {
|
|
|
2339
1895
|
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2340
1896
|
method: "typia.assert",
|
|
2341
1897
|
path: _path + "[\"enum\"]",
|
|
2342
|
-
expected: "(Array<number | null> | undefined)",
|
|
1898
|
+
expected: "(Array<(number & Type<\"int64\">) | null> | undefined)",
|
|
2343
1899
|
value: input["enum"]
|
|
2344
|
-
}, _errorFactory)) && input["enum"].every((elem, _index32) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1900
|
+
}, _errorFactory)) && input["enum"].every((elem, _index32) => null === elem || "number" === typeof elem && (__typia_transform__isTypeInt64._isTypeInt64(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2345
1901
|
method: "typia.assert",
|
|
2346
1902
|
path: _path + "[\"enum\"][" + _index32 + "]",
|
|
2347
|
-
expected: "
|
|
1903
|
+
expected: "number & Type<\"int64\">",
|
|
1904
|
+
value: elem
|
|
1905
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1906
|
+
method: "typia.assert",
|
|
1907
|
+
path: _path + "[\"enum\"][" + _index32 + "]",
|
|
1908
|
+
expected: "((number & Type<\"int64\">) | null)",
|
|
2348
1909
|
value: elem
|
|
2349
1910
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2350
1911
|
method: "typia.assert",
|
|
2351
1912
|
path: _path + "[\"enum\"]",
|
|
2352
|
-
expected: "(Array<number | null> | undefined)",
|
|
1913
|
+
expected: "(Array<(number & Type<\"int64\">) | null> | undefined)",
|
|
2353
1914
|
value: input["enum"]
|
|
2354
|
-
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum && (
|
|
1915
|
+
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum && (__typia_transform__isTypeInt64._isTypeInt64(input.minimum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2355
1916
|
method: "typia.assert",
|
|
2356
1917
|
path: _path + ".minimum",
|
|
2357
1918
|
expected: "number & Type<\"int64\">",
|
|
@@ -2361,7 +1922,7 @@ function validateMcpController(props) {
|
|
|
2361
1922
|
path: _path + ".minimum",
|
|
2362
1923
|
expected: "((number & Type<\"int64\">) | undefined)",
|
|
2363
1924
|
value: input.minimum
|
|
2364
|
-
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum && (
|
|
1925
|
+
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum && (__typia_transform__isTypeInt64._isTypeInt64(input.maximum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2365
1926
|
method: "typia.assert",
|
|
2366
1927
|
path: _path + ".maximum",
|
|
2367
1928
|
expected: "number & Type<\"int64\">",
|
|
@@ -2371,7 +1932,7 @@ function validateMcpController(props) {
|
|
|
2371
1932
|
path: _path + ".maximum",
|
|
2372
1933
|
expected: "((number & Type<\"int64\">) | undefined)",
|
|
2373
1934
|
value: input.maximum
|
|
2374
|
-
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (
|
|
1935
|
+
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (__typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMinimum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2375
1936
|
method: "typia.assert",
|
|
2376
1937
|
path: _path + ".exclusiveMinimum",
|
|
2377
1938
|
expected: "number & Type<\"int64\">",
|
|
@@ -2381,7 +1942,7 @@ function validateMcpController(props) {
|
|
|
2381
1942
|
path: _path + ".exclusiveMinimum",
|
|
2382
1943
|
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
|
2383
1944
|
value: input.exclusiveMinimum
|
|
2384
|
-
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (
|
|
1945
|
+
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (__typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMaximum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2385
1946
|
method: "typia.assert",
|
|
2386
1947
|
path: _path + ".exclusiveMaximum",
|
|
2387
1948
|
expected: "number & Type<\"int64\">",
|
|
@@ -2391,12 +1952,7 @@ function validateMcpController(props) {
|
|
|
2391
1952
|
path: _path + ".exclusiveMaximum",
|
|
2392
1953
|
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
|
2393
1954
|
value: input.exclusiveMaximum
|
|
2394
|
-
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (
|
|
2395
|
-
method: "typia.assert",
|
|
2396
|
-
path: _path + ".multipleOf",
|
|
2397
|
-
expected: "number & Type<\"uint64\">",
|
|
2398
|
-
value: input.multipleOf
|
|
2399
|
-
}, _errorFactory)) && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1955
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2400
1956
|
method: "typia.assert",
|
|
2401
1957
|
path: _path + ".multipleOf",
|
|
2402
1958
|
expected: "number & ExclusiveMinimum<0>",
|
|
@@ -2404,7 +1960,7 @@ function validateMcpController(props) {
|
|
|
2404
1960
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2405
1961
|
method: "typia.assert",
|
|
2406
1962
|
path: _path + ".multipleOf",
|
|
2407
|
-
expected: "((number &
|
|
1963
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
2408
1964
|
value: input.multipleOf
|
|
2409
1965
|
}, _errorFactory)) && ("integer" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2410
1966
|
method: "typia.assert",
|
|
@@ -2436,22 +1992,7 @@ function validateMcpController(props) {
|
|
|
2436
1992
|
path: _path + ".writeOnly",
|
|
2437
1993
|
expected: "(boolean | undefined)",
|
|
2438
1994
|
value: input.writeOnly
|
|
2439
|
-
}, _errorFactory))
|
|
2440
|
-
method: "typia.assert",
|
|
2441
|
-
path: _path + ".examples",
|
|
2442
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2443
|
-
value: input.examples
|
|
2444
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2445
|
-
method: "typia.assert",
|
|
2446
|
-
path: _path + ".examples",
|
|
2447
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2448
|
-
value: input.examples
|
|
2449
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2450
|
-
method: "typia.assert",
|
|
2451
|
-
path: _path + ".examples",
|
|
2452
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2453
|
-
value: input.examples
|
|
2454
|
-
}, _errorFactory))); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1995
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2455
1996
|
method: "typia.assert",
|
|
2456
1997
|
path: _path + ".nullable",
|
|
2457
1998
|
expected: "(boolean | undefined)",
|
|
@@ -2536,22 +2077,7 @@ function validateMcpController(props) {
|
|
|
2536
2077
|
path: _path + ".writeOnly",
|
|
2537
2078
|
expected: "(boolean | undefined)",
|
|
2538
2079
|
value: input.writeOnly
|
|
2539
|
-
}, _errorFactory))
|
|
2540
|
-
method: "typia.assert",
|
|
2541
|
-
path: _path + ".examples",
|
|
2542
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2543
|
-
value: input.examples
|
|
2544
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2545
|
-
method: "typia.assert",
|
|
2546
|
-
path: _path + ".examples",
|
|
2547
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2548
|
-
value: input.examples
|
|
2549
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2550
|
-
method: "typia.assert",
|
|
2551
|
-
path: _path + ".examples",
|
|
2552
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2553
|
-
value: input.examples
|
|
2554
|
-
}, _errorFactory))); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2080
|
+
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2555
2081
|
method: "typia.assert",
|
|
2556
2082
|
path: _path + ".nullable",
|
|
2557
2083
|
expected: "(boolean | undefined)",
|
|
@@ -2591,7 +2117,7 @@ function validateMcpController(props) {
|
|
|
2591
2117
|
path: _path + ".contentMediaType",
|
|
2592
2118
|
expected: "(string | undefined)",
|
|
2593
2119
|
value: input.contentMediaType
|
|
2594
|
-
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (
|
|
2120
|
+
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (__typia_transform__isTypeUint64._isTypeUint64(input.minLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2595
2121
|
method: "typia.assert",
|
|
2596
2122
|
path: _path + ".minLength",
|
|
2597
2123
|
expected: "number & Type<\"uint64\">",
|
|
@@ -2601,7 +2127,7 @@ function validateMcpController(props) {
|
|
|
2601
2127
|
path: _path + ".minLength",
|
|
2602
2128
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
2603
2129
|
value: input.minLength
|
|
2604
|
-
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (
|
|
2130
|
+
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (__typia_transform__isTypeUint64._isTypeUint64(input.maxLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2605
2131
|
method: "typia.assert",
|
|
2606
2132
|
path: _path + ".maxLength",
|
|
2607
2133
|
expected: "number & Type<\"uint64\">",
|
|
@@ -2641,22 +2167,7 @@ function validateMcpController(props) {
|
|
|
2641
2167
|
path: _path + ".writeOnly",
|
|
2642
2168
|
expected: "(boolean | undefined)",
|
|
2643
2169
|
value: input.writeOnly
|
|
2644
|
-
}, _errorFactory))
|
|
2645
|
-
method: "typia.assert",
|
|
2646
|
-
path: _path + ".examples",
|
|
2647
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2648
|
-
value: input.examples
|
|
2649
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2650
|
-
method: "typia.assert",
|
|
2651
|
-
path: _path + ".examples",
|
|
2652
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2653
|
-
value: input.examples
|
|
2654
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2655
|
-
method: "typia.assert",
|
|
2656
|
-
path: _path + ".examples",
|
|
2657
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2658
|
-
value: input.examples
|
|
2659
|
-
}, _errorFactory))); const _ao11 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2170
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2660
2171
|
method: "typia.assert",
|
|
2661
2172
|
path: _path + ".nullable",
|
|
2662
2173
|
expected: "(boolean | undefined)",
|
|
@@ -2664,47 +2175,47 @@ function validateMcpController(props) {
|
|
|
2664
2175
|
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2665
2176
|
method: "typia.assert",
|
|
2666
2177
|
path: _path + ".items",
|
|
2667
|
-
expected: "(Array<
|
|
2178
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
2668
2179
|
value: input.items
|
|
2669
2180
|
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem, _index35) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2670
2181
|
method: "typia.assert",
|
|
2671
2182
|
path: _path + ".items[" + _index35 + "]",
|
|
2672
|
-
expected: "(
|
|
2183
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2673
2184
|
value: elem
|
|
2674
2185
|
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index35 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2675
2186
|
method: "typia.assert",
|
|
2676
2187
|
path: _path + ".items[" + _index35 + "]",
|
|
2677
|
-
expected: "(
|
|
2188
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2678
2189
|
value: elem
|
|
2679
2190
|
}, _errorFactory)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au0(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2680
2191
|
method: "typia.assert",
|
|
2681
2192
|
path: _path + ".items",
|
|
2682
|
-
expected: "(Array<
|
|
2193
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
2683
2194
|
value: input.items
|
|
2684
2195
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2685
2196
|
method: "typia.assert",
|
|
2686
2197
|
path: _path + ".items",
|
|
2687
|
-
expected: "(Array<
|
|
2198
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | undefined)",
|
|
2688
2199
|
value: input.items
|
|
2689
2200
|
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2690
2201
|
method: "typia.assert",
|
|
2691
2202
|
path: _path + ".prefixItems",
|
|
2692
|
-
expected: "(Array<
|
|
2203
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
2693
2204
|
value: input.prefixItems
|
|
2694
2205
|
}, _errorFactory)) && input.prefixItems.every((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2695
2206
|
method: "typia.assert",
|
|
2696
2207
|
path: _path + ".prefixItems[" + _index36 + "]",
|
|
2697
|
-
expected: "(
|
|
2208
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2698
2209
|
value: elem
|
|
2699
2210
|
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index36 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2700
2211
|
method: "typia.assert",
|
|
2701
2212
|
path: _path + ".prefixItems[" + _index36 + "]",
|
|
2702
|
-
expected: "(
|
|
2213
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2703
2214
|
value: elem
|
|
2704
2215
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2705
2216
|
method: "typia.assert",
|
|
2706
2217
|
path: _path + ".prefixItems",
|
|
2707
|
-
expected: "(Array<
|
|
2218
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
2708
2219
|
value: input.prefixItems
|
|
2709
2220
|
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2710
2221
|
method: "typia.assert",
|
|
@@ -2714,19 +2225,19 @@ function validateMcpController(props) {
|
|
|
2714
2225
|
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2715
2226
|
method: "typia.assert",
|
|
2716
2227
|
path: _path + ".additionalItems",
|
|
2717
|
-
expected: "(
|
|
2228
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2718
2229
|
value: input.additionalItems
|
|
2719
2230
|
}, _errorFactory)) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2720
2231
|
method: "typia.assert",
|
|
2721
2232
|
path: _path + ".additionalItems",
|
|
2722
|
-
expected: "(
|
|
2233
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2723
2234
|
value: input.additionalItems
|
|
2724
2235
|
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2725
2236
|
method: "typia.assert",
|
|
2726
2237
|
path: _path + ".additionalItems",
|
|
2727
|
-
expected: "(
|
|
2238
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown | boolean | undefined)",
|
|
2728
2239
|
value: input.additionalItems
|
|
2729
|
-
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (
|
|
2240
|
+
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (__typia_transform__isTypeUint64._isTypeUint64(input.minItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2730
2241
|
method: "typia.assert",
|
|
2731
2242
|
path: _path + ".minItems",
|
|
2732
2243
|
expected: "number & Type<\"uint64\">",
|
|
@@ -2736,7 +2247,7 @@ function validateMcpController(props) {
|
|
|
2736
2247
|
path: _path + ".minItems",
|
|
2737
2248
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
2738
2249
|
value: input.minItems
|
|
2739
|
-
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (
|
|
2250
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (__typia_transform__isTypeUint64._isTypeUint64(input.maxItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2740
2251
|
method: "typia.assert",
|
|
2741
2252
|
path: _path + ".maxItems",
|
|
2742
2253
|
expected: "number & Type<\"uint64\">",
|
|
@@ -2776,302 +2287,87 @@ function validateMcpController(props) {
|
|
|
2776
2287
|
path: _path + ".writeOnly",
|
|
2777
2288
|
expected: "(boolean | undefined)",
|
|
2778
2289
|
value: input.writeOnly
|
|
2779
|
-
}, _errorFactory))
|
|
2780
|
-
method: "typia.assert",
|
|
2781
|
-
path: _path + ".examples",
|
|
2782
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2783
|
-
value: input.examples
|
|
2784
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2785
|
-
method: "typia.assert",
|
|
2786
|
-
path: _path + ".examples",
|
|
2787
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2788
|
-
value: input.examples
|
|
2789
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2790
|
-
method: "typia.assert",
|
|
2791
|
-
path: _path + ".examples",
|
|
2792
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2793
|
-
value: input.examples
|
|
2794
|
-
}, _errorFactory))); const _ao12 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2290
|
+
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2795
2291
|
method: "typia.assert",
|
|
2796
2292
|
path: _path + ".$ref",
|
|
2797
2293
|
expected: "string",
|
|
2798
2294
|
value: input.$ref
|
|
2799
|
-
}, _errorFactory)
|
|
2800
|
-
method: "typia.assert",
|
|
2801
|
-
path: _path + ".examples",
|
|
2802
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2803
|
-
value: input.examples
|
|
2804
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2805
|
-
method: "typia.assert",
|
|
2806
|
-
path: _path + ".examples",
|
|
2807
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2808
|
-
value: input.examples
|
|
2809
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2810
|
-
method: "typia.assert",
|
|
2811
|
-
path: _path + ".examples",
|
|
2812
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2813
|
-
value: input.examples
|
|
2814
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2815
|
-
method: "typia.assert",
|
|
2816
|
-
path: _path + ".title",
|
|
2817
|
-
expected: "(string | undefined)",
|
|
2818
|
-
value: input.title
|
|
2819
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2820
|
-
method: "typia.assert",
|
|
2821
|
-
path: _path + ".description",
|
|
2822
|
-
expected: "(string | undefined)",
|
|
2823
|
-
value: input.description
|
|
2824
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2825
|
-
method: "typia.assert",
|
|
2826
|
-
path: _path + ".deprecated",
|
|
2827
|
-
expected: "(boolean | undefined)",
|
|
2828
|
-
value: input.deprecated
|
|
2829
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2830
|
-
method: "typia.assert",
|
|
2831
|
-
path: _path + ".readOnly",
|
|
2832
|
-
expected: "(boolean | undefined)",
|
|
2833
|
-
value: input.readOnly
|
|
2834
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2835
|
-
method: "typia.assert",
|
|
2836
|
-
path: _path + ".writeOnly",
|
|
2837
|
-
expected: "(boolean | undefined)",
|
|
2838
|
-
value: input.writeOnly
|
|
2839
|
-
}, _errorFactory)); const _ao13 = (input, _path, _exceptionable = true) => ("string" === typeof input.$recursiveRef || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2295
|
+
}, _errorFactory); const _ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.$recursiveRef || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2840
2296
|
method: "typia.assert",
|
|
2841
2297
|
path: _path + ".$recursiveRef",
|
|
2842
2298
|
expected: "string",
|
|
2843
2299
|
value: input.$recursiveRef
|
|
2844
|
-
}, _errorFactory))
|
|
2845
|
-
method: "typia.assert",
|
|
2846
|
-
path: _path + ".examples",
|
|
2847
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2848
|
-
value: input.examples
|
|
2849
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2850
|
-
method: "typia.assert",
|
|
2851
|
-
path: _path + ".examples",
|
|
2852
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2853
|
-
value: input.examples
|
|
2854
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2855
|
-
method: "typia.assert",
|
|
2856
|
-
path: _path + ".examples",
|
|
2857
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2858
|
-
value: input.examples
|
|
2859
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2860
|
-
method: "typia.assert",
|
|
2861
|
-
path: _path + ".title",
|
|
2862
|
-
expected: "(string | undefined)",
|
|
2863
|
-
value: input.title
|
|
2864
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2865
|
-
method: "typia.assert",
|
|
2866
|
-
path: _path + ".description",
|
|
2867
|
-
expected: "(string | undefined)",
|
|
2868
|
-
value: input.description
|
|
2869
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2870
|
-
method: "typia.assert",
|
|
2871
|
-
path: _path + ".deprecated",
|
|
2872
|
-
expected: "(boolean | undefined)",
|
|
2873
|
-
value: input.deprecated
|
|
2874
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2875
|
-
method: "typia.assert",
|
|
2876
|
-
path: _path + ".readOnly",
|
|
2877
|
-
expected: "(boolean | undefined)",
|
|
2878
|
-
value: input.readOnly
|
|
2879
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2880
|
-
method: "typia.assert",
|
|
2881
|
-
path: _path + ".writeOnly",
|
|
2882
|
-
expected: "(boolean | undefined)",
|
|
2883
|
-
value: input.writeOnly
|
|
2884
|
-
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2300
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => (Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2885
2301
|
method: "typia.assert",
|
|
2886
2302
|
path: _path + ".allOf",
|
|
2887
|
-
expected: "Array<
|
|
2303
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2888
2304
|
value: input.allOf
|
|
2889
2305
|
}, _errorFactory)) && input.allOf.every((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2890
2306
|
method: "typia.assert",
|
|
2891
2307
|
path: _path + ".allOf[" + _index37 + "]",
|
|
2892
|
-
expected: "(
|
|
2308
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2893
2309
|
value: elem
|
|
2894
2310
|
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index37 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2895
2311
|
method: "typia.assert",
|
|
2896
2312
|
path: _path + ".allOf[" + _index37 + "]",
|
|
2897
|
-
expected: "(
|
|
2313
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2898
2314
|
value: elem
|
|
2899
2315
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2900
2316
|
method: "typia.assert",
|
|
2901
2317
|
path: _path + ".allOf",
|
|
2902
|
-
expected: "Array<
|
|
2318
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2903
2319
|
value: input.allOf
|
|
2904
|
-
}, _errorFactory))
|
|
2905
|
-
method: "typia.assert",
|
|
2906
|
-
path: _path + ".examples",
|
|
2907
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2908
|
-
value: input.examples
|
|
2909
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2910
|
-
method: "typia.assert",
|
|
2911
|
-
path: _path + ".examples",
|
|
2912
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2913
|
-
value: input.examples
|
|
2914
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2915
|
-
method: "typia.assert",
|
|
2916
|
-
path: _path + ".examples",
|
|
2917
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2918
|
-
value: input.examples
|
|
2919
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2920
|
-
method: "typia.assert",
|
|
2921
|
-
path: _path + ".title",
|
|
2922
|
-
expected: "(string | undefined)",
|
|
2923
|
-
value: input.title
|
|
2924
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2925
|
-
method: "typia.assert",
|
|
2926
|
-
path: _path + ".description",
|
|
2927
|
-
expected: "(string | undefined)",
|
|
2928
|
-
value: input.description
|
|
2929
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2930
|
-
method: "typia.assert",
|
|
2931
|
-
path: _path + ".deprecated",
|
|
2932
|
-
expected: "(boolean | undefined)",
|
|
2933
|
-
value: input.deprecated
|
|
2934
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2935
|
-
method: "typia.assert",
|
|
2936
|
-
path: _path + ".readOnly",
|
|
2937
|
-
expected: "(boolean | undefined)",
|
|
2938
|
-
value: input.readOnly
|
|
2939
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2940
|
-
method: "typia.assert",
|
|
2941
|
-
path: _path + ".writeOnly",
|
|
2942
|
-
expected: "(boolean | undefined)",
|
|
2943
|
-
value: input.writeOnly
|
|
2944
|
-
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2320
|
+
}, _errorFactory); const _ao14 = (input, _path, _exceptionable = true) => (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2945
2321
|
method: "typia.assert",
|
|
2946
2322
|
path: _path + ".anyOf",
|
|
2947
|
-
expected: "Array<
|
|
2323
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2948
2324
|
value: input.anyOf
|
|
2949
2325
|
}, _errorFactory)) && input.anyOf.every((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2950
2326
|
method: "typia.assert",
|
|
2951
2327
|
path: _path + ".anyOf[" + _index38 + "]",
|
|
2952
|
-
expected: "(
|
|
2328
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2953
2329
|
value: elem
|
|
2954
2330
|
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index38 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2955
2331
|
method: "typia.assert",
|
|
2956
2332
|
path: _path + ".anyOf[" + _index38 + "]",
|
|
2957
|
-
expected: "(
|
|
2333
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
2958
2334
|
value: elem
|
|
2959
2335
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2960
2336
|
method: "typia.assert",
|
|
2961
2337
|
path: _path + ".anyOf",
|
|
2962
|
-
expected: "Array<
|
|
2338
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
2963
2339
|
value: input.anyOf
|
|
2964
|
-
}, _errorFactory))
|
|
2965
|
-
method: "typia.assert",
|
|
2966
|
-
path: _path + ".examples",
|
|
2967
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2968
|
-
value: input.examples
|
|
2969
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2970
|
-
method: "typia.assert",
|
|
2971
|
-
path: _path + ".examples",
|
|
2972
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2973
|
-
value: input.examples
|
|
2974
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2975
|
-
method: "typia.assert",
|
|
2976
|
-
path: _path + ".examples",
|
|
2977
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2978
|
-
value: input.examples
|
|
2979
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2980
|
-
method: "typia.assert",
|
|
2981
|
-
path: _path + ".title",
|
|
2982
|
-
expected: "(string | undefined)",
|
|
2983
|
-
value: input.title
|
|
2984
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2985
|
-
method: "typia.assert",
|
|
2986
|
-
path: _path + ".description",
|
|
2987
|
-
expected: "(string | undefined)",
|
|
2988
|
-
value: input.description
|
|
2989
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2990
|
-
method: "typia.assert",
|
|
2991
|
-
path: _path + ".deprecated",
|
|
2992
|
-
expected: "(boolean | undefined)",
|
|
2993
|
-
value: input.deprecated
|
|
2994
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2995
|
-
method: "typia.assert",
|
|
2996
|
-
path: _path + ".readOnly",
|
|
2997
|
-
expected: "(boolean | undefined)",
|
|
2998
|
-
value: input.readOnly
|
|
2999
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3000
|
-
method: "typia.assert",
|
|
3001
|
-
path: _path + ".writeOnly",
|
|
3002
|
-
expected: "(boolean | undefined)",
|
|
3003
|
-
value: input.writeOnly
|
|
3004
|
-
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2340
|
+
}, _errorFactory); const _ao15 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3005
2341
|
method: "typia.assert",
|
|
3006
2342
|
path: _path + ".oneOf",
|
|
3007
|
-
expected: "Array<
|
|
2343
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
3008
2344
|
value: input.oneOf
|
|
3009
2345
|
}, _errorFactory)) && input.oneOf.every((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3010
2346
|
method: "typia.assert",
|
|
3011
2347
|
path: _path + ".oneOf[" + _index39 + "]",
|
|
3012
|
-
expected: "(
|
|
2348
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
3013
2349
|
value: elem
|
|
3014
2350
|
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index39 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3015
2351
|
method: "typia.assert",
|
|
3016
2352
|
path: _path + ".oneOf[" + _index39 + "]",
|
|
3017
|
-
expected: "(
|
|
2353
|
+
expected: "(OpenApiV3_2.IJsonSchema.IAllOf | OpenApiV3_2.IJsonSchema.IAnyOf | OpenApiV3_2.IJsonSchema.IArray | OpenApiV3_2.IJsonSchema.IBoolean | OpenApiV3_2.IJsonSchema.IConstant | OpenApiV3_2.IJsonSchema.IInteger | OpenApiV3_2.IJsonSchema.IMixed | OpenApiV3_2.IJsonSchema.INull | OpenApiV3_2.IJsonSchema.INumber | OpenApiV3_2.IJsonSchema.IObject | OpenApiV3_2.IJsonSchema.IOneOf | OpenApiV3_2.IJsonSchema.IRecursiveReference | OpenApiV3_2.IJsonSchema.IReference<string> | OpenApiV3_2.IJsonSchema.IString | OpenApiV3_2.IJsonSchema.IUnknown)",
|
|
3018
2354
|
value: elem
|
|
3019
2355
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3020
2356
|
method: "typia.assert",
|
|
3021
2357
|
path: _path + ".oneOf",
|
|
3022
|
-
expected: "Array<
|
|
2358
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
3023
2359
|
value: input.oneOf
|
|
3024
2360
|
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3025
2361
|
method: "typia.assert",
|
|
3026
2362
|
path: _path + ".discriminator",
|
|
3027
|
-
expected: "(
|
|
2363
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
3028
2364
|
value: input.discriminator
|
|
3029
|
-
}, _errorFactory)) &&
|
|
2365
|
+
}, _errorFactory)) && _ao16(input.discriminator, _path + ".discriminator", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3030
2366
|
method: "typia.assert",
|
|
3031
2367
|
path: _path + ".discriminator",
|
|
3032
|
-
expected: "(
|
|
2368
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
3033
2369
|
value: input.discriminator
|
|
3034
|
-
}, _errorFactory))
|
|
3035
|
-
method: "typia.assert",
|
|
3036
|
-
path: _path + ".examples",
|
|
3037
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3038
|
-
value: input.examples
|
|
3039
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3040
|
-
method: "typia.assert",
|
|
3041
|
-
path: _path + ".examples",
|
|
3042
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3043
|
-
value: input.examples
|
|
3044
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3045
|
-
method: "typia.assert",
|
|
3046
|
-
path: _path + ".examples",
|
|
3047
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3048
|
-
value: input.examples
|
|
3049
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3050
|
-
method: "typia.assert",
|
|
3051
|
-
path: _path + ".title",
|
|
3052
|
-
expected: "(string | undefined)",
|
|
3053
|
-
value: input.title
|
|
3054
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3055
|
-
method: "typia.assert",
|
|
3056
|
-
path: _path + ".description",
|
|
3057
|
-
expected: "(string | undefined)",
|
|
3058
|
-
value: input.description
|
|
3059
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3060
|
-
method: "typia.assert",
|
|
3061
|
-
path: _path + ".deprecated",
|
|
3062
|
-
expected: "(boolean | undefined)",
|
|
3063
|
-
value: input.deprecated
|
|
3064
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3065
|
-
method: "typia.assert",
|
|
3066
|
-
path: _path + ".readOnly",
|
|
3067
|
-
expected: "(boolean | undefined)",
|
|
3068
|
-
value: input.readOnly
|
|
3069
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3070
|
-
method: "typia.assert",
|
|
3071
|
-
path: _path + ".writeOnly",
|
|
3072
|
-
expected: "(boolean | undefined)",
|
|
3073
|
-
value: input.writeOnly
|
|
3074
|
-
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => ("string" === typeof input.propertyName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2370
|
+
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => ("string" === typeof input.propertyName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3075
2371
|
method: "typia.assert",
|
|
3076
2372
|
path: _path + ".propertyName",
|
|
3077
2373
|
expected: "string",
|
|
@@ -3081,12 +2377,12 @@ function validateMcpController(props) {
|
|
|
3081
2377
|
path: _path + ".mapping",
|
|
3082
2378
|
expected: "(Record<string, string> | undefined)",
|
|
3083
2379
|
value: input.mapping
|
|
3084
|
-
}, _errorFactory)) &&
|
|
2380
|
+
}, _errorFactory)) && _ao17(input.mapping, _path + ".mapping", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3085
2381
|
method: "typia.assert",
|
|
3086
2382
|
path: _path + ".mapping",
|
|
3087
2383
|
expected: "(Record<string, string> | undefined)",
|
|
3088
2384
|
value: input.mapping
|
|
3089
|
-
}, _errorFactory)); const
|
|
2385
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
3090
2386
|
const value = input[key];
|
|
3091
2387
|
if (undefined === value)
|
|
3092
2388
|
return true;
|
|
@@ -3096,7 +2392,7 @@ function validateMcpController(props) {
|
|
|
3096
2392
|
expected: "string",
|
|
3097
2393
|
value: value
|
|
3098
2394
|
}, _errorFactory);
|
|
3099
|
-
}); const
|
|
2395
|
+
}); const _ao18 = (input, _path, _exceptionable = true) => (null === input["default"] || undefined === input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3100
2396
|
method: "typia.assert",
|
|
3101
2397
|
path: _path + "[\"default\"]",
|
|
3102
2398
|
expected: "(null | undefined)",
|
|
@@ -3131,22 +2427,7 @@ function validateMcpController(props) {
|
|
|
3131
2427
|
path: _path + ".writeOnly",
|
|
3132
2428
|
expected: "(boolean | undefined)",
|
|
3133
2429
|
value: input.writeOnly
|
|
3134
|
-
}, _errorFactory))
|
|
3135
|
-
method: "typia.assert",
|
|
3136
|
-
path: _path + ".examples",
|
|
3137
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3138
|
-
value: input.examples
|
|
3139
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3140
|
-
method: "typia.assert",
|
|
3141
|
-
path: _path + ".examples",
|
|
3142
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3143
|
-
value: input.examples
|
|
3144
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3145
|
-
method: "typia.assert",
|
|
3146
|
-
path: _path + ".examples",
|
|
3147
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3148
|
-
value: input.examples
|
|
3149
|
-
}, _errorFactory))); const _ao20 = (input, _path, _exceptionable = true) => (null !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2430
|
+
}, _errorFactory)); const _ao19 = (input, _path, _exceptionable = true) => (null !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3150
2431
|
method: "typia.assert",
|
|
3151
2432
|
path: _path + ".type",
|
|
3152
2433
|
expected: "undefined",
|
|
@@ -3181,75 +2462,20 @@ function validateMcpController(props) {
|
|
|
3181
2462
|
path: _path + ".writeOnly",
|
|
3182
2463
|
expected: "(boolean | undefined)",
|
|
3183
2464
|
value: input.writeOnly
|
|
3184
|
-
}, _errorFactory))
|
|
3185
|
-
method: "typia.assert",
|
|
3186
|
-
path: _path + ".examples",
|
|
3187
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3188
|
-
value: input.examples
|
|
3189
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3190
|
-
method: "typia.assert",
|
|
3191
|
-
path: _path + ".examples",
|
|
3192
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3193
|
-
value: input.examples
|
|
3194
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3195
|
-
method: "typia.assert",
|
|
3196
|
-
path: _path + ".examples",
|
|
3197
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3198
|
-
value: input.examples
|
|
3199
|
-
}, _errorFactory))); const _ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
2465
|
+
}, _errorFactory)); const _ao20 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3200
2466
|
method: "typia.assert",
|
|
3201
2467
|
path: _path + ".$ref",
|
|
3202
2468
|
expected: "string",
|
|
3203
2469
|
value: input.$ref
|
|
3204
|
-
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3205
|
-
method: "typia.assert",
|
|
3206
|
-
path: _path + ".examples",
|
|
3207
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3208
|
-
value: input.examples
|
|
3209
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao5(input.examples, _path + ".examples", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3210
|
-
method: "typia.assert",
|
|
3211
|
-
path: _path + ".examples",
|
|
3212
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3213
|
-
value: input.examples
|
|
3214
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3215
|
-
method: "typia.assert",
|
|
3216
|
-
path: _path + ".examples",
|
|
3217
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3218
|
-
value: input.examples
|
|
3219
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3220
|
-
method: "typia.assert",
|
|
3221
|
-
path: _path + ".title",
|
|
3222
|
-
expected: "(string | undefined)",
|
|
3223
|
-
value: input.title
|
|
3224
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3225
|
-
method: "typia.assert",
|
|
3226
|
-
path: _path + ".description",
|
|
3227
|
-
expected: "(string | undefined)",
|
|
3228
|
-
value: input.description
|
|
3229
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3230
|
-
method: "typia.assert",
|
|
3231
|
-
path: _path + ".deprecated",
|
|
3232
|
-
expected: "(boolean | undefined)",
|
|
3233
|
-
value: input.deprecated
|
|
3234
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3235
|
-
method: "typia.assert",
|
|
3236
|
-
path: _path + ".readOnly",
|
|
3237
|
-
expected: "(boolean | undefined)",
|
|
3238
|
-
value: input.readOnly
|
|
3239
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3240
|
-
method: "typia.assert",
|
|
3241
|
-
path: _path + ".writeOnly",
|
|
3242
|
-
expected: "(boolean | undefined)",
|
|
3243
|
-
value: input.writeOnly
|
|
3244
2470
|
}, _errorFactory)) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3245
2471
|
method: "typia.assert",
|
|
3246
2472
|
path: _path + ".$defs",
|
|
3247
|
-
expected: "(Record<string,
|
|
2473
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
3248
2474
|
value: input.$defs
|
|
3249
2475
|
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3250
2476
|
method: "typia.assert",
|
|
3251
2477
|
path: _path + ".$defs",
|
|
3252
|
-
expected: "(Record<string,
|
|
2478
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
3253
2479
|
value: input.$defs
|
|
3254
2480
|
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
3255
2481
|
if ("object" === input.type)
|
|
@@ -3257,39 +2483,39 @@ function validateMcpController(props) {
|
|
|
3257
2483
|
else if (Array.isArray(input.type) && input.type.every((elem, _index40) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))
|
|
3258
2484
|
return _ao4(input, _path, true && _exceptionable);
|
|
3259
2485
|
else if ("boolean" === input.type)
|
|
3260
|
-
return
|
|
2486
|
+
return _ao6(input, _path, true && _exceptionable);
|
|
3261
2487
|
else if ("number" === input.type)
|
|
3262
|
-
return _ao9(input, _path, true && _exceptionable);
|
|
3263
|
-
else if ("integer" === input.type)
|
|
3264
2488
|
return _ao8(input, _path, true && _exceptionable);
|
|
2489
|
+
else if ("integer" === input.type)
|
|
2490
|
+
return _ao7(input, _path, true && _exceptionable);
|
|
3265
2491
|
else if ("string" === input.type)
|
|
3266
|
-
return
|
|
2492
|
+
return _ao9(input, _path, true && _exceptionable);
|
|
3267
2493
|
else if ("array" === input.type)
|
|
3268
|
-
return
|
|
2494
|
+
return _ao10(input, _path, true && _exceptionable);
|
|
3269
2495
|
else if (undefined !== input.$recursiveRef)
|
|
3270
|
-
return
|
|
2496
|
+
return _ao12(input, _path, true && _exceptionable);
|
|
3271
2497
|
else if ("null" === input.type)
|
|
3272
|
-
return
|
|
2498
|
+
return _ao18(input, _path, true && _exceptionable);
|
|
3273
2499
|
else
|
|
3274
2500
|
return (() => {
|
|
3275
2501
|
if (undefined !== input["const"])
|
|
3276
|
-
return
|
|
2502
|
+
return _ao5(input, _path, true && _exceptionable);
|
|
3277
2503
|
else if (undefined !== input.$ref)
|
|
3278
|
-
return
|
|
2504
|
+
return _ao11(input, _path, true && _exceptionable);
|
|
3279
2505
|
else if (undefined !== input.allOf)
|
|
3280
|
-
return
|
|
2506
|
+
return _ao13(input, _path, true && _exceptionable);
|
|
3281
2507
|
else if (undefined !== input.anyOf)
|
|
3282
|
-
return
|
|
2508
|
+
return _ao14(input, _path, true && _exceptionable);
|
|
3283
2509
|
else if (undefined !== input.oneOf)
|
|
3284
|
-
return
|
|
2510
|
+
return _ao15(input, _path, true && _exceptionable);
|
|
3285
2511
|
else
|
|
3286
|
-
return
|
|
2512
|
+
return _ao19(input, _path, true && _exceptionable);
|
|
3287
2513
|
})();
|
|
3288
2514
|
})(); const _au1 = (input, _path, _exceptionable = true) => (() => {
|
|
3289
2515
|
if (undefined !== input.type)
|
|
3290
2516
|
return _ao1(input, _path, true && _exceptionable);
|
|
3291
2517
|
else if (undefined !== input.$ref)
|
|
3292
|
-
return
|
|
2518
|
+
return _ao20(input, _path, true && _exceptionable);
|
|
3293
2519
|
else
|
|
3294
2520
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
3295
2521
|
method: "typia.assert",
|
|
@@ -3324,6 +2550,7 @@ function validateMcpController(props) {
|
|
|
3324
2550
|
}
|
|
3325
2551
|
return input;
|
|
3326
2552
|
}; })()(tools),
|
|
2553
|
+
config: props.config,
|
|
3327
2554
|
});
|
|
3328
2555
|
return {
|
|
3329
2556
|
success: true,
|