@agentica/core 0.19.1 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +115 -413
- package/lib/MicroAgentica.js +4 -1
- package/lib/MicroAgentica.js.map +1 -1
- package/lib/context/AgenticaOperation.d.ts +3 -4
- package/lib/context/internal/AgenticaOperationComposer.js +1 -1
- package/lib/context/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/context/internal/AgenticaOperationComposer.spec.js +39 -10
- package/lib/context/internal/AgenticaOperationComposer.spec.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.js +168 -168
- package/lib/functional/assertMcpController.d.ts +24 -0
- package/lib/functional/assertMcpController.js +1699 -0
- package/lib/functional/assertMcpController.js.map +1 -0
- package/lib/functional/validateHttpLlmApplication.js +148 -148
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1999 -406
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/call.js +1 -1
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/execute.js +13 -7
- package/lib/orchestrate/execute.js.map +1 -1
- package/lib/orchestrate/initialize.js +60 -60
- package/lib/structures/IAgenticaController.d.ts +8 -4
- package/lib/structures/IAgenticaExecutor.d.ts +10 -6
- package/lib/structures/IMicroAgenticaExecutor.d.ts +4 -1
- package/lib/structures/mcp/index.d.ts +0 -2
- package/lib/structures/mcp/index.js +0 -2
- package/lib/structures/mcp/index.js.map +1 -1
- package/package.json +3 -3
- package/src/MicroAgentica.ts +3 -1
- package/src/context/AgenticaOperation.ts +5 -6
- package/src/context/internal/AgenticaOperationComposer.spec.ts +45 -14
- package/src/context/internal/AgenticaOperationComposer.ts +9 -2
- package/src/functional/assertMcpController.ts +48 -0
- package/src/index.ts +1 -1
- package/src/orchestrate/call.ts +14 -4
- package/src/orchestrate/execute.ts +13 -7
- package/src/structures/IAgenticaController.ts +9 -4
- package/src/structures/IAgenticaExecutor.ts +16 -8
- package/src/structures/IMicroAgenticaExecutor.ts +10 -4
- package/src/structures/mcp/index.ts +0 -2
- package/lib/functional/assertMcpLlmApplication.d.ts +0 -18
- package/lib/functional/assertMcpLlmApplication.js +0 -74
- package/lib/functional/assertMcpLlmApplication.js.map +0 -1
- package/lib/structures/mcp/IMcpLlmApplication.d.ts +0 -9
- package/lib/structures/mcp/IMcpLlmApplication.js +0 -3
- package/lib/structures/mcp/IMcpLlmApplication.js.map +0 -1
- package/lib/structures/mcp/IMcpLlmFunction.d.ts +0 -17
- package/lib/structures/mcp/IMcpLlmFunction.js +0 -3
- package/lib/structures/mcp/IMcpLlmFunction.js.map +0 -1
- package/src/functional/assertMcpLlmApplication.ts +0 -32
- package/src/structures/mcp/IMcpLlmApplication.ts +0 -10
- package/src/structures/mcp/IMcpLlmFunction.ts +0 -19
package/lib/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import "typia";
|
|
|
2
2
|
|
|
3
3
|
import { v4 } from "uuid";
|
|
4
4
|
|
|
5
|
-
import { HttpLlm, ChatGptTypeChecker, LlmTypeCheckerV3_1, OpenApi } from "@samchon/openapi";
|
|
5
|
+
import { HttpLlm, ChatGptTypeChecker, LlmTypeCheckerV3_1, OpenApi, McpLlm } from "@samchon/openapi";
|
|
6
6
|
|
|
7
7
|
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport.js";
|
|
8
8
|
|
|
@@ -1514,7 +1514,7 @@ async function executeClassOperation(operation, operationArguments) {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
|
|
1516
1516
|
async function executeMcpOperation(operation, operationArguments) {
|
|
1517
|
-
return operation.controller.
|
|
1517
|
+
return operation.controller.client.callTool({
|
|
1518
1518
|
method: operation.function.name,
|
|
1519
1519
|
name: operation.function.name,
|
|
1520
1520
|
arguments: operationArguments
|
|
@@ -2134,8 +2134,6 @@ const FUNCTION = {
|
|
|
2134
2134
|
title: "Type schema info of the ChatGPT",
|
|
2135
2135
|
description: 'Type schema info of the ChatGPT.\n\n`IChatGptSchema` is a type schema info of the ChatGPT function calling.\n\n`IChatGptSchema` basically follows the JSON schema definition of the OpenAPI v3.1\nspeciifcation; {@link OpenApiV3_1.IJsonSchema}.\n\nHowever, the `IChatGptSchema` does not follow the entire specification of\nthe OpenAPI v3.1. It has own specific restrictions and definitions. Here is the\nlist of how `IChatGptSchema` is different with the OpenAPI v3.1 JSON schema.\n\n- Decompose mixed type: {@link OpenApiV3_1.IJsonSchema.IMixed}\n- Resolve nullable property: {@link OpenApiV3_1.IJsonSchema.__ISignificant.nullable}\n- Tuple type is banned: {@link OpenApiV3_1.IJsonSchema.ITuple.prefixItems}\n- Constant type is banned: {@link OpenApiV3_1.IJsonSchema.IConstant}\n- Merge {@link OpenApiV3_1.IJsonSchema.IOneOf} to {@link IChatGptSchema.IAnOf}\n- Merge {@link OpenApiV3_1.IJsonSchema.IAllOf} to {@link IChatGptSchema.IObject}\n- Merge {@link OpenApiV3_1.IJsonSchema.IRecursiveReference} to {@link IChatGptSchema.IReference}\n- When {@link IChatGptSchema.IConfig.strict} mode\n - Every object properties must be required\n - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n\nIf compare with the {@link OpenApi.IJsonSchema}, the emended JSON schema specification,\n\n- {@link IChatGptSchema.IAnyOf} instead of the {@link OpenApi.IJsonSchema.IOneOf}\n- {@link IChatGptSchema.IParameters.$defs} instead of the {@link OpenApi.IJsonSchema.IComponents.schemas}\n- {@link IChatGptSchema.IString.enum} instead of the {@link OpenApi.IJsonSchema.IConstant}\n- {@link IChatGptSchema.additionalProperties} is fixed to `false`\n- No tuple type {@link OpenApi.IJsonSchema.ITuple} support\n- When {@link IChatGptSchema.IConfig.strict} mode\n - Every object properties must be required\n - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n\nFor reference, if you\'ve composed the `IChatGptSchema` type with the\n{@link IChatGptSchema.IConfig.reference} `false` option (default is `false`),\nonly the recursived named types would be archived into the\n{@link IChatGptSchema.IParameters.$defs}, and the others would be ecaped from the\n{@link IChatGptSchema.IReference} type.\n\nAlso, OpenAI has banned below constraint properties. Instead, `IChatGptSchema`\nfills the {@link IChatGptSchema.__IAttribute.description} property with\nthe comment text like `"@format uuid"`.\n\n- {@link OpenApi.IJsonSchema.INumber.minimum}\n- {@link OpenApi.IJsonSchema.INumber.maximum}\n- {@link OpenApi.IJsonSchema.INumber.multipleOf}\n- {@link OpenApi.IJsonSchema.IString.minLength}\n- {@link OpenApi.IJsonSchema.IString.maxLength}\n- {@link OpenApi.IJsonSchema.IString.format}\n- {@link OpenApi.IJsonSchema.IString.pattern}\n- {@link OpenApi.IJsonSchema.IString.contentMediaType}\n- {@link OpenApi.IJsonSchema.IString.default}\n- {@link OpenApi.IJsonSchema.IArray.minItems}\n- {@link OpenApi.IJsonSchema.IArray.maxItems}\n- {@link OpenApi.IJsonSchema.IArray.unique}\n\nAdditionally, OpenAI cannot define the `description` property to the\n{@link IChatGptSchema.IReference} type, and even does not understand\nthe capsulization to the {@link IChatGptSchema.IAnyOf} type.\nTherefore, the `description` is written to the parent object type,\nnot the reference type.\n\n```json\n{\n "type": "object",\n "description": "### Description of {@link something} property.\\n\\n> Hello?",\n "properties": {\n "something": {\n "$ref": "#/$defs/SomeObject"\n }\n }\n}\n```',
|
|
2136
2136
|
anyOf: [ {
|
|
2137
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2138
|
-
}, {
|
|
2139
2137
|
type: "object",
|
|
2140
2138
|
properties: {
|
|
2141
2139
|
enum: {
|
|
@@ -2321,6 +2319,8 @@ const FUNCTION = {
|
|
|
2321
2319
|
description: 'Description of the current {@link IChatGptSchema.IString} type:\n\n> String type info.\n\n------------------------------\n\nDescription of the parent {@link IChatGptSchema} type:\n\n> Type schema info of the ChatGPT.\n> \n> `IChatGptSchema` is a type schema info of the ChatGPT function calling.\n> \n> `IChatGptSchema` basically follows the JSON schema definition of the OpenAPI v3.1\n> speciifcation; {@link OpenApiV3_1.IJsonSchema}.\n> \n> However, the `IChatGptSchema` does not follow the entire specification of\n> the OpenAPI v3.1. It has own specific restrictions and definitions. Here is the\n> list of how `IChatGptSchema` is different with the OpenAPI v3.1 JSON schema.\n> \n> - Decompose mixed type: {@link OpenApiV3_1.IJsonSchema.IMixed}\n> - Resolve nullable property: {@link OpenApiV3_1.IJsonSchema.__ISignificant.nullable}\n> - Tuple type is banned: {@link OpenApiV3_1.IJsonSchema.ITuple.prefixItems}\n> - Constant type is banned: {@link OpenApiV3_1.IJsonSchema.IConstant}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IOneOf} to {@link IChatGptSchema.IAnOf}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IAllOf} to {@link IChatGptSchema.IObject}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IRecursiveReference} to {@link IChatGptSchema.IReference}\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> If compare with the {@link OpenApi.IJsonSchema}, the emended JSON schema specification,\n> \n> - {@link IChatGptSchema.IAnyOf} instead of the {@link OpenApi.IJsonSchema.IOneOf}\n> - {@link IChatGptSchema.IParameters.$defs} instead of the {@link OpenApi.IJsonSchema.IComponents.schemas}\n> - {@link IChatGptSchema.IString.enum} instead of the {@link OpenApi.IJsonSchema.IConstant}\n> - {@link IChatGptSchema.additionalProperties} is fixed to `false`\n> - No tuple type {@link OpenApi.IJsonSchema.ITuple} support\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> For reference, if you\'ve composed the `IChatGptSchema` type with the\n> {@link IChatGptSchema.IConfig.reference} `false` option (default is `false`),\n> only the recursived named types would be archived into the\n> {@link IChatGptSchema.IParameters.$defs}, and the others would be ecaped from the\n> {@link IChatGptSchema.IReference} type.\n> \n> Also, OpenAI has banned below constraint properties. Instead, `IChatGptSchema`\n> fills the {@link IChatGptSchema.__IAttribute.description} property with\n> the comment text like `"@format uuid"`.\n> \n> - {@link OpenApi.IJsonSchema.INumber.minimum}\n> - {@link OpenApi.IJsonSchema.INumber.maximum}\n> - {@link OpenApi.IJsonSchema.INumber.multipleOf}\n> - {@link OpenApi.IJsonSchema.IString.minLength}\n> - {@link OpenApi.IJsonSchema.IString.maxLength}\n> - {@link OpenApi.IJsonSchema.IString.format}\n> - {@link OpenApi.IJsonSchema.IString.pattern}\n> - {@link OpenApi.IJsonSchema.IString.contentMediaType}\n> - {@link OpenApi.IJsonSchema.IString.default}\n> - {@link OpenApi.IJsonSchema.IArray.minItems}\n> - {@link OpenApi.IJsonSchema.IArray.maxItems}\n> - {@link OpenApi.IJsonSchema.IArray.unique}\n> \n> Additionally, OpenAI cannot define the `description` property to the\n> {@link IChatGptSchema.IReference} type, and even does not understand\n> the capsulization to the {@link IChatGptSchema.IAnyOf} type.\n> Therefore, the `description` is written to the parent object type,\n> not the reference type.\n> \n> ```json\n> {\n> "type": "object",\n> "description": "### Description of {@link something} property.\\n\\n> Hello?",\n> "properties": {\n> "something": {\n> "$ref": "#/$defs/SomeObject"\n> }\n> }\n> }\n> ```'
|
|
2322
2320
|
}, {
|
|
2323
2321
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
2322
|
+
}, {
|
|
2323
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2324
2324
|
}, {
|
|
2325
2325
|
type: "object",
|
|
2326
2326
|
properties: {
|
|
@@ -2432,6 +2432,49 @@ const FUNCTION = {
|
|
|
2432
2432
|
description: 'Description of the current {@link IChatGptSchema.IUnknown} type:\n\n> Unknown, the `any` type.\n\n------------------------------\n\nDescription of the parent {@link IChatGptSchema} type:\n\n> Type schema info of the ChatGPT.\n> \n> `IChatGptSchema` is a type schema info of the ChatGPT function calling.\n> \n> `IChatGptSchema` basically follows the JSON schema definition of the OpenAPI v3.1\n> speciifcation; {@link OpenApiV3_1.IJsonSchema}.\n> \n> However, the `IChatGptSchema` does not follow the entire specification of\n> the OpenAPI v3.1. It has own specific restrictions and definitions. Here is the\n> list of how `IChatGptSchema` is different with the OpenAPI v3.1 JSON schema.\n> \n> - Decompose mixed type: {@link OpenApiV3_1.IJsonSchema.IMixed}\n> - Resolve nullable property: {@link OpenApiV3_1.IJsonSchema.__ISignificant.nullable}\n> - Tuple type is banned: {@link OpenApiV3_1.IJsonSchema.ITuple.prefixItems}\n> - Constant type is banned: {@link OpenApiV3_1.IJsonSchema.IConstant}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IOneOf} to {@link IChatGptSchema.IAnOf}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IAllOf} to {@link IChatGptSchema.IObject}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IRecursiveReference} to {@link IChatGptSchema.IReference}\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> If compare with the {@link OpenApi.IJsonSchema}, the emended JSON schema specification,\n> \n> - {@link IChatGptSchema.IAnyOf} instead of the {@link OpenApi.IJsonSchema.IOneOf}\n> - {@link IChatGptSchema.IParameters.$defs} instead of the {@link OpenApi.IJsonSchema.IComponents.schemas}\n> - {@link IChatGptSchema.IString.enum} instead of the {@link OpenApi.IJsonSchema.IConstant}\n> - {@link IChatGptSchema.additionalProperties} is fixed to `false`\n> - No tuple type {@link OpenApi.IJsonSchema.ITuple} support\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> For reference, if you\'ve composed the `IChatGptSchema` type with the\n> {@link IChatGptSchema.IConfig.reference} `false` option (default is `false`),\n> only the recursived named types would be archived into the\n> {@link IChatGptSchema.IParameters.$defs}, and the others would be ecaped from the\n> {@link IChatGptSchema.IReference} type.\n> \n> Also, OpenAI has banned below constraint properties. Instead, `IChatGptSchema`\n> fills the {@link IChatGptSchema.__IAttribute.description} property with\n> the comment text like `"@format uuid"`.\n> \n> - {@link OpenApi.IJsonSchema.INumber.minimum}\n> - {@link OpenApi.IJsonSchema.INumber.maximum}\n> - {@link OpenApi.IJsonSchema.INumber.multipleOf}\n> - {@link OpenApi.IJsonSchema.IString.minLength}\n> - {@link OpenApi.IJsonSchema.IString.maxLength}\n> - {@link OpenApi.IJsonSchema.IString.format}\n> - {@link OpenApi.IJsonSchema.IString.pattern}\n> - {@link OpenApi.IJsonSchema.IString.contentMediaType}\n> - {@link OpenApi.IJsonSchema.IString.default}\n> - {@link OpenApi.IJsonSchema.IArray.minItems}\n> - {@link OpenApi.IJsonSchema.IArray.maxItems}\n> - {@link OpenApi.IJsonSchema.IArray.unique}\n> \n> Additionally, OpenAI cannot define the `description` property to the\n> {@link IChatGptSchema.IReference} type, and even does not understand\n> the capsulization to the {@link IChatGptSchema.IAnyOf} type.\n> Therefore, the `description` is written to the parent object type,\n> not the reference type.\n> \n> ```json\n> {\n> "type": "object",\n> "description": "### Description of {@link something} property.\\n\\n> Hello?",\n> "properties": {\n> "something": {\n> "$ref": "#/$defs/SomeObject"\n> }\n> }\n> }\n> ```'
|
|
2433
2433
|
} ]
|
|
2434
2434
|
},
|
|
2435
|
+
"IChatGptSchema.IArray": {
|
|
2436
|
+
description: "Array type info.\n\n### Description of {@link items} property:\n\n> Items type info.\n> \n> The `items` means the type of the array elements. In other words, it is\n> the type schema info of the `T` in the TypeScript array type `Array<T>`.",
|
|
2437
|
+
type: "object",
|
|
2438
|
+
properties: {
|
|
2439
|
+
items: {
|
|
2440
|
+
title: "Items type info",
|
|
2441
|
+
$ref: "#/$defs/IChatGptSchema"
|
|
2442
|
+
},
|
|
2443
|
+
type: {
|
|
2444
|
+
title: "Discriminator value of the type",
|
|
2445
|
+
description: "Discriminator value of the type.",
|
|
2446
|
+
type: "string",
|
|
2447
|
+
enum: [ "array" ]
|
|
2448
|
+
},
|
|
2449
|
+
title: {
|
|
2450
|
+
title: "Title of the schema",
|
|
2451
|
+
description: "Title of the schema.",
|
|
2452
|
+
type: "string"
|
|
2453
|
+
},
|
|
2454
|
+
description: {
|
|
2455
|
+
title: "Detailed description of the schema",
|
|
2456
|
+
description: "Detailed description of the schema.",
|
|
2457
|
+
type: "string"
|
|
2458
|
+
},
|
|
2459
|
+
deprecated: {
|
|
2460
|
+
title: "Whether the type is deprecated or not",
|
|
2461
|
+
description: "Whether the type is deprecated or not.",
|
|
2462
|
+
type: "boolean"
|
|
2463
|
+
},
|
|
2464
|
+
example: {
|
|
2465
|
+
title: "Example value",
|
|
2466
|
+
description: "Example value."
|
|
2467
|
+
},
|
|
2468
|
+
examples: {
|
|
2469
|
+
description: "List of example values as key-value pairs.\n\n------------------------------\n\nDescription of the current {@link Recordstringany} type:\n\n> Construct a type with a set of properties K of type T",
|
|
2470
|
+
type: "object",
|
|
2471
|
+
properties: {},
|
|
2472
|
+
required: [],
|
|
2473
|
+
additionalProperties: {}
|
|
2474
|
+
}
|
|
2475
|
+
},
|
|
2476
|
+
required: [ "items", "type" ]
|
|
2477
|
+
},
|
|
2435
2478
|
"IChatGptSchema.IObject": {
|
|
2436
2479
|
description: "Object type info.\n\n### Description of {@link properties} property:\n\n> Properties of the object.\n> \n> The `properties` means a list of key-value pairs of the object's\n> regular properties. The key is the name of the regular property,\n> and the value is the type schema info.",
|
|
2437
2480
|
type: "object",
|
|
@@ -2445,8 +2488,6 @@ const FUNCTION = {
|
|
|
2445
2488
|
description: "Additional properties' info.\n\nThe `additionalProperties` means the type schema info of the additional\nproperties that are not listed in the {@link properties}.\n\nBy the way, if you've configured {@link IChatGptSchema.IConfig.strict} as `true`,\nChatGPT function calling does not support such dynamic key typed properties, so\nthe `additionalProperties` becomes always `false`.",
|
|
2446
2489
|
anyOf: [ {
|
|
2447
2490
|
type: "boolean"
|
|
2448
|
-
}, {
|
|
2449
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2450
2491
|
}, {
|
|
2451
2492
|
type: "object",
|
|
2452
2493
|
properties: {
|
|
@@ -2633,6 +2674,8 @@ const FUNCTION = {
|
|
|
2633
2674
|
description: 'Description of the current {@link IChatGptSchema.IBoolean} type:\n\n> Boolean type info.\n\n------------------------------\n\nDescription of the parent {@link IChatGptSchema} type:\n\n> Type schema info of the ChatGPT.\n> \n> `IChatGptSchema` is a type schema info of the ChatGPT function calling.\n> \n> `IChatGptSchema` basically follows the JSON schema definition of the OpenAPI v3.1\n> speciifcation; {@link OpenApiV3_1.IJsonSchema}.\n> \n> However, the `IChatGptSchema` does not follow the entire specification of\n> the OpenAPI v3.1. It has own specific restrictions and definitions. Here is the\n> list of how `IChatGptSchema` is different with the OpenAPI v3.1 JSON schema.\n> \n> - Decompose mixed type: {@link OpenApiV3_1.IJsonSchema.IMixed}\n> - Resolve nullable property: {@link OpenApiV3_1.IJsonSchema.__ISignificant.nullable}\n> - Tuple type is banned: {@link OpenApiV3_1.IJsonSchema.ITuple.prefixItems}\n> - Constant type is banned: {@link OpenApiV3_1.IJsonSchema.IConstant}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IOneOf} to {@link IChatGptSchema.IAnOf}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IAllOf} to {@link IChatGptSchema.IObject}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IRecursiveReference} to {@link IChatGptSchema.IReference}\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> If compare with the {@link OpenApi.IJsonSchema}, the emended JSON schema specification,\n> \n> - {@link IChatGptSchema.IAnyOf} instead of the {@link OpenApi.IJsonSchema.IOneOf}\n> - {@link IChatGptSchema.IParameters.$defs} instead of the {@link OpenApi.IJsonSchema.IComponents.schemas}\n> - {@link IChatGptSchema.IString.enum} instead of the {@link OpenApi.IJsonSchema.IConstant}\n> - {@link IChatGptSchema.additionalProperties} is fixed to `false`\n> - No tuple type {@link OpenApi.IJsonSchema.ITuple} support\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> For reference, if you\'ve composed the `IChatGptSchema` type with the\n> {@link IChatGptSchema.IConfig.reference} `false` option (default is `false`),\n> only the recursived named types would be archived into the\n> {@link IChatGptSchema.IParameters.$defs}, and the others would be ecaped from the\n> {@link IChatGptSchema.IReference} type.\n> \n> Also, OpenAI has banned below constraint properties. Instead, `IChatGptSchema`\n> fills the {@link IChatGptSchema.__IAttribute.description} property with\n> the comment text like `"@format uuid"`.\n> \n> - {@link OpenApi.IJsonSchema.INumber.minimum}\n> - {@link OpenApi.IJsonSchema.INumber.maximum}\n> - {@link OpenApi.IJsonSchema.INumber.multipleOf}\n> - {@link OpenApi.IJsonSchema.IString.minLength}\n> - {@link OpenApi.IJsonSchema.IString.maxLength}\n> - {@link OpenApi.IJsonSchema.IString.format}\n> - {@link OpenApi.IJsonSchema.IString.pattern}\n> - {@link OpenApi.IJsonSchema.IString.contentMediaType}\n> - {@link OpenApi.IJsonSchema.IString.default}\n> - {@link OpenApi.IJsonSchema.IArray.minItems}\n> - {@link OpenApi.IJsonSchema.IArray.maxItems}\n> - {@link OpenApi.IJsonSchema.IArray.unique}\n> \n> Additionally, OpenAI cannot define the `description` property to the\n> {@link IChatGptSchema.IReference} type, and even does not understand\n> the capsulization to the {@link IChatGptSchema.IAnyOf} type.\n> Therefore, the `description` is written to the parent object type,\n> not the reference type.\n> \n> ```json\n> {\n> "type": "object",\n> "description": "### Description of {@link something} property.\\n\\n> Hello?",\n> "properties": {\n> "something": {\n> "$ref": "#/$defs/SomeObject"\n> }\n> }\n> }\n> ```'
|
|
2634
2675
|
}, {
|
|
2635
2676
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
2677
|
+
}, {
|
|
2678
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2636
2679
|
}, {
|
|
2637
2680
|
type: "object",
|
|
2638
2681
|
properties: {
|
|
@@ -2787,49 +2830,6 @@ const FUNCTION = {
|
|
|
2787
2830
|
},
|
|
2788
2831
|
required: [ "properties", "required", "type" ]
|
|
2789
2832
|
},
|
|
2790
|
-
"IChatGptSchema.IArray": {
|
|
2791
|
-
description: "Array type info.\n\n### Description of {@link items} property:\n\n> Items type info.\n> \n> The `items` means the type of the array elements. In other words, it is\n> the type schema info of the `T` in the TypeScript array type `Array<T>`.",
|
|
2792
|
-
type: "object",
|
|
2793
|
-
properties: {
|
|
2794
|
-
items: {
|
|
2795
|
-
title: "Items type info",
|
|
2796
|
-
$ref: "#/$defs/IChatGptSchema"
|
|
2797
|
-
},
|
|
2798
|
-
type: {
|
|
2799
|
-
title: "Discriminator value of the type",
|
|
2800
|
-
description: "Discriminator value of the type.",
|
|
2801
|
-
type: "string",
|
|
2802
|
-
enum: [ "array" ]
|
|
2803
|
-
},
|
|
2804
|
-
title: {
|
|
2805
|
-
title: "Title of the schema",
|
|
2806
|
-
description: "Title of the schema.",
|
|
2807
|
-
type: "string"
|
|
2808
|
-
},
|
|
2809
|
-
description: {
|
|
2810
|
-
title: "Detailed description of the schema",
|
|
2811
|
-
description: "Detailed description of the schema.",
|
|
2812
|
-
type: "string"
|
|
2813
|
-
},
|
|
2814
|
-
deprecated: {
|
|
2815
|
-
title: "Whether the type is deprecated or not",
|
|
2816
|
-
description: "Whether the type is deprecated or not.",
|
|
2817
|
-
type: "boolean"
|
|
2818
|
-
},
|
|
2819
|
-
example: {
|
|
2820
|
-
title: "Example value",
|
|
2821
|
-
description: "Example value."
|
|
2822
|
-
},
|
|
2823
|
-
examples: {
|
|
2824
|
-
description: "List of example values as key-value pairs.\n\n------------------------------\n\nDescription of the current {@link Recordstringany} type:\n\n> Construct a type with a set of properties K of type T",
|
|
2825
|
-
type: "object",
|
|
2826
|
-
properties: {},
|
|
2827
|
-
required: [],
|
|
2828
|
-
additionalProperties: {}
|
|
2829
|
-
}
|
|
2830
|
-
},
|
|
2831
|
-
required: [ "items", "type" ]
|
|
2832
|
-
},
|
|
2833
2833
|
"IChatGptSchema.IAnyOf": {
|
|
2834
2834
|
description: "Union type.\n\nIOneOf` represents an union type of the TypeScript (`A | B | C`).\n\nFor reference, even though your Swagger (or OpenAPI) document has\ndefined `anyOf` instead of the `oneOf`, {@link IChatGptSchema} forcibly\nconverts it to `oneOf` type.",
|
|
2835
2835
|
type: "object",
|
|
@@ -2840,8 +2840,6 @@ const FUNCTION = {
|
|
|
2840
2840
|
type: "array",
|
|
2841
2841
|
items: {
|
|
2842
2842
|
anyOf: [ {
|
|
2843
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2844
|
-
}, {
|
|
2845
2843
|
type: "object",
|
|
2846
2844
|
properties: {
|
|
2847
2845
|
enum: {
|
|
@@ -3027,6 +3025,8 @@ const FUNCTION = {
|
|
|
3027
3025
|
description: 'Description of the current {@link IChatGptSchema.IBoolean} type:\n\n> Boolean type info.\n\n------------------------------\n\nDescription of the parent {@link IChatGptSchema} type:\n\n> Type schema info of the ChatGPT.\n> \n> `IChatGptSchema` is a type schema info of the ChatGPT function calling.\n> \n> `IChatGptSchema` basically follows the JSON schema definition of the OpenAPI v3.1\n> speciifcation; {@link OpenApiV3_1.IJsonSchema}.\n> \n> However, the `IChatGptSchema` does not follow the entire specification of\n> the OpenAPI v3.1. It has own specific restrictions and definitions. Here is the\n> list of how `IChatGptSchema` is different with the OpenAPI v3.1 JSON schema.\n> \n> - Decompose mixed type: {@link OpenApiV3_1.IJsonSchema.IMixed}\n> - Resolve nullable property: {@link OpenApiV3_1.IJsonSchema.__ISignificant.nullable}\n> - Tuple type is banned: {@link OpenApiV3_1.IJsonSchema.ITuple.prefixItems}\n> - Constant type is banned: {@link OpenApiV3_1.IJsonSchema.IConstant}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IOneOf} to {@link IChatGptSchema.IAnOf}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IAllOf} to {@link IChatGptSchema.IObject}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IRecursiveReference} to {@link IChatGptSchema.IReference}\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> If compare with the {@link OpenApi.IJsonSchema}, the emended JSON schema specification,\n> \n> - {@link IChatGptSchema.IAnyOf} instead of the {@link OpenApi.IJsonSchema.IOneOf}\n> - {@link IChatGptSchema.IParameters.$defs} instead of the {@link OpenApi.IJsonSchema.IComponents.schemas}\n> - {@link IChatGptSchema.IString.enum} instead of the {@link OpenApi.IJsonSchema.IConstant}\n> - {@link IChatGptSchema.additionalProperties} is fixed to `false`\n> - No tuple type {@link OpenApi.IJsonSchema.ITuple} support\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> For reference, if you\'ve composed the `IChatGptSchema` type with the\n> {@link IChatGptSchema.IConfig.reference} `false` option (default is `false`),\n> only the recursived named types would be archived into the\n> {@link IChatGptSchema.IParameters.$defs}, and the others would be ecaped from the\n> {@link IChatGptSchema.IReference} type.\n> \n> Also, OpenAI has banned below constraint properties. Instead, `IChatGptSchema`\n> fills the {@link IChatGptSchema.__IAttribute.description} property with\n> the comment text like `"@format uuid"`.\n> \n> - {@link OpenApi.IJsonSchema.INumber.minimum}\n> - {@link OpenApi.IJsonSchema.INumber.maximum}\n> - {@link OpenApi.IJsonSchema.INumber.multipleOf}\n> - {@link OpenApi.IJsonSchema.IString.minLength}\n> - {@link OpenApi.IJsonSchema.IString.maxLength}\n> - {@link OpenApi.IJsonSchema.IString.format}\n> - {@link OpenApi.IJsonSchema.IString.pattern}\n> - {@link OpenApi.IJsonSchema.IString.contentMediaType}\n> - {@link OpenApi.IJsonSchema.IString.default}\n> - {@link OpenApi.IJsonSchema.IArray.minItems}\n> - {@link OpenApi.IJsonSchema.IArray.maxItems}\n> - {@link OpenApi.IJsonSchema.IArray.unique}\n> \n> Additionally, OpenAI cannot define the `description` property to the\n> {@link IChatGptSchema.IReference} type, and even does not understand\n> the capsulization to the {@link IChatGptSchema.IAnyOf} type.\n> Therefore, the `description` is written to the parent object type,\n> not the reference type.\n> \n> ```json\n> {\n> "type": "object",\n> "description": "### Description of {@link something} property.\\n\\n> Hello?",\n> "properties": {\n> "something": {\n> "$ref": "#/$defs/SomeObject"\n> }\n> }\n> }\n> ```'
|
|
3028
3026
|
}, {
|
|
3029
3027
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
3028
|
+
}, {
|
|
3029
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
3030
3030
|
}, {
|
|
3031
3031
|
type: "object",
|
|
3032
3032
|
properties: {
|
|
@@ -3390,8 +3390,6 @@ const FUNCTION = {
|
|
|
3390
3390
|
title: "Expected return type",
|
|
3391
3391
|
description: "Expected return type.\n\nIf the target operation returns nothing (`void`), the `output`\nwould be `undefined`.",
|
|
3392
3392
|
anyOf: [ {
|
|
3393
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
3394
|
-
}, {
|
|
3395
3393
|
type: "object",
|
|
3396
3394
|
properties: {
|
|
3397
3395
|
enum: {
|
|
@@ -3577,6 +3575,8 @@ const FUNCTION = {
|
|
|
3577
3575
|
description: 'Description of the current {@link IChatGptSchema.IBoolean} type:\n\n> Boolean type info.\n\n------------------------------\n\nDescription of the parent {@link IChatGptSchema} type:\n\n> Type schema info of the ChatGPT.\n> \n> `IChatGptSchema` is a type schema info of the ChatGPT function calling.\n> \n> `IChatGptSchema` basically follows the JSON schema definition of the OpenAPI v3.1\n> speciifcation; {@link OpenApiV3_1.IJsonSchema}.\n> \n> However, the `IChatGptSchema` does not follow the entire specification of\n> the OpenAPI v3.1. It has own specific restrictions and definitions. Here is the\n> list of how `IChatGptSchema` is different with the OpenAPI v3.1 JSON schema.\n> \n> - Decompose mixed type: {@link OpenApiV3_1.IJsonSchema.IMixed}\n> - Resolve nullable property: {@link OpenApiV3_1.IJsonSchema.__ISignificant.nullable}\n> - Tuple type is banned: {@link OpenApiV3_1.IJsonSchema.ITuple.prefixItems}\n> - Constant type is banned: {@link OpenApiV3_1.IJsonSchema.IConstant}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IOneOf} to {@link IChatGptSchema.IAnOf}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IAllOf} to {@link IChatGptSchema.IObject}\n> - Merge {@link OpenApiV3_1.IJsonSchema.IRecursiveReference} to {@link IChatGptSchema.IReference}\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> If compare with the {@link OpenApi.IJsonSchema}, the emended JSON schema specification,\n> \n> - {@link IChatGptSchema.IAnyOf} instead of the {@link OpenApi.IJsonSchema.IOneOf}\n> - {@link IChatGptSchema.IParameters.$defs} instead of the {@link OpenApi.IJsonSchema.IComponents.schemas}\n> - {@link IChatGptSchema.IString.enum} instead of the {@link OpenApi.IJsonSchema.IConstant}\n> - {@link IChatGptSchema.additionalProperties} is fixed to `false`\n> - No tuple type {@link OpenApi.IJsonSchema.ITuple} support\n> - When {@link IChatGptSchema.IConfig.strict} mode\n> - Every object properties must be required\n> - Do not allow {@link IChatGptSchema.IObject.additionalProperties}\n> \n> For reference, if you\'ve composed the `IChatGptSchema` type with the\n> {@link IChatGptSchema.IConfig.reference} `false` option (default is `false`),\n> only the recursived named types would be archived into the\n> {@link IChatGptSchema.IParameters.$defs}, and the others would be ecaped from the\n> {@link IChatGptSchema.IReference} type.\n> \n> Also, OpenAI has banned below constraint properties. Instead, `IChatGptSchema`\n> fills the {@link IChatGptSchema.__IAttribute.description} property with\n> the comment text like `"@format uuid"`.\n> \n> - {@link OpenApi.IJsonSchema.INumber.minimum}\n> - {@link OpenApi.IJsonSchema.INumber.maximum}\n> - {@link OpenApi.IJsonSchema.INumber.multipleOf}\n> - {@link OpenApi.IJsonSchema.IString.minLength}\n> - {@link OpenApi.IJsonSchema.IString.maxLength}\n> - {@link OpenApi.IJsonSchema.IString.format}\n> - {@link OpenApi.IJsonSchema.IString.pattern}\n> - {@link OpenApi.IJsonSchema.IString.contentMediaType}\n> - {@link OpenApi.IJsonSchema.IString.default}\n> - {@link OpenApi.IJsonSchema.IArray.minItems}\n> - {@link OpenApi.IJsonSchema.IArray.maxItems}\n> - {@link OpenApi.IJsonSchema.IArray.unique}\n> \n> Additionally, OpenAI cannot define the `description` property to the\n> {@link IChatGptSchema.IReference} type, and even does not understand\n> the capsulization to the {@link IChatGptSchema.IAnyOf} type.\n> Therefore, the `description` is written to the parent object type,\n> not the reference type.\n> \n> ```json\n> {\n> "type": "object",\n> "description": "### Description of {@link something} property.\\n\\n> Hello?",\n> "properties": {\n> "something": {\n> "$ref": "#/$defs/SomeObject"\n> }\n> }\n> }\n> ```'
|
|
3578
3576
|
}, {
|
|
3579
3577
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
3578
|
+
}, {
|
|
3579
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
3580
3580
|
}, {
|
|
3581
3581
|
type: "object",
|
|
3582
3582
|
properties: {
|
|
@@ -4194,10 +4194,10 @@ function execute(executor) {
|
|
|
4194
4194
|
return async ctx => {
|
|
4195
4195
|
const histories = [];
|
|
4196
4196
|
if (ctx.ready() === false) {
|
|
4197
|
-
if (executor?.initialize
|
|
4197
|
+
if (executor?.initialize !== true && typeof executor?.initialize !== "function") {
|
|
4198
4198
|
await ctx.initialize();
|
|
4199
4199
|
} else {
|
|
4200
|
-
histories.push(...await (executor?.initialize
|
|
4200
|
+
histories.push(...await (typeof executor?.initialize === "function" ? executor.initialize : initialize)(ctx));
|
|
4201
4201
|
if (ctx.ready() === false) {
|
|
4202
4202
|
return histories;
|
|
4203
4203
|
}
|
|
@@ -4214,7 +4214,9 @@ function execute(executor) {
|
|
|
4214
4214
|
const prompts = await (executor?.call ?? call)(ctx, ctx.stack.map((s => s.operation)));
|
|
4215
4215
|
histories.push(...prompts);
|
|
4216
4216
|
const executes = prompts.filter((prompt => prompt.type === "execute"));
|
|
4217
|
-
|
|
4217
|
+
if (executor?.describe !== null && executor?.describe !== false) {
|
|
4218
|
+
histories.push(...await (typeof executor?.describe === "function" ? executor.describe : describe)(ctx, executes));
|
|
4219
|
+
}
|
|
4218
4220
|
if (executes.length === 0 || ctx.stack.length === 0) {
|
|
4219
4221
|
break;
|
|
4220
4222
|
}
|
|
@@ -4634,7 +4636,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4634
4636
|
if (undefined === value) return true;
|
|
4635
4637
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
4636
4638
|
}));
|
|
4637
|
-
const _io79 = input => (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io75(input.examples)) && (
|
|
4639
|
+
const _io79 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io75(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu3(input.schema));
|
|
4638
4640
|
const _io80 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
4639
4641
|
const _io81 = input => Object.keys(input).every((key => {
|
|
4640
4642
|
const value = input[key];
|
|
@@ -4705,14 +4707,14 @@ function assertHttpLlmApplication(props) {
|
|
|
4705
4707
|
if (undefined === value) return true;
|
|
4706
4708
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
4707
4709
|
}));
|
|
4708
|
-
const _io114 = input =>
|
|
4709
|
-
const _io115 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
4710
|
-
const _io116 = input => (
|
|
4711
|
-
const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
4712
|
-
const _io118 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "
|
|
4713
|
-
const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
4714
|
-
const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null
|
|
4715
|
-
const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.
|
|
4710
|
+
const _io114 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every((elem => "string" === typeof elem))) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
4711
|
+
const _io115 = input => Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem)) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every((elem => "string" === typeof elem))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && "string" === typeof input.$ref;
|
|
4712
|
+
const _io116 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
4713
|
+
const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "boolean" === typeof elem))) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
4714
|
+
const _io118 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
4715
|
+
const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
4716
|
+
const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "string" === typeof elem))) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
4717
|
+
const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
4716
4718
|
const _io122 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
4717
4719
|
const _io123 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
4718
4720
|
const _io124 = input => Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
@@ -4757,7 +4759,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4757
4759
|
if (undefined === value) return true;
|
|
4758
4760
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
4759
4761
|
}));
|
|
4760
|
-
const _io146 = input => (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)) && (
|
|
4762
|
+
const _io146 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema));
|
|
4761
4763
|
const _io147 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
4762
4764
|
const _io148 = input => Object.keys(input).every((key => {
|
|
4763
4765
|
const value = input[key];
|
|
@@ -4909,8 +4911,8 @@ function assertHttpLlmApplication(props) {
|
|
|
4909
4911
|
if (undefined !== input["in"]) return _io82(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _io99(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _io80(input); else return false;
|
|
4910
4912
|
})();
|
|
4911
4913
|
const _iu5 = input => (() => {
|
|
4912
|
-
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return
|
|
4913
|
-
if (undefined !== input["const"]) return
|
|
4914
|
+
if ("object" === input.type) return _io114(input); else if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return _io115(input); else if ("boolean" === input.type) return _io117(input); else if ("number" === input.type) return _io119(input); else if ("integer" === input.type) return _io118(input); else if ("string" === input.type) return _io120(input); else if ("array" === input.type) return _io121(input); else if (undefined !== input.$recursiveRef) return _io123(input); else if ("null" === input.type) return _io128(input); else return (() => {
|
|
4915
|
+
if (undefined !== input["const"]) return _io116(input); else if (undefined !== input.$ref) return _io122(input); else if (undefined !== input.allOf) return _io124(input); else if (undefined !== input.anyOf) return _io125(input); else if (undefined !== input.oneOf) return _io126(input); else return _io129(input);
|
|
4914
4916
|
})();
|
|
4915
4917
|
})();
|
|
4916
4918
|
const _iu6 = input => (() => {
|
|
@@ -8489,7 +8491,12 @@ function assertHttpLlmApplication(props) {
|
|
|
8489
8491
|
value
|
|
8490
8492
|
}, _errorFactory);
|
|
8491
8493
|
}));
|
|
8492
|
-
const _ao79 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
8494
|
+
const _ao79 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8495
|
+
method: "typia.assert",
|
|
8496
|
+
path: _path + ".name",
|
|
8497
|
+
expected: "(string | undefined)",
|
|
8498
|
+
value: input.name
|
|
8499
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8493
8500
|
method: "typia.assert",
|
|
8494
8501
|
path: _path + ".required",
|
|
8495
8502
|
expected: "(boolean | undefined)",
|
|
@@ -8509,11 +8516,6 @@ function assertHttpLlmApplication(props) {
|
|
|
8509
8516
|
path: _path + ".examples",
|
|
8510
8517
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
8511
8518
|
value: input.examples
|
|
8512
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8513
|
-
method: "typia.assert",
|
|
8514
|
-
path: _path + ".name",
|
|
8515
|
-
expected: "(string | undefined)",
|
|
8516
|
-
value: input.name
|
|
8517
8519
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8518
8520
|
method: "typia.assert",
|
|
8519
8521
|
path: _path + ".schema",
|
|
@@ -9645,14 +9647,105 @@ function assertHttpLlmApplication(props) {
|
|
|
9645
9647
|
value
|
|
9646
9648
|
}, _errorFactory);
|
|
9647
9649
|
}));
|
|
9648
|
-
const _ao114 = (input, _path, _exceptionable = true) => (
|
|
9650
|
+
const _ao114 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9651
|
+
method: "typia.assert",
|
|
9652
|
+
path: _path + ".nullable",
|
|
9653
|
+
expected: "(boolean | undefined)",
|
|
9654
|
+
value: input.nullable
|
|
9655
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9656
|
+
method: "typia.assert",
|
|
9657
|
+
path: _path + ".properties",
|
|
9658
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
9659
|
+
value: input.properties
|
|
9660
|
+
}, _errorFactory)) && _ao113(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9661
|
+
method: "typia.assert",
|
|
9662
|
+
path: _path + ".properties",
|
|
9663
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
9664
|
+
value: input.properties
|
|
9665
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9666
|
+
method: "typia.assert",
|
|
9667
|
+
path: _path + ".required",
|
|
9668
|
+
expected: "(Array<string> | undefined)",
|
|
9669
|
+
value: input.required
|
|
9670
|
+
}, _errorFactory)) && input.required.every(((elem, _index128) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9671
|
+
method: "typia.assert",
|
|
9672
|
+
path: _path + ".required[" + _index128 + "]",
|
|
9673
|
+
expected: "string",
|
|
9674
|
+
value: elem
|
|
9675
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9676
|
+
method: "typia.assert",
|
|
9677
|
+
path: _path + ".required",
|
|
9678
|
+
expected: "(Array<string> | undefined)",
|
|
9679
|
+
value: input.required
|
|
9680
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9681
|
+
method: "typia.assert",
|
|
9682
|
+
path: _path + ".additionalProperties",
|
|
9683
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
9684
|
+
value: input.additionalProperties
|
|
9685
|
+
}, _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, {
|
|
9686
|
+
method: "typia.assert",
|
|
9687
|
+
path: _path + ".additionalProperties",
|
|
9688
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
9689
|
+
value: input.additionalProperties
|
|
9690
|
+
}, _errorFactory)) && _au5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9691
|
+
method: "typia.assert",
|
|
9692
|
+
path: _path + ".additionalProperties",
|
|
9693
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
9694
|
+
value: input.additionalProperties
|
|
9695
|
+
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9696
|
+
method: "typia.assert",
|
|
9697
|
+
path: _path + ".maxProperties",
|
|
9698
|
+
expected: "(number | undefined)",
|
|
9699
|
+
value: input.maxProperties
|
|
9700
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9701
|
+
method: "typia.assert",
|
|
9702
|
+
path: _path + ".minProperties",
|
|
9703
|
+
expected: "(number | undefined)",
|
|
9704
|
+
value: input.minProperties
|
|
9705
|
+
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9706
|
+
method: "typia.assert",
|
|
9707
|
+
path: _path + ".type",
|
|
9708
|
+
expected: '"object"',
|
|
9709
|
+
value: input.type
|
|
9710
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9711
|
+
method: "typia.assert",
|
|
9712
|
+
path: _path + ".title",
|
|
9713
|
+
expected: "(string | undefined)",
|
|
9714
|
+
value: input.title
|
|
9715
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9716
|
+
method: "typia.assert",
|
|
9717
|
+
path: _path + ".description",
|
|
9718
|
+
expected: "(string | undefined)",
|
|
9719
|
+
value: input.description
|
|
9720
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9721
|
+
method: "typia.assert",
|
|
9722
|
+
path: _path + ".deprecated",
|
|
9723
|
+
expected: "(boolean | undefined)",
|
|
9724
|
+
value: input.deprecated
|
|
9725
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9726
|
+
method: "typia.assert",
|
|
9727
|
+
path: _path + ".examples",
|
|
9728
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
9729
|
+
value: input.examples
|
|
9730
|
+
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao58(input.examples, _path + ".examples", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9731
|
+
method: "typia.assert",
|
|
9732
|
+
path: _path + ".examples",
|
|
9733
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
9734
|
+
value: input.examples
|
|
9735
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9736
|
+
method: "typia.assert",
|
|
9737
|
+
path: _path + ".examples",
|
|
9738
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
9739
|
+
value: input.examples
|
|
9740
|
+
}, _errorFactory)));
|
|
9741
|
+
const _ao115 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9649
9742
|
method: "typia.assert",
|
|
9650
9743
|
path: _path + ".type",
|
|
9651
9744
|
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
9652
9745
|
value: input.type
|
|
9653
|
-
}, _errorFactory)) && input.type.every(((elem,
|
|
9746
|
+
}, _errorFactory)) && input.type.every(((elem, _index129) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9654
9747
|
method: "typia.assert",
|
|
9655
|
-
path: _path + ".type[" +
|
|
9748
|
+
path: _path + ".type[" + _index129 + "]",
|
|
9656
9749
|
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
9657
9750
|
value: elem
|
|
9658
9751
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9780,14 +9873,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9780
9873
|
path: _path + ".items",
|
|
9781
9874
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
9782
9875
|
value: input.items
|
|
9783
|
-
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every(((elem,
|
|
9876
|
+
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every(((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9784
9877
|
method: "typia.assert",
|
|
9785
|
-
path: _path + ".items[" +
|
|
9878
|
+
path: _path + ".items[" + _index130 + "]",
|
|
9786
9879
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9787
9880
|
value: elem
|
|
9788
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
9881
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index130 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9789
9882
|
method: "typia.assert",
|
|
9790
|
-
path: _path + ".items[" +
|
|
9883
|
+
path: _path + ".items[" + _index130 + "]",
|
|
9791
9884
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9792
9885
|
value: elem
|
|
9793
9886
|
}, _errorFactory))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au5(input.items, _path + ".items", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9805,14 +9898,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9805
9898
|
path: _path + ".prefixItems",
|
|
9806
9899
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
9807
9900
|
value: input.prefixItems
|
|
9808
|
-
}, _errorFactory)) && input.prefixItems.every(((elem,
|
|
9901
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index131) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9809
9902
|
method: "typia.assert",
|
|
9810
|
-
path: _path + ".prefixItems[" +
|
|
9903
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
9811
9904
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9812
9905
|
value: elem
|
|
9813
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
9906
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index131 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9814
9907
|
method: "typia.assert",
|
|
9815
|
-
path: _path + ".prefixItems[" +
|
|
9908
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
9816
9909
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9817
9910
|
value: elem
|
|
9818
9911
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9890,9 +9983,9 @@ function assertHttpLlmApplication(props) {
|
|
|
9890
9983
|
path: _path + ".required",
|
|
9891
9984
|
expected: "(Array<string> | undefined)",
|
|
9892
9985
|
value: input.required
|
|
9893
|
-
}, _errorFactory)) && input.required.every(((elem,
|
|
9986
|
+
}, _errorFactory)) && input.required.every(((elem, _index132) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9894
9987
|
method: "typia.assert",
|
|
9895
|
-
path: _path + ".required[" +
|
|
9988
|
+
path: _path + ".required[" + _index132 + "]",
|
|
9896
9989
|
expected: "string",
|
|
9897
9990
|
value: elem
|
|
9898
9991
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9915,14 +10008,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9915
10008
|
path: _path + ".oneOf",
|
|
9916
10009
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9917
10010
|
value: input.oneOf
|
|
9918
|
-
}, _errorFactory)) && input.oneOf.every(((elem,
|
|
10011
|
+
}, _errorFactory)) && input.oneOf.every(((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9919
10012
|
method: "typia.assert",
|
|
9920
|
-
path: _path + ".oneOf[" +
|
|
10013
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
9921
10014
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9922
10015
|
value: elem
|
|
9923
|
-
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" +
|
|
10016
|
+
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" + _index133 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9924
10017
|
method: "typia.assert",
|
|
9925
|
-
path: _path + ".oneOf[" +
|
|
10018
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
9926
10019
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9927
10020
|
value: elem
|
|
9928
10021
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9945,14 +10038,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9945
10038
|
path: _path + ".anyOf",
|
|
9946
10039
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9947
10040
|
value: input.anyOf
|
|
9948
|
-
}, _errorFactory)) && input.anyOf.every(((elem,
|
|
10041
|
+
}, _errorFactory)) && input.anyOf.every(((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9949
10042
|
method: "typia.assert",
|
|
9950
|
-
path: _path + ".anyOf[" +
|
|
10043
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
9951
10044
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9952
10045
|
value: elem
|
|
9953
|
-
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" +
|
|
10046
|
+
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" + _index134 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9954
10047
|
method: "typia.assert",
|
|
9955
|
-
path: _path + ".anyOf[" +
|
|
10048
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
9956
10049
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9957
10050
|
value: elem
|
|
9958
10051
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9965,14 +10058,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9965
10058
|
path: _path + ".allOf",
|
|
9966
10059
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9967
10060
|
value: input.allOf
|
|
9968
|
-
}, _errorFactory)) && input.allOf.every(((elem,
|
|
10061
|
+
}, _errorFactory)) && input.allOf.every(((elem, _index135) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9969
10062
|
method: "typia.assert",
|
|
9970
|
-
path: _path + ".allOf[" +
|
|
10063
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
9971
10064
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9972
10065
|
value: elem
|
|
9973
|
-
}, _errorFactory)) && _au5(elem, _path + ".allOf[" +
|
|
10066
|
+
}, _errorFactory)) && _au5(elem, _path + ".allOf[" + _index135 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9974
10067
|
method: "typia.assert",
|
|
9975
|
-
path: _path + ".allOf[" +
|
|
10068
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
9976
10069
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
9977
10070
|
value: elem
|
|
9978
10071
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9986,7 +10079,7 @@ function assertHttpLlmApplication(props) {
|
|
|
9986
10079
|
expected: "string",
|
|
9987
10080
|
value: input.$ref
|
|
9988
10081
|
}, _errorFactory));
|
|
9989
|
-
const
|
|
10082
|
+
const _ao116 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9990
10083
|
method: "typia.assert",
|
|
9991
10084
|
path: _path + '["const"]',
|
|
9992
10085
|
expected: "(boolean | number | string)",
|
|
@@ -10027,7 +10120,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10027
10120
|
expected: "(boolean | undefined)",
|
|
10028
10121
|
value: input.deprecated
|
|
10029
10122
|
}, _errorFactory)) && true;
|
|
10030
|
-
const
|
|
10123
|
+
const _ao117 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10031
10124
|
method: "typia.assert",
|
|
10032
10125
|
path: _path + ".nullable",
|
|
10033
10126
|
expected: "(boolean | undefined)",
|
|
@@ -10042,9 +10135,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10042
10135
|
path: _path + '["enum"]',
|
|
10043
10136
|
expected: "(Array<boolean | null> | undefined)",
|
|
10044
10137
|
value: input["enum"]
|
|
10045
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10138
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index136) => null === elem || "boolean" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10046
10139
|
method: "typia.assert",
|
|
10047
|
-
path: _path + '["enum"][' +
|
|
10140
|
+
path: _path + '["enum"][' + _index136 + "]",
|
|
10048
10141
|
expected: "(boolean | null)",
|
|
10049
10142
|
value: elem
|
|
10050
10143
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10088,7 +10181,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10088
10181
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10089
10182
|
value: input.examples
|
|
10090
10183
|
}, _errorFactory)));
|
|
10091
|
-
const
|
|
10184
|
+
const _ao118 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10092
10185
|
method: "typia.assert",
|
|
10093
10186
|
path: _path + ".nullable",
|
|
10094
10187
|
expected: "(boolean | undefined)",
|
|
@@ -10108,9 +10201,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10108
10201
|
path: _path + '["enum"]',
|
|
10109
10202
|
expected: "(Array<number | null> | undefined)",
|
|
10110
10203
|
value: input["enum"]
|
|
10111
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10204
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index137) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10112
10205
|
method: "typia.assert",
|
|
10113
|
-
path: _path + '["enum"][' +
|
|
10206
|
+
path: _path + '["enum"][' + _index137 + "]",
|
|
10114
10207
|
expected: "(null | number)",
|
|
10115
10208
|
value: elem
|
|
10116
10209
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10209,7 +10302,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10209
10302
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10210
10303
|
value: input.examples
|
|
10211
10304
|
}, _errorFactory)));
|
|
10212
|
-
const
|
|
10305
|
+
const _ao119 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10213
10306
|
method: "typia.assert",
|
|
10214
10307
|
path: _path + ".nullable",
|
|
10215
10308
|
expected: "(boolean | undefined)",
|
|
@@ -10224,9 +10317,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10224
10317
|
path: _path + '["enum"]',
|
|
10225
10318
|
expected: "(Array<number | null> | undefined)",
|
|
10226
10319
|
value: input["enum"]
|
|
10227
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10320
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index138) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10228
10321
|
method: "typia.assert",
|
|
10229
|
-
path: _path + '["enum"][' +
|
|
10322
|
+
path: _path + '["enum"][' + _index138 + "]",
|
|
10230
10323
|
expected: "(null | number)",
|
|
10231
10324
|
value: elem
|
|
10232
10325
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10300,7 +10393,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10300
10393
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10301
10394
|
value: input.examples
|
|
10302
10395
|
}, _errorFactory)));
|
|
10303
|
-
const
|
|
10396
|
+
const _ao120 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10304
10397
|
method: "typia.assert",
|
|
10305
10398
|
path: _path + ".nullable",
|
|
10306
10399
|
expected: "(boolean | undefined)",
|
|
@@ -10315,9 +10408,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10315
10408
|
path: _path + '["enum"]',
|
|
10316
10409
|
expected: "(Array<string | null> | undefined)",
|
|
10317
10410
|
value: input["enum"]
|
|
10318
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10411
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index139) => null === elem || "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10319
10412
|
method: "typia.assert",
|
|
10320
|
-
path: _path + '["enum"][' +
|
|
10413
|
+
path: _path + '["enum"][' + _index139 + "]",
|
|
10321
10414
|
expected: "(null | string)",
|
|
10322
10415
|
value: elem
|
|
10323
10416
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10396,7 +10489,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10396
10489
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10397
10490
|
value: input.examples
|
|
10398
10491
|
}, _errorFactory)));
|
|
10399
|
-
const
|
|
10492
|
+
const _ao121 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10400
10493
|
method: "typia.assert",
|
|
10401
10494
|
path: _path + ".nullable",
|
|
10402
10495
|
expected: "(boolean | undefined)",
|
|
@@ -10406,14 +10499,14 @@ function assertHttpLlmApplication(props) {
|
|
|
10406
10499
|
path: _path + ".items",
|
|
10407
10500
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
10408
10501
|
value: input.items
|
|
10409
|
-
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every(((elem,
|
|
10502
|
+
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every(((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10410
10503
|
method: "typia.assert",
|
|
10411
|
-
path: _path + ".items[" +
|
|
10504
|
+
path: _path + ".items[" + _index140 + "]",
|
|
10412
10505
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
10413
10506
|
value: elem
|
|
10414
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
10507
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index140 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10415
10508
|
method: "typia.assert",
|
|
10416
|
-
path: _path + ".items[" +
|
|
10509
|
+
path: _path + ".items[" + _index140 + "]",
|
|
10417
10510
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
10418
10511
|
value: elem
|
|
10419
10512
|
}, _errorFactory))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au5(input.items, _path + ".items", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10431,14 +10524,14 @@ function assertHttpLlmApplication(props) {
|
|
|
10431
10524
|
path: _path + ".prefixItems",
|
|
10432
10525
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
10433
10526
|
value: input.prefixItems
|
|
10434
|
-
}, _errorFactory)) && input.prefixItems.every(((elem,
|
|
10527
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index141) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10435
10528
|
method: "typia.assert",
|
|
10436
|
-
path: _path + ".prefixItems[" +
|
|
10529
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
10437
10530
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
10438
10531
|
value: elem
|
|
10439
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
10532
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index141 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10440
10533
|
method: "typia.assert",
|
|
10441
|
-
path: _path + ".prefixItems[" +
|
|
10534
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
10442
10535
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
10443
10536
|
value: elem
|
|
10444
10537
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10522,118 +10615,27 @@ function assertHttpLlmApplication(props) {
|
|
|
10522
10615
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10523
10616
|
value: input.examples
|
|
10524
10617
|
}, _errorFactory)));
|
|
10525
|
-
const
|
|
10526
|
-
method: "typia.assert",
|
|
10527
|
-
path: _path + ".nullable",
|
|
10528
|
-
expected: "(boolean | undefined)",
|
|
10529
|
-
value: input.nullable
|
|
10530
|
-
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10618
|
+
const _ao122 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10531
10619
|
method: "typia.assert",
|
|
10532
|
-
path: _path + "
|
|
10533
|
-
expected: "
|
|
10534
|
-
value: input
|
|
10535
|
-
}, _errorFactory)) &&
|
|
10620
|
+
path: _path + ".$ref",
|
|
10621
|
+
expected: "string",
|
|
10622
|
+
value: input.$ref
|
|
10623
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10536
10624
|
method: "typia.assert",
|
|
10537
|
-
path: _path + ".
|
|
10538
|
-
expected: "(Record<string,
|
|
10539
|
-
value: input.
|
|
10540
|
-
}, _errorFactory)) && (undefined === input.
|
|
10625
|
+
path: _path + ".examples",
|
|
10626
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10627
|
+
value: input.examples
|
|
10628
|
+
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao58(input.examples, _path + ".examples", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10541
10629
|
method: "typia.assert",
|
|
10542
|
-
path: _path + ".
|
|
10543
|
-
expected: "(Array<string> | undefined)",
|
|
10544
|
-
value: input.
|
|
10545
|
-
}, _errorFactory))
|
|
10630
|
+
path: _path + ".examples",
|
|
10631
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10632
|
+
value: input.examples
|
|
10633
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10546
10634
|
method: "typia.assert",
|
|
10547
|
-
path: _path + ".
|
|
10548
|
-
expected: "string",
|
|
10549
|
-
value:
|
|
10550
|
-
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10551
|
-
method: "typia.assert",
|
|
10552
|
-
path: _path + ".required",
|
|
10553
|
-
expected: "(Array<string> | undefined)",
|
|
10554
|
-
value: input.required
|
|
10555
|
-
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10556
|
-
method: "typia.assert",
|
|
10557
|
-
path: _path + ".additionalProperties",
|
|
10558
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
10559
|
-
value: input.additionalProperties
|
|
10560
|
-
}, _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, {
|
|
10561
|
-
method: "typia.assert",
|
|
10562
|
-
path: _path + ".additionalProperties",
|
|
10563
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
10564
|
-
value: input.additionalProperties
|
|
10565
|
-
}, _errorFactory)) && _au5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10566
|
-
method: "typia.assert",
|
|
10567
|
-
path: _path + ".additionalProperties",
|
|
10568
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
10569
|
-
value: input.additionalProperties
|
|
10570
|
-
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10571
|
-
method: "typia.assert",
|
|
10572
|
-
path: _path + ".maxProperties",
|
|
10573
|
-
expected: "(number | undefined)",
|
|
10574
|
-
value: input.maxProperties
|
|
10575
|
-
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10576
|
-
method: "typia.assert",
|
|
10577
|
-
path: _path + ".minProperties",
|
|
10578
|
-
expected: "(number | undefined)",
|
|
10579
|
-
value: input.minProperties
|
|
10580
|
-
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10581
|
-
method: "typia.assert",
|
|
10582
|
-
path: _path + ".type",
|
|
10583
|
-
expected: '"object"',
|
|
10584
|
-
value: input.type
|
|
10585
|
-
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10586
|
-
method: "typia.assert",
|
|
10587
|
-
path: _path + ".title",
|
|
10588
|
-
expected: "(string | undefined)",
|
|
10589
|
-
value: input.title
|
|
10590
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10591
|
-
method: "typia.assert",
|
|
10592
|
-
path: _path + ".description",
|
|
10593
|
-
expected: "(string | undefined)",
|
|
10594
|
-
value: input.description
|
|
10595
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10596
|
-
method: "typia.assert",
|
|
10597
|
-
path: _path + ".deprecated",
|
|
10598
|
-
expected: "(boolean | undefined)",
|
|
10599
|
-
value: input.deprecated
|
|
10600
|
-
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10601
|
-
method: "typia.assert",
|
|
10602
|
-
path: _path + ".examples",
|
|
10603
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10604
|
-
value: input.examples
|
|
10605
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao58(input.examples, _path + ".examples", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10606
|
-
method: "typia.assert",
|
|
10607
|
-
path: _path + ".examples",
|
|
10608
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10609
|
-
value: input.examples
|
|
10610
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10611
|
-
method: "typia.assert",
|
|
10612
|
-
path: _path + ".examples",
|
|
10613
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10614
|
-
value: input.examples
|
|
10615
|
-
}, _errorFactory)));
|
|
10616
|
-
const _ao122 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10617
|
-
method: "typia.assert",
|
|
10618
|
-
path: _path + ".$ref",
|
|
10619
|
-
expected: "string",
|
|
10620
|
-
value: input.$ref
|
|
10621
|
-
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10622
|
-
method: "typia.assert",
|
|
10623
|
-
path: _path + ".examples",
|
|
10624
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10625
|
-
value: input.examples
|
|
10626
|
-
}, _errorFactory)) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _ao58(input.examples, _path + ".examples", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10627
|
-
method: "typia.assert",
|
|
10628
|
-
path: _path + ".examples",
|
|
10629
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10630
|
-
value: input.examples
|
|
10631
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10632
|
-
method: "typia.assert",
|
|
10633
|
-
path: _path + ".examples",
|
|
10634
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10635
|
-
value: input.examples
|
|
10636
|
-
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10635
|
+
path: _path + ".examples",
|
|
10636
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10637
|
+
value: input.examples
|
|
10638
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10637
10639
|
method: "typia.assert",
|
|
10638
10640
|
path: _path + ".title",
|
|
10639
10641
|
expected: "(string | undefined)",
|
|
@@ -11537,7 +11539,12 @@ function assertHttpLlmApplication(props) {
|
|
|
11537
11539
|
value
|
|
11538
11540
|
}, _errorFactory);
|
|
11539
11541
|
}));
|
|
11540
|
-
const _ao146 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
11542
|
+
const _ao146 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11543
|
+
method: "typia.assert",
|
|
11544
|
+
path: _path + ".name",
|
|
11545
|
+
expected: "(string | undefined)",
|
|
11546
|
+
value: input.name
|
|
11547
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11541
11548
|
method: "typia.assert",
|
|
11542
11549
|
path: _path + ".required",
|
|
11543
11550
|
expected: "(boolean | undefined)",
|
|
@@ -11557,11 +11564,6 @@ function assertHttpLlmApplication(props) {
|
|
|
11557
11564
|
path: _path + ".examples",
|
|
11558
11565
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
11559
11566
|
value: input.examples
|
|
11560
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11561
|
-
method: "typia.assert",
|
|
11562
|
-
path: _path + ".name",
|
|
11563
|
-
expected: "(string | undefined)",
|
|
11564
|
-
value: input.name
|
|
11565
11567
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11566
11568
|
method: "typia.assert",
|
|
11567
11569
|
path: _path + ".schema",
|
|
@@ -13729,8 +13731,8 @@ function assertHttpLlmApplication(props) {
|
|
|
13729
13731
|
}, _errorFactory);
|
|
13730
13732
|
})();
|
|
13731
13733
|
const _au5 = (input, _path, _exceptionable = true) => (() => {
|
|
13732
|
-
if (Array.isArray(input.type) && input.type.every(((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return
|
|
13733
|
-
if (undefined !== input["const"]) return
|
|
13734
|
+
if ("object" === input.type) return _ao114(input, _path, _exceptionable); else if (Array.isArray(input.type) && input.type.every(((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return _ao115(input, _path, _exceptionable); else if ("boolean" === input.type) return _ao117(input, _path, _exceptionable); else if ("number" === input.type) return _ao119(input, _path, _exceptionable); else if ("integer" === input.type) return _ao118(input, _path, _exceptionable); else if ("string" === input.type) return _ao120(input, _path, _exceptionable); else if ("array" === input.type) return _ao121(input, _path, _exceptionable); else if (undefined !== input.$recursiveRef) return _ao123(input, _path, _exceptionable); else if ("null" === input.type) return _ao128(input, _path, _exceptionable); else return (() => {
|
|
13735
|
+
if (undefined !== input["const"]) return _ao116(input, _path, _exceptionable); else if (undefined !== input.$ref) return _ao122(input, _path, _exceptionable); else if (undefined !== input.allOf) return _ao124(input, _path, _exceptionable); else if (undefined !== input.anyOf) return _ao125(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _ao126(input, _path, _exceptionable); else return _ao129(input, _path, _exceptionable);
|
|
13734
13736
|
})();
|
|
13735
13737
|
})();
|
|
13736
13738
|
const _au6 = (input, _path, _exceptionable = true) => (() => {
|
|
@@ -13822,50 +13824,1641 @@ function assertHttpLlmApplication(props) {
|
|
|
13822
13824
|
value: input
|
|
13823
13825
|
}, _errorFactory);
|
|
13824
13826
|
})();
|
|
13825
|
-
const _au24 = (input, _path, _exceptionable = true) => (() => {
|
|
13826
|
-
if (undefined !== input.swagger) return _ao0(input, _path, _exceptionable); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _ao48(input, _path, _exceptionable); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _ao105(input, _path, _exceptionable); else if (undefined !== input["x-samchon-emended-v4"]) return _ao166(input, _path, _exceptionable); else return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13827
|
+
const _au24 = (input, _path, _exceptionable = true) => (() => {
|
|
13828
|
+
if (undefined !== input.swagger) return _ao0(input, _path, _exceptionable); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _ao48(input, _path, _exceptionable); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _ao105(input, _path, _exceptionable); else if (undefined !== input["x-samchon-emended-v4"]) return _ao166(input, _path, _exceptionable); else return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13829
|
+
method: "typia.assert",
|
|
13830
|
+
path: _path,
|
|
13831
|
+
expected: "(SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument)",
|
|
13832
|
+
value: input
|
|
13833
|
+
}, _errorFactory);
|
|
13834
|
+
})();
|
|
13835
|
+
const __is = input => "object" === typeof input && null !== input && _iu24(input);
|
|
13836
|
+
let _errorFactory;
|
|
13837
|
+
return (input, errorFactory) => {
|
|
13838
|
+
if (false === __is(input)) {
|
|
13839
|
+
_errorFactory = errorFactory;
|
|
13840
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
13841
|
+
method: "typia.assert",
|
|
13842
|
+
path: _path + "",
|
|
13843
|
+
expected: "(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",
|
|
13844
|
+
value: input
|
|
13845
|
+
}, _errorFactory)) && _au24(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13846
|
+
method: "typia.assert",
|
|
13847
|
+
path: _path + "",
|
|
13848
|
+
expected: "(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",
|
|
13849
|
+
value: input
|
|
13850
|
+
}, _errorFactory))(input, "$input", true);
|
|
13851
|
+
}
|
|
13852
|
+
return input;
|
|
13853
|
+
};
|
|
13854
|
+
})()(props.document)),
|
|
13855
|
+
options: props.options
|
|
13856
|
+
});
|
|
13857
|
+
}
|
|
13858
|
+
|
|
13859
|
+
async function assertMcpController(props) {
|
|
13860
|
+
const {ListToolsResultSchema} = await import("@modelcontextprotocol/sdk/types.js");
|
|
13861
|
+
const {tools} = await props.client.request({
|
|
13862
|
+
method: "tools/list"
|
|
13863
|
+
}, ListToolsResultSchema);
|
|
13864
|
+
const application = McpLlm.application({
|
|
13865
|
+
model: props.model,
|
|
13866
|
+
tools: (() => {
|
|
13867
|
+
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));
|
|
13868
|
+
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 && (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.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs));
|
|
13869
|
+
const _io2 = input => Object.keys(input).every((key => {
|
|
13870
|
+
const value = input[key];
|
|
13871
|
+
if (undefined === value) return true;
|
|
13872
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
13873
|
+
}));
|
|
13874
|
+
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 && (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))));
|
|
13875
|
+
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.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (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;
|
|
13876
|
+
const _io5 = input => Object.keys(input).every((key => {
|
|
13877
|
+
const value = input[key];
|
|
13878
|
+
if (undefined === value) return true;
|
|
13879
|
+
return true;
|
|
13880
|
+
}));
|
|
13881
|
+
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;
|
|
13882
|
+
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 && (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))));
|
|
13883
|
+
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"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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))));
|
|
13884
|
+
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 && (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))));
|
|
13885
|
+
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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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))));
|
|
13886
|
+
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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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))));
|
|
13887
|
+
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;
|
|
13888
|
+
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;
|
|
13889
|
+
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;
|
|
13890
|
+
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;
|
|
13891
|
+
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;
|
|
13892
|
+
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));
|
|
13893
|
+
const _io18 = input => Object.keys(input).every((key => {
|
|
13894
|
+
const value = input[key];
|
|
13895
|
+
if (undefined === value) return true;
|
|
13896
|
+
return "string" === typeof value;
|
|
13897
|
+
}));
|
|
13898
|
+
const _io19 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples))));
|
|
13899
|
+
const _io20 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io5(input.examples))));
|
|
13900
|
+
const _io21 = 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.$defs || "object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) && _io2(input.$defs));
|
|
13901
|
+
const _iu0 = input => (() => {
|
|
13902
|
+
if ("object" === input.type) return _io3(input); else if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return _io4(input); else if ("boolean" === input.type) return _io7(input); else if ("number" === input.type) return _io9(input); else if ("integer" === input.type) return _io8(input); else if ("string" === input.type) return _io10(input); else if ("array" === input.type) return _io11(input); else if (undefined !== input.$recursiveRef) return _io13(input); else if ("null" === input.type) return _io19(input); else return (() => {
|
|
13903
|
+
if (undefined !== input["const"]) return _io6(input); else if (undefined !== input.$ref) return _io12(input); else if (undefined !== input.allOf) return _io14(input); else if (undefined !== input.anyOf) return _io15(input); else if (undefined !== input.oneOf) return _io16(input); else return _io20(input);
|
|
13904
|
+
})();
|
|
13905
|
+
})();
|
|
13906
|
+
const _iu1 = input => (() => {
|
|
13907
|
+
if (undefined !== input.type) return _io1(input); else if (undefined !== input.$ref) return _io21(input); else return false;
|
|
13908
|
+
})();
|
|
13909
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name && (input.name.length <= 64 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13910
|
+
method: "typia.assert",
|
|
13911
|
+
path: _path + ".name",
|
|
13912
|
+
expected: "string & MaxLength<64>",
|
|
13913
|
+
value: input.name
|
|
13914
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13915
|
+
method: "typia.assert",
|
|
13916
|
+
path: _path + ".name",
|
|
13917
|
+
expected: "(string & MaxLength<64>)",
|
|
13918
|
+
value: input.name
|
|
13919
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13920
|
+
method: "typia.assert",
|
|
13921
|
+
path: _path + ".description",
|
|
13922
|
+
expected: "(string | undefined)",
|
|
13923
|
+
value: input.description
|
|
13924
|
+
}, _errorFactory)) && (("object" === typeof input.inputSchema && null !== input.inputSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13925
|
+
method: "typia.assert",
|
|
13926
|
+
path: _path + ".inputSchema",
|
|
13927
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
13928
|
+
value: input.inputSchema
|
|
13929
|
+
}, _errorFactory)) && _au1(input.inputSchema, _path + ".inputSchema", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13930
|
+
method: "typia.assert",
|
|
13931
|
+
path: _path + ".inputSchema",
|
|
13932
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
13933
|
+
value: input.inputSchema
|
|
13934
|
+
}, _errorFactory));
|
|
13935
|
+
const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13936
|
+
method: "typia.assert",
|
|
13937
|
+
path: _path + ".nullable",
|
|
13938
|
+
expected: "(boolean | undefined)",
|
|
13939
|
+
value: input.nullable
|
|
13940
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13941
|
+
method: "typia.assert",
|
|
13942
|
+
path: _path + ".properties",
|
|
13943
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
13944
|
+
value: input.properties
|
|
13945
|
+
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13946
|
+
method: "typia.assert",
|
|
13947
|
+
path: _path + ".properties",
|
|
13948
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
13949
|
+
value: input.properties
|
|
13950
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13951
|
+
method: "typia.assert",
|
|
13952
|
+
path: _path + ".required",
|
|
13953
|
+
expected: "(Array<string> | undefined)",
|
|
13954
|
+
value: input.required
|
|
13955
|
+
}, _errorFactory)) && input.required.every(((elem, _index22) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13956
|
+
method: "typia.assert",
|
|
13957
|
+
path: _path + ".required[" + _index22 + "]",
|
|
13958
|
+
expected: "string",
|
|
13959
|
+
value: elem
|
|
13960
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13961
|
+
method: "typia.assert",
|
|
13962
|
+
path: _path + ".required",
|
|
13963
|
+
expected: "(Array<string> | undefined)",
|
|
13964
|
+
value: input.required
|
|
13965
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13966
|
+
method: "typia.assert",
|
|
13967
|
+
path: _path + ".additionalProperties",
|
|
13968
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
13969
|
+
value: input.additionalProperties
|
|
13970
|
+
}, _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, {
|
|
13971
|
+
method: "typia.assert",
|
|
13972
|
+
path: _path + ".additionalProperties",
|
|
13973
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
13974
|
+
value: input.additionalProperties
|
|
13975
|
+
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13976
|
+
method: "typia.assert",
|
|
13977
|
+
path: _path + ".additionalProperties",
|
|
13978
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
13979
|
+
value: input.additionalProperties
|
|
13980
|
+
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13981
|
+
method: "typia.assert",
|
|
13982
|
+
path: _path + ".maxProperties",
|
|
13983
|
+
expected: "(number | undefined)",
|
|
13984
|
+
value: input.maxProperties
|
|
13985
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13986
|
+
method: "typia.assert",
|
|
13987
|
+
path: _path + ".minProperties",
|
|
13988
|
+
expected: "(number | undefined)",
|
|
13989
|
+
value: input.minProperties
|
|
13990
|
+
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13991
|
+
method: "typia.assert",
|
|
13992
|
+
path: _path + ".type",
|
|
13993
|
+
expected: '"object"',
|
|
13994
|
+
value: input.type
|
|
13995
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13996
|
+
method: "typia.assert",
|
|
13997
|
+
path: _path + ".title",
|
|
13998
|
+
expected: "(string | undefined)",
|
|
13999
|
+
value: input.title
|
|
14000
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14001
|
+
method: "typia.assert",
|
|
14002
|
+
path: _path + ".description",
|
|
14003
|
+
expected: "(string | undefined)",
|
|
14004
|
+
value: input.description
|
|
14005
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14006
|
+
method: "typia.assert",
|
|
14007
|
+
path: _path + ".deprecated",
|
|
14008
|
+
expected: "(boolean | undefined)",
|
|
14009
|
+
value: input.deprecated
|
|
14010
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14011
|
+
method: "typia.assert",
|
|
14012
|
+
path: _path + ".examples",
|
|
14013
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14014
|
+
value: input.examples
|
|
14015
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14016
|
+
method: "typia.assert",
|
|
14017
|
+
path: _path + ".examples",
|
|
14018
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14019
|
+
value: input.examples
|
|
14020
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14021
|
+
method: "typia.assert",
|
|
14022
|
+
path: _path + ".examples",
|
|
14023
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14024
|
+
value: input.examples
|
|
14025
|
+
}, _errorFactory))) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14026
|
+
method: "typia.assert",
|
|
14027
|
+
path: _path + ".$defs",
|
|
14028
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14029
|
+
value: input.$defs
|
|
14030
|
+
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14031
|
+
method: "typia.assert",
|
|
14032
|
+
path: _path + ".$defs",
|
|
14033
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14034
|
+
value: input.$defs
|
|
14035
|
+
}, _errorFactory));
|
|
14036
|
+
const _ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every((key => {
|
|
14037
|
+
const value = input[key];
|
|
14038
|
+
if (undefined === value) return true;
|
|
14039
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14040
|
+
method: "typia.assert",
|
|
14041
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14042
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14043
|
+
value
|
|
14044
|
+
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14045
|
+
method: "typia.assert",
|
|
14046
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14047
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14048
|
+
value
|
|
14049
|
+
}, _errorFactory);
|
|
14050
|
+
}));
|
|
14051
|
+
const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14052
|
+
method: "typia.assert",
|
|
14053
|
+
path: _path + ".nullable",
|
|
14054
|
+
expected: "(boolean | undefined)",
|
|
14055
|
+
value: input.nullable
|
|
14056
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14057
|
+
method: "typia.assert",
|
|
14058
|
+
path: _path + ".properties",
|
|
14059
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14060
|
+
value: input.properties
|
|
14061
|
+
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14062
|
+
method: "typia.assert",
|
|
14063
|
+
path: _path + ".properties",
|
|
14064
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14065
|
+
value: input.properties
|
|
14066
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14067
|
+
method: "typia.assert",
|
|
14068
|
+
path: _path + ".required",
|
|
14069
|
+
expected: "(Array<string> | undefined)",
|
|
14070
|
+
value: input.required
|
|
14071
|
+
}, _errorFactory)) && input.required.every(((elem, _index23) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14072
|
+
method: "typia.assert",
|
|
14073
|
+
path: _path + ".required[" + _index23 + "]",
|
|
14074
|
+
expected: "string",
|
|
14075
|
+
value: elem
|
|
14076
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14077
|
+
method: "typia.assert",
|
|
14078
|
+
path: _path + ".required",
|
|
14079
|
+
expected: "(Array<string> | undefined)",
|
|
14080
|
+
value: input.required
|
|
14081
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14082
|
+
method: "typia.assert",
|
|
14083
|
+
path: _path + ".additionalProperties",
|
|
14084
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14085
|
+
value: input.additionalProperties
|
|
14086
|
+
}, _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, {
|
|
14087
|
+
method: "typia.assert",
|
|
14088
|
+
path: _path + ".additionalProperties",
|
|
14089
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14090
|
+
value: input.additionalProperties
|
|
14091
|
+
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14092
|
+
method: "typia.assert",
|
|
14093
|
+
path: _path + ".additionalProperties",
|
|
14094
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14095
|
+
value: input.additionalProperties
|
|
14096
|
+
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14097
|
+
method: "typia.assert",
|
|
14098
|
+
path: _path + ".maxProperties",
|
|
14099
|
+
expected: "(number | undefined)",
|
|
14100
|
+
value: input.maxProperties
|
|
14101
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14102
|
+
method: "typia.assert",
|
|
14103
|
+
path: _path + ".minProperties",
|
|
14104
|
+
expected: "(number | undefined)",
|
|
14105
|
+
value: input.minProperties
|
|
14106
|
+
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14107
|
+
method: "typia.assert",
|
|
14108
|
+
path: _path + ".type",
|
|
14109
|
+
expected: '"object"',
|
|
14110
|
+
value: input.type
|
|
14111
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14112
|
+
method: "typia.assert",
|
|
14113
|
+
path: _path + ".title",
|
|
14114
|
+
expected: "(string | undefined)",
|
|
14115
|
+
value: input.title
|
|
14116
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14117
|
+
method: "typia.assert",
|
|
14118
|
+
path: _path + ".description",
|
|
14119
|
+
expected: "(string | undefined)",
|
|
14120
|
+
value: input.description
|
|
14121
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14122
|
+
method: "typia.assert",
|
|
14123
|
+
path: _path + ".deprecated",
|
|
14124
|
+
expected: "(boolean | undefined)",
|
|
14125
|
+
value: input.deprecated
|
|
14126
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14127
|
+
method: "typia.assert",
|
|
14128
|
+
path: _path + ".examples",
|
|
14129
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14130
|
+
value: input.examples
|
|
14131
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14132
|
+
method: "typia.assert",
|
|
14133
|
+
path: _path + ".examples",
|
|
14134
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14135
|
+
value: input.examples
|
|
14136
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14137
|
+
method: "typia.assert",
|
|
14138
|
+
path: _path + ".examples",
|
|
14139
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14140
|
+
value: input.examples
|
|
14141
|
+
}, _errorFactory)));
|
|
14142
|
+
const _ao4 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14143
|
+
method: "typia.assert",
|
|
14144
|
+
path: _path + ".type",
|
|
14145
|
+
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
14146
|
+
value: input.type
|
|
14147
|
+
}, _errorFactory)) && input.type.every(((elem, _index24) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14148
|
+
method: "typia.assert",
|
|
14149
|
+
path: _path + ".type[" + _index24 + "]",
|
|
14150
|
+
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
14151
|
+
value: elem
|
|
14152
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14153
|
+
method: "typia.assert",
|
|
14154
|
+
path: _path + ".type",
|
|
14155
|
+
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
14156
|
+
value: input.type
|
|
14157
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14158
|
+
method: "typia.assert",
|
|
14159
|
+
path: _path + '["default"]',
|
|
14160
|
+
expected: "(Array<any> | null | undefined)",
|
|
14161
|
+
value: input["default"]
|
|
14162
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14163
|
+
method: "typia.assert",
|
|
14164
|
+
path: _path + '["enum"]',
|
|
14165
|
+
expected: "(Array<any> | undefined)",
|
|
14166
|
+
value: input["enum"]
|
|
14167
|
+
}, _errorFactory)) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14168
|
+
method: "typia.assert",
|
|
14169
|
+
path: _path + '["const"]',
|
|
14170
|
+
expected: "(boolean | number | string)",
|
|
14171
|
+
value: input["const"]
|
|
14172
|
+
}, _errorFactory)) && (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14173
|
+
method: "typia.assert",
|
|
14174
|
+
path: _path + ".nullable",
|
|
14175
|
+
expected: "(boolean | undefined)",
|
|
14176
|
+
value: input.nullable
|
|
14177
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14178
|
+
method: "typia.assert",
|
|
14179
|
+
path: _path + ".examples",
|
|
14180
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14181
|
+
value: input.examples
|
|
14182
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14183
|
+
method: "typia.assert",
|
|
14184
|
+
path: _path + ".examples",
|
|
14185
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14186
|
+
value: input.examples
|
|
14187
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14188
|
+
method: "typia.assert",
|
|
14189
|
+
path: _path + ".examples",
|
|
14190
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14191
|
+
value: input.examples
|
|
14192
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14193
|
+
method: "typia.assert",
|
|
14194
|
+
path: _path + ".title",
|
|
14195
|
+
expected: "(string | undefined)",
|
|
14196
|
+
value: input.title
|
|
14197
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14198
|
+
method: "typia.assert",
|
|
14199
|
+
path: _path + ".description",
|
|
14200
|
+
expected: "(string | undefined)",
|
|
14201
|
+
value: input.description
|
|
14202
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14203
|
+
method: "typia.assert",
|
|
14204
|
+
path: _path + ".deprecated",
|
|
14205
|
+
expected: "(boolean | undefined)",
|
|
14206
|
+
value: input.deprecated
|
|
14207
|
+
}, _errorFactory)) && true && (undefined === input.minimum || "number" === typeof input.minimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14208
|
+
method: "typia.assert",
|
|
14209
|
+
path: _path + ".minimum",
|
|
14210
|
+
expected: "(number | undefined)",
|
|
14211
|
+
value: input.minimum
|
|
14212
|
+
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14213
|
+
method: "typia.assert",
|
|
14214
|
+
path: _path + ".maximum",
|
|
14215
|
+
expected: "(number | undefined)",
|
|
14216
|
+
value: input.maximum
|
|
14217
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14218
|
+
method: "typia.assert",
|
|
14219
|
+
path: _path + ".multipleOf",
|
|
14220
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
14221
|
+
value: input.multipleOf
|
|
14222
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14223
|
+
method: "typia.assert",
|
|
14224
|
+
path: _path + ".multipleOf",
|
|
14225
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
14226
|
+
value: input.multipleOf
|
|
14227
|
+
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14228
|
+
method: "typia.assert",
|
|
14229
|
+
path: _path + ".exclusiveMinimum",
|
|
14230
|
+
expected: "(boolean | number | undefined)",
|
|
14231
|
+
value: input.exclusiveMinimum
|
|
14232
|
+
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14233
|
+
method: "typia.assert",
|
|
14234
|
+
path: _path + ".exclusiveMaximum",
|
|
14235
|
+
expected: "(boolean | number | undefined)",
|
|
14236
|
+
value: input.exclusiveMaximum
|
|
14237
|
+
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14238
|
+
method: "typia.assert",
|
|
14239
|
+
path: _path + ".maxLength",
|
|
14240
|
+
expected: 'number & Type<"uint64">',
|
|
14241
|
+
value: input.maxLength
|
|
14242
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14243
|
+
method: "typia.assert",
|
|
14244
|
+
path: _path + ".maxLength",
|
|
14245
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14246
|
+
value: input.maxLength
|
|
14247
|
+
}, _errorFactory)) && (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14248
|
+
method: "typia.assert",
|
|
14249
|
+
path: _path + ".format",
|
|
14250
|
+
expected: "(string | undefined)",
|
|
14251
|
+
value: input.format
|
|
14252
|
+
}, _errorFactory)) && (undefined === input.pattern || "string" === typeof input.pattern || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14253
|
+
method: "typia.assert",
|
|
14254
|
+
path: _path + ".pattern",
|
|
14255
|
+
expected: "(string | undefined)",
|
|
14256
|
+
value: input.pattern
|
|
14257
|
+
}, _errorFactory)) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14258
|
+
method: "typia.assert",
|
|
14259
|
+
path: _path + ".contentMediaType",
|
|
14260
|
+
expected: "(string | undefined)",
|
|
14261
|
+
value: input.contentMediaType
|
|
14262
|
+
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14263
|
+
method: "typia.assert",
|
|
14264
|
+
path: _path + ".minLength",
|
|
14265
|
+
expected: 'number & Type<"uint64">',
|
|
14266
|
+
value: input.minLength
|
|
14267
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14268
|
+
method: "typia.assert",
|
|
14269
|
+
path: _path + ".minLength",
|
|
14270
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14271
|
+
value: input.minLength
|
|
14272
|
+
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14273
|
+
method: "typia.assert",
|
|
14274
|
+
path: _path + ".items",
|
|
14275
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
14276
|
+
value: input.items
|
|
14277
|
+
}, _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, {
|
|
14278
|
+
method: "typia.assert",
|
|
14279
|
+
path: _path + ".items[" + _index25 + "]",
|
|
14280
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14281
|
+
value: elem
|
|
14282
|
+
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index25 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14283
|
+
method: "typia.assert",
|
|
14284
|
+
path: _path + ".items[" + _index25 + "]",
|
|
14285
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14286
|
+
value: elem
|
|
14287
|
+
}, _errorFactory))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au0(input.items, _path + ".items", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14288
|
+
method: "typia.assert",
|
|
14289
|
+
path: _path + ".items",
|
|
14290
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
14291
|
+
value: input.items
|
|
14292
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14293
|
+
method: "typia.assert",
|
|
14294
|
+
path: _path + ".items",
|
|
14295
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
14296
|
+
value: input.items
|
|
14297
|
+
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14298
|
+
method: "typia.assert",
|
|
14299
|
+
path: _path + ".prefixItems",
|
|
14300
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14301
|
+
value: input.prefixItems
|
|
14302
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index26) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14303
|
+
method: "typia.assert",
|
|
14304
|
+
path: _path + ".prefixItems[" + _index26 + "]",
|
|
14305
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14306
|
+
value: elem
|
|
14307
|
+
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index26 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14308
|
+
method: "typia.assert",
|
|
14309
|
+
path: _path + ".prefixItems[" + _index26 + "]",
|
|
14310
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14311
|
+
value: elem
|
|
14312
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14313
|
+
method: "typia.assert",
|
|
14314
|
+
path: _path + ".prefixItems",
|
|
14315
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14316
|
+
value: input.prefixItems
|
|
14317
|
+
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14318
|
+
method: "typia.assert",
|
|
14319
|
+
path: _path + ".uniqueItems",
|
|
14320
|
+
expected: "(boolean | undefined)",
|
|
14321
|
+
value: input.uniqueItems
|
|
14322
|
+
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14323
|
+
method: "typia.assert",
|
|
14324
|
+
path: _path + ".additionalItems",
|
|
14325
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14326
|
+
value: input.additionalItems
|
|
14327
|
+
}, _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, {
|
|
14328
|
+
method: "typia.assert",
|
|
14329
|
+
path: _path + ".additionalItems",
|
|
14330
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14331
|
+
value: input.additionalItems
|
|
14332
|
+
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14333
|
+
method: "typia.assert",
|
|
14334
|
+
path: _path + ".additionalItems",
|
|
14335
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14336
|
+
value: input.additionalItems
|
|
14337
|
+
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14338
|
+
method: "typia.assert",
|
|
14339
|
+
path: _path + ".minItems",
|
|
14340
|
+
expected: 'number & Type<"uint64">',
|
|
14341
|
+
value: input.minItems
|
|
14342
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14343
|
+
method: "typia.assert",
|
|
14344
|
+
path: _path + ".minItems",
|
|
14345
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14346
|
+
value: input.minItems
|
|
14347
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14348
|
+
method: "typia.assert",
|
|
14349
|
+
path: _path + ".maxItems",
|
|
14350
|
+
expected: 'number & Type<"uint64">',
|
|
14351
|
+
value: input.maxItems
|
|
14352
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14353
|
+
method: "typia.assert",
|
|
14354
|
+
path: _path + ".maxItems",
|
|
14355
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14356
|
+
value: input.maxItems
|
|
14357
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14358
|
+
method: "typia.assert",
|
|
14359
|
+
path: _path + ".additionalProperties",
|
|
14360
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14361
|
+
value: input.additionalProperties
|
|
14362
|
+
}, _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, {
|
|
14363
|
+
method: "typia.assert",
|
|
14364
|
+
path: _path + ".additionalProperties",
|
|
14365
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14366
|
+
value: input.additionalProperties
|
|
14367
|
+
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14368
|
+
method: "typia.assert",
|
|
14369
|
+
path: _path + ".additionalProperties",
|
|
14370
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14371
|
+
value: input.additionalProperties
|
|
14372
|
+
}, _errorFactory))) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14373
|
+
method: "typia.assert",
|
|
14374
|
+
path: _path + ".properties",
|
|
14375
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14376
|
+
value: input.properties
|
|
14377
|
+
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14378
|
+
method: "typia.assert",
|
|
14379
|
+
path: _path + ".properties",
|
|
14380
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14381
|
+
value: input.properties
|
|
14382
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14383
|
+
method: "typia.assert",
|
|
14384
|
+
path: _path + ".required",
|
|
14385
|
+
expected: "(Array<string> | undefined)",
|
|
14386
|
+
value: input.required
|
|
14387
|
+
}, _errorFactory)) && input.required.every(((elem, _index27) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14388
|
+
method: "typia.assert",
|
|
14389
|
+
path: _path + ".required[" + _index27 + "]",
|
|
14390
|
+
expected: "string",
|
|
14391
|
+
value: elem
|
|
14392
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14393
|
+
method: "typia.assert",
|
|
14394
|
+
path: _path + ".required",
|
|
14395
|
+
expected: "(Array<string> | undefined)",
|
|
14396
|
+
value: input.required
|
|
14397
|
+
}, _errorFactory)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14398
|
+
method: "typia.assert",
|
|
14399
|
+
path: _path + ".maxProperties",
|
|
14400
|
+
expected: "(number | undefined)",
|
|
14401
|
+
value: input.maxProperties
|
|
14402
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14403
|
+
method: "typia.assert",
|
|
14404
|
+
path: _path + ".minProperties",
|
|
14405
|
+
expected: "(number | undefined)",
|
|
14406
|
+
value: input.minProperties
|
|
14407
|
+
}, _errorFactory)) && ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14408
|
+
method: "typia.assert",
|
|
14409
|
+
path: _path + ".oneOf",
|
|
14410
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14411
|
+
value: input.oneOf
|
|
14412
|
+
}, _errorFactory)) && input.oneOf.every(((elem, _index28) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14413
|
+
method: "typia.assert",
|
|
14414
|
+
path: _path + ".oneOf[" + _index28 + "]",
|
|
14415
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14416
|
+
value: elem
|
|
14417
|
+
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index28 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14418
|
+
method: "typia.assert",
|
|
14419
|
+
path: _path + ".oneOf[" + _index28 + "]",
|
|
14420
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14421
|
+
value: elem
|
|
14422
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14423
|
+
method: "typia.assert",
|
|
14424
|
+
path: _path + ".oneOf",
|
|
14425
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14426
|
+
value: input.oneOf
|
|
14427
|
+
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14428
|
+
method: "typia.assert",
|
|
14429
|
+
path: _path + ".discriminator",
|
|
14430
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
14431
|
+
value: input.discriminator
|
|
14432
|
+
}, _errorFactory)) && _ao17(input.discriminator, _path + ".discriminator", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14433
|
+
method: "typia.assert",
|
|
14434
|
+
path: _path + ".discriminator",
|
|
14435
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
14436
|
+
value: input.discriminator
|
|
14437
|
+
}, _errorFactory)) && ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14438
|
+
method: "typia.assert",
|
|
14439
|
+
path: _path + ".anyOf",
|
|
14440
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14441
|
+
value: input.anyOf
|
|
14442
|
+
}, _errorFactory)) && input.anyOf.every(((elem, _index29) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14443
|
+
method: "typia.assert",
|
|
14444
|
+
path: _path + ".anyOf[" + _index29 + "]",
|
|
14445
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14446
|
+
value: elem
|
|
14447
|
+
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index29 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14448
|
+
method: "typia.assert",
|
|
14449
|
+
path: _path + ".anyOf[" + _index29 + "]",
|
|
14450
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14451
|
+
value: elem
|
|
14452
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14453
|
+
method: "typia.assert",
|
|
14454
|
+
path: _path + ".anyOf",
|
|
14455
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14456
|
+
value: input.anyOf
|
|
14457
|
+
}, _errorFactory)) && ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14458
|
+
method: "typia.assert",
|
|
14459
|
+
path: _path + ".allOf",
|
|
14460
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14461
|
+
value: input.allOf
|
|
14462
|
+
}, _errorFactory)) && input.allOf.every(((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14463
|
+
method: "typia.assert",
|
|
14464
|
+
path: _path + ".allOf[" + _index30 + "]",
|
|
14465
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14466
|
+
value: elem
|
|
14467
|
+
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index30 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14468
|
+
method: "typia.assert",
|
|
14469
|
+
path: _path + ".allOf[" + _index30 + "]",
|
|
14470
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14471
|
+
value: elem
|
|
14472
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14473
|
+
method: "typia.assert",
|
|
14474
|
+
path: _path + ".allOf",
|
|
14475
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14476
|
+
value: input.allOf
|
|
14477
|
+
}, _errorFactory)) && ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14478
|
+
method: "typia.assert",
|
|
14479
|
+
path: _path + ".$ref",
|
|
14480
|
+
expected: "string",
|
|
14481
|
+
value: input.$ref
|
|
14482
|
+
}, _errorFactory));
|
|
14483
|
+
const _ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every((key => {
|
|
14484
|
+
const value = input[key];
|
|
14485
|
+
if (undefined === value) return true;
|
|
14486
|
+
return true;
|
|
14487
|
+
}));
|
|
14488
|
+
const _ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14489
|
+
method: "typia.assert",
|
|
14490
|
+
path: _path + '["const"]',
|
|
14491
|
+
expected: "(boolean | number | string)",
|
|
14492
|
+
value: input["const"]
|
|
14493
|
+
}, _errorFactory)) && (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14494
|
+
method: "typia.assert",
|
|
14495
|
+
path: _path + ".nullable",
|
|
14496
|
+
expected: "(boolean | undefined)",
|
|
14497
|
+
value: input.nullable
|
|
14498
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14499
|
+
method: "typia.assert",
|
|
14500
|
+
path: _path + ".examples",
|
|
14501
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14502
|
+
value: input.examples
|
|
14503
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14504
|
+
method: "typia.assert",
|
|
14505
|
+
path: _path + ".examples",
|
|
14506
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14507
|
+
value: input.examples
|
|
14508
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14509
|
+
method: "typia.assert",
|
|
14510
|
+
path: _path + ".examples",
|
|
14511
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14512
|
+
value: input.examples
|
|
14513
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14514
|
+
method: "typia.assert",
|
|
14515
|
+
path: _path + ".title",
|
|
14516
|
+
expected: "(string | undefined)",
|
|
14517
|
+
value: input.title
|
|
14518
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14519
|
+
method: "typia.assert",
|
|
14520
|
+
path: _path + ".description",
|
|
14521
|
+
expected: "(string | undefined)",
|
|
14522
|
+
value: input.description
|
|
14523
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14524
|
+
method: "typia.assert",
|
|
14525
|
+
path: _path + ".deprecated",
|
|
14526
|
+
expected: "(boolean | undefined)",
|
|
14527
|
+
value: input.deprecated
|
|
14528
|
+
}, _errorFactory)) && true;
|
|
14529
|
+
const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14530
|
+
method: "typia.assert",
|
|
14531
|
+
path: _path + ".nullable",
|
|
14532
|
+
expected: "(boolean | undefined)",
|
|
14533
|
+
value: input.nullable
|
|
14534
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14535
|
+
method: "typia.assert",
|
|
14536
|
+
path: _path + '["default"]',
|
|
14537
|
+
expected: "(boolean | null | undefined)",
|
|
14538
|
+
value: input["default"]
|
|
14539
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14540
|
+
method: "typia.assert",
|
|
14541
|
+
path: _path + '["enum"]',
|
|
14542
|
+
expected: "(Array<boolean | null> | undefined)",
|
|
14543
|
+
value: input["enum"]
|
|
14544
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index31) => null === elem || "boolean" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14545
|
+
method: "typia.assert",
|
|
14546
|
+
path: _path + '["enum"][' + _index31 + "]",
|
|
14547
|
+
expected: "(boolean | null)",
|
|
14548
|
+
value: elem
|
|
14549
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14550
|
+
method: "typia.assert",
|
|
14551
|
+
path: _path + '["enum"]',
|
|
14552
|
+
expected: "(Array<boolean | null> | undefined)",
|
|
14553
|
+
value: input["enum"]
|
|
14554
|
+
}, _errorFactory)) && ("boolean" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14555
|
+
method: "typia.assert",
|
|
14556
|
+
path: _path + ".type",
|
|
14557
|
+
expected: '"boolean"',
|
|
14558
|
+
value: input.type
|
|
14559
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14560
|
+
method: "typia.assert",
|
|
14561
|
+
path: _path + ".title",
|
|
14562
|
+
expected: "(string | undefined)",
|
|
14563
|
+
value: input.title
|
|
14564
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14565
|
+
method: "typia.assert",
|
|
14566
|
+
path: _path + ".description",
|
|
14567
|
+
expected: "(string | undefined)",
|
|
14568
|
+
value: input.description
|
|
14569
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14570
|
+
method: "typia.assert",
|
|
14571
|
+
path: _path + ".deprecated",
|
|
14572
|
+
expected: "(boolean | undefined)",
|
|
14573
|
+
value: input.deprecated
|
|
14574
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14575
|
+
method: "typia.assert",
|
|
14576
|
+
path: _path + ".examples",
|
|
14577
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14578
|
+
value: input.examples
|
|
14579
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14580
|
+
method: "typia.assert",
|
|
14581
|
+
path: _path + ".examples",
|
|
14582
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14583
|
+
value: input.examples
|
|
14584
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14585
|
+
method: "typia.assert",
|
|
14586
|
+
path: _path + ".examples",
|
|
14587
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14588
|
+
value: input.examples
|
|
14589
|
+
}, _errorFactory)));
|
|
14590
|
+
const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14591
|
+
method: "typia.assert",
|
|
14592
|
+
path: _path + ".nullable",
|
|
14593
|
+
expected: "(boolean | undefined)",
|
|
14594
|
+
value: input.nullable
|
|
14595
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14596
|
+
method: "typia.assert",
|
|
14597
|
+
path: _path + '["default"]',
|
|
14598
|
+
expected: 'number & Type<"int64">',
|
|
14599
|
+
value: input["default"]
|
|
14600
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14601
|
+
method: "typia.assert",
|
|
14602
|
+
path: _path + '["default"]',
|
|
14603
|
+
expected: '((number & Type<"int64">) | null | undefined)',
|
|
14604
|
+
value: input["default"]
|
|
14605
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14606
|
+
method: "typia.assert",
|
|
14607
|
+
path: _path + '["enum"]',
|
|
14608
|
+
expected: "(Array<number | null> | undefined)",
|
|
14609
|
+
value: input["enum"]
|
|
14610
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index32) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14611
|
+
method: "typia.assert",
|
|
14612
|
+
path: _path + '["enum"][' + _index32 + "]",
|
|
14613
|
+
expected: "(null | number)",
|
|
14614
|
+
value: elem
|
|
14615
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14616
|
+
method: "typia.assert",
|
|
14617
|
+
path: _path + '["enum"]',
|
|
14618
|
+
expected: "(Array<number | null> | undefined)",
|
|
14619
|
+
value: input["enum"]
|
|
14620
|
+
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14621
|
+
method: "typia.assert",
|
|
14622
|
+
path: _path + ".minimum",
|
|
14623
|
+
expected: 'number & Type<"int64">',
|
|
14624
|
+
value: input.minimum
|
|
14625
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14626
|
+
method: "typia.assert",
|
|
14627
|
+
path: _path + ".minimum",
|
|
14628
|
+
expected: '((number & Type<"int64">) | undefined)',
|
|
14629
|
+
value: input.minimum
|
|
14630
|
+
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14631
|
+
method: "typia.assert",
|
|
14632
|
+
path: _path + ".maximum",
|
|
14633
|
+
expected: 'number & Type<"int64">',
|
|
14634
|
+
value: input.maximum
|
|
14635
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14636
|
+
method: "typia.assert",
|
|
14637
|
+
path: _path + ".maximum",
|
|
14638
|
+
expected: '((number & Type<"int64">) | undefined)',
|
|
14639
|
+
value: input.maximum
|
|
14640
|
+
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14641
|
+
method: "typia.assert",
|
|
14642
|
+
path: _path + ".exclusiveMinimum",
|
|
14643
|
+
expected: 'number & Type<"int64">',
|
|
14644
|
+
value: input.exclusiveMinimum
|
|
14645
|
+
}, _errorFactory)) || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14646
|
+
method: "typia.assert",
|
|
14647
|
+
path: _path + ".exclusiveMinimum",
|
|
14648
|
+
expected: '((number & Type<"int64">) | boolean | undefined)',
|
|
14649
|
+
value: input.exclusiveMinimum
|
|
14650
|
+
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14651
|
+
method: "typia.assert",
|
|
14652
|
+
path: _path + ".exclusiveMaximum",
|
|
14653
|
+
expected: 'number & Type<"int64">',
|
|
14654
|
+
value: input.exclusiveMaximum
|
|
14655
|
+
}, _errorFactory)) || "boolean" === typeof input.exclusiveMaximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14656
|
+
method: "typia.assert",
|
|
14657
|
+
path: _path + ".exclusiveMaximum",
|
|
14658
|
+
expected: '((number & Type<"int64">) | boolean | undefined)',
|
|
14659
|
+
value: input.exclusiveMaximum
|
|
14660
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14661
|
+
method: "typia.assert",
|
|
14662
|
+
path: _path + ".multipleOf",
|
|
14663
|
+
expected: 'number & Type<"uint64">',
|
|
14664
|
+
value: input.multipleOf
|
|
14665
|
+
}, _errorFactory)) && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14666
|
+
method: "typia.assert",
|
|
14667
|
+
path: _path + ".multipleOf",
|
|
14668
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
14669
|
+
value: input.multipleOf
|
|
14670
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14671
|
+
method: "typia.assert",
|
|
14672
|
+
path: _path + ".multipleOf",
|
|
14673
|
+
expected: '((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',
|
|
14674
|
+
value: input.multipleOf
|
|
14675
|
+
}, _errorFactory)) && ("integer" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14676
|
+
method: "typia.assert",
|
|
14677
|
+
path: _path + ".type",
|
|
14678
|
+
expected: '"integer"',
|
|
14679
|
+
value: input.type
|
|
14680
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14681
|
+
method: "typia.assert",
|
|
14682
|
+
path: _path + ".title",
|
|
14683
|
+
expected: "(string | undefined)",
|
|
14684
|
+
value: input.title
|
|
14685
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14686
|
+
method: "typia.assert",
|
|
14687
|
+
path: _path + ".description",
|
|
14688
|
+
expected: "(string | undefined)",
|
|
14689
|
+
value: input.description
|
|
14690
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14691
|
+
method: "typia.assert",
|
|
14692
|
+
path: _path + ".deprecated",
|
|
14693
|
+
expected: "(boolean | undefined)",
|
|
14694
|
+
value: input.deprecated
|
|
14695
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14696
|
+
method: "typia.assert",
|
|
14697
|
+
path: _path + ".examples",
|
|
14698
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14699
|
+
value: input.examples
|
|
14700
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14701
|
+
method: "typia.assert",
|
|
14702
|
+
path: _path + ".examples",
|
|
14703
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14704
|
+
value: input.examples
|
|
14705
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14706
|
+
method: "typia.assert",
|
|
14707
|
+
path: _path + ".examples",
|
|
14708
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14709
|
+
value: input.examples
|
|
14710
|
+
}, _errorFactory)));
|
|
14711
|
+
const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14712
|
+
method: "typia.assert",
|
|
14713
|
+
path: _path + ".nullable",
|
|
14714
|
+
expected: "(boolean | undefined)",
|
|
14715
|
+
value: input.nullable
|
|
14716
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14717
|
+
method: "typia.assert",
|
|
14718
|
+
path: _path + '["default"]',
|
|
14719
|
+
expected: "(null | number | undefined)",
|
|
14720
|
+
value: input["default"]
|
|
14721
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14722
|
+
method: "typia.assert",
|
|
14723
|
+
path: _path + '["enum"]',
|
|
14724
|
+
expected: "(Array<number | null> | undefined)",
|
|
14725
|
+
value: input["enum"]
|
|
14726
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index33) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14727
|
+
method: "typia.assert",
|
|
14728
|
+
path: _path + '["enum"][' + _index33 + "]",
|
|
14729
|
+
expected: "(null | number)",
|
|
14730
|
+
value: elem
|
|
14731
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14732
|
+
method: "typia.assert",
|
|
14733
|
+
path: _path + '["enum"]',
|
|
14734
|
+
expected: "(Array<number | null> | undefined)",
|
|
14735
|
+
value: input["enum"]
|
|
14736
|
+
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14737
|
+
method: "typia.assert",
|
|
14738
|
+
path: _path + ".minimum",
|
|
14739
|
+
expected: "(number | undefined)",
|
|
14740
|
+
value: input.minimum
|
|
14741
|
+
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14742
|
+
method: "typia.assert",
|
|
14743
|
+
path: _path + ".maximum",
|
|
14744
|
+
expected: "(number | undefined)",
|
|
14745
|
+
value: input.maximum
|
|
14746
|
+
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14747
|
+
method: "typia.assert",
|
|
14748
|
+
path: _path + ".exclusiveMinimum",
|
|
14749
|
+
expected: "(boolean | number | undefined)",
|
|
14750
|
+
value: input.exclusiveMinimum
|
|
14751
|
+
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14752
|
+
method: "typia.assert",
|
|
14753
|
+
path: _path + ".exclusiveMaximum",
|
|
14754
|
+
expected: "(boolean | number | undefined)",
|
|
14755
|
+
value: input.exclusiveMaximum
|
|
14756
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14757
|
+
method: "typia.assert",
|
|
14758
|
+
path: _path + ".multipleOf",
|
|
14759
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
14760
|
+
value: input.multipleOf
|
|
14761
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14762
|
+
method: "typia.assert",
|
|
14763
|
+
path: _path + ".multipleOf",
|
|
14764
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
14765
|
+
value: input.multipleOf
|
|
14766
|
+
}, _errorFactory)) && ("number" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14767
|
+
method: "typia.assert",
|
|
14768
|
+
path: _path + ".type",
|
|
14769
|
+
expected: '"number"',
|
|
14770
|
+
value: input.type
|
|
14771
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14772
|
+
method: "typia.assert",
|
|
14773
|
+
path: _path + ".title",
|
|
14774
|
+
expected: "(string | undefined)",
|
|
14775
|
+
value: input.title
|
|
14776
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14777
|
+
method: "typia.assert",
|
|
14778
|
+
path: _path + ".description",
|
|
14779
|
+
expected: "(string | undefined)",
|
|
14780
|
+
value: input.description
|
|
14781
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14782
|
+
method: "typia.assert",
|
|
14783
|
+
path: _path + ".deprecated",
|
|
14784
|
+
expected: "(boolean | undefined)",
|
|
14785
|
+
value: input.deprecated
|
|
14786
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14787
|
+
method: "typia.assert",
|
|
14788
|
+
path: _path + ".examples",
|
|
14789
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14790
|
+
value: input.examples
|
|
14791
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14792
|
+
method: "typia.assert",
|
|
14793
|
+
path: _path + ".examples",
|
|
14794
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14795
|
+
value: input.examples
|
|
14796
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14797
|
+
method: "typia.assert",
|
|
14798
|
+
path: _path + ".examples",
|
|
14799
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14800
|
+
value: input.examples
|
|
14801
|
+
}, _errorFactory)));
|
|
14802
|
+
const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14803
|
+
method: "typia.assert",
|
|
14804
|
+
path: _path + ".nullable",
|
|
14805
|
+
expected: "(boolean | undefined)",
|
|
14806
|
+
value: input.nullable
|
|
14807
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14808
|
+
method: "typia.assert",
|
|
14809
|
+
path: _path + '["default"]',
|
|
14810
|
+
expected: "(null | string | undefined)",
|
|
14811
|
+
value: input["default"]
|
|
14812
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14813
|
+
method: "typia.assert",
|
|
14814
|
+
path: _path + '["enum"]',
|
|
14815
|
+
expected: "(Array<string | null> | undefined)",
|
|
14816
|
+
value: input["enum"]
|
|
14817
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index34) => null === elem || "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14818
|
+
method: "typia.assert",
|
|
14819
|
+
path: _path + '["enum"][' + _index34 + "]",
|
|
14820
|
+
expected: "(null | string)",
|
|
14821
|
+
value: elem
|
|
14822
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14823
|
+
method: "typia.assert",
|
|
14824
|
+
path: _path + '["enum"]',
|
|
14825
|
+
expected: "(Array<string | null> | undefined)",
|
|
14826
|
+
value: input["enum"]
|
|
14827
|
+
}, _errorFactory)) && (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14828
|
+
method: "typia.assert",
|
|
14829
|
+
path: _path + ".format",
|
|
14830
|
+
expected: "(string | undefined)",
|
|
14831
|
+
value: input.format
|
|
14832
|
+
}, _errorFactory)) && (undefined === input.pattern || "string" === typeof input.pattern || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14833
|
+
method: "typia.assert",
|
|
14834
|
+
path: _path + ".pattern",
|
|
14835
|
+
expected: "(string | undefined)",
|
|
14836
|
+
value: input.pattern
|
|
14837
|
+
}, _errorFactory)) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14838
|
+
method: "typia.assert",
|
|
14839
|
+
path: _path + ".contentMediaType",
|
|
14840
|
+
expected: "(string | undefined)",
|
|
14841
|
+
value: input.contentMediaType
|
|
14842
|
+
}, _errorFactory)) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14843
|
+
method: "typia.assert",
|
|
14844
|
+
path: _path + ".minLength",
|
|
14845
|
+
expected: 'number & Type<"uint64">',
|
|
14846
|
+
value: input.minLength
|
|
14847
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14848
|
+
method: "typia.assert",
|
|
14849
|
+
path: _path + ".minLength",
|
|
14850
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14851
|
+
value: input.minLength
|
|
14852
|
+
}, _errorFactory)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14853
|
+
method: "typia.assert",
|
|
14854
|
+
path: _path + ".maxLength",
|
|
14855
|
+
expected: 'number & Type<"uint64">',
|
|
14856
|
+
value: input.maxLength
|
|
14857
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14858
|
+
method: "typia.assert",
|
|
14859
|
+
path: _path + ".maxLength",
|
|
14860
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14861
|
+
value: input.maxLength
|
|
14862
|
+
}, _errorFactory)) && ("string" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14863
|
+
method: "typia.assert",
|
|
14864
|
+
path: _path + ".type",
|
|
14865
|
+
expected: '"string"',
|
|
14866
|
+
value: input.type
|
|
14867
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14868
|
+
method: "typia.assert",
|
|
14869
|
+
path: _path + ".title",
|
|
14870
|
+
expected: "(string | undefined)",
|
|
14871
|
+
value: input.title
|
|
14872
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14873
|
+
method: "typia.assert",
|
|
14874
|
+
path: _path + ".description",
|
|
14875
|
+
expected: "(string | undefined)",
|
|
14876
|
+
value: input.description
|
|
14877
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14878
|
+
method: "typia.assert",
|
|
14879
|
+
path: _path + ".deprecated",
|
|
14880
|
+
expected: "(boolean | undefined)",
|
|
14881
|
+
value: input.deprecated
|
|
14882
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14883
|
+
method: "typia.assert",
|
|
14884
|
+
path: _path + ".examples",
|
|
14885
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14886
|
+
value: input.examples
|
|
14887
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14888
|
+
method: "typia.assert",
|
|
14889
|
+
path: _path + ".examples",
|
|
14890
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14891
|
+
value: input.examples
|
|
14892
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14893
|
+
method: "typia.assert",
|
|
14894
|
+
path: _path + ".examples",
|
|
14895
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14896
|
+
value: input.examples
|
|
14897
|
+
}, _errorFactory)));
|
|
14898
|
+
const _ao11 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14899
|
+
method: "typia.assert",
|
|
14900
|
+
path: _path + ".nullable",
|
|
14901
|
+
expected: "(boolean | undefined)",
|
|
14902
|
+
value: input.nullable
|
|
14903
|
+
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14904
|
+
method: "typia.assert",
|
|
14905
|
+
path: _path + ".items",
|
|
14906
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
14907
|
+
value: input.items
|
|
14908
|
+
}, _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, {
|
|
14909
|
+
method: "typia.assert",
|
|
14910
|
+
path: _path + ".items[" + _index35 + "]",
|
|
14911
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14912
|
+
value: elem
|
|
14913
|
+
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index35 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14914
|
+
method: "typia.assert",
|
|
14915
|
+
path: _path + ".items[" + _index35 + "]",
|
|
14916
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14917
|
+
value: elem
|
|
14918
|
+
}, _errorFactory))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au0(input.items, _path + ".items", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14919
|
+
method: "typia.assert",
|
|
14920
|
+
path: _path + ".items",
|
|
14921
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
14922
|
+
value: input.items
|
|
14923
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14924
|
+
method: "typia.assert",
|
|
14925
|
+
path: _path + ".items",
|
|
14926
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
14927
|
+
value: input.items
|
|
14928
|
+
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14929
|
+
method: "typia.assert",
|
|
14930
|
+
path: _path + ".prefixItems",
|
|
14931
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14932
|
+
value: input.prefixItems
|
|
14933
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14934
|
+
method: "typia.assert",
|
|
14935
|
+
path: _path + ".prefixItems[" + _index36 + "]",
|
|
14936
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14937
|
+
value: elem
|
|
14938
|
+
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index36 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14939
|
+
method: "typia.assert",
|
|
14940
|
+
path: _path + ".prefixItems[" + _index36 + "]",
|
|
14941
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
14942
|
+
value: elem
|
|
14943
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14944
|
+
method: "typia.assert",
|
|
14945
|
+
path: _path + ".prefixItems",
|
|
14946
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14947
|
+
value: input.prefixItems
|
|
14948
|
+
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14949
|
+
method: "typia.assert",
|
|
14950
|
+
path: _path + ".uniqueItems",
|
|
14951
|
+
expected: "(boolean | undefined)",
|
|
14952
|
+
value: input.uniqueItems
|
|
14953
|
+
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14954
|
+
method: "typia.assert",
|
|
14955
|
+
path: _path + ".additionalItems",
|
|
14956
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14957
|
+
value: input.additionalItems
|
|
14958
|
+
}, _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, {
|
|
14959
|
+
method: "typia.assert",
|
|
14960
|
+
path: _path + ".additionalItems",
|
|
14961
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14962
|
+
value: input.additionalItems
|
|
14963
|
+
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14964
|
+
method: "typia.assert",
|
|
14965
|
+
path: _path + ".additionalItems",
|
|
14966
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
14967
|
+
value: input.additionalItems
|
|
14968
|
+
}, _errorFactory))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14969
|
+
method: "typia.assert",
|
|
14970
|
+
path: _path + ".minItems",
|
|
14971
|
+
expected: 'number & Type<"uint64">',
|
|
14972
|
+
value: input.minItems
|
|
14973
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14974
|
+
method: "typia.assert",
|
|
14975
|
+
path: _path + ".minItems",
|
|
14976
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14977
|
+
value: input.minItems
|
|
14978
|
+
}, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14979
|
+
method: "typia.assert",
|
|
14980
|
+
path: _path + ".maxItems",
|
|
14981
|
+
expected: 'number & Type<"uint64">',
|
|
14982
|
+
value: input.maxItems
|
|
14983
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14984
|
+
method: "typia.assert",
|
|
14985
|
+
path: _path + ".maxItems",
|
|
14986
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14987
|
+
value: input.maxItems
|
|
14988
|
+
}, _errorFactory)) && ("array" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14989
|
+
method: "typia.assert",
|
|
14990
|
+
path: _path + ".type",
|
|
14991
|
+
expected: '"array"',
|
|
14992
|
+
value: input.type
|
|
14993
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14994
|
+
method: "typia.assert",
|
|
14995
|
+
path: _path + ".title",
|
|
14996
|
+
expected: "(string | undefined)",
|
|
14997
|
+
value: input.title
|
|
14998
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14999
|
+
method: "typia.assert",
|
|
15000
|
+
path: _path + ".description",
|
|
15001
|
+
expected: "(string | undefined)",
|
|
15002
|
+
value: input.description
|
|
15003
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15004
|
+
method: "typia.assert",
|
|
15005
|
+
path: _path + ".deprecated",
|
|
15006
|
+
expected: "(boolean | undefined)",
|
|
15007
|
+
value: input.deprecated
|
|
15008
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15009
|
+
method: "typia.assert",
|
|
15010
|
+
path: _path + ".examples",
|
|
15011
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15012
|
+
value: input.examples
|
|
15013
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15014
|
+
method: "typia.assert",
|
|
15015
|
+
path: _path + ".examples",
|
|
15016
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15017
|
+
value: input.examples
|
|
15018
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15019
|
+
method: "typia.assert",
|
|
15020
|
+
path: _path + ".examples",
|
|
15021
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15022
|
+
value: input.examples
|
|
15023
|
+
}, _errorFactory)));
|
|
15024
|
+
const _ao12 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15025
|
+
method: "typia.assert",
|
|
15026
|
+
path: _path + ".$ref",
|
|
15027
|
+
expected: "string",
|
|
15028
|
+
value: input.$ref
|
|
15029
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15030
|
+
method: "typia.assert",
|
|
15031
|
+
path: _path + ".examples",
|
|
15032
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15033
|
+
value: input.examples
|
|
15034
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15035
|
+
method: "typia.assert",
|
|
15036
|
+
path: _path + ".examples",
|
|
15037
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15038
|
+
value: input.examples
|
|
15039
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15040
|
+
method: "typia.assert",
|
|
15041
|
+
path: _path + ".examples",
|
|
15042
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15043
|
+
value: input.examples
|
|
15044
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15045
|
+
method: "typia.assert",
|
|
15046
|
+
path: _path + ".title",
|
|
15047
|
+
expected: "(string | undefined)",
|
|
15048
|
+
value: input.title
|
|
15049
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15050
|
+
method: "typia.assert",
|
|
15051
|
+
path: _path + ".description",
|
|
15052
|
+
expected: "(string | undefined)",
|
|
15053
|
+
value: input.description
|
|
15054
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15055
|
+
method: "typia.assert",
|
|
15056
|
+
path: _path + ".deprecated",
|
|
15057
|
+
expected: "(boolean | undefined)",
|
|
15058
|
+
value: input.deprecated
|
|
15059
|
+
}, _errorFactory)) && true;
|
|
15060
|
+
const _ao13 = (input, _path, _exceptionable = true) => ("string" === typeof input.$recursiveRef || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15061
|
+
method: "typia.assert",
|
|
15062
|
+
path: _path + ".$recursiveRef",
|
|
15063
|
+
expected: "string",
|
|
15064
|
+
value: input.$recursiveRef
|
|
15065
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15066
|
+
method: "typia.assert",
|
|
15067
|
+
path: _path + ".examples",
|
|
15068
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15069
|
+
value: input.examples
|
|
15070
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15071
|
+
method: "typia.assert",
|
|
15072
|
+
path: _path + ".examples",
|
|
15073
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15074
|
+
value: input.examples
|
|
15075
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15076
|
+
method: "typia.assert",
|
|
15077
|
+
path: _path + ".examples",
|
|
15078
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15079
|
+
value: input.examples
|
|
15080
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15081
|
+
method: "typia.assert",
|
|
15082
|
+
path: _path + ".title",
|
|
15083
|
+
expected: "(string | undefined)",
|
|
15084
|
+
value: input.title
|
|
15085
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15086
|
+
method: "typia.assert",
|
|
15087
|
+
path: _path + ".description",
|
|
15088
|
+
expected: "(string | undefined)",
|
|
15089
|
+
value: input.description
|
|
15090
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15091
|
+
method: "typia.assert",
|
|
15092
|
+
path: _path + ".deprecated",
|
|
15093
|
+
expected: "(boolean | undefined)",
|
|
15094
|
+
value: input.deprecated
|
|
15095
|
+
}, _errorFactory)) && true;
|
|
15096
|
+
const _ao14 = (input, _path, _exceptionable = true) => ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15097
|
+
method: "typia.assert",
|
|
15098
|
+
path: _path + ".allOf",
|
|
15099
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15100
|
+
value: input.allOf
|
|
15101
|
+
}, _errorFactory)) && input.allOf.every(((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15102
|
+
method: "typia.assert",
|
|
15103
|
+
path: _path + ".allOf[" + _index37 + "]",
|
|
15104
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
15105
|
+
value: elem
|
|
15106
|
+
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index37 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15107
|
+
method: "typia.assert",
|
|
15108
|
+
path: _path + ".allOf[" + _index37 + "]",
|
|
15109
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
15110
|
+
value: elem
|
|
15111
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15112
|
+
method: "typia.assert",
|
|
15113
|
+
path: _path + ".allOf",
|
|
15114
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15115
|
+
value: input.allOf
|
|
15116
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15117
|
+
method: "typia.assert",
|
|
15118
|
+
path: _path + ".examples",
|
|
15119
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15120
|
+
value: input.examples
|
|
15121
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15122
|
+
method: "typia.assert",
|
|
15123
|
+
path: _path + ".examples",
|
|
15124
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15125
|
+
value: input.examples
|
|
15126
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15127
|
+
method: "typia.assert",
|
|
15128
|
+
path: _path + ".examples",
|
|
15129
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15130
|
+
value: input.examples
|
|
15131
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15132
|
+
method: "typia.assert",
|
|
15133
|
+
path: _path + ".title",
|
|
15134
|
+
expected: "(string | undefined)",
|
|
15135
|
+
value: input.title
|
|
15136
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15137
|
+
method: "typia.assert",
|
|
15138
|
+
path: _path + ".description",
|
|
15139
|
+
expected: "(string | undefined)",
|
|
15140
|
+
value: input.description
|
|
15141
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15142
|
+
method: "typia.assert",
|
|
15143
|
+
path: _path + ".deprecated",
|
|
15144
|
+
expected: "(boolean | undefined)",
|
|
15145
|
+
value: input.deprecated
|
|
15146
|
+
}, _errorFactory)) && true;
|
|
15147
|
+
const _ao15 = (input, _path, _exceptionable = true) => ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15148
|
+
method: "typia.assert",
|
|
15149
|
+
path: _path + ".anyOf",
|
|
15150
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15151
|
+
value: input.anyOf
|
|
15152
|
+
}, _errorFactory)) && input.anyOf.every(((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15153
|
+
method: "typia.assert",
|
|
15154
|
+
path: _path + ".anyOf[" + _index38 + "]",
|
|
15155
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
15156
|
+
value: elem
|
|
15157
|
+
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index38 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15158
|
+
method: "typia.assert",
|
|
15159
|
+
path: _path + ".anyOf[" + _index38 + "]",
|
|
15160
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
15161
|
+
value: elem
|
|
15162
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15163
|
+
method: "typia.assert",
|
|
15164
|
+
path: _path + ".anyOf",
|
|
15165
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15166
|
+
value: input.anyOf
|
|
15167
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15168
|
+
method: "typia.assert",
|
|
15169
|
+
path: _path + ".examples",
|
|
15170
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15171
|
+
value: input.examples
|
|
15172
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15173
|
+
method: "typia.assert",
|
|
15174
|
+
path: _path + ".examples",
|
|
15175
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15176
|
+
value: input.examples
|
|
15177
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15178
|
+
method: "typia.assert",
|
|
15179
|
+
path: _path + ".examples",
|
|
15180
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15181
|
+
value: input.examples
|
|
15182
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15183
|
+
method: "typia.assert",
|
|
15184
|
+
path: _path + ".title",
|
|
15185
|
+
expected: "(string | undefined)",
|
|
15186
|
+
value: input.title
|
|
15187
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15188
|
+
method: "typia.assert",
|
|
15189
|
+
path: _path + ".description",
|
|
15190
|
+
expected: "(string | undefined)",
|
|
15191
|
+
value: input.description
|
|
15192
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15193
|
+
method: "typia.assert",
|
|
15194
|
+
path: _path + ".deprecated",
|
|
15195
|
+
expected: "(boolean | undefined)",
|
|
15196
|
+
value: input.deprecated
|
|
15197
|
+
}, _errorFactory)) && true;
|
|
15198
|
+
const _ao16 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15199
|
+
method: "typia.assert",
|
|
15200
|
+
path: _path + ".oneOf",
|
|
15201
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15202
|
+
value: input.oneOf
|
|
15203
|
+
}, _errorFactory)) && input.oneOf.every(((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15204
|
+
method: "typia.assert",
|
|
15205
|
+
path: _path + ".oneOf[" + _index39 + "]",
|
|
15206
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
15207
|
+
value: elem
|
|
15208
|
+
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index39 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15209
|
+
method: "typia.assert",
|
|
15210
|
+
path: _path + ".oneOf[" + _index39 + "]",
|
|
15211
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
15212
|
+
value: elem
|
|
15213
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15214
|
+
method: "typia.assert",
|
|
15215
|
+
path: _path + ".oneOf",
|
|
15216
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15217
|
+
value: input.oneOf
|
|
15218
|
+
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15219
|
+
method: "typia.assert",
|
|
15220
|
+
path: _path + ".discriminator",
|
|
15221
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
15222
|
+
value: input.discriminator
|
|
15223
|
+
}, _errorFactory)) && _ao17(input.discriminator, _path + ".discriminator", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15224
|
+
method: "typia.assert",
|
|
15225
|
+
path: _path + ".discriminator",
|
|
15226
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
15227
|
+
value: input.discriminator
|
|
15228
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15229
|
+
method: "typia.assert",
|
|
15230
|
+
path: _path + ".examples",
|
|
15231
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15232
|
+
value: input.examples
|
|
15233
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15234
|
+
method: "typia.assert",
|
|
15235
|
+
path: _path + ".examples",
|
|
15236
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15237
|
+
value: input.examples
|
|
15238
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15239
|
+
method: "typia.assert",
|
|
15240
|
+
path: _path + ".examples",
|
|
15241
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15242
|
+
value: input.examples
|
|
15243
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15244
|
+
method: "typia.assert",
|
|
15245
|
+
path: _path + ".title",
|
|
15246
|
+
expected: "(string | undefined)",
|
|
15247
|
+
value: input.title
|
|
15248
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15249
|
+
method: "typia.assert",
|
|
15250
|
+
path: _path + ".description",
|
|
15251
|
+
expected: "(string | undefined)",
|
|
15252
|
+
value: input.description
|
|
15253
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15254
|
+
method: "typia.assert",
|
|
15255
|
+
path: _path + ".deprecated",
|
|
15256
|
+
expected: "(boolean | undefined)",
|
|
15257
|
+
value: input.deprecated
|
|
15258
|
+
}, _errorFactory)) && true;
|
|
15259
|
+
const _ao17 = (input, _path, _exceptionable = true) => ("string" === typeof input.propertyName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15260
|
+
method: "typia.assert",
|
|
15261
|
+
path: _path + ".propertyName",
|
|
15262
|
+
expected: "string",
|
|
15263
|
+
value: input.propertyName
|
|
15264
|
+
}, _errorFactory)) && (undefined === input.mapping || ("object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15265
|
+
method: "typia.assert",
|
|
15266
|
+
path: _path + ".mapping",
|
|
15267
|
+
expected: "(Record<string, string> | undefined)",
|
|
15268
|
+
value: input.mapping
|
|
15269
|
+
}, _errorFactory)) && _ao18(input.mapping, _path + ".mapping", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15270
|
+
method: "typia.assert",
|
|
15271
|
+
path: _path + ".mapping",
|
|
15272
|
+
expected: "(Record<string, string> | undefined)",
|
|
15273
|
+
value: input.mapping
|
|
15274
|
+
}, _errorFactory));
|
|
15275
|
+
const _ao18 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every((key => {
|
|
15276
|
+
const value = input[key];
|
|
15277
|
+
if (undefined === value) return true;
|
|
15278
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15279
|
+
method: "typia.assert",
|
|
15280
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15281
|
+
expected: "string",
|
|
15282
|
+
value
|
|
15283
|
+
}, _errorFactory);
|
|
15284
|
+
}));
|
|
15285
|
+
const _ao19 = (input, _path, _exceptionable = true) => (null === input["default"] || undefined === input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15286
|
+
method: "typia.assert",
|
|
15287
|
+
path: _path + '["default"]',
|
|
15288
|
+
expected: "(null | undefined)",
|
|
15289
|
+
value: input["default"]
|
|
15290
|
+
}, _errorFactory)) && ("null" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15291
|
+
method: "typia.assert",
|
|
15292
|
+
path: _path + ".type",
|
|
15293
|
+
expected: '"null"',
|
|
15294
|
+
value: input.type
|
|
15295
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15296
|
+
method: "typia.assert",
|
|
15297
|
+
path: _path + ".title",
|
|
15298
|
+
expected: "(string | undefined)",
|
|
15299
|
+
value: input.title
|
|
15300
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15301
|
+
method: "typia.assert",
|
|
15302
|
+
path: _path + ".description",
|
|
15303
|
+
expected: "(string | undefined)",
|
|
15304
|
+
value: input.description
|
|
15305
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15306
|
+
method: "typia.assert",
|
|
15307
|
+
path: _path + ".deprecated",
|
|
15308
|
+
expected: "(boolean | undefined)",
|
|
15309
|
+
value: input.deprecated
|
|
15310
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15311
|
+
method: "typia.assert",
|
|
15312
|
+
path: _path + ".examples",
|
|
15313
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15314
|
+
value: input.examples
|
|
15315
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15316
|
+
method: "typia.assert",
|
|
15317
|
+
path: _path + ".examples",
|
|
15318
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15319
|
+
value: input.examples
|
|
15320
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15321
|
+
method: "typia.assert",
|
|
15322
|
+
path: _path + ".examples",
|
|
15323
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15324
|
+
value: input.examples
|
|
15325
|
+
}, _errorFactory)));
|
|
15326
|
+
const _ao20 = (input, _path, _exceptionable = true) => (null !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15327
|
+
method: "typia.assert",
|
|
15328
|
+
path: _path + ".type",
|
|
15329
|
+
expected: "undefined",
|
|
15330
|
+
value: input.type
|
|
15331
|
+
}, _errorFactory)) && (undefined === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15332
|
+
method: "typia.assert",
|
|
15333
|
+
path: _path + ".type",
|
|
15334
|
+
expected: "undefined",
|
|
15335
|
+
value: input.type
|
|
15336
|
+
}, _errorFactory)) && true && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15337
|
+
method: "typia.assert",
|
|
15338
|
+
path: _path + ".title",
|
|
15339
|
+
expected: "(string | undefined)",
|
|
15340
|
+
value: input.title
|
|
15341
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15342
|
+
method: "typia.assert",
|
|
15343
|
+
path: _path + ".description",
|
|
15344
|
+
expected: "(string | undefined)",
|
|
15345
|
+
value: input.description
|
|
15346
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15347
|
+
method: "typia.assert",
|
|
15348
|
+
path: _path + ".deprecated",
|
|
15349
|
+
expected: "(boolean | undefined)",
|
|
15350
|
+
value: input.deprecated
|
|
15351
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15352
|
+
method: "typia.assert",
|
|
15353
|
+
path: _path + ".examples",
|
|
15354
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15355
|
+
value: input.examples
|
|
15356
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15357
|
+
method: "typia.assert",
|
|
15358
|
+
path: _path + ".examples",
|
|
15359
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15360
|
+
value: input.examples
|
|
15361
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15362
|
+
method: "typia.assert",
|
|
15363
|
+
path: _path + ".examples",
|
|
15364
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15365
|
+
value: input.examples
|
|
15366
|
+
}, _errorFactory)));
|
|
15367
|
+
const _ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15368
|
+
method: "typia.assert",
|
|
15369
|
+
path: _path + ".$ref",
|
|
15370
|
+
expected: "string",
|
|
15371
|
+
value: input.$ref
|
|
15372
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15373
|
+
method: "typia.assert",
|
|
15374
|
+
path: _path + ".examples",
|
|
15375
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15376
|
+
value: input.examples
|
|
15377
|
+
}, _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", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15378
|
+
method: "typia.assert",
|
|
15379
|
+
path: _path + ".examples",
|
|
15380
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15381
|
+
value: input.examples
|
|
15382
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15383
|
+
method: "typia.assert",
|
|
15384
|
+
path: _path + ".examples",
|
|
15385
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15386
|
+
value: input.examples
|
|
15387
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15388
|
+
method: "typia.assert",
|
|
15389
|
+
path: _path + ".title",
|
|
15390
|
+
expected: "(string | undefined)",
|
|
15391
|
+
value: input.title
|
|
15392
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15393
|
+
method: "typia.assert",
|
|
15394
|
+
path: _path + ".description",
|
|
15395
|
+
expected: "(string | undefined)",
|
|
15396
|
+
value: input.description
|
|
15397
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15398
|
+
method: "typia.assert",
|
|
15399
|
+
path: _path + ".deprecated",
|
|
15400
|
+
expected: "(boolean | undefined)",
|
|
15401
|
+
value: input.deprecated
|
|
15402
|
+
}, _errorFactory)) && true && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15403
|
+
method: "typia.assert",
|
|
15404
|
+
path: _path + ".$defs",
|
|
15405
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
15406
|
+
value: input.$defs
|
|
15407
|
+
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15408
|
+
method: "typia.assert",
|
|
15409
|
+
path: _path + ".$defs",
|
|
15410
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
15411
|
+
value: input.$defs
|
|
15412
|
+
}, _errorFactory));
|
|
15413
|
+
const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
15414
|
+
if ("object" === input.type) return _ao3(input, _path, _exceptionable); 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))) return _ao4(input, _path, _exceptionable); else if ("boolean" === input.type) return _ao7(input, _path, _exceptionable); else if ("number" === input.type) return _ao9(input, _path, _exceptionable); else if ("integer" === input.type) return _ao8(input, _path, _exceptionable); else if ("string" === input.type) return _ao10(input, _path, _exceptionable); else if ("array" === input.type) return _ao11(input, _path, _exceptionable); else if (undefined !== input.$recursiveRef) return _ao13(input, _path, _exceptionable); else if ("null" === input.type) return _ao19(input, _path, _exceptionable); else return (() => {
|
|
15415
|
+
if (undefined !== input["const"]) return _ao6(input, _path, _exceptionable); else if (undefined !== input.$ref) return _ao12(input, _path, _exceptionable); else if (undefined !== input.allOf) return _ao14(input, _path, _exceptionable); else if (undefined !== input.anyOf) return _ao15(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _ao16(input, _path, _exceptionable); else return _ao20(input, _path, _exceptionable);
|
|
15416
|
+
})();
|
|
15417
|
+
})();
|
|
15418
|
+
const _au1 = (input, _path, _exceptionable = true) => (() => {
|
|
15419
|
+
if (undefined !== input.type) return _ao1(input, _path, _exceptionable); else if (undefined !== input.$ref) return _ao21(input, _path, _exceptionable); else return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13827
15420
|
method: "typia.assert",
|
|
13828
15421
|
path: _path,
|
|
13829
|
-
expected: "(
|
|
15422
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
13830
15423
|
value: input
|
|
13831
15424
|
}, _errorFactory);
|
|
13832
15425
|
})();
|
|
13833
|
-
const __is = input => "object" === typeof
|
|
15426
|
+
const __is = input => Array.isArray(input) && input.every((elem => "object" === typeof elem && null !== elem && _io0(elem)));
|
|
13834
15427
|
let _errorFactory;
|
|
13835
15428
|
return (input, errorFactory) => {
|
|
13836
15429
|
if (false === __is(input)) {
|
|
13837
15430
|
_errorFactory = errorFactory;
|
|
13838
|
-
((input, _path, _exceptionable = true) => (
|
|
15431
|
+
((input, _path, _exceptionable = true) => (Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13839
15432
|
method: "typia.assert",
|
|
13840
15433
|
path: _path + "",
|
|
13841
|
-
expected: "
|
|
15434
|
+
expected: "Array<IMcpTool>",
|
|
13842
15435
|
value: input
|
|
13843
|
-
}, _errorFactory)) &&
|
|
15436
|
+
}, _errorFactory)) && input.every(((elem, _index21) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(true, {
|
|
15437
|
+
method: "typia.assert",
|
|
15438
|
+
path: _path + "[" + _index21 + "]",
|
|
15439
|
+
expected: "IMcpTool",
|
|
15440
|
+
value: elem
|
|
15441
|
+
}, _errorFactory)) && _ao0(elem, _path + "[" + _index21 + "]", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
15442
|
+
method: "typia.assert",
|
|
15443
|
+
path: _path + "[" + _index21 + "]",
|
|
15444
|
+
expected: "IMcpTool",
|
|
15445
|
+
value: elem
|
|
15446
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13844
15447
|
method: "typia.assert",
|
|
13845
15448
|
path: _path + "",
|
|
13846
|
-
expected: "
|
|
15449
|
+
expected: "Array<IMcpTool>",
|
|
13847
15450
|
value: input
|
|
13848
15451
|
}, _errorFactory))(input, "$input", true);
|
|
13849
15452
|
}
|
|
13850
15453
|
return input;
|
|
13851
15454
|
};
|
|
13852
|
-
})()(
|
|
13853
|
-
options: props.options
|
|
15455
|
+
})()(tools)
|
|
13854
15456
|
});
|
|
13855
|
-
}
|
|
13856
|
-
|
|
13857
|
-
async function assertMcpLlmApplication(props) {
|
|
13858
|
-
const {ListToolsResultSchema} = await import("@modelcontextprotocol/sdk/types.js");
|
|
13859
|
-
const toolList = await props.client.request({
|
|
13860
|
-
method: "tools/list"
|
|
13861
|
-
}, ListToolsResultSchema);
|
|
13862
15457
|
return {
|
|
13863
|
-
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
}))),
|
|
13868
|
-
client: props.client
|
|
15458
|
+
protocol: "mcp",
|
|
15459
|
+
name: props.name,
|
|
15460
|
+
client: props.client,
|
|
15461
|
+
application
|
|
13869
15462
|
};
|
|
13870
15463
|
}
|
|
13871
15464
|
|
|
@@ -14010,7 +15603,7 @@ function validateHttpLlmApplication(props) {
|
|
|
14010
15603
|
if (undefined === value) return true;
|
|
14011
15604
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
14012
15605
|
}));
|
|
14013
|
-
const _io79 = input => (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io75(input.examples)) && (
|
|
15606
|
+
const _io79 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io75(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu3(input.schema));
|
|
14014
15607
|
const _io80 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
14015
15608
|
const _io81 = input => Object.keys(input).every((key => {
|
|
14016
15609
|
const value = input[key];
|
|
@@ -14081,14 +15674,14 @@ function validateHttpLlmApplication(props) {
|
|
|
14081
15674
|
if (undefined === value) return true;
|
|
14082
15675
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
14083
15676
|
}));
|
|
14084
|
-
const _io114 = input =>
|
|
14085
|
-
const _io115 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
14086
|
-
const _io116 = input => (
|
|
14087
|
-
const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
14088
|
-
const _io118 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "
|
|
14089
|
-
const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
14090
|
-
const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null
|
|
14091
|
-
const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.
|
|
15677
|
+
const _io114 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every((elem => "string" === typeof elem))) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
15678
|
+
const _io115 = input => Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem)) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu5(input.additionalProperties))) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io113(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every((elem => "string" === typeof elem))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (Array.isArray(input.oneOf) && input.oneOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io127(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && "string" === typeof input.$ref;
|
|
15679
|
+
const _io116 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
15680
|
+
const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "boolean" === typeof elem))) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
15681
|
+
const _io118 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
15682
|
+
const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
15683
|
+
const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "string" === typeof elem))) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
15684
|
+
const _io121 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem)))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu5(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples))));
|
|
14092
15685
|
const _io122 = input => "string" === typeof input.$ref && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
14093
15686
|
const _io123 = input => "string" === typeof input.$recursiveRef && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
14094
15687
|
const _io124 = input => Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
@@ -14133,7 +15726,7 @@ function validateHttpLlmApplication(props) {
|
|
|
14133
15726
|
if (undefined === value) return true;
|
|
14134
15727
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
14135
15728
|
}));
|
|
14136
|
-
const _io146 = input => (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)) && (
|
|
15729
|
+
const _io146 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema));
|
|
14137
15730
|
const _io147 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true;
|
|
14138
15731
|
const _io148 = input => Object.keys(input).every((key => {
|
|
14139
15732
|
const value = input[key];
|
|
@@ -14285,8 +15878,8 @@ function validateHttpLlmApplication(props) {
|
|
|
14285
15878
|
if (undefined !== input["in"]) return _io82(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _io99(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _io80(input); else return false;
|
|
14286
15879
|
})();
|
|
14287
15880
|
const _iu5 = input => (() => {
|
|
14288
|
-
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return
|
|
14289
|
-
if (undefined !== input["const"]) return
|
|
15881
|
+
if ("object" === input.type) return _io114(input); else if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return _io115(input); else if ("boolean" === input.type) return _io117(input); else if ("number" === input.type) return _io119(input); else if ("integer" === input.type) return _io118(input); else if ("string" === input.type) return _io120(input); else if ("array" === input.type) return _io121(input); else if (undefined !== input.$recursiveRef) return _io123(input); else if ("null" === input.type) return _io128(input); else return (() => {
|
|
15882
|
+
if (undefined !== input["const"]) return _io116(input); else if (undefined !== input.$ref) return _io122(input); else if (undefined !== input.allOf) return _io124(input); else if (undefined !== input.anyOf) return _io125(input); else if (undefined !== input.oneOf) return _io126(input); else return _io129(input);
|
|
14290
15883
|
})();
|
|
14291
15884
|
})();
|
|
14292
15885
|
const _iu6 = input => (() => {
|
|
@@ -17189,7 +18782,11 @@ function validateHttpLlmApplication(props) {
|
|
|
17189
18782
|
value
|
|
17190
18783
|
});
|
|
17191
18784
|
})).every((flag => flag)) ].every((flag => flag));
|
|
17192
|
-
const _vo79 = (input, _path, _exceptionable = true) => [ undefined === input.
|
|
18785
|
+
const _vo79 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
18786
|
+
path: _path + ".name",
|
|
18787
|
+
expected: "(string | undefined)",
|
|
18788
|
+
value: input.name
|
|
18789
|
+
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
17193
18790
|
path: _path + ".required",
|
|
17194
18791
|
expected: "(boolean | undefined)",
|
|
17195
18792
|
value: input.required
|
|
@@ -17205,10 +18802,6 @@ function validateHttpLlmApplication(props) {
|
|
|
17205
18802
|
path: _path + ".examples",
|
|
17206
18803
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
17207
18804
|
value: input.examples
|
|
17208
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
17209
|
-
path: _path + ".name",
|
|
17210
|
-
expected: "(string | undefined)",
|
|
17211
|
-
value: input.name
|
|
17212
18805
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
17213
18806
|
path: _path + ".schema",
|
|
17214
18807
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
|
@@ -18128,12 +19721,85 @@ function validateHttpLlmApplication(props) {
|
|
|
18128
19721
|
value
|
|
18129
19722
|
});
|
|
18130
19723
|
})).every((flag => flag)) ].every((flag => flag));
|
|
18131
|
-
const _vo114 = (input, _path, _exceptionable = true) => [
|
|
19724
|
+
const _vo114 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
19725
|
+
path: _path + ".nullable",
|
|
19726
|
+
expected: "(boolean | undefined)",
|
|
19727
|
+
value: input.nullable
|
|
19728
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
19729
|
+
path: _path + ".properties",
|
|
19730
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
19731
|
+
value: input.properties
|
|
19732
|
+
})) && _vo113(input.properties, _path + ".properties", _exceptionable) || _report(_exceptionable, {
|
|
19733
|
+
path: _path + ".properties",
|
|
19734
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
19735
|
+
value: input.properties
|
|
19736
|
+
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
19737
|
+
path: _path + ".required",
|
|
19738
|
+
expected: "(Array<string> | undefined)",
|
|
19739
|
+
value: input.required
|
|
19740
|
+
})) && input.required.map(((elem, _index128) => "string" === typeof elem || _report(_exceptionable, {
|
|
19741
|
+
path: _path + ".required[" + _index128 + "]",
|
|
19742
|
+
expected: "string",
|
|
19743
|
+
value: elem
|
|
19744
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
19745
|
+
path: _path + ".required",
|
|
19746
|
+
expected: "(Array<string> | undefined)",
|
|
19747
|
+
value: input.required
|
|
19748
|
+
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
19749
|
+
path: _path + ".additionalProperties",
|
|
19750
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
19751
|
+
value: input.additionalProperties
|
|
19752
|
+
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
19753
|
+
path: _path + ".additionalProperties",
|
|
19754
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
19755
|
+
value: input.additionalProperties
|
|
19756
|
+
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
|
19757
|
+
path: _path + ".additionalProperties",
|
|
19758
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
19759
|
+
value: input.additionalProperties
|
|
19760
|
+
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
19761
|
+
path: _path + ".maxProperties",
|
|
19762
|
+
expected: "(number | undefined)",
|
|
19763
|
+
value: input.maxProperties
|
|
19764
|
+
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
|
19765
|
+
path: _path + ".minProperties",
|
|
19766
|
+
expected: "(number | undefined)",
|
|
19767
|
+
value: input.minProperties
|
|
19768
|
+
}), "object" === input.type || _report(_exceptionable, {
|
|
19769
|
+
path: _path + ".type",
|
|
19770
|
+
expected: '"object"',
|
|
19771
|
+
value: input.type
|
|
19772
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
19773
|
+
path: _path + ".title",
|
|
19774
|
+
expected: "(string | undefined)",
|
|
19775
|
+
value: input.title
|
|
19776
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
19777
|
+
path: _path + ".description",
|
|
19778
|
+
expected: "(string | undefined)",
|
|
19779
|
+
value: input.description
|
|
19780
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
19781
|
+
path: _path + ".deprecated",
|
|
19782
|
+
expected: "(boolean | undefined)",
|
|
19783
|
+
value: input.deprecated
|
|
19784
|
+
}), true, (null !== input.examples || _report(_exceptionable, {
|
|
19785
|
+
path: _path + ".examples",
|
|
19786
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
19787
|
+
value: input.examples
|
|
19788
|
+
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
19789
|
+
path: _path + ".examples",
|
|
19790
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
19791
|
+
value: input.examples
|
|
19792
|
+
})) || _report(_exceptionable, {
|
|
19793
|
+
path: _path + ".examples",
|
|
19794
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
19795
|
+
value: input.examples
|
|
19796
|
+
})) ].every((flag => flag));
|
|
19797
|
+
const _vo115 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.type) || _report(_exceptionable, {
|
|
18132
19798
|
path: _path + ".type",
|
|
18133
19799
|
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
18134
19800
|
value: input.type
|
|
18135
|
-
})) && input.type.map(((elem,
|
|
18136
|
-
path: _path + ".type[" +
|
|
19801
|
+
})) && input.type.map(((elem, _index129) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem || _report(_exceptionable, {
|
|
19802
|
+
path: _path + ".type[" + _index129 + "]",
|
|
18137
19803
|
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
18138
19804
|
value: elem
|
|
18139
19805
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18236,12 +19902,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18236
19902
|
path: _path + ".items",
|
|
18237
19903
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
18238
19904
|
value: input.items
|
|
18239
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem,
|
|
18240
|
-
path: _path + ".items[" +
|
|
19905
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19906
|
+
path: _path + ".items[" + _index130 + "]",
|
|
18241
19907
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18242
19908
|
value: elem
|
|
18243
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
18244
|
-
path: _path + ".items[" +
|
|
19909
|
+
})) && _vu5(elem, _path + ".items[" + _index130 + "]", _exceptionable) || _report(_exceptionable, {
|
|
19910
|
+
path: _path + ".items[" + _index130 + "]",
|
|
18245
19911
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18246
19912
|
value: elem
|
|
18247
19913
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
|
@@ -18256,12 +19922,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18256
19922
|
path: _path + ".prefixItems",
|
|
18257
19923
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18258
19924
|
value: input.prefixItems
|
|
18259
|
-
})) && input.prefixItems.map(((elem,
|
|
18260
|
-
path: _path + ".prefixItems[" +
|
|
19925
|
+
})) && input.prefixItems.map(((elem, _index131) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19926
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
18261
19927
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18262
19928
|
value: elem
|
|
18263
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
18264
|
-
path: _path + ".prefixItems[" +
|
|
19929
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index131 + "]", _exceptionable) || _report(_exceptionable, {
|
|
19930
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
18265
19931
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18266
19932
|
value: elem
|
|
18267
19933
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18324,8 +19990,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18324
19990
|
path: _path + ".required",
|
|
18325
19991
|
expected: "(Array<string> | undefined)",
|
|
18326
19992
|
value: input.required
|
|
18327
|
-
})) && input.required.map(((elem,
|
|
18328
|
-
path: _path + ".required[" +
|
|
19993
|
+
})) && input.required.map(((elem, _index132) => "string" === typeof elem || _report(_exceptionable, {
|
|
19994
|
+
path: _path + ".required[" + _index132 + "]",
|
|
18329
19995
|
expected: "string",
|
|
18330
19996
|
value: elem
|
|
18331
19997
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18344,12 +20010,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18344
20010
|
path: _path + ".oneOf",
|
|
18345
20011
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18346
20012
|
value: input.oneOf
|
|
18347
|
-
})) && input.oneOf.map(((elem,
|
|
18348
|
-
path: _path + ".oneOf[" +
|
|
20013
|
+
})) && input.oneOf.map(((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20014
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
18349
20015
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18350
20016
|
value: elem
|
|
18351
|
-
})) && _vu5(elem, _path + ".oneOf[" +
|
|
18352
|
-
path: _path + ".oneOf[" +
|
|
20017
|
+
})) && _vu5(elem, _path + ".oneOf[" + _index133 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20018
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
18353
20019
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18354
20020
|
value: elem
|
|
18355
20021
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18368,12 +20034,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18368
20034
|
path: _path + ".anyOf",
|
|
18369
20035
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18370
20036
|
value: input.anyOf
|
|
18371
|
-
})) && input.anyOf.map(((elem,
|
|
18372
|
-
path: _path + ".anyOf[" +
|
|
20037
|
+
})) && input.anyOf.map(((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20038
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
18373
20039
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18374
20040
|
value: elem
|
|
18375
|
-
})) && _vu5(elem, _path + ".anyOf[" +
|
|
18376
|
-
path: _path + ".anyOf[" +
|
|
20041
|
+
})) && _vu5(elem, _path + ".anyOf[" + _index134 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20042
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
18377
20043
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18378
20044
|
value: elem
|
|
18379
20045
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18384,12 +20050,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18384
20050
|
path: _path + ".allOf",
|
|
18385
20051
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18386
20052
|
value: input.allOf
|
|
18387
|
-
})) && input.allOf.map(((elem,
|
|
18388
|
-
path: _path + ".allOf[" +
|
|
20053
|
+
})) && input.allOf.map(((elem, _index135) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20054
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
18389
20055
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18390
20056
|
value: elem
|
|
18391
|
-
})) && _vu5(elem, _path + ".allOf[" +
|
|
18392
|
-
path: _path + ".allOf[" +
|
|
20057
|
+
})) && _vu5(elem, _path + ".allOf[" + _index135 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20058
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
18393
20059
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18394
20060
|
value: elem
|
|
18395
20061
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18401,7 +20067,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18401
20067
|
expected: "string",
|
|
18402
20068
|
value: input.$ref
|
|
18403
20069
|
}) ].every((flag => flag));
|
|
18404
|
-
const
|
|
20070
|
+
const _vo116 = (input, _path, _exceptionable = true) => [ "string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
18405
20071
|
path: _path + '["const"]',
|
|
18406
20072
|
expected: "(boolean | number | string)",
|
|
18407
20073
|
value: input["const"]
|
|
@@ -18434,7 +20100,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18434
20100
|
expected: "(boolean | undefined)",
|
|
18435
20101
|
value: input.deprecated
|
|
18436
20102
|
}), true ].every((flag => flag));
|
|
18437
|
-
const
|
|
20103
|
+
const _vo117 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18438
20104
|
path: _path + ".nullable",
|
|
18439
20105
|
expected: "(boolean | undefined)",
|
|
18440
20106
|
value: input.nullable
|
|
@@ -18446,8 +20112,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18446
20112
|
path: _path + '["enum"]',
|
|
18447
20113
|
expected: "(Array<boolean | null> | undefined)",
|
|
18448
20114
|
value: input["enum"]
|
|
18449
|
-
})) && input["enum"].map(((elem,
|
|
18450
|
-
path: _path + '["enum"][' +
|
|
20115
|
+
})) && input["enum"].map(((elem, _index136) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
|
20116
|
+
path: _path + '["enum"][' + _index136 + "]",
|
|
18451
20117
|
expected: "(boolean | null)",
|
|
18452
20118
|
value: elem
|
|
18453
20119
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18483,7 +20149,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18483
20149
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18484
20150
|
value: input.examples
|
|
18485
20151
|
})) ].every((flag => flag));
|
|
18486
|
-
const
|
|
20152
|
+
const _vo118 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18487
20153
|
path: _path + ".nullable",
|
|
18488
20154
|
expected: "(boolean | undefined)",
|
|
18489
20155
|
value: input.nullable
|
|
@@ -18499,8 +20165,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18499
20165
|
path: _path + '["enum"]',
|
|
18500
20166
|
expected: "(Array<number | null> | undefined)",
|
|
18501
20167
|
value: input["enum"]
|
|
18502
|
-
})) && input["enum"].map(((elem,
|
|
18503
|
-
path: _path + '["enum"][' +
|
|
20168
|
+
})) && input["enum"].map(((elem, _index137) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
20169
|
+
path: _path + '["enum"][' + _index137 + "]",
|
|
18504
20170
|
expected: "(null | number)",
|
|
18505
20171
|
value: elem
|
|
18506
20172
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18580,7 +20246,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18580
20246
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18581
20247
|
value: input.examples
|
|
18582
20248
|
})) ].every((flag => flag));
|
|
18583
|
-
const
|
|
20249
|
+
const _vo119 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18584
20250
|
path: _path + ".nullable",
|
|
18585
20251
|
expected: "(boolean | undefined)",
|
|
18586
20252
|
value: input.nullable
|
|
@@ -18592,8 +20258,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18592
20258
|
path: _path + '["enum"]',
|
|
18593
20259
|
expected: "(Array<number | null> | undefined)",
|
|
18594
20260
|
value: input["enum"]
|
|
18595
|
-
})) && input["enum"].map(((elem,
|
|
18596
|
-
path: _path + '["enum"][' +
|
|
20261
|
+
})) && input["enum"].map(((elem, _index138) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
20262
|
+
path: _path + '["enum"][' + _index138 + "]",
|
|
18597
20263
|
expected: "(null | number)",
|
|
18598
20264
|
value: elem
|
|
18599
20265
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18653,7 +20319,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18653
20319
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18654
20320
|
value: input.examples
|
|
18655
20321
|
})) ].every((flag => flag));
|
|
18656
|
-
const
|
|
20322
|
+
const _vo120 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18657
20323
|
path: _path + ".nullable",
|
|
18658
20324
|
expected: "(boolean | undefined)",
|
|
18659
20325
|
value: input.nullable
|
|
@@ -18665,8 +20331,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18665
20331
|
path: _path + '["enum"]',
|
|
18666
20332
|
expected: "(Array<string | null> | undefined)",
|
|
18667
20333
|
value: input["enum"]
|
|
18668
|
-
})) && input["enum"].map(((elem,
|
|
18669
|
-
path: _path + '["enum"][' +
|
|
20334
|
+
})) && input["enum"].map(((elem, _index139) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
|
20335
|
+
path: _path + '["enum"][' + _index139 + "]",
|
|
18670
20336
|
expected: "(null | string)",
|
|
18671
20337
|
value: elem
|
|
18672
20338
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18730,7 +20396,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18730
20396
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18731
20397
|
value: input.examples
|
|
18732
20398
|
})) ].every((flag => flag));
|
|
18733
|
-
const
|
|
20399
|
+
const _vo121 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18734
20400
|
path: _path + ".nullable",
|
|
18735
20401
|
expected: "(boolean | undefined)",
|
|
18736
20402
|
value: input.nullable
|
|
@@ -18738,12 +20404,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18738
20404
|
path: _path + ".items",
|
|
18739
20405
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
|
18740
20406
|
value: input.items
|
|
18741
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem,
|
|
18742
|
-
path: _path + ".items[" +
|
|
20407
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20408
|
+
path: _path + ".items[" + _index140 + "]",
|
|
18743
20409
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18744
20410
|
value: elem
|
|
18745
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
18746
|
-
path: _path + ".items[" +
|
|
20411
|
+
})) && _vu5(elem, _path + ".items[" + _index140 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20412
|
+
path: _path + ".items[" + _index140 + "]",
|
|
18747
20413
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18748
20414
|
value: elem
|
|
18749
20415
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
|
@@ -18758,12 +20424,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18758
20424
|
path: _path + ".prefixItems",
|
|
18759
20425
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18760
20426
|
value: input.prefixItems
|
|
18761
|
-
})) && input.prefixItems.map(((elem,
|
|
18762
|
-
path: _path + ".prefixItems[" +
|
|
20427
|
+
})) && input.prefixItems.map(((elem, _index141) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20428
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
18763
20429
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18764
20430
|
value: elem
|
|
18765
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
18766
|
-
path: _path + ".prefixItems[" +
|
|
20431
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index141 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20432
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
18767
20433
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
18768
20434
|
value: elem
|
|
18769
20435
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18831,79 +20497,6 @@ function validateHttpLlmApplication(props) {
|
|
|
18831
20497
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18832
20498
|
value: input.examples
|
|
18833
20499
|
})) ].every((flag => flag));
|
|
18834
|
-
const _vo121 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18835
|
-
path: _path + ".nullable",
|
|
18836
|
-
expected: "(boolean | undefined)",
|
|
18837
|
-
value: input.nullable
|
|
18838
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
18839
|
-
path: _path + ".properties",
|
|
18840
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18841
|
-
value: input.properties
|
|
18842
|
-
})) && _vo113(input.properties, _path + ".properties", _exceptionable) || _report(_exceptionable, {
|
|
18843
|
-
path: _path + ".properties",
|
|
18844
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18845
|
-
value: input.properties
|
|
18846
|
-
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
18847
|
-
path: _path + ".required",
|
|
18848
|
-
expected: "(Array<string> | undefined)",
|
|
18849
|
-
value: input.required
|
|
18850
|
-
})) && input.required.map(((elem, _index141) => "string" === typeof elem || _report(_exceptionable, {
|
|
18851
|
-
path: _path + ".required[" + _index141 + "]",
|
|
18852
|
-
expected: "string",
|
|
18853
|
-
value: elem
|
|
18854
|
-
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
18855
|
-
path: _path + ".required",
|
|
18856
|
-
expected: "(Array<string> | undefined)",
|
|
18857
|
-
value: input.required
|
|
18858
|
-
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
18859
|
-
path: _path + ".additionalProperties",
|
|
18860
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
18861
|
-
value: input.additionalProperties
|
|
18862
|
-
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
18863
|
-
path: _path + ".additionalProperties",
|
|
18864
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
18865
|
-
value: input.additionalProperties
|
|
18866
|
-
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
|
18867
|
-
path: _path + ".additionalProperties",
|
|
18868
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
|
18869
|
-
value: input.additionalProperties
|
|
18870
|
-
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
18871
|
-
path: _path + ".maxProperties",
|
|
18872
|
-
expected: "(number | undefined)",
|
|
18873
|
-
value: input.maxProperties
|
|
18874
|
-
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
|
18875
|
-
path: _path + ".minProperties",
|
|
18876
|
-
expected: "(number | undefined)",
|
|
18877
|
-
value: input.minProperties
|
|
18878
|
-
}), "object" === input.type || _report(_exceptionable, {
|
|
18879
|
-
path: _path + ".type",
|
|
18880
|
-
expected: '"object"',
|
|
18881
|
-
value: input.type
|
|
18882
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
18883
|
-
path: _path + ".title",
|
|
18884
|
-
expected: "(string | undefined)",
|
|
18885
|
-
value: input.title
|
|
18886
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
18887
|
-
path: _path + ".description",
|
|
18888
|
-
expected: "(string | undefined)",
|
|
18889
|
-
value: input.description
|
|
18890
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
18891
|
-
path: _path + ".deprecated",
|
|
18892
|
-
expected: "(boolean | undefined)",
|
|
18893
|
-
value: input.deprecated
|
|
18894
|
-
}), true, (null !== input.examples || _report(_exceptionable, {
|
|
18895
|
-
path: _path + ".examples",
|
|
18896
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18897
|
-
value: input.examples
|
|
18898
|
-
})) && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _vo58(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
|
18899
|
-
path: _path + ".examples",
|
|
18900
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18901
|
-
value: input.examples
|
|
18902
|
-
})) || _report(_exceptionable, {
|
|
18903
|
-
path: _path + ".examples",
|
|
18904
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18905
|
-
value: input.examples
|
|
18906
|
-
})) ].every((flag => flag));
|
|
18907
20500
|
const _vo122 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref || _report(_exceptionable, {
|
|
18908
20501
|
path: _path + ".$ref",
|
|
18909
20502
|
expected: "string",
|
|
@@ -19652,7 +21245,11 @@ function validateHttpLlmApplication(props) {
|
|
|
19652
21245
|
value
|
|
19653
21246
|
});
|
|
19654
21247
|
})).every((flag => flag)) ].every((flag => flag));
|
|
19655
|
-
const _vo146 = (input, _path, _exceptionable = true) => [ undefined === input.
|
|
21248
|
+
const _vo146 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
21249
|
+
path: _path + ".name",
|
|
21250
|
+
expected: "(string | undefined)",
|
|
21251
|
+
value: input.name
|
|
21252
|
+
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
19656
21253
|
path: _path + ".required",
|
|
19657
21254
|
expected: "(boolean | undefined)",
|
|
19658
21255
|
value: input.required
|
|
@@ -19668,10 +21265,6 @@ function validateHttpLlmApplication(props) {
|
|
|
19668
21265
|
path: _path + ".examples",
|
|
19669
21266
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
19670
21267
|
value: input.examples
|
|
19671
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
19672
|
-
path: _path + ".name",
|
|
19673
|
-
expected: "(string | undefined)",
|
|
19674
|
-
value: input.name
|
|
19675
21268
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
19676
21269
|
path: _path + ".schema",
|
|
19677
21270
|
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
|
@@ -21426,8 +23019,8 @@ function validateHttpLlmApplication(props) {
|
|
|
21426
23019
|
});
|
|
21427
23020
|
})();
|
|
21428
23021
|
const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
|
21429
|
-
if (Array.isArray(input.type) && input.type.map(((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem)).every((flag => flag))) return
|
|
21430
|
-
if (undefined !== input["const"]) return
|
|
23022
|
+
if ("object" === input.type) return _vo114(input, _path, _exceptionable); else if (Array.isArray(input.type) && input.type.map(((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem)).every((flag => flag))) return _vo115(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo117(input, _path, _exceptionable); else if ("number" === input.type) return _vo119(input, _path, _exceptionable); else if ("integer" === input.type) return _vo118(input, _path, _exceptionable); else if ("string" === input.type) return _vo120(input, _path, _exceptionable); else if ("array" === input.type) return _vo121(input, _path, _exceptionable); else if (undefined !== input.$recursiveRef) return _vo123(input, _path, _exceptionable); else if ("null" === input.type) return _vo128(input, _path, _exceptionable); else return (() => {
|
|
23023
|
+
if (undefined !== input["const"]) return _vo116(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo122(input, _path, _exceptionable); else if (undefined !== input.allOf) return _vo124(input, _path, _exceptionable); else if (undefined !== input.anyOf) return _vo125(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _vo126(input, _path, _exceptionable); else return _vo129(input, _path, _exceptionable);
|
|
21431
23024
|
})();
|
|
21432
23025
|
})();
|
|
21433
23026
|
const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
@@ -21613,7 +23206,7 @@ class MicroAgentica {
|
|
|
21613
23206
|
});
|
|
21614
23207
|
const histories = await call(ctx, this.operations_.array);
|
|
21615
23208
|
const executes = histories.filter((p => p.type === "execute"));
|
|
21616
|
-
if (executes.length) {
|
|
23209
|
+
if (executes.length && ctx.config?.executor?.describe !== null && ctx.config?.executor?.describe !== false) {
|
|
21617
23210
|
histories.push(...await describe(ctx, executes));
|
|
21618
23211
|
}
|
|
21619
23212
|
this.histories_.push(talk, ...histories);
|
|
@@ -21728,5 +23321,5 @@ var index = Object.freeze({
|
|
|
21728
23321
|
toAsyncGenerator
|
|
21729
23322
|
});
|
|
21730
23323
|
|
|
21731
|
-
export { Agentica, AgenticaTokenUsage, MicroAgentica, assertHttpLlmApplication,
|
|
23324
|
+
export { Agentica, AgenticaTokenUsage, MicroAgentica, assertHttpLlmApplication, assertMcpController, index$2 as factory, index$1 as orchestrate, index as utils, validateHttpLlmApplication };
|
|
21732
23325
|
//# sourceMappingURL=index.mjs.map
|