@agentica/core 0.43.3 → 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 -18946
- 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 -349
- package/lib/utils/JsonUtil.js.map +0 -1
- package/src/context/internal/AgenticaOperationComposer.spec.ts +0 -401
- package/src/utils/JsonUtil.ts +0 -460
|
@@ -46,10 +46,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
48
|
exports.assertMcpController = assertMcpController;
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
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__assertGuard = __importStar(require("typia/lib/internal/_assertGuard"));
|
|
52
|
+
const __typia_transform__accessExpressionAsString = __importStar(require("typia/lib/internal/_accessExpressionAsString"));
|
|
52
53
|
const typia_1 = __importDefault(require("typia"));
|
|
54
|
+
const createMcpLlmApplication_1 = require("./createMcpLlmApplication");
|
|
53
55
|
/**
|
|
54
56
|
* Create an MCP controller with type assertion.
|
|
55
57
|
*
|
|
@@ -71,61 +73,56 @@ function assertMcpController(props) {
|
|
|
71
73
|
const { ListToolsResultSchema } = yield Promise.resolve().then(() => __importStar(require("@modelcontextprotocol/sdk/types.js")));
|
|
72
74
|
// get list of tools
|
|
73
75
|
const { tools } = yield props.client.request({ method: "tools/list" }, ListToolsResultSchema);
|
|
74
|
-
const application =
|
|
75
|
-
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) && (
|
|
76
|
+
const application = (0, createMcpLlmApplication_1.createMcpLlmApplication)({
|
|
77
|
+
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 => {
|
|
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 _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name && (input.name.length <= 64 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -153,6 +150,16 @@ function assertMcpController(props) {
|
|
|
153
150
|
path: _path + ".inputSchema",
|
|
154
151
|
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
155
152
|
value: input.inputSchema
|
|
153
|
+
}, _errorFactory)) && (undefined === input.outputSchema || ("object" === typeof input.outputSchema && null !== input.outputSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
154
|
+
method: "typia.assert",
|
|
155
|
+
path: _path + ".outputSchema",
|
|
156
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; } | undefined)",
|
|
157
|
+
value: input.outputSchema
|
|
158
|
+
}, _errorFactory)) && _au1(input.outputSchema, _path + ".outputSchema", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
159
|
+
method: "typia.assert",
|
|
160
|
+
path: _path + ".outputSchema",
|
|
161
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; } | undefined)",
|
|
162
|
+
value: input.outputSchema
|
|
156
163
|
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
157
164
|
method: "typia.assert",
|
|
158
165
|
path: _path + ".nullable",
|
|
@@ -161,12 +168,12 @@ function assertMcpController(props) {
|
|
|
161
168
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
162
169
|
method: "typia.assert",
|
|
163
170
|
path: _path + ".properties",
|
|
164
|
-
expected: "(Record<string,
|
|
171
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
165
172
|
value: input.properties
|
|
166
173
|
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
167
174
|
method: "typia.assert",
|
|
168
175
|
path: _path + ".properties",
|
|
169
|
-
expected: "(Record<string,
|
|
176
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
170
177
|
value: input.properties
|
|
171
178
|
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
172
179
|
method: "typia.assert",
|
|
@@ -186,17 +193,17 @@ function assertMcpController(props) {
|
|
|
186
193
|
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
187
194
|
method: "typia.assert",
|
|
188
195
|
path: _path + ".additionalProperties",
|
|
189
|
-
expected: "(
|
|
196
|
+
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)",
|
|
190
197
|
value: input.additionalProperties
|
|
191
198
|
}, _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, {
|
|
192
199
|
method: "typia.assert",
|
|
193
200
|
path: _path + ".additionalProperties",
|
|
194
|
-
expected: "(
|
|
201
|
+
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)",
|
|
195
202
|
value: input.additionalProperties
|
|
196
203
|
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
197
204
|
method: "typia.assert",
|
|
198
205
|
path: _path + ".additionalProperties",
|
|
199
|
-
expected: "(
|
|
206
|
+
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)",
|
|
200
207
|
value: input.additionalProperties
|
|
201
208
|
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
202
209
|
method: "typia.assert",
|
|
@@ -238,30 +245,15 @@ function assertMcpController(props) {
|
|
|
238
245
|
path: _path + ".writeOnly",
|
|
239
246
|
expected: "(boolean | undefined)",
|
|
240
247
|
value: input.writeOnly
|
|
241
|
-
}, _errorFactory)) && ((null !== input.
|
|
242
|
-
method: "typia.assert",
|
|
243
|
-
path: _path + ".examples",
|
|
244
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
245
|
-
value: input.examples
|
|
246
|
-
}, _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, {
|
|
247
|
-
method: "typia.assert",
|
|
248
|
-
path: _path + ".examples",
|
|
249
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
250
|
-
value: input.examples
|
|
251
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
252
|
-
method: "typia.assert",
|
|
253
|
-
path: _path + ".examples",
|
|
254
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
255
|
-
value: input.examples
|
|
256
|
-
}, _errorFactory))) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
248
|
+
}, _errorFactory)) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
257
249
|
method: "typia.assert",
|
|
258
250
|
path: _path + ".$defs",
|
|
259
|
-
expected: "(Record<string,
|
|
251
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
260
252
|
value: input.$defs
|
|
261
253
|
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
262
254
|
method: "typia.assert",
|
|
263
255
|
path: _path + ".$defs",
|
|
264
|
-
expected: "(Record<string,
|
|
256
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
265
257
|
value: input.$defs
|
|
266
258
|
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
267
259
|
const value = input[key];
|
|
@@ -270,12 +262,12 @@ function assertMcpController(props) {
|
|
|
270
262
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
271
263
|
method: "typia.assert",
|
|
272
264
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
273
|
-
expected: "(
|
|
265
|
+
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)",
|
|
274
266
|
value: value
|
|
275
267
|
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
276
268
|
method: "typia.assert",
|
|
277
269
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
278
|
-
expected: "(
|
|
270
|
+
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)",
|
|
279
271
|
value: value
|
|
280
272
|
}, _errorFactory);
|
|
281
273
|
}); const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -286,12 +278,12 @@ function assertMcpController(props) {
|
|
|
286
278
|
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
287
279
|
method: "typia.assert",
|
|
288
280
|
path: _path + ".properties",
|
|
289
|
-
expected: "(Record<string,
|
|
281
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
290
282
|
value: input.properties
|
|
291
283
|
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
292
284
|
method: "typia.assert",
|
|
293
285
|
path: _path + ".properties",
|
|
294
|
-
expected: "(Record<string,
|
|
286
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
295
287
|
value: input.properties
|
|
296
288
|
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
297
289
|
method: "typia.assert",
|
|
@@ -311,17 +303,17 @@ function assertMcpController(props) {
|
|
|
311
303
|
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
312
304
|
method: "typia.assert",
|
|
313
305
|
path: _path + ".additionalProperties",
|
|
314
|
-
expected: "(
|
|
306
|
+
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)",
|
|
315
307
|
value: input.additionalProperties
|
|
316
308
|
}, _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, {
|
|
317
309
|
method: "typia.assert",
|
|
318
310
|
path: _path + ".additionalProperties",
|
|
319
|
-
expected: "(
|
|
311
|
+
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)",
|
|
320
312
|
value: input.additionalProperties
|
|
321
313
|
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
322
314
|
method: "typia.assert",
|
|
323
315
|
path: _path + ".additionalProperties",
|
|
324
|
-
expected: "(
|
|
316
|
+
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)",
|
|
325
317
|
value: input.additionalProperties
|
|
326
318
|
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
327
319
|
method: "typia.assert",
|
|
@@ -363,22 +355,7 @@ function assertMcpController(props) {
|
|
|
363
355
|
path: _path + ".writeOnly",
|
|
364
356
|
expected: "(boolean | undefined)",
|
|
365
357
|
value: input.writeOnly
|
|
366
|
-
}, _errorFactory))
|
|
367
|
-
method: "typia.assert",
|
|
368
|
-
path: _path + ".examples",
|
|
369
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
370
|
-
value: input.examples
|
|
371
|
-
}, _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, {
|
|
372
|
-
method: "typia.assert",
|
|
373
|
-
path: _path + ".examples",
|
|
374
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
375
|
-
value: input.examples
|
|
376
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
377
|
-
method: "typia.assert",
|
|
378
|
-
path: _path + ".examples",
|
|
379
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
380
|
-
value: input.examples
|
|
381
|
-
}, _errorFactory))); const _ao4 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
358
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
382
359
|
method: "typia.assert",
|
|
383
360
|
path: _path + ".type",
|
|
384
361
|
expected: "Array<\"string\" | \"number\" | \"boolean\" | \"object\" | \"integer\" | \"array\" | \"null\">",
|
|
@@ -413,22 +390,7 @@ function assertMcpController(props) {
|
|
|
413
390
|
path: _path + ".nullable",
|
|
414
391
|
expected: "(boolean | undefined)",
|
|
415
392
|
value: input.nullable
|
|
416
|
-
}, _errorFactory)) && (
|
|
417
|
-
method: "typia.assert",
|
|
418
|
-
path: _path + ".examples",
|
|
419
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
420
|
-
value: input.examples
|
|
421
|
-
}, _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, {
|
|
422
|
-
method: "typia.assert",
|
|
423
|
-
path: _path + ".examples",
|
|
424
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
425
|
-
value: input.examples
|
|
426
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
427
|
-
method: "typia.assert",
|
|
428
|
-
path: _path + ".examples",
|
|
429
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
430
|
-
value: input.examples
|
|
431
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
393
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
432
394
|
method: "typia.assert",
|
|
433
395
|
path: _path + ".title",
|
|
434
396
|
expected: "(string | undefined)",
|
|
@@ -463,16 +425,6 @@ function assertMcpController(props) {
|
|
|
463
425
|
path: _path + ".maximum",
|
|
464
426
|
expected: "(number | undefined)",
|
|
465
427
|
value: input.maximum
|
|
466
|
-
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
467
|
-
method: "typia.assert",
|
|
468
|
-
path: _path + ".multipleOf",
|
|
469
|
-
expected: "number & ExclusiveMinimum<0>",
|
|
470
|
-
value: input.multipleOf
|
|
471
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
472
|
-
method: "typia.assert",
|
|
473
|
-
path: _path + ".multipleOf",
|
|
474
|
-
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
475
|
-
value: input.multipleOf
|
|
476
428
|
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
477
429
|
method: "typia.assert",
|
|
478
430
|
path: _path + ".exclusiveMinimum",
|
|
@@ -483,6 +435,16 @@ function assertMcpController(props) {
|
|
|
483
435
|
path: _path + ".exclusiveMaximum",
|
|
484
436
|
expected: "(boolean | number | undefined)",
|
|
485
437
|
value: input.exclusiveMaximum
|
|
438
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
439
|
+
method: "typia.assert",
|
|
440
|
+
path: _path + ".multipleOf",
|
|
441
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
442
|
+
value: input.multipleOf
|
|
443
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
444
|
+
method: "typia.assert",
|
|
445
|
+
path: _path + ".multipleOf",
|
|
446
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
447
|
+
value: input.multipleOf
|
|
486
448
|
}, _errorFactory)) && (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
487
449
|
method: "typia.assert",
|
|
488
450
|
path: _path + ".format",
|
|
@@ -498,7 +460,7 @@ function assertMcpController(props) {
|
|
|
498
460
|
path: _path + ".contentMediaType",
|
|
499
461
|
expected: "(string | undefined)",
|
|
500
462
|
value: input.contentMediaType
|
|
501
|
-
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (
|
|
463
|
+
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (__typia_transform__isTypeUint64._isTypeUint64(input.minLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
502
464
|
method: "typia.assert",
|
|
503
465
|
path: _path + ".minLength",
|
|
504
466
|
expected: "number & Type<\"uint64\">",
|
|
@@ -508,7 +470,7 @@ function assertMcpController(props) {
|
|
|
508
470
|
path: _path + ".minLength",
|
|
509
471
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
510
472
|
value: input.minLength
|
|
511
|
-
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (
|
|
473
|
+
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (__typia_transform__isTypeUint64._isTypeUint64(input.maxLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
512
474
|
method: "typia.assert",
|
|
513
475
|
path: _path + ".maxLength",
|
|
514
476
|
expected: "number & Type<\"uint64\">",
|
|
@@ -521,112 +483,112 @@ function assertMcpController(props) {
|
|
|
521
483
|
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
522
484
|
method: "typia.assert",
|
|
523
485
|
path: _path + ".items",
|
|
524
|
-
expected: "(Array<
|
|
486
|
+
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)",
|
|
525
487
|
value: input.items
|
|
526
488
|
}, _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, {
|
|
527
489
|
method: "typia.assert",
|
|
528
490
|
path: _path + ".items[" + _index25 + "]",
|
|
529
|
-
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)",
|
|
530
492
|
value: elem
|
|
531
493
|
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index25 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
532
494
|
method: "typia.assert",
|
|
533
495
|
path: _path + ".items[" + _index25 + "]",
|
|
534
|
-
expected: "(
|
|
496
|
+
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)",
|
|
535
497
|
value: elem
|
|
536
498
|
}, _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, {
|
|
537
499
|
method: "typia.assert",
|
|
538
500
|
path: _path + ".items",
|
|
539
|
-
expected: "(Array<
|
|
501
|
+
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)",
|
|
540
502
|
value: input.items
|
|
541
503
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
542
504
|
method: "typia.assert",
|
|
543
505
|
path: _path + ".items",
|
|
544
|
-
expected: "(Array<
|
|
506
|
+
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)",
|
|
545
507
|
value: input.items
|
|
546
|
-
}, _errorFactory))) && (undefined === input.
|
|
547
|
-
method: "typia.assert",
|
|
548
|
-
path: _path + ".uniqueItems",
|
|
549
|
-
expected: "(boolean | undefined)",
|
|
550
|
-
value: input.uniqueItems
|
|
551
|
-
}, _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, {
|
|
552
|
-
method: "typia.assert",
|
|
553
|
-
path: _path + ".minItems",
|
|
554
|
-
expected: "number & Type<\"uint64\">",
|
|
555
|
-
value: input.minItems
|
|
556
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
557
|
-
method: "typia.assert",
|
|
558
|
-
path: _path + ".minItems",
|
|
559
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
560
|
-
value: input.minItems
|
|
561
|
-
}, _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, {
|
|
562
|
-
method: "typia.assert",
|
|
563
|
-
path: _path + ".maxItems",
|
|
564
|
-
expected: "number & Type<\"uint64\">",
|
|
565
|
-
value: input.maxItems
|
|
566
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
567
|
-
method: "typia.assert",
|
|
568
|
-
path: _path + ".maxItems",
|
|
569
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
570
|
-
value: input.maxItems
|
|
571
|
-
}, _errorFactory)) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
508
|
+
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
572
509
|
method: "typia.assert",
|
|
573
510
|
path: _path + ".prefixItems",
|
|
574
|
-
expected: "(Array<
|
|
511
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
575
512
|
value: input.prefixItems
|
|
576
513
|
}, _errorFactory)) && input.prefixItems.every((elem, _index26) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
577
514
|
method: "typia.assert",
|
|
578
515
|
path: _path + ".prefixItems[" + _index26 + "]",
|
|
579
|
-
expected: "(
|
|
516
|
+
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)",
|
|
580
517
|
value: elem
|
|
581
518
|
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index26 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
582
519
|
method: "typia.assert",
|
|
583
520
|
path: _path + ".prefixItems[" + _index26 + "]",
|
|
584
|
-
expected: "(
|
|
521
|
+
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)",
|
|
585
522
|
value: elem
|
|
586
523
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
587
524
|
method: "typia.assert",
|
|
588
525
|
path: _path + ".prefixItems",
|
|
589
|
-
expected: "(Array<
|
|
526
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
590
527
|
value: input.prefixItems
|
|
528
|
+
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
529
|
+
method: "typia.assert",
|
|
530
|
+
path: _path + ".uniqueItems",
|
|
531
|
+
expected: "(boolean | undefined)",
|
|
532
|
+
value: input.uniqueItems
|
|
591
533
|
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
592
534
|
method: "typia.assert",
|
|
593
535
|
path: _path + ".additionalItems",
|
|
594
|
-
expected: "(
|
|
536
|
+
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)",
|
|
595
537
|
value: input.additionalItems
|
|
596
538
|
}, _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, {
|
|
597
539
|
method: "typia.assert",
|
|
598
540
|
path: _path + ".additionalItems",
|
|
599
|
-
expected: "(
|
|
541
|
+
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)",
|
|
600
542
|
value: input.additionalItems
|
|
601
543
|
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
602
544
|
method: "typia.assert",
|
|
603
545
|
path: _path + ".additionalItems",
|
|
604
|
-
expected: "(
|
|
546
|
+
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)",
|
|
605
547
|
value: input.additionalItems
|
|
606
|
-
}, _errorFactory))) && (
|
|
548
|
+
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (__typia_transform__isTypeUint64._isTypeUint64(input.minItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
549
|
+
method: "typia.assert",
|
|
550
|
+
path: _path + ".minItems",
|
|
551
|
+
expected: "number & Type<\"uint64\">",
|
|
552
|
+
value: input.minItems
|
|
553
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
554
|
+
method: "typia.assert",
|
|
555
|
+
path: _path + ".minItems",
|
|
556
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
557
|
+
value: input.minItems
|
|
558
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (__typia_transform__isTypeUint64._isTypeUint64(input.maxItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
559
|
+
method: "typia.assert",
|
|
560
|
+
path: _path + ".maxItems",
|
|
561
|
+
expected: "number & Type<\"uint64\">",
|
|
562
|
+
value: input.maxItems
|
|
563
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
564
|
+
method: "typia.assert",
|
|
565
|
+
path: _path + ".maxItems",
|
|
566
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
567
|
+
value: input.maxItems
|
|
568
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
607
569
|
method: "typia.assert",
|
|
608
570
|
path: _path + ".additionalProperties",
|
|
609
|
-
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 | boolean | undefined)",
|
|
610
572
|
value: input.additionalProperties
|
|
611
573
|
}, _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, {
|
|
612
574
|
method: "typia.assert",
|
|
613
575
|
path: _path + ".additionalProperties",
|
|
614
|
-
expected: "(
|
|
576
|
+
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)",
|
|
615
577
|
value: input.additionalProperties
|
|
616
578
|
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
617
579
|
method: "typia.assert",
|
|
618
580
|
path: _path + ".additionalProperties",
|
|
619
|
-
expected: "(
|
|
581
|
+
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)",
|
|
620
582
|
value: input.additionalProperties
|
|
621
583
|
}, _errorFactory))) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
622
584
|
method: "typia.assert",
|
|
623
585
|
path: _path + ".properties",
|
|
624
|
-
expected: "(Record<string,
|
|
586
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
625
587
|
value: input.properties
|
|
626
588
|
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
627
589
|
method: "typia.assert",
|
|
628
590
|
path: _path + ".properties",
|
|
629
|
-
expected: "(Record<string,
|
|
591
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
630
592
|
value: input.properties
|
|
631
593
|
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
632
594
|
method: "typia.assert",
|
|
@@ -656,84 +618,79 @@ function assertMcpController(props) {
|
|
|
656
618
|
}, _errorFactory)) && ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
657
619
|
method: "typia.assert",
|
|
658
620
|
path: _path + ".oneOf",
|
|
659
|
-
expected: "Array<
|
|
621
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
660
622
|
value: input.oneOf
|
|
661
623
|
}, _errorFactory)) && input.oneOf.every((elem, _index28) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
662
624
|
method: "typia.assert",
|
|
663
625
|
path: _path + ".oneOf[" + _index28 + "]",
|
|
664
|
-
expected: "(
|
|
626
|
+
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)",
|
|
665
627
|
value: elem
|
|
666
628
|
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index28 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
667
629
|
method: "typia.assert",
|
|
668
630
|
path: _path + ".oneOf[" + _index28 + "]",
|
|
669
|
-
expected: "(
|
|
631
|
+
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)",
|
|
670
632
|
value: elem
|
|
671
633
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
672
634
|
method: "typia.assert",
|
|
673
635
|
path: _path + ".oneOf",
|
|
674
|
-
expected: "Array<
|
|
636
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
675
637
|
value: input.oneOf
|
|
676
638
|
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
677
639
|
method: "typia.assert",
|
|
678
640
|
path: _path + ".discriminator",
|
|
679
|
-
expected: "(
|
|
641
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
680
642
|
value: input.discriminator
|
|
681
|
-
}, _errorFactory)) &&
|
|
643
|
+
}, _errorFactory)) && _ao16(input.discriminator, _path + ".discriminator", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
682
644
|
method: "typia.assert",
|
|
683
645
|
path: _path + ".discriminator",
|
|
684
|
-
expected: "(
|
|
646
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
685
647
|
value: input.discriminator
|
|
686
648
|
}, _errorFactory)) && ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
687
649
|
method: "typia.assert",
|
|
688
650
|
path: _path + ".anyOf",
|
|
689
|
-
expected: "Array<
|
|
651
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
690
652
|
value: input.anyOf
|
|
691
653
|
}, _errorFactory)) && input.anyOf.every((elem, _index29) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
692
654
|
method: "typia.assert",
|
|
693
655
|
path: _path + ".anyOf[" + _index29 + "]",
|
|
694
|
-
expected: "(
|
|
656
|
+
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)",
|
|
695
657
|
value: elem
|
|
696
658
|
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index29 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
697
659
|
method: "typia.assert",
|
|
698
660
|
path: _path + ".anyOf[" + _index29 + "]",
|
|
699
|
-
expected: "(
|
|
661
|
+
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)",
|
|
700
662
|
value: elem
|
|
701
663
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
702
664
|
method: "typia.assert",
|
|
703
665
|
path: _path + ".anyOf",
|
|
704
|
-
expected: "Array<
|
|
666
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
705
667
|
value: input.anyOf
|
|
706
668
|
}, _errorFactory)) && ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
707
669
|
method: "typia.assert",
|
|
708
670
|
path: _path + ".allOf",
|
|
709
|
-
expected: "Array<
|
|
671
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
710
672
|
value: input.allOf
|
|
711
673
|
}, _errorFactory)) && input.allOf.every((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
712
674
|
method: "typia.assert",
|
|
713
675
|
path: _path + ".allOf[" + _index30 + "]",
|
|
714
|
-
expected: "(
|
|
676
|
+
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)",
|
|
715
677
|
value: elem
|
|
716
678
|
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index30 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
717
679
|
method: "typia.assert",
|
|
718
680
|
path: _path + ".allOf[" + _index30 + "]",
|
|
719
|
-
expected: "(
|
|
681
|
+
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)",
|
|
720
682
|
value: elem
|
|
721
683
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
722
684
|
method: "typia.assert",
|
|
723
685
|
path: _path + ".allOf",
|
|
724
|
-
expected: "Array<
|
|
686
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
725
687
|
value: input.allOf
|
|
726
688
|
}, _errorFactory)) && ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
727
689
|
method: "typia.assert",
|
|
728
690
|
path: _path + ".$ref",
|
|
729
691
|
expected: "string",
|
|
730
692
|
value: input.$ref
|
|
731
|
-
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) =>
|
|
732
|
-
const value = input[key];
|
|
733
|
-
if (undefined === value)
|
|
734
|
-
return true;
|
|
735
|
-
return true;
|
|
736
|
-
}); const _ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
693
|
+
}, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
737
694
|
method: "typia.assert",
|
|
738
695
|
path: _path + "[\"const\"]",
|
|
739
696
|
expected: "(boolean | number | string)",
|
|
@@ -743,47 +700,7 @@ function assertMcpController(props) {
|
|
|
743
700
|
path: _path + ".nullable",
|
|
744
701
|
expected: "(boolean | undefined)",
|
|
745
702
|
value: input.nullable
|
|
746
|
-
}, _errorFactory))
|
|
747
|
-
method: "typia.assert",
|
|
748
|
-
path: _path + ".examples",
|
|
749
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
750
|
-
value: input.examples
|
|
751
|
-
}, _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, {
|
|
752
|
-
method: "typia.assert",
|
|
753
|
-
path: _path + ".examples",
|
|
754
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
755
|
-
value: input.examples
|
|
756
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
757
|
-
method: "typia.assert",
|
|
758
|
-
path: _path + ".examples",
|
|
759
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
760
|
-
value: input.examples
|
|
761
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
762
|
-
method: "typia.assert",
|
|
763
|
-
path: _path + ".title",
|
|
764
|
-
expected: "(string | undefined)",
|
|
765
|
-
value: input.title
|
|
766
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
767
|
-
method: "typia.assert",
|
|
768
|
-
path: _path + ".description",
|
|
769
|
-
expected: "(string | undefined)",
|
|
770
|
-
value: input.description
|
|
771
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
772
|
-
method: "typia.assert",
|
|
773
|
-
path: _path + ".deprecated",
|
|
774
|
-
expected: "(boolean | undefined)",
|
|
775
|
-
value: input.deprecated
|
|
776
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
777
|
-
method: "typia.assert",
|
|
778
|
-
path: _path + ".readOnly",
|
|
779
|
-
expected: "(boolean | undefined)",
|
|
780
|
-
value: input.readOnly
|
|
781
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
782
|
-
method: "typia.assert",
|
|
783
|
-
path: _path + ".writeOnly",
|
|
784
|
-
expected: "(boolean | undefined)",
|
|
785
|
-
value: input.writeOnly
|
|
786
|
-
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
703
|
+
}, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
787
704
|
method: "typia.assert",
|
|
788
705
|
path: _path + ".nullable",
|
|
789
706
|
expected: "(boolean | undefined)",
|
|
@@ -838,27 +755,12 @@ function assertMcpController(props) {
|
|
|
838
755
|
path: _path + ".writeOnly",
|
|
839
756
|
expected: "(boolean | undefined)",
|
|
840
757
|
value: input.writeOnly
|
|
841
|
-
}, _errorFactory))
|
|
842
|
-
method: "typia.assert",
|
|
843
|
-
path: _path + ".examples",
|
|
844
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
845
|
-
value: input.examples
|
|
846
|
-
}, _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, {
|
|
847
|
-
method: "typia.assert",
|
|
848
|
-
path: _path + ".examples",
|
|
849
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
850
|
-
value: input.examples
|
|
851
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
852
|
-
method: "typia.assert",
|
|
853
|
-
path: _path + ".examples",
|
|
854
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
855
|
-
value: input.examples
|
|
856
|
-
}, _errorFactory))); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
758
|
+
}, _errorFactory)); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
857
759
|
method: "typia.assert",
|
|
858
760
|
path: _path + ".nullable",
|
|
859
761
|
expected: "(boolean | undefined)",
|
|
860
762
|
value: input.nullable
|
|
861
|
-
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (
|
|
763
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (__typia_transform__isTypeInt64._isTypeInt64(input["default"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
862
764
|
method: "typia.assert",
|
|
863
765
|
path: _path + "[\"default\"]",
|
|
864
766
|
expected: "number & Type<\"int64\">",
|
|
@@ -871,19 +773,24 @@ function assertMcpController(props) {
|
|
|
871
773
|
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
872
774
|
method: "typia.assert",
|
|
873
775
|
path: _path + "[\"enum\"]",
|
|
874
|
-
expected: "(Array<number | null> | undefined)",
|
|
776
|
+
expected: "(Array<(number & Type<\"int64\">) | null> | undefined)",
|
|
875
777
|
value: input["enum"]
|
|
876
|
-
}, _errorFactory)) && input["enum"].every((elem, _index32) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
778
|
+
}, _errorFactory)) && input["enum"].every((elem, _index32) => null === elem || "number" === typeof elem && (__typia_transform__isTypeInt64._isTypeInt64(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
877
779
|
method: "typia.assert",
|
|
878
780
|
path: _path + "[\"enum\"][" + _index32 + "]",
|
|
879
|
-
expected: "
|
|
781
|
+
expected: "number & Type<\"int64\">",
|
|
782
|
+
value: elem
|
|
783
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
784
|
+
method: "typia.assert",
|
|
785
|
+
path: _path + "[\"enum\"][" + _index32 + "]",
|
|
786
|
+
expected: "((number & Type<\"int64\">) | null)",
|
|
880
787
|
value: elem
|
|
881
788
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
882
789
|
method: "typia.assert",
|
|
883
790
|
path: _path + "[\"enum\"]",
|
|
884
|
-
expected: "(Array<number | null> | undefined)",
|
|
791
|
+
expected: "(Array<(number & Type<\"int64\">) | null> | undefined)",
|
|
885
792
|
value: input["enum"]
|
|
886
|
-
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum && (
|
|
793
|
+
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum && (__typia_transform__isTypeInt64._isTypeInt64(input.minimum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
887
794
|
method: "typia.assert",
|
|
888
795
|
path: _path + ".minimum",
|
|
889
796
|
expected: "number & Type<\"int64\">",
|
|
@@ -893,7 +800,7 @@ function assertMcpController(props) {
|
|
|
893
800
|
path: _path + ".minimum",
|
|
894
801
|
expected: "((number & Type<\"int64\">) | undefined)",
|
|
895
802
|
value: input.minimum
|
|
896
|
-
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum && (
|
|
803
|
+
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum && (__typia_transform__isTypeInt64._isTypeInt64(input.maximum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
897
804
|
method: "typia.assert",
|
|
898
805
|
path: _path + ".maximum",
|
|
899
806
|
expected: "number & Type<\"int64\">",
|
|
@@ -903,7 +810,7 @@ function assertMcpController(props) {
|
|
|
903
810
|
path: _path + ".maximum",
|
|
904
811
|
expected: "((number & Type<\"int64\">) | undefined)",
|
|
905
812
|
value: input.maximum
|
|
906
|
-
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (
|
|
813
|
+
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (__typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMinimum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
907
814
|
method: "typia.assert",
|
|
908
815
|
path: _path + ".exclusiveMinimum",
|
|
909
816
|
expected: "number & Type<\"int64\">",
|
|
@@ -913,7 +820,7 @@ function assertMcpController(props) {
|
|
|
913
820
|
path: _path + ".exclusiveMinimum",
|
|
914
821
|
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
|
915
822
|
value: input.exclusiveMinimum
|
|
916
|
-
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (
|
|
823
|
+
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (__typia_transform__isTypeInt64._isTypeInt64(input.exclusiveMaximum) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
917
824
|
method: "typia.assert",
|
|
918
825
|
path: _path + ".exclusiveMaximum",
|
|
919
826
|
expected: "number & Type<\"int64\">",
|
|
@@ -923,12 +830,7 @@ function assertMcpController(props) {
|
|
|
923
830
|
path: _path + ".exclusiveMaximum",
|
|
924
831
|
expected: "((number & Type<\"int64\">) | boolean | undefined)",
|
|
925
832
|
value: input.exclusiveMaximum
|
|
926
|
-
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (
|
|
927
|
-
method: "typia.assert",
|
|
928
|
-
path: _path + ".multipleOf",
|
|
929
|
-
expected: "number & Type<\"uint64\">",
|
|
930
|
-
value: input.multipleOf
|
|
931
|
-
}, _errorFactory)) && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
833
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
932
834
|
method: "typia.assert",
|
|
933
835
|
path: _path + ".multipleOf",
|
|
934
836
|
expected: "number & ExclusiveMinimum<0>",
|
|
@@ -936,7 +838,7 @@ function assertMcpController(props) {
|
|
|
936
838
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
937
839
|
method: "typia.assert",
|
|
938
840
|
path: _path + ".multipleOf",
|
|
939
|
-
expected: "((number &
|
|
841
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
940
842
|
value: input.multipleOf
|
|
941
843
|
}, _errorFactory)) && ("integer" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
942
844
|
method: "typia.assert",
|
|
@@ -968,22 +870,7 @@ function assertMcpController(props) {
|
|
|
968
870
|
path: _path + ".writeOnly",
|
|
969
871
|
expected: "(boolean | undefined)",
|
|
970
872
|
value: input.writeOnly
|
|
971
|
-
}, _errorFactory))
|
|
972
|
-
method: "typia.assert",
|
|
973
|
-
path: _path + ".examples",
|
|
974
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
975
|
-
value: input.examples
|
|
976
|
-
}, _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, {
|
|
977
|
-
method: "typia.assert",
|
|
978
|
-
path: _path + ".examples",
|
|
979
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
980
|
-
value: input.examples
|
|
981
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
982
|
-
method: "typia.assert",
|
|
983
|
-
path: _path + ".examples",
|
|
984
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
985
|
-
value: input.examples
|
|
986
|
-
}, _errorFactory))); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
873
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
987
874
|
method: "typia.assert",
|
|
988
875
|
path: _path + ".nullable",
|
|
989
876
|
expected: "(boolean | undefined)",
|
|
@@ -1068,22 +955,7 @@ function assertMcpController(props) {
|
|
|
1068
955
|
path: _path + ".writeOnly",
|
|
1069
956
|
expected: "(boolean | undefined)",
|
|
1070
957
|
value: input.writeOnly
|
|
1071
|
-
}, _errorFactory))
|
|
1072
|
-
method: "typia.assert",
|
|
1073
|
-
path: _path + ".examples",
|
|
1074
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1075
|
-
value: input.examples
|
|
1076
|
-
}, _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, {
|
|
1077
|
-
method: "typia.assert",
|
|
1078
|
-
path: _path + ".examples",
|
|
1079
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1080
|
-
value: input.examples
|
|
1081
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1082
|
-
method: "typia.assert",
|
|
1083
|
-
path: _path + ".examples",
|
|
1084
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1085
|
-
value: input.examples
|
|
1086
|
-
}, _errorFactory))); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
958
|
+
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1087
959
|
method: "typia.assert",
|
|
1088
960
|
path: _path + ".nullable",
|
|
1089
961
|
expected: "(boolean | undefined)",
|
|
@@ -1123,7 +995,7 @@ function assertMcpController(props) {
|
|
|
1123
995
|
path: _path + ".contentMediaType",
|
|
1124
996
|
expected: "(string | undefined)",
|
|
1125
997
|
value: input.contentMediaType
|
|
1126
|
-
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (
|
|
998
|
+
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (__typia_transform__isTypeUint64._isTypeUint64(input.minLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1127
999
|
method: "typia.assert",
|
|
1128
1000
|
path: _path + ".minLength",
|
|
1129
1001
|
expected: "number & Type<\"uint64\">",
|
|
@@ -1133,7 +1005,7 @@ function assertMcpController(props) {
|
|
|
1133
1005
|
path: _path + ".minLength",
|
|
1134
1006
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1135
1007
|
value: input.minLength
|
|
1136
|
-
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (
|
|
1008
|
+
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (__typia_transform__isTypeUint64._isTypeUint64(input.maxLength) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1137
1009
|
method: "typia.assert",
|
|
1138
1010
|
path: _path + ".maxLength",
|
|
1139
1011
|
expected: "number & Type<\"uint64\">",
|
|
@@ -1173,22 +1045,7 @@ function assertMcpController(props) {
|
|
|
1173
1045
|
path: _path + ".writeOnly",
|
|
1174
1046
|
expected: "(boolean | undefined)",
|
|
1175
1047
|
value: input.writeOnly
|
|
1176
|
-
}, _errorFactory))
|
|
1177
|
-
method: "typia.assert",
|
|
1178
|
-
path: _path + ".examples",
|
|
1179
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1180
|
-
value: input.examples
|
|
1181
|
-
}, _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, {
|
|
1182
|
-
method: "typia.assert",
|
|
1183
|
-
path: _path + ".examples",
|
|
1184
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1185
|
-
value: input.examples
|
|
1186
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1187
|
-
method: "typia.assert",
|
|
1188
|
-
path: _path + ".examples",
|
|
1189
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1190
|
-
value: input.examples
|
|
1191
|
-
}, _errorFactory))); const _ao11 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1048
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1192
1049
|
method: "typia.assert",
|
|
1193
1050
|
path: _path + ".nullable",
|
|
1194
1051
|
expected: "(boolean | undefined)",
|
|
@@ -1196,47 +1053,47 @@ function assertMcpController(props) {
|
|
|
1196
1053
|
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1197
1054
|
method: "typia.assert",
|
|
1198
1055
|
path: _path + ".items",
|
|
1199
|
-
expected: "(Array<
|
|
1056
|
+
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)",
|
|
1200
1057
|
value: input.items
|
|
1201
1058
|
}, _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, {
|
|
1202
1059
|
method: "typia.assert",
|
|
1203
1060
|
path: _path + ".items[" + _index35 + "]",
|
|
1204
|
-
expected: "(
|
|
1061
|
+
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)",
|
|
1205
1062
|
value: elem
|
|
1206
1063
|
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index35 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1207
1064
|
method: "typia.assert",
|
|
1208
1065
|
path: _path + ".items[" + _index35 + "]",
|
|
1209
|
-
expected: "(
|
|
1066
|
+
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)",
|
|
1210
1067
|
value: elem
|
|
1211
1068
|
}, _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, {
|
|
1212
1069
|
method: "typia.assert",
|
|
1213
1070
|
path: _path + ".items",
|
|
1214
|
-
expected: "(Array<
|
|
1071
|
+
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)",
|
|
1215
1072
|
value: input.items
|
|
1216
1073
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1217
1074
|
method: "typia.assert",
|
|
1218
1075
|
path: _path + ".items",
|
|
1219
|
-
expected: "(Array<
|
|
1076
|
+
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)",
|
|
1220
1077
|
value: input.items
|
|
1221
1078
|
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1222
1079
|
method: "typia.assert",
|
|
1223
1080
|
path: _path + ".prefixItems",
|
|
1224
|
-
expected: "(Array<
|
|
1081
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1225
1082
|
value: input.prefixItems
|
|
1226
1083
|
}, _errorFactory)) && input.prefixItems.every((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1227
1084
|
method: "typia.assert",
|
|
1228
1085
|
path: _path + ".prefixItems[" + _index36 + "]",
|
|
1229
|
-
expected: "(
|
|
1086
|
+
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)",
|
|
1230
1087
|
value: elem
|
|
1231
1088
|
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index36 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1232
1089
|
method: "typia.assert",
|
|
1233
1090
|
path: _path + ".prefixItems[" + _index36 + "]",
|
|
1234
|
-
expected: "(
|
|
1091
|
+
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)",
|
|
1235
1092
|
value: elem
|
|
1236
1093
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1237
1094
|
method: "typia.assert",
|
|
1238
1095
|
path: _path + ".prefixItems",
|
|
1239
|
-
expected: "(Array<
|
|
1096
|
+
expected: "(Array<OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1240
1097
|
value: input.prefixItems
|
|
1241
1098
|
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1242
1099
|
method: "typia.assert",
|
|
@@ -1246,19 +1103,19 @@ function assertMcpController(props) {
|
|
|
1246
1103
|
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1247
1104
|
method: "typia.assert",
|
|
1248
1105
|
path: _path + ".additionalItems",
|
|
1249
|
-
expected: "(
|
|
1106
|
+
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)",
|
|
1250
1107
|
value: input.additionalItems
|
|
1251
1108
|
}, _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, {
|
|
1252
1109
|
method: "typia.assert",
|
|
1253
1110
|
path: _path + ".additionalItems",
|
|
1254
|
-
expected: "(
|
|
1111
|
+
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)",
|
|
1255
1112
|
value: input.additionalItems
|
|
1256
1113
|
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1257
1114
|
method: "typia.assert",
|
|
1258
1115
|
path: _path + ".additionalItems",
|
|
1259
|
-
expected: "(
|
|
1116
|
+
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)",
|
|
1260
1117
|
value: input.additionalItems
|
|
1261
|
-
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (
|
|
1118
|
+
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (__typia_transform__isTypeUint64._isTypeUint64(input.minItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1262
1119
|
method: "typia.assert",
|
|
1263
1120
|
path: _path + ".minItems",
|
|
1264
1121
|
expected: "number & Type<\"uint64\">",
|
|
@@ -1268,7 +1125,7 @@ function assertMcpController(props) {
|
|
|
1268
1125
|
path: _path + ".minItems",
|
|
1269
1126
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
1270
1127
|
value: input.minItems
|
|
1271
|
-
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (
|
|
1128
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (__typia_transform__isTypeUint64._isTypeUint64(input.maxItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1272
1129
|
method: "typia.assert",
|
|
1273
1130
|
path: _path + ".maxItems",
|
|
1274
1131
|
expected: "number & Type<\"uint64\">",
|
|
@@ -1308,302 +1165,87 @@ function assertMcpController(props) {
|
|
|
1308
1165
|
path: _path + ".writeOnly",
|
|
1309
1166
|
expected: "(boolean | undefined)",
|
|
1310
1167
|
value: input.writeOnly
|
|
1311
|
-
}, _errorFactory))
|
|
1312
|
-
method: "typia.assert",
|
|
1313
|
-
path: _path + ".examples",
|
|
1314
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1315
|
-
value: input.examples
|
|
1316
|
-
}, _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, {
|
|
1317
|
-
method: "typia.assert",
|
|
1318
|
-
path: _path + ".examples",
|
|
1319
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1320
|
-
value: input.examples
|
|
1321
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1322
|
-
method: "typia.assert",
|
|
1323
|
-
path: _path + ".examples",
|
|
1324
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1325
|
-
value: input.examples
|
|
1326
|
-
}, _errorFactory))); const _ao12 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1168
|
+
}, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => "string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1327
1169
|
method: "typia.assert",
|
|
1328
1170
|
path: _path + ".$ref",
|
|
1329
1171
|
expected: "string",
|
|
1330
1172
|
value: input.$ref
|
|
1331
|
-
}, _errorFactory)
|
|
1332
|
-
method: "typia.assert",
|
|
1333
|
-
path: _path + ".examples",
|
|
1334
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1335
|
-
value: input.examples
|
|
1336
|
-
}, _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, {
|
|
1337
|
-
method: "typia.assert",
|
|
1338
|
-
path: _path + ".examples",
|
|
1339
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1340
|
-
value: input.examples
|
|
1341
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1342
|
-
method: "typia.assert",
|
|
1343
|
-
path: _path + ".examples",
|
|
1344
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1345
|
-
value: input.examples
|
|
1346
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1347
|
-
method: "typia.assert",
|
|
1348
|
-
path: _path + ".title",
|
|
1349
|
-
expected: "(string | undefined)",
|
|
1350
|
-
value: input.title
|
|
1351
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1352
|
-
method: "typia.assert",
|
|
1353
|
-
path: _path + ".description",
|
|
1354
|
-
expected: "(string | undefined)",
|
|
1355
|
-
value: input.description
|
|
1356
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1357
|
-
method: "typia.assert",
|
|
1358
|
-
path: _path + ".deprecated",
|
|
1359
|
-
expected: "(boolean | undefined)",
|
|
1360
|
-
value: input.deprecated
|
|
1361
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1362
|
-
method: "typia.assert",
|
|
1363
|
-
path: _path + ".readOnly",
|
|
1364
|
-
expected: "(boolean | undefined)",
|
|
1365
|
-
value: input.readOnly
|
|
1366
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1367
|
-
method: "typia.assert",
|
|
1368
|
-
path: _path + ".writeOnly",
|
|
1369
|
-
expected: "(boolean | undefined)",
|
|
1370
|
-
value: input.writeOnly
|
|
1371
|
-
}, _errorFactory)); const _ao13 = (input, _path, _exceptionable = true) => ("string" === typeof input.$recursiveRef || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1173
|
+
}, _errorFactory); const _ao12 = (input, _path, _exceptionable = true) => "string" === typeof input.$recursiveRef || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1372
1174
|
method: "typia.assert",
|
|
1373
1175
|
path: _path + ".$recursiveRef",
|
|
1374
1176
|
expected: "string",
|
|
1375
1177
|
value: input.$recursiveRef
|
|
1376
|
-
}, _errorFactory))
|
|
1377
|
-
method: "typia.assert",
|
|
1378
|
-
path: _path + ".examples",
|
|
1379
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1380
|
-
value: input.examples
|
|
1381
|
-
}, _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, {
|
|
1382
|
-
method: "typia.assert",
|
|
1383
|
-
path: _path + ".examples",
|
|
1384
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1385
|
-
value: input.examples
|
|
1386
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1387
|
-
method: "typia.assert",
|
|
1388
|
-
path: _path + ".examples",
|
|
1389
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1390
|
-
value: input.examples
|
|
1391
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1392
|
-
method: "typia.assert",
|
|
1393
|
-
path: _path + ".title",
|
|
1394
|
-
expected: "(string | undefined)",
|
|
1395
|
-
value: input.title
|
|
1396
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1397
|
-
method: "typia.assert",
|
|
1398
|
-
path: _path + ".description",
|
|
1399
|
-
expected: "(string | undefined)",
|
|
1400
|
-
value: input.description
|
|
1401
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1402
|
-
method: "typia.assert",
|
|
1403
|
-
path: _path + ".deprecated",
|
|
1404
|
-
expected: "(boolean | undefined)",
|
|
1405
|
-
value: input.deprecated
|
|
1406
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1407
|
-
method: "typia.assert",
|
|
1408
|
-
path: _path + ".readOnly",
|
|
1409
|
-
expected: "(boolean | undefined)",
|
|
1410
|
-
value: input.readOnly
|
|
1411
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1412
|
-
method: "typia.assert",
|
|
1413
|
-
path: _path + ".writeOnly",
|
|
1414
|
-
expected: "(boolean | undefined)",
|
|
1415
|
-
value: input.writeOnly
|
|
1416
|
-
}, _errorFactory)); const _ao14 = (input, _path, _exceptionable = true) => ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1178
|
+
}, _errorFactory); const _ao13 = (input, _path, _exceptionable = true) => (Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1417
1179
|
method: "typia.assert",
|
|
1418
1180
|
path: _path + ".allOf",
|
|
1419
|
-
expected: "Array<
|
|
1181
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1420
1182
|
value: input.allOf
|
|
1421
1183
|
}, _errorFactory)) && input.allOf.every((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1422
1184
|
method: "typia.assert",
|
|
1423
1185
|
path: _path + ".allOf[" + _index37 + "]",
|
|
1424
|
-
expected: "(
|
|
1186
|
+
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)",
|
|
1425
1187
|
value: elem
|
|
1426
1188
|
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index37 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1427
1189
|
method: "typia.assert",
|
|
1428
1190
|
path: _path + ".allOf[" + _index37 + "]",
|
|
1429
|
-
expected: "(
|
|
1191
|
+
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)",
|
|
1430
1192
|
value: elem
|
|
1431
1193
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1432
1194
|
method: "typia.assert",
|
|
1433
1195
|
path: _path + ".allOf",
|
|
1434
|
-
expected: "Array<
|
|
1196
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1435
1197
|
value: input.allOf
|
|
1436
|
-
}, _errorFactory))
|
|
1437
|
-
method: "typia.assert",
|
|
1438
|
-
path: _path + ".examples",
|
|
1439
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1440
|
-
value: input.examples
|
|
1441
|
-
}, _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, {
|
|
1442
|
-
method: "typia.assert",
|
|
1443
|
-
path: _path + ".examples",
|
|
1444
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1445
|
-
value: input.examples
|
|
1446
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1447
|
-
method: "typia.assert",
|
|
1448
|
-
path: _path + ".examples",
|
|
1449
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1450
|
-
value: input.examples
|
|
1451
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1452
|
-
method: "typia.assert",
|
|
1453
|
-
path: _path + ".title",
|
|
1454
|
-
expected: "(string | undefined)",
|
|
1455
|
-
value: input.title
|
|
1456
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1457
|
-
method: "typia.assert",
|
|
1458
|
-
path: _path + ".description",
|
|
1459
|
-
expected: "(string | undefined)",
|
|
1460
|
-
value: input.description
|
|
1461
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1462
|
-
method: "typia.assert",
|
|
1463
|
-
path: _path + ".deprecated",
|
|
1464
|
-
expected: "(boolean | undefined)",
|
|
1465
|
-
value: input.deprecated
|
|
1466
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1467
|
-
method: "typia.assert",
|
|
1468
|
-
path: _path + ".readOnly",
|
|
1469
|
-
expected: "(boolean | undefined)",
|
|
1470
|
-
value: input.readOnly
|
|
1471
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1472
|
-
method: "typia.assert",
|
|
1473
|
-
path: _path + ".writeOnly",
|
|
1474
|
-
expected: "(boolean | undefined)",
|
|
1475
|
-
value: input.writeOnly
|
|
1476
|
-
}, _errorFactory)); const _ao15 = (input, _path, _exceptionable = true) => ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1198
|
+
}, _errorFactory); const _ao14 = (input, _path, _exceptionable = true) => (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1477
1199
|
method: "typia.assert",
|
|
1478
1200
|
path: _path + ".anyOf",
|
|
1479
|
-
expected: "Array<
|
|
1201
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1480
1202
|
value: input.anyOf
|
|
1481
1203
|
}, _errorFactory)) && input.anyOf.every((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1482
1204
|
method: "typia.assert",
|
|
1483
1205
|
path: _path + ".anyOf[" + _index38 + "]",
|
|
1484
|
-
expected: "(
|
|
1206
|
+
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)",
|
|
1485
1207
|
value: elem
|
|
1486
1208
|
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index38 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1487
1209
|
method: "typia.assert",
|
|
1488
1210
|
path: _path + ".anyOf[" + _index38 + "]",
|
|
1489
|
-
expected: "(
|
|
1211
|
+
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)",
|
|
1490
1212
|
value: elem
|
|
1491
1213
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1492
1214
|
method: "typia.assert",
|
|
1493
1215
|
path: _path + ".anyOf",
|
|
1494
|
-
expected: "Array<
|
|
1216
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1495
1217
|
value: input.anyOf
|
|
1496
|
-
}, _errorFactory))
|
|
1497
|
-
method: "typia.assert",
|
|
1498
|
-
path: _path + ".examples",
|
|
1499
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1500
|
-
value: input.examples
|
|
1501
|
-
}, _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, {
|
|
1502
|
-
method: "typia.assert",
|
|
1503
|
-
path: _path + ".examples",
|
|
1504
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1505
|
-
value: input.examples
|
|
1506
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1507
|
-
method: "typia.assert",
|
|
1508
|
-
path: _path + ".examples",
|
|
1509
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1510
|
-
value: input.examples
|
|
1511
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1512
|
-
method: "typia.assert",
|
|
1513
|
-
path: _path + ".title",
|
|
1514
|
-
expected: "(string | undefined)",
|
|
1515
|
-
value: input.title
|
|
1516
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1517
|
-
method: "typia.assert",
|
|
1518
|
-
path: _path + ".description",
|
|
1519
|
-
expected: "(string | undefined)",
|
|
1520
|
-
value: input.description
|
|
1521
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1522
|
-
method: "typia.assert",
|
|
1523
|
-
path: _path + ".deprecated",
|
|
1524
|
-
expected: "(boolean | undefined)",
|
|
1525
|
-
value: input.deprecated
|
|
1526
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1527
|
-
method: "typia.assert",
|
|
1528
|
-
path: _path + ".readOnly",
|
|
1529
|
-
expected: "(boolean | undefined)",
|
|
1530
|
-
value: input.readOnly
|
|
1531
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1532
|
-
method: "typia.assert",
|
|
1533
|
-
path: _path + ".writeOnly",
|
|
1534
|
-
expected: "(boolean | undefined)",
|
|
1535
|
-
value: input.writeOnly
|
|
1536
|
-
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1218
|
+
}, _errorFactory); const _ao15 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1537
1219
|
method: "typia.assert",
|
|
1538
1220
|
path: _path + ".oneOf",
|
|
1539
|
-
expected: "Array<
|
|
1221
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1540
1222
|
value: input.oneOf
|
|
1541
1223
|
}, _errorFactory)) && input.oneOf.every((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1542
1224
|
method: "typia.assert",
|
|
1543
1225
|
path: _path + ".oneOf[" + _index39 + "]",
|
|
1544
|
-
expected: "(
|
|
1226
|
+
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)",
|
|
1545
1227
|
value: elem
|
|
1546
1228
|
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index39 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1547
1229
|
method: "typia.assert",
|
|
1548
1230
|
path: _path + ".oneOf[" + _index39 + "]",
|
|
1549
|
-
expected: "(
|
|
1231
|
+
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)",
|
|
1550
1232
|
value: elem
|
|
1551
1233
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1552
1234
|
method: "typia.assert",
|
|
1553
1235
|
path: _path + ".oneOf",
|
|
1554
|
-
expected: "Array<
|
|
1236
|
+
expected: "Array<OpenApiV3_2.IJsonSchema>",
|
|
1555
1237
|
value: input.oneOf
|
|
1556
1238
|
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1557
1239
|
method: "typia.assert",
|
|
1558
1240
|
path: _path + ".discriminator",
|
|
1559
|
-
expected: "(
|
|
1241
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
1560
1242
|
value: input.discriminator
|
|
1561
|
-
}, _errorFactory)) &&
|
|
1243
|
+
}, _errorFactory)) && _ao16(input.discriminator, _path + ".discriminator", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1562
1244
|
method: "typia.assert",
|
|
1563
1245
|
path: _path + ".discriminator",
|
|
1564
|
-
expected: "(
|
|
1246
|
+
expected: "(OpenApiV3_2.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
1565
1247
|
value: input.discriminator
|
|
1566
|
-
}, _errorFactory))
|
|
1567
|
-
method: "typia.assert",
|
|
1568
|
-
path: _path + ".examples",
|
|
1569
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1570
|
-
value: input.examples
|
|
1571
|
-
}, _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, {
|
|
1572
|
-
method: "typia.assert",
|
|
1573
|
-
path: _path + ".examples",
|
|
1574
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1575
|
-
value: input.examples
|
|
1576
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1577
|
-
method: "typia.assert",
|
|
1578
|
-
path: _path + ".examples",
|
|
1579
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1580
|
-
value: input.examples
|
|
1581
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1582
|
-
method: "typia.assert",
|
|
1583
|
-
path: _path + ".title",
|
|
1584
|
-
expected: "(string | undefined)",
|
|
1585
|
-
value: input.title
|
|
1586
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1587
|
-
method: "typia.assert",
|
|
1588
|
-
path: _path + ".description",
|
|
1589
|
-
expected: "(string | undefined)",
|
|
1590
|
-
value: input.description
|
|
1591
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1592
|
-
method: "typia.assert",
|
|
1593
|
-
path: _path + ".deprecated",
|
|
1594
|
-
expected: "(boolean | undefined)",
|
|
1595
|
-
value: input.deprecated
|
|
1596
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1597
|
-
method: "typia.assert",
|
|
1598
|
-
path: _path + ".readOnly",
|
|
1599
|
-
expected: "(boolean | undefined)",
|
|
1600
|
-
value: input.readOnly
|
|
1601
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1602
|
-
method: "typia.assert",
|
|
1603
|
-
path: _path + ".writeOnly",
|
|
1604
|
-
expected: "(boolean | undefined)",
|
|
1605
|
-
value: input.writeOnly
|
|
1606
|
-
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => ("string" === typeof input.propertyName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1248
|
+
}, _errorFactory)); const _ao16 = (input, _path, _exceptionable = true) => ("string" === typeof input.propertyName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1607
1249
|
method: "typia.assert",
|
|
1608
1250
|
path: _path + ".propertyName",
|
|
1609
1251
|
expected: "string",
|
|
@@ -1613,12 +1255,12 @@ function assertMcpController(props) {
|
|
|
1613
1255
|
path: _path + ".mapping",
|
|
1614
1256
|
expected: "(Record<string, string> | undefined)",
|
|
1615
1257
|
value: input.mapping
|
|
1616
|
-
}, _errorFactory)) &&
|
|
1258
|
+
}, _errorFactory)) && _ao17(input.mapping, _path + ".mapping", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1617
1259
|
method: "typia.assert",
|
|
1618
1260
|
path: _path + ".mapping",
|
|
1619
1261
|
expected: "(Record<string, string> | undefined)",
|
|
1620
1262
|
value: input.mapping
|
|
1621
|
-
}, _errorFactory)); const
|
|
1263
|
+
}, _errorFactory)); const _ao17 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
1622
1264
|
const value = input[key];
|
|
1623
1265
|
if (undefined === value)
|
|
1624
1266
|
return true;
|
|
@@ -1628,7 +1270,7 @@ function assertMcpController(props) {
|
|
|
1628
1270
|
expected: "string",
|
|
1629
1271
|
value: value
|
|
1630
1272
|
}, _errorFactory);
|
|
1631
|
-
}); const
|
|
1273
|
+
}); const _ao18 = (input, _path, _exceptionable = true) => (null === input["default"] || undefined === input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1632
1274
|
method: "typia.assert",
|
|
1633
1275
|
path: _path + "[\"default\"]",
|
|
1634
1276
|
expected: "(null | undefined)",
|
|
@@ -1663,22 +1305,7 @@ function assertMcpController(props) {
|
|
|
1663
1305
|
path: _path + ".writeOnly",
|
|
1664
1306
|
expected: "(boolean | undefined)",
|
|
1665
1307
|
value: input.writeOnly
|
|
1666
|
-
}, _errorFactory))
|
|
1667
|
-
method: "typia.assert",
|
|
1668
|
-
path: _path + ".examples",
|
|
1669
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1670
|
-
value: input.examples
|
|
1671
|
-
}, _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, {
|
|
1672
|
-
method: "typia.assert",
|
|
1673
|
-
path: _path + ".examples",
|
|
1674
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1675
|
-
value: input.examples
|
|
1676
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1677
|
-
method: "typia.assert",
|
|
1678
|
-
path: _path + ".examples",
|
|
1679
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1680
|
-
value: input.examples
|
|
1681
|
-
}, _errorFactory))); const _ao20 = (input, _path, _exceptionable = true) => (null !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1308
|
+
}, _errorFactory)); const _ao19 = (input, _path, _exceptionable = true) => (null !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1682
1309
|
method: "typia.assert",
|
|
1683
1310
|
path: _path + ".type",
|
|
1684
1311
|
expected: "undefined",
|
|
@@ -1713,75 +1340,20 @@ function assertMcpController(props) {
|
|
|
1713
1340
|
path: _path + ".writeOnly",
|
|
1714
1341
|
expected: "(boolean | undefined)",
|
|
1715
1342
|
value: input.writeOnly
|
|
1716
|
-
}, _errorFactory))
|
|
1717
|
-
method: "typia.assert",
|
|
1718
|
-
path: _path + ".examples",
|
|
1719
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1720
|
-
value: input.examples
|
|
1721
|
-
}, _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, {
|
|
1722
|
-
method: "typia.assert",
|
|
1723
|
-
path: _path + ".examples",
|
|
1724
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1725
|
-
value: input.examples
|
|
1726
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1727
|
-
method: "typia.assert",
|
|
1728
|
-
path: _path + ".examples",
|
|
1729
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1730
|
-
value: input.examples
|
|
1731
|
-
}, _errorFactory))); const _ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1343
|
+
}, _errorFactory)); const _ao20 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1732
1344
|
method: "typia.assert",
|
|
1733
1345
|
path: _path + ".$ref",
|
|
1734
1346
|
expected: "string",
|
|
1735
1347
|
value: input.$ref
|
|
1736
|
-
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1737
|
-
method: "typia.assert",
|
|
1738
|
-
path: _path + ".examples",
|
|
1739
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1740
|
-
value: input.examples
|
|
1741
|
-
}, _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, {
|
|
1742
|
-
method: "typia.assert",
|
|
1743
|
-
path: _path + ".examples",
|
|
1744
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1745
|
-
value: input.examples
|
|
1746
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1747
|
-
method: "typia.assert",
|
|
1748
|
-
path: _path + ".examples",
|
|
1749
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
1750
|
-
value: input.examples
|
|
1751
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1752
|
-
method: "typia.assert",
|
|
1753
|
-
path: _path + ".title",
|
|
1754
|
-
expected: "(string | undefined)",
|
|
1755
|
-
value: input.title
|
|
1756
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1757
|
-
method: "typia.assert",
|
|
1758
|
-
path: _path + ".description",
|
|
1759
|
-
expected: "(string | undefined)",
|
|
1760
|
-
value: input.description
|
|
1761
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1762
|
-
method: "typia.assert",
|
|
1763
|
-
path: _path + ".deprecated",
|
|
1764
|
-
expected: "(boolean | undefined)",
|
|
1765
|
-
value: input.deprecated
|
|
1766
|
-
}, _errorFactory)) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1767
|
-
method: "typia.assert",
|
|
1768
|
-
path: _path + ".readOnly",
|
|
1769
|
-
expected: "(boolean | undefined)",
|
|
1770
|
-
value: input.readOnly
|
|
1771
|
-
}, _errorFactory)) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1772
|
-
method: "typia.assert",
|
|
1773
|
-
path: _path + ".writeOnly",
|
|
1774
|
-
expected: "(boolean | undefined)",
|
|
1775
|
-
value: input.writeOnly
|
|
1776
1348
|
}, _errorFactory)) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1777
1349
|
method: "typia.assert",
|
|
1778
1350
|
path: _path + ".$defs",
|
|
1779
|
-
expected: "(Record<string,
|
|
1351
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1780
1352
|
value: input.$defs
|
|
1781
1353
|
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1782
1354
|
method: "typia.assert",
|
|
1783
1355
|
path: _path + ".$defs",
|
|
1784
|
-
expected: "(Record<string,
|
|
1356
|
+
expected: "(Record<string, OpenApiV3_2.IJsonSchema> | undefined)",
|
|
1785
1357
|
value: input.$defs
|
|
1786
1358
|
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
1787
1359
|
if ("object" === input.type)
|
|
@@ -1789,39 +1361,39 @@ function assertMcpController(props) {
|
|
|
1789
1361
|
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))
|
|
1790
1362
|
return _ao4(input, _path, true && _exceptionable);
|
|
1791
1363
|
else if ("boolean" === input.type)
|
|
1792
|
-
return
|
|
1364
|
+
return _ao6(input, _path, true && _exceptionable);
|
|
1793
1365
|
else if ("number" === input.type)
|
|
1794
|
-
return _ao9(input, _path, true && _exceptionable);
|
|
1795
|
-
else if ("integer" === input.type)
|
|
1796
1366
|
return _ao8(input, _path, true && _exceptionable);
|
|
1367
|
+
else if ("integer" === input.type)
|
|
1368
|
+
return _ao7(input, _path, true && _exceptionable);
|
|
1797
1369
|
else if ("string" === input.type)
|
|
1798
|
-
return
|
|
1370
|
+
return _ao9(input, _path, true && _exceptionable);
|
|
1799
1371
|
else if ("array" === input.type)
|
|
1800
|
-
return
|
|
1372
|
+
return _ao10(input, _path, true && _exceptionable);
|
|
1801
1373
|
else if (undefined !== input.$recursiveRef)
|
|
1802
|
-
return
|
|
1374
|
+
return _ao12(input, _path, true && _exceptionable);
|
|
1803
1375
|
else if ("null" === input.type)
|
|
1804
|
-
return
|
|
1376
|
+
return _ao18(input, _path, true && _exceptionable);
|
|
1805
1377
|
else
|
|
1806
1378
|
return (() => {
|
|
1807
1379
|
if (undefined !== input["const"])
|
|
1808
|
-
return
|
|
1380
|
+
return _ao5(input, _path, true && _exceptionable);
|
|
1809
1381
|
else if (undefined !== input.$ref)
|
|
1810
|
-
return
|
|
1382
|
+
return _ao11(input, _path, true && _exceptionable);
|
|
1811
1383
|
else if (undefined !== input.allOf)
|
|
1812
|
-
return
|
|
1384
|
+
return _ao13(input, _path, true && _exceptionable);
|
|
1813
1385
|
else if (undefined !== input.anyOf)
|
|
1814
|
-
return
|
|
1386
|
+
return _ao14(input, _path, true && _exceptionable);
|
|
1815
1387
|
else if (undefined !== input.oneOf)
|
|
1816
|
-
return
|
|
1388
|
+
return _ao15(input, _path, true && _exceptionable);
|
|
1817
1389
|
else
|
|
1818
|
-
return
|
|
1390
|
+
return _ao19(input, _path, true && _exceptionable);
|
|
1819
1391
|
})();
|
|
1820
1392
|
})(); const _au1 = (input, _path, _exceptionable = true) => (() => {
|
|
1821
1393
|
if (undefined !== input.type)
|
|
1822
1394
|
return _ao1(input, _path, true && _exceptionable);
|
|
1823
1395
|
else if (undefined !== input.$ref)
|
|
1824
|
-
return
|
|
1396
|
+
return _ao20(input, _path, true && _exceptionable);
|
|
1825
1397
|
else
|
|
1826
1398
|
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1827
1399
|
method: "typia.assert",
|
|
@@ -1856,6 +1428,7 @@ function assertMcpController(props) {
|
|
|
1856
1428
|
}
|
|
1857
1429
|
return input;
|
|
1858
1430
|
}; })()(tools),
|
|
1431
|
+
config: props.config,
|
|
1859
1432
|
});
|
|
1860
1433
|
return {
|
|
1861
1434
|
protocol: "mcp",
|