@agentica/core 0.19.1 → 0.20.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/lib/context/AgenticaOperation.d.ts +3 -4
- package/lib/context/internal/AgenticaOperationComposer.js +8 -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 +1701 -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 +1993 -402
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/call.js +11 -1
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/initialize.js +60 -60
- package/lib/structures/IAgenticaController.d.ts +8 -4
- 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/context/AgenticaOperation.ts +5 -6
- package/src/context/internal/AgenticaOperationComposer.spec.ts +45 -14
- package/src/context/internal/AgenticaOperationComposer.ts +10 -2
- package/src/functional/assertMcpController.ts +49 -0
- package/src/index.ts +1 -1
- package/src/orchestrate/call.ts +14 -4
- package/src/structures/IAgenticaController.ts +9 -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: {
|
|
@@ -4634,7 +4634,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4634
4634
|
if (undefined === value) return true;
|
|
4635
4635
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
4636
4636
|
}));
|
|
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)) && (
|
|
4637
|
+
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
4638
|
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
4639
|
const _io81 = input => Object.keys(input).every((key => {
|
|
4640
4640
|
const value = input[key];
|
|
@@ -4705,14 +4705,14 @@ function assertHttpLlmApplication(props) {
|
|
|
4705
4705
|
if (undefined === value) return true;
|
|
4706
4706
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
4707
4707
|
}));
|
|
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.
|
|
4708
|
+
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))));
|
|
4709
|
+
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;
|
|
4710
|
+
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;
|
|
4711
|
+
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))));
|
|
4712
|
+
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))));
|
|
4713
|
+
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))));
|
|
4714
|
+
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))));
|
|
4715
|
+
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
4716
|
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
4717
|
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
4718
|
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 +4757,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4757
4757
|
if (undefined === value) return true;
|
|
4758
4758
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
4759
4759
|
}));
|
|
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)) && (
|
|
4760
|
+
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
4761
|
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
4762
|
const _io148 = input => Object.keys(input).every((key => {
|
|
4763
4763
|
const value = input[key];
|
|
@@ -4909,8 +4909,8 @@ function assertHttpLlmApplication(props) {
|
|
|
4909
4909
|
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
4910
|
})();
|
|
4911
4911
|
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
|
|
4912
|
+
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 (() => {
|
|
4913
|
+
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
4914
|
})();
|
|
4915
4915
|
})();
|
|
4916
4916
|
const _iu6 = input => (() => {
|
|
@@ -8489,7 +8489,12 @@ function assertHttpLlmApplication(props) {
|
|
|
8489
8489
|
value
|
|
8490
8490
|
}, _errorFactory);
|
|
8491
8491
|
}));
|
|
8492
|
-
const _ao79 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
8492
|
+
const _ao79 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8493
|
+
method: "typia.assert",
|
|
8494
|
+
path: _path + ".name",
|
|
8495
|
+
expected: "(string | undefined)",
|
|
8496
|
+
value: input.name
|
|
8497
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8493
8498
|
method: "typia.assert",
|
|
8494
8499
|
path: _path + ".required",
|
|
8495
8500
|
expected: "(boolean | undefined)",
|
|
@@ -8509,11 +8514,6 @@ function assertHttpLlmApplication(props) {
|
|
|
8509
8514
|
path: _path + ".examples",
|
|
8510
8515
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
8511
8516
|
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
8517
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8518
8518
|
method: "typia.assert",
|
|
8519
8519
|
path: _path + ".schema",
|
|
@@ -9645,14 +9645,105 @@ function assertHttpLlmApplication(props) {
|
|
|
9645
9645
|
value
|
|
9646
9646
|
}, _errorFactory);
|
|
9647
9647
|
}));
|
|
9648
|
-
const _ao114 = (input, _path, _exceptionable = true) => (
|
|
9648
|
+
const _ao114 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9649
|
+
method: "typia.assert",
|
|
9650
|
+
path: _path + ".nullable",
|
|
9651
|
+
expected: "(boolean | undefined)",
|
|
9652
|
+
value: input.nullable
|
|
9653
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9654
|
+
method: "typia.assert",
|
|
9655
|
+
path: _path + ".properties",
|
|
9656
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
9657
|
+
value: input.properties
|
|
9658
|
+
}, _errorFactory)) && _ao113(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9659
|
+
method: "typia.assert",
|
|
9660
|
+
path: _path + ".properties",
|
|
9661
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
9662
|
+
value: input.properties
|
|
9663
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9664
|
+
method: "typia.assert",
|
|
9665
|
+
path: _path + ".required",
|
|
9666
|
+
expected: "(Array<string> | undefined)",
|
|
9667
|
+
value: input.required
|
|
9668
|
+
}, _errorFactory)) && input.required.every(((elem, _index128) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9669
|
+
method: "typia.assert",
|
|
9670
|
+
path: _path + ".required[" + _index128 + "]",
|
|
9671
|
+
expected: "string",
|
|
9672
|
+
value: elem
|
|
9673
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9674
|
+
method: "typia.assert",
|
|
9675
|
+
path: _path + ".required",
|
|
9676
|
+
expected: "(Array<string> | undefined)",
|
|
9677
|
+
value: input.required
|
|
9678
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9679
|
+
method: "typia.assert",
|
|
9680
|
+
path: _path + ".additionalProperties",
|
|
9681
|
+
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)",
|
|
9682
|
+
value: input.additionalProperties
|
|
9683
|
+
}, _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, {
|
|
9684
|
+
method: "typia.assert",
|
|
9685
|
+
path: _path + ".additionalProperties",
|
|
9686
|
+
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)",
|
|
9687
|
+
value: input.additionalProperties
|
|
9688
|
+
}, _errorFactory)) && _au5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9689
|
+
method: "typia.assert",
|
|
9690
|
+
path: _path + ".additionalProperties",
|
|
9691
|
+
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)",
|
|
9692
|
+
value: input.additionalProperties
|
|
9693
|
+
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9694
|
+
method: "typia.assert",
|
|
9695
|
+
path: _path + ".maxProperties",
|
|
9696
|
+
expected: "(number | undefined)",
|
|
9697
|
+
value: input.maxProperties
|
|
9698
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9699
|
+
method: "typia.assert",
|
|
9700
|
+
path: _path + ".minProperties",
|
|
9701
|
+
expected: "(number | undefined)",
|
|
9702
|
+
value: input.minProperties
|
|
9703
|
+
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9704
|
+
method: "typia.assert",
|
|
9705
|
+
path: _path + ".type",
|
|
9706
|
+
expected: '"object"',
|
|
9707
|
+
value: input.type
|
|
9708
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9709
|
+
method: "typia.assert",
|
|
9710
|
+
path: _path + ".title",
|
|
9711
|
+
expected: "(string | undefined)",
|
|
9712
|
+
value: input.title
|
|
9713
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9714
|
+
method: "typia.assert",
|
|
9715
|
+
path: _path + ".description",
|
|
9716
|
+
expected: "(string | undefined)",
|
|
9717
|
+
value: input.description
|
|
9718
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9719
|
+
method: "typia.assert",
|
|
9720
|
+
path: _path + ".deprecated",
|
|
9721
|
+
expected: "(boolean | undefined)",
|
|
9722
|
+
value: input.deprecated
|
|
9723
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9724
|
+
method: "typia.assert",
|
|
9725
|
+
path: _path + ".examples",
|
|
9726
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
9727
|
+
value: input.examples
|
|
9728
|
+
}, _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, {
|
|
9729
|
+
method: "typia.assert",
|
|
9730
|
+
path: _path + ".examples",
|
|
9731
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
9732
|
+
value: input.examples
|
|
9733
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9734
|
+
method: "typia.assert",
|
|
9735
|
+
path: _path + ".examples",
|
|
9736
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
9737
|
+
value: input.examples
|
|
9738
|
+
}, _errorFactory)));
|
|
9739
|
+
const _ao115 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9649
9740
|
method: "typia.assert",
|
|
9650
9741
|
path: _path + ".type",
|
|
9651
9742
|
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
9652
9743
|
value: input.type
|
|
9653
|
-
}, _errorFactory)) && input.type.every(((elem,
|
|
9744
|
+
}, _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
9745
|
method: "typia.assert",
|
|
9655
|
-
path: _path + ".type[" +
|
|
9746
|
+
path: _path + ".type[" + _index129 + "]",
|
|
9656
9747
|
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
9657
9748
|
value: elem
|
|
9658
9749
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9780,14 +9871,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9780
9871
|
path: _path + ".items",
|
|
9781
9872
|
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
9873
|
value: input.items
|
|
9783
|
-
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every(((elem,
|
|
9874
|
+
}, _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
9875
|
method: "typia.assert",
|
|
9785
|
-
path: _path + ".items[" +
|
|
9876
|
+
path: _path + ".items[" + _index130 + "]",
|
|
9786
9877
|
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
9878
|
value: elem
|
|
9788
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
9879
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index130 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9789
9880
|
method: "typia.assert",
|
|
9790
|
-
path: _path + ".items[" +
|
|
9881
|
+
path: _path + ".items[" + _index130 + "]",
|
|
9791
9882
|
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
9883
|
value: elem
|
|
9793
9884
|
}, _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 +9896,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9805
9896
|
path: _path + ".prefixItems",
|
|
9806
9897
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
9807
9898
|
value: input.prefixItems
|
|
9808
|
-
}, _errorFactory)) && input.prefixItems.every(((elem,
|
|
9899
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index131) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9809
9900
|
method: "typia.assert",
|
|
9810
|
-
path: _path + ".prefixItems[" +
|
|
9901
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
9811
9902
|
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
9903
|
value: elem
|
|
9813
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
9904
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index131 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9814
9905
|
method: "typia.assert",
|
|
9815
|
-
path: _path + ".prefixItems[" +
|
|
9906
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
9816
9907
|
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
9908
|
value: elem
|
|
9818
9909
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9890,9 +9981,9 @@ function assertHttpLlmApplication(props) {
|
|
|
9890
9981
|
path: _path + ".required",
|
|
9891
9982
|
expected: "(Array<string> | undefined)",
|
|
9892
9983
|
value: input.required
|
|
9893
|
-
}, _errorFactory)) && input.required.every(((elem,
|
|
9984
|
+
}, _errorFactory)) && input.required.every(((elem, _index132) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9894
9985
|
method: "typia.assert",
|
|
9895
|
-
path: _path + ".required[" +
|
|
9986
|
+
path: _path + ".required[" + _index132 + "]",
|
|
9896
9987
|
expected: "string",
|
|
9897
9988
|
value: elem
|
|
9898
9989
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9915,14 +10006,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9915
10006
|
path: _path + ".oneOf",
|
|
9916
10007
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9917
10008
|
value: input.oneOf
|
|
9918
|
-
}, _errorFactory)) && input.oneOf.every(((elem,
|
|
10009
|
+
}, _errorFactory)) && input.oneOf.every(((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9919
10010
|
method: "typia.assert",
|
|
9920
|
-
path: _path + ".oneOf[" +
|
|
10011
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
9921
10012
|
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
10013
|
value: elem
|
|
9923
|
-
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" +
|
|
10014
|
+
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" + _index133 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9924
10015
|
method: "typia.assert",
|
|
9925
|
-
path: _path + ".oneOf[" +
|
|
10016
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
9926
10017
|
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
10018
|
value: elem
|
|
9928
10019
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9945,14 +10036,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9945
10036
|
path: _path + ".anyOf",
|
|
9946
10037
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9947
10038
|
value: input.anyOf
|
|
9948
|
-
}, _errorFactory)) && input.anyOf.every(((elem,
|
|
10039
|
+
}, _errorFactory)) && input.anyOf.every(((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9949
10040
|
method: "typia.assert",
|
|
9950
|
-
path: _path + ".anyOf[" +
|
|
10041
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
9951
10042
|
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
10043
|
value: elem
|
|
9953
|
-
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" +
|
|
10044
|
+
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" + _index134 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9954
10045
|
method: "typia.assert",
|
|
9955
|
-
path: _path + ".anyOf[" +
|
|
10046
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
9956
10047
|
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
10048
|
value: elem
|
|
9958
10049
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9965,14 +10056,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9965
10056
|
path: _path + ".allOf",
|
|
9966
10057
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9967
10058
|
value: input.allOf
|
|
9968
|
-
}, _errorFactory)) && input.allOf.every(((elem,
|
|
10059
|
+
}, _errorFactory)) && input.allOf.every(((elem, _index135) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9969
10060
|
method: "typia.assert",
|
|
9970
|
-
path: _path + ".allOf[" +
|
|
10061
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
9971
10062
|
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
10063
|
value: elem
|
|
9973
|
-
}, _errorFactory)) && _au5(elem, _path + ".allOf[" +
|
|
10064
|
+
}, _errorFactory)) && _au5(elem, _path + ".allOf[" + _index135 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9974
10065
|
method: "typia.assert",
|
|
9975
|
-
path: _path + ".allOf[" +
|
|
10066
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
9976
10067
|
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
10068
|
value: elem
|
|
9978
10069
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9986,7 +10077,7 @@ function assertHttpLlmApplication(props) {
|
|
|
9986
10077
|
expected: "string",
|
|
9987
10078
|
value: input.$ref
|
|
9988
10079
|
}, _errorFactory));
|
|
9989
|
-
const
|
|
10080
|
+
const _ao116 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9990
10081
|
method: "typia.assert",
|
|
9991
10082
|
path: _path + '["const"]',
|
|
9992
10083
|
expected: "(boolean | number | string)",
|
|
@@ -10027,7 +10118,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10027
10118
|
expected: "(boolean | undefined)",
|
|
10028
10119
|
value: input.deprecated
|
|
10029
10120
|
}, _errorFactory)) && true;
|
|
10030
|
-
const
|
|
10121
|
+
const _ao117 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10031
10122
|
method: "typia.assert",
|
|
10032
10123
|
path: _path + ".nullable",
|
|
10033
10124
|
expected: "(boolean | undefined)",
|
|
@@ -10042,9 +10133,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10042
10133
|
path: _path + '["enum"]',
|
|
10043
10134
|
expected: "(Array<boolean | null> | undefined)",
|
|
10044
10135
|
value: input["enum"]
|
|
10045
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10136
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index136) => null === elem || "boolean" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10046
10137
|
method: "typia.assert",
|
|
10047
|
-
path: _path + '["enum"][' +
|
|
10138
|
+
path: _path + '["enum"][' + _index136 + "]",
|
|
10048
10139
|
expected: "(boolean | null)",
|
|
10049
10140
|
value: elem
|
|
10050
10141
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10088,7 +10179,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10088
10179
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10089
10180
|
value: input.examples
|
|
10090
10181
|
}, _errorFactory)));
|
|
10091
|
-
const
|
|
10182
|
+
const _ao118 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10092
10183
|
method: "typia.assert",
|
|
10093
10184
|
path: _path + ".nullable",
|
|
10094
10185
|
expected: "(boolean | undefined)",
|
|
@@ -10108,9 +10199,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10108
10199
|
path: _path + '["enum"]',
|
|
10109
10200
|
expected: "(Array<number | null> | undefined)",
|
|
10110
10201
|
value: input["enum"]
|
|
10111
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10202
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index137) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10112
10203
|
method: "typia.assert",
|
|
10113
|
-
path: _path + '["enum"][' +
|
|
10204
|
+
path: _path + '["enum"][' + _index137 + "]",
|
|
10114
10205
|
expected: "(null | number)",
|
|
10115
10206
|
value: elem
|
|
10116
10207
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10209,7 +10300,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10209
10300
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10210
10301
|
value: input.examples
|
|
10211
10302
|
}, _errorFactory)));
|
|
10212
|
-
const
|
|
10303
|
+
const _ao119 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10213
10304
|
method: "typia.assert",
|
|
10214
10305
|
path: _path + ".nullable",
|
|
10215
10306
|
expected: "(boolean | undefined)",
|
|
@@ -10224,9 +10315,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10224
10315
|
path: _path + '["enum"]',
|
|
10225
10316
|
expected: "(Array<number | null> | undefined)",
|
|
10226
10317
|
value: input["enum"]
|
|
10227
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10318
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index138) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10228
10319
|
method: "typia.assert",
|
|
10229
|
-
path: _path + '["enum"][' +
|
|
10320
|
+
path: _path + '["enum"][' + _index138 + "]",
|
|
10230
10321
|
expected: "(null | number)",
|
|
10231
10322
|
value: elem
|
|
10232
10323
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10300,7 +10391,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10300
10391
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10301
10392
|
value: input.examples
|
|
10302
10393
|
}, _errorFactory)));
|
|
10303
|
-
const
|
|
10394
|
+
const _ao120 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10304
10395
|
method: "typia.assert",
|
|
10305
10396
|
path: _path + ".nullable",
|
|
10306
10397
|
expected: "(boolean | undefined)",
|
|
@@ -10315,9 +10406,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10315
10406
|
path: _path + '["enum"]',
|
|
10316
10407
|
expected: "(Array<string | null> | undefined)",
|
|
10317
10408
|
value: input["enum"]
|
|
10318
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10409
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index139) => null === elem || "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10319
10410
|
method: "typia.assert",
|
|
10320
|
-
path: _path + '["enum"][' +
|
|
10411
|
+
path: _path + '["enum"][' + _index139 + "]",
|
|
10321
10412
|
expected: "(null | string)",
|
|
10322
10413
|
value: elem
|
|
10323
10414
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10396,7 +10487,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10396
10487
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10397
10488
|
value: input.examples
|
|
10398
10489
|
}, _errorFactory)));
|
|
10399
|
-
const
|
|
10490
|
+
const _ao121 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10400
10491
|
method: "typia.assert",
|
|
10401
10492
|
path: _path + ".nullable",
|
|
10402
10493
|
expected: "(boolean | undefined)",
|
|
@@ -10406,14 +10497,14 @@ function assertHttpLlmApplication(props) {
|
|
|
10406
10497
|
path: _path + ".items",
|
|
10407
10498
|
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
10499
|
value: input.items
|
|
10409
|
-
}, _errorFactory)) && (undefined === input.items || (Array.isArray(input.items) && input.items.every(((elem,
|
|
10500
|
+
}, _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
10501
|
method: "typia.assert",
|
|
10411
|
-
path: _path + ".items[" +
|
|
10502
|
+
path: _path + ".items[" + _index140 + "]",
|
|
10412
10503
|
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
10504
|
value: elem
|
|
10414
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
10505
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index140 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10415
10506
|
method: "typia.assert",
|
|
10416
|
-
path: _path + ".items[" +
|
|
10507
|
+
path: _path + ".items[" + _index140 + "]",
|
|
10417
10508
|
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
10509
|
value: elem
|
|
10419
10510
|
}, _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 +10522,14 @@ function assertHttpLlmApplication(props) {
|
|
|
10431
10522
|
path: _path + ".prefixItems",
|
|
10432
10523
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
10433
10524
|
value: input.prefixItems
|
|
10434
|
-
}, _errorFactory)) && input.prefixItems.every(((elem,
|
|
10525
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index141) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10435
10526
|
method: "typia.assert",
|
|
10436
|
-
path: _path + ".prefixItems[" +
|
|
10527
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
10437
10528
|
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
10529
|
value: elem
|
|
10439
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
10530
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index141 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10440
10531
|
method: "typia.assert",
|
|
10441
|
-
path: _path + ".prefixItems[" +
|
|
10532
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
10442
10533
|
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
10534
|
value: elem
|
|
10444
10535
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10522,118 +10613,27 @@ function assertHttpLlmApplication(props) {
|
|
|
10522
10613
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10523
10614
|
value: input.examples
|
|
10524
10615
|
}, _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, {
|
|
10616
|
+
const _ao122 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10531
10617
|
method: "typia.assert",
|
|
10532
|
-
path: _path + "
|
|
10533
|
-
expected: "
|
|
10534
|
-
value: input
|
|
10535
|
-
}, _errorFactory)) &&
|
|
10618
|
+
path: _path + ".$ref",
|
|
10619
|
+
expected: "string",
|
|
10620
|
+
value: input.$ref
|
|
10621
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10536
10622
|
method: "typia.assert",
|
|
10537
|
-
path: _path + ".
|
|
10538
|
-
expected: "(Record<string,
|
|
10539
|
-
value: input.
|
|
10540
|
-
}, _errorFactory)) && (undefined === input.
|
|
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, {
|
|
10541
10627
|
method: "typia.assert",
|
|
10542
|
-
path: _path + ".
|
|
10543
|
-
expected: "(Array<string> | undefined)",
|
|
10544
|
-
value: input.
|
|
10545
|
-
}, _errorFactory))
|
|
10628
|
+
path: _path + ".examples",
|
|
10629
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10630
|
+
value: input.examples
|
|
10631
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10546
10632
|
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, {
|
|
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, {
|
|
10637
10637
|
method: "typia.assert",
|
|
10638
10638
|
path: _path + ".title",
|
|
10639
10639
|
expected: "(string | undefined)",
|
|
@@ -11537,7 +11537,12 @@ function assertHttpLlmApplication(props) {
|
|
|
11537
11537
|
value
|
|
11538
11538
|
}, _errorFactory);
|
|
11539
11539
|
}));
|
|
11540
|
-
const _ao146 = (input, _path, _exceptionable = true) => (undefined === input.
|
|
11540
|
+
const _ao146 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11541
|
+
method: "typia.assert",
|
|
11542
|
+
path: _path + ".name",
|
|
11543
|
+
expected: "(string | undefined)",
|
|
11544
|
+
value: input.name
|
|
11545
|
+
}, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11541
11546
|
method: "typia.assert",
|
|
11542
11547
|
path: _path + ".required",
|
|
11543
11548
|
expected: "(boolean | undefined)",
|
|
@@ -11557,11 +11562,6 @@ function assertHttpLlmApplication(props) {
|
|
|
11557
11562
|
path: _path + ".examples",
|
|
11558
11563
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
11559
11564
|
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
11565
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11566
11566
|
method: "typia.assert",
|
|
11567
11567
|
path: _path + ".schema",
|
|
@@ -13729,8 +13729,8 @@ function assertHttpLlmApplication(props) {
|
|
|
13729
13729
|
}, _errorFactory);
|
|
13730
13730
|
})();
|
|
13731
13731
|
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
|
|
13732
|
+
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 (() => {
|
|
13733
|
+
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
13734
|
})();
|
|
13735
13735
|
})();
|
|
13736
13736
|
const _au6 = (input, _path, _exceptionable = true) => (() => {
|
|
@@ -13822,50 +13822,1641 @@ function assertHttpLlmApplication(props) {
|
|
|
13822
13822
|
value: input
|
|
13823
13823
|
}, _errorFactory);
|
|
13824
13824
|
})();
|
|
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, {
|
|
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
|
+
method: "typia.assert",
|
|
13828
|
+
path: _path,
|
|
13829
|
+
expected: "(SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument)",
|
|
13830
|
+
value: input
|
|
13831
|
+
}, _errorFactory);
|
|
13832
|
+
})();
|
|
13833
|
+
const __is = input => "object" === typeof input && null !== input && _iu24(input);
|
|
13834
|
+
let _errorFactory;
|
|
13835
|
+
return (input, errorFactory) => {
|
|
13836
|
+
if (false === __is(input)) {
|
|
13837
|
+
_errorFactory = errorFactory;
|
|
13838
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || __typia_transform__assertGuard._assertGuard(true, {
|
|
13839
|
+
method: "typia.assert",
|
|
13840
|
+
path: _path + "",
|
|
13841
|
+
expected: "(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",
|
|
13842
|
+
value: input
|
|
13843
|
+
}, _errorFactory)) && _au24(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13844
|
+
method: "typia.assert",
|
|
13845
|
+
path: _path + "",
|
|
13846
|
+
expected: "(OpenApi.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | SwaggerV2.IDocument)",
|
|
13847
|
+
value: input
|
|
13848
|
+
}, _errorFactory))(input, "$input", true);
|
|
13849
|
+
}
|
|
13850
|
+
return input;
|
|
13851
|
+
};
|
|
13852
|
+
})()(props.document)),
|
|
13853
|
+
options: props.options
|
|
13854
|
+
});
|
|
13855
|
+
}
|
|
13856
|
+
|
|
13857
|
+
async function assertMcpController(props) {
|
|
13858
|
+
const {ListToolsResultSchema} = await import("@modelcontextprotocol/sdk/types.js");
|
|
13859
|
+
const {tools} = await props.client.request({
|
|
13860
|
+
method: "tools/list"
|
|
13861
|
+
}, ListToolsResultSchema);
|
|
13862
|
+
const application = McpLlm.application({
|
|
13863
|
+
model: props.model,
|
|
13864
|
+
tools: (() => {
|
|
13865
|
+
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));
|
|
13866
|
+
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));
|
|
13867
|
+
const _io2 = input => Object.keys(input).every((key => {
|
|
13868
|
+
const value = input[key];
|
|
13869
|
+
if (undefined === value) return true;
|
|
13870
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
13871
|
+
}));
|
|
13872
|
+
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))));
|
|
13873
|
+
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;
|
|
13874
|
+
const _io5 = input => Object.keys(input).every((key => {
|
|
13875
|
+
const value = input[key];
|
|
13876
|
+
if (undefined === value) return true;
|
|
13877
|
+
return true;
|
|
13878
|
+
}));
|
|
13879
|
+
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;
|
|
13880
|
+
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))));
|
|
13881
|
+
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))));
|
|
13882
|
+
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))));
|
|
13883
|
+
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))));
|
|
13884
|
+
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))));
|
|
13885
|
+
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;
|
|
13886
|
+
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;
|
|
13887
|
+
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;
|
|
13888
|
+
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;
|
|
13889
|
+
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;
|
|
13890
|
+
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));
|
|
13891
|
+
const _io18 = input => Object.keys(input).every((key => {
|
|
13892
|
+
const value = input[key];
|
|
13893
|
+
if (undefined === value) return true;
|
|
13894
|
+
return "string" === typeof value;
|
|
13895
|
+
}));
|
|
13896
|
+
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))));
|
|
13897
|
+
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))));
|
|
13898
|
+
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));
|
|
13899
|
+
const _iu0 = input => (() => {
|
|
13900
|
+
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 (() => {
|
|
13901
|
+
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);
|
|
13902
|
+
})();
|
|
13903
|
+
})();
|
|
13904
|
+
const _iu1 = input => (() => {
|
|
13905
|
+
if (undefined !== input.type) return _io1(input); else if (undefined !== input.$ref) return _io21(input); else return false;
|
|
13906
|
+
})();
|
|
13907
|
+
const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name && (input.name.length <= 64 || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13908
|
+
method: "typia.assert",
|
|
13909
|
+
path: _path + ".name",
|
|
13910
|
+
expected: "string & MaxLength<64>",
|
|
13911
|
+
value: input.name
|
|
13912
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13913
|
+
method: "typia.assert",
|
|
13914
|
+
path: _path + ".name",
|
|
13915
|
+
expected: "(string & MaxLength<64>)",
|
|
13916
|
+
value: input.name
|
|
13917
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13918
|
+
method: "typia.assert",
|
|
13919
|
+
path: _path + ".description",
|
|
13920
|
+
expected: "(string | undefined)",
|
|
13921
|
+
value: input.description
|
|
13922
|
+
}, _errorFactory)) && (("object" === typeof input.inputSchema && null !== input.inputSchema || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13923
|
+
method: "typia.assert",
|
|
13924
|
+
path: _path + ".inputSchema",
|
|
13925
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
13926
|
+
value: input.inputSchema
|
|
13927
|
+
}, _errorFactory)) && _au1(input.inputSchema, _path + ".inputSchema", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13928
|
+
method: "typia.assert",
|
|
13929
|
+
path: _path + ".inputSchema",
|
|
13930
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
13931
|
+
value: input.inputSchema
|
|
13932
|
+
}, _errorFactory));
|
|
13933
|
+
const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13934
|
+
method: "typia.assert",
|
|
13935
|
+
path: _path + ".nullable",
|
|
13936
|
+
expected: "(boolean | undefined)",
|
|
13937
|
+
value: input.nullable
|
|
13938
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13939
|
+
method: "typia.assert",
|
|
13940
|
+
path: _path + ".properties",
|
|
13941
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
13942
|
+
value: input.properties
|
|
13943
|
+
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13944
|
+
method: "typia.assert",
|
|
13945
|
+
path: _path + ".properties",
|
|
13946
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
13947
|
+
value: input.properties
|
|
13948
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13949
|
+
method: "typia.assert",
|
|
13950
|
+
path: _path + ".required",
|
|
13951
|
+
expected: "(Array<string> | undefined)",
|
|
13952
|
+
value: input.required
|
|
13953
|
+
}, _errorFactory)) && input.required.every(((elem, _index22) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13954
|
+
method: "typia.assert",
|
|
13955
|
+
path: _path + ".required[" + _index22 + "]",
|
|
13956
|
+
expected: "string",
|
|
13957
|
+
value: elem
|
|
13958
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13959
|
+
method: "typia.assert",
|
|
13960
|
+
path: _path + ".required",
|
|
13961
|
+
expected: "(Array<string> | undefined)",
|
|
13962
|
+
value: input.required
|
|
13963
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13964
|
+
method: "typia.assert",
|
|
13965
|
+
path: _path + ".additionalProperties",
|
|
13966
|
+
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)",
|
|
13967
|
+
value: input.additionalProperties
|
|
13968
|
+
}, _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, {
|
|
13969
|
+
method: "typia.assert",
|
|
13970
|
+
path: _path + ".additionalProperties",
|
|
13971
|
+
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)",
|
|
13972
|
+
value: input.additionalProperties
|
|
13973
|
+
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13974
|
+
method: "typia.assert",
|
|
13975
|
+
path: _path + ".additionalProperties",
|
|
13976
|
+
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)",
|
|
13977
|
+
value: input.additionalProperties
|
|
13978
|
+
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13979
|
+
method: "typia.assert",
|
|
13980
|
+
path: _path + ".maxProperties",
|
|
13981
|
+
expected: "(number | undefined)",
|
|
13982
|
+
value: input.maxProperties
|
|
13983
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13984
|
+
method: "typia.assert",
|
|
13985
|
+
path: _path + ".minProperties",
|
|
13986
|
+
expected: "(number | undefined)",
|
|
13987
|
+
value: input.minProperties
|
|
13988
|
+
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13989
|
+
method: "typia.assert",
|
|
13990
|
+
path: _path + ".type",
|
|
13991
|
+
expected: '"object"',
|
|
13992
|
+
value: input.type
|
|
13993
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13994
|
+
method: "typia.assert",
|
|
13995
|
+
path: _path + ".title",
|
|
13996
|
+
expected: "(string | undefined)",
|
|
13997
|
+
value: input.title
|
|
13998
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
13999
|
+
method: "typia.assert",
|
|
14000
|
+
path: _path + ".description",
|
|
14001
|
+
expected: "(string | undefined)",
|
|
14002
|
+
value: input.description
|
|
14003
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14004
|
+
method: "typia.assert",
|
|
14005
|
+
path: _path + ".deprecated",
|
|
14006
|
+
expected: "(boolean | undefined)",
|
|
14007
|
+
value: input.deprecated
|
|
14008
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14009
|
+
method: "typia.assert",
|
|
14010
|
+
path: _path + ".examples",
|
|
14011
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14012
|
+
value: input.examples
|
|
14013
|
+
}, _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, {
|
|
14014
|
+
method: "typia.assert",
|
|
14015
|
+
path: _path + ".examples",
|
|
14016
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14017
|
+
value: input.examples
|
|
14018
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14019
|
+
method: "typia.assert",
|
|
14020
|
+
path: _path + ".examples",
|
|
14021
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14022
|
+
value: input.examples
|
|
14023
|
+
}, _errorFactory))) && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14024
|
+
method: "typia.assert",
|
|
14025
|
+
path: _path + ".$defs",
|
|
14026
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14027
|
+
value: input.$defs
|
|
14028
|
+
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14029
|
+
method: "typia.assert",
|
|
14030
|
+
path: _path + ".$defs",
|
|
14031
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14032
|
+
value: input.$defs
|
|
14033
|
+
}, _errorFactory));
|
|
14034
|
+
const _ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every((key => {
|
|
14035
|
+
const value = input[key];
|
|
14036
|
+
if (undefined === value) return true;
|
|
14037
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14038
|
+
method: "typia.assert",
|
|
14039
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14040
|
+
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)",
|
|
14041
|
+
value
|
|
14042
|
+
}, _errorFactory)) && _au0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14043
|
+
method: "typia.assert",
|
|
14044
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14045
|
+
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)",
|
|
14046
|
+
value
|
|
14047
|
+
}, _errorFactory);
|
|
14048
|
+
}));
|
|
14049
|
+
const _ao3 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14050
|
+
method: "typia.assert",
|
|
14051
|
+
path: _path + ".nullable",
|
|
14052
|
+
expected: "(boolean | undefined)",
|
|
14053
|
+
value: input.nullable
|
|
14054
|
+
}, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14055
|
+
method: "typia.assert",
|
|
14056
|
+
path: _path + ".properties",
|
|
14057
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14058
|
+
value: input.properties
|
|
14059
|
+
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14060
|
+
method: "typia.assert",
|
|
14061
|
+
path: _path + ".properties",
|
|
14062
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14063
|
+
value: input.properties
|
|
14064
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14065
|
+
method: "typia.assert",
|
|
14066
|
+
path: _path + ".required",
|
|
14067
|
+
expected: "(Array<string> | undefined)",
|
|
14068
|
+
value: input.required
|
|
14069
|
+
}, _errorFactory)) && input.required.every(((elem, _index23) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14070
|
+
method: "typia.assert",
|
|
14071
|
+
path: _path + ".required[" + _index23 + "]",
|
|
14072
|
+
expected: "string",
|
|
14073
|
+
value: elem
|
|
14074
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14075
|
+
method: "typia.assert",
|
|
14076
|
+
path: _path + ".required",
|
|
14077
|
+
expected: "(Array<string> | undefined)",
|
|
14078
|
+
value: input.required
|
|
14079
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14080
|
+
method: "typia.assert",
|
|
14081
|
+
path: _path + ".additionalProperties",
|
|
14082
|
+
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)",
|
|
14083
|
+
value: input.additionalProperties
|
|
14084
|
+
}, _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, {
|
|
14085
|
+
method: "typia.assert",
|
|
14086
|
+
path: _path + ".additionalProperties",
|
|
14087
|
+
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)",
|
|
14088
|
+
value: input.additionalProperties
|
|
14089
|
+
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14090
|
+
method: "typia.assert",
|
|
14091
|
+
path: _path + ".additionalProperties",
|
|
14092
|
+
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)",
|
|
14093
|
+
value: input.additionalProperties
|
|
14094
|
+
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14095
|
+
method: "typia.assert",
|
|
14096
|
+
path: _path + ".maxProperties",
|
|
14097
|
+
expected: "(number | undefined)",
|
|
14098
|
+
value: input.maxProperties
|
|
14099
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14100
|
+
method: "typia.assert",
|
|
14101
|
+
path: _path + ".minProperties",
|
|
14102
|
+
expected: "(number | undefined)",
|
|
14103
|
+
value: input.minProperties
|
|
14104
|
+
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14105
|
+
method: "typia.assert",
|
|
14106
|
+
path: _path + ".type",
|
|
14107
|
+
expected: '"object"',
|
|
14108
|
+
value: input.type
|
|
14109
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14110
|
+
method: "typia.assert",
|
|
14111
|
+
path: _path + ".title",
|
|
14112
|
+
expected: "(string | undefined)",
|
|
14113
|
+
value: input.title
|
|
14114
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14115
|
+
method: "typia.assert",
|
|
14116
|
+
path: _path + ".description",
|
|
14117
|
+
expected: "(string | undefined)",
|
|
14118
|
+
value: input.description
|
|
14119
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14120
|
+
method: "typia.assert",
|
|
14121
|
+
path: _path + ".deprecated",
|
|
14122
|
+
expected: "(boolean | undefined)",
|
|
14123
|
+
value: input.deprecated
|
|
14124
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14125
|
+
method: "typia.assert",
|
|
14126
|
+
path: _path + ".examples",
|
|
14127
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14128
|
+
value: input.examples
|
|
14129
|
+
}, _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, {
|
|
14130
|
+
method: "typia.assert",
|
|
14131
|
+
path: _path + ".examples",
|
|
14132
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14133
|
+
value: input.examples
|
|
14134
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14135
|
+
method: "typia.assert",
|
|
14136
|
+
path: _path + ".examples",
|
|
14137
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14138
|
+
value: input.examples
|
|
14139
|
+
}, _errorFactory)));
|
|
14140
|
+
const _ao4 = (input, _path, _exceptionable = true) => ((Array.isArray(input.type) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14141
|
+
method: "typia.assert",
|
|
14142
|
+
path: _path + ".type",
|
|
14143
|
+
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
14144
|
+
value: input.type
|
|
14145
|
+
}, _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, {
|
|
14146
|
+
method: "typia.assert",
|
|
14147
|
+
path: _path + ".type[" + _index24 + "]",
|
|
14148
|
+
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
14149
|
+
value: elem
|
|
14150
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14151
|
+
method: "typia.assert",
|
|
14152
|
+
path: _path + ".type",
|
|
14153
|
+
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
14154
|
+
value: input.type
|
|
14155
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14156
|
+
method: "typia.assert",
|
|
14157
|
+
path: _path + '["default"]',
|
|
14158
|
+
expected: "(Array<any> | null | undefined)",
|
|
14159
|
+
value: input["default"]
|
|
14160
|
+
}, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14161
|
+
method: "typia.assert",
|
|
14162
|
+
path: _path + '["enum"]',
|
|
14163
|
+
expected: "(Array<any> | undefined)",
|
|
14164
|
+
value: input["enum"]
|
|
14165
|
+
}, _errorFactory)) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14166
|
+
method: "typia.assert",
|
|
14167
|
+
path: _path + '["const"]',
|
|
14168
|
+
expected: "(boolean | number | string)",
|
|
14169
|
+
value: input["const"]
|
|
14170
|
+
}, _errorFactory)) && (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14171
|
+
method: "typia.assert",
|
|
14172
|
+
path: _path + ".nullable",
|
|
14173
|
+
expected: "(boolean | undefined)",
|
|
14174
|
+
value: input.nullable
|
|
14175
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14176
|
+
method: "typia.assert",
|
|
14177
|
+
path: _path + ".examples",
|
|
14178
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14179
|
+
value: input.examples
|
|
14180
|
+
}, _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, {
|
|
14181
|
+
method: "typia.assert",
|
|
14182
|
+
path: _path + ".examples",
|
|
14183
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14184
|
+
value: input.examples
|
|
14185
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14186
|
+
method: "typia.assert",
|
|
14187
|
+
path: _path + ".examples",
|
|
14188
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14189
|
+
value: input.examples
|
|
14190
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14191
|
+
method: "typia.assert",
|
|
14192
|
+
path: _path + ".title",
|
|
14193
|
+
expected: "(string | undefined)",
|
|
14194
|
+
value: input.title
|
|
14195
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14196
|
+
method: "typia.assert",
|
|
14197
|
+
path: _path + ".description",
|
|
14198
|
+
expected: "(string | undefined)",
|
|
14199
|
+
value: input.description
|
|
14200
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14201
|
+
method: "typia.assert",
|
|
14202
|
+
path: _path + ".deprecated",
|
|
14203
|
+
expected: "(boolean | undefined)",
|
|
14204
|
+
value: input.deprecated
|
|
14205
|
+
}, _errorFactory)) && true && (undefined === input.minimum || "number" === typeof input.minimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14206
|
+
method: "typia.assert",
|
|
14207
|
+
path: _path + ".minimum",
|
|
14208
|
+
expected: "(number | undefined)",
|
|
14209
|
+
value: input.minimum
|
|
14210
|
+
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14211
|
+
method: "typia.assert",
|
|
14212
|
+
path: _path + ".maximum",
|
|
14213
|
+
expected: "(number | undefined)",
|
|
14214
|
+
value: input.maximum
|
|
14215
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14216
|
+
method: "typia.assert",
|
|
14217
|
+
path: _path + ".multipleOf",
|
|
14218
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
14219
|
+
value: input.multipleOf
|
|
14220
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14221
|
+
method: "typia.assert",
|
|
14222
|
+
path: _path + ".multipleOf",
|
|
14223
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
14224
|
+
value: input.multipleOf
|
|
14225
|
+
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14226
|
+
method: "typia.assert",
|
|
14227
|
+
path: _path + ".exclusiveMinimum",
|
|
14228
|
+
expected: "(boolean | number | undefined)",
|
|
14229
|
+
value: input.exclusiveMinimum
|
|
14230
|
+
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14231
|
+
method: "typia.assert",
|
|
14232
|
+
path: _path + ".exclusiveMaximum",
|
|
14233
|
+
expected: "(boolean | number | undefined)",
|
|
14234
|
+
value: input.exclusiveMaximum
|
|
14235
|
+
}, _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, {
|
|
14236
|
+
method: "typia.assert",
|
|
14237
|
+
path: _path + ".maxLength",
|
|
14238
|
+
expected: 'number & Type<"uint64">',
|
|
14239
|
+
value: input.maxLength
|
|
14240
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14241
|
+
method: "typia.assert",
|
|
14242
|
+
path: _path + ".maxLength",
|
|
14243
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14244
|
+
value: input.maxLength
|
|
14245
|
+
}, _errorFactory)) && (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14246
|
+
method: "typia.assert",
|
|
14247
|
+
path: _path + ".format",
|
|
14248
|
+
expected: "(string | undefined)",
|
|
14249
|
+
value: input.format
|
|
14250
|
+
}, _errorFactory)) && (undefined === input.pattern || "string" === typeof input.pattern || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14251
|
+
method: "typia.assert",
|
|
14252
|
+
path: _path + ".pattern",
|
|
14253
|
+
expected: "(string | undefined)",
|
|
14254
|
+
value: input.pattern
|
|
14255
|
+
}, _errorFactory)) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14256
|
+
method: "typia.assert",
|
|
14257
|
+
path: _path + ".contentMediaType",
|
|
14258
|
+
expected: "(string | undefined)",
|
|
14259
|
+
value: input.contentMediaType
|
|
14260
|
+
}, _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, {
|
|
14261
|
+
method: "typia.assert",
|
|
14262
|
+
path: _path + ".minLength",
|
|
14263
|
+
expected: 'number & Type<"uint64">',
|
|
14264
|
+
value: input.minLength
|
|
14265
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14266
|
+
method: "typia.assert",
|
|
14267
|
+
path: _path + ".minLength",
|
|
14268
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14269
|
+
value: input.minLength
|
|
14270
|
+
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14271
|
+
method: "typia.assert",
|
|
14272
|
+
path: _path + ".items",
|
|
14273
|
+
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)",
|
|
14274
|
+
value: input.items
|
|
14275
|
+
}, _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, {
|
|
14276
|
+
method: "typia.assert",
|
|
14277
|
+
path: _path + ".items[" + _index25 + "]",
|
|
14278
|
+
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)",
|
|
14279
|
+
value: elem
|
|
14280
|
+
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index25 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14281
|
+
method: "typia.assert",
|
|
14282
|
+
path: _path + ".items[" + _index25 + "]",
|
|
14283
|
+
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)",
|
|
14284
|
+
value: elem
|
|
14285
|
+
}, _errorFactory))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au0(input.items, _path + ".items", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14286
|
+
method: "typia.assert",
|
|
14287
|
+
path: _path + ".items",
|
|
14288
|
+
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)",
|
|
14289
|
+
value: input.items
|
|
14290
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14291
|
+
method: "typia.assert",
|
|
14292
|
+
path: _path + ".items",
|
|
14293
|
+
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)",
|
|
14294
|
+
value: input.items
|
|
14295
|
+
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14296
|
+
method: "typia.assert",
|
|
14297
|
+
path: _path + ".prefixItems",
|
|
14298
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14299
|
+
value: input.prefixItems
|
|
14300
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index26) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14301
|
+
method: "typia.assert",
|
|
14302
|
+
path: _path + ".prefixItems[" + _index26 + "]",
|
|
14303
|
+
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)",
|
|
14304
|
+
value: elem
|
|
14305
|
+
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index26 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14306
|
+
method: "typia.assert",
|
|
14307
|
+
path: _path + ".prefixItems[" + _index26 + "]",
|
|
14308
|
+
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)",
|
|
14309
|
+
value: elem
|
|
14310
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14311
|
+
method: "typia.assert",
|
|
14312
|
+
path: _path + ".prefixItems",
|
|
14313
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14314
|
+
value: input.prefixItems
|
|
14315
|
+
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14316
|
+
method: "typia.assert",
|
|
14317
|
+
path: _path + ".uniqueItems",
|
|
14318
|
+
expected: "(boolean | undefined)",
|
|
14319
|
+
value: input.uniqueItems
|
|
14320
|
+
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14321
|
+
method: "typia.assert",
|
|
14322
|
+
path: _path + ".additionalItems",
|
|
14323
|
+
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)",
|
|
14324
|
+
value: input.additionalItems
|
|
14325
|
+
}, _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, {
|
|
14326
|
+
method: "typia.assert",
|
|
14327
|
+
path: _path + ".additionalItems",
|
|
14328
|
+
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)",
|
|
14329
|
+
value: input.additionalItems
|
|
14330
|
+
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14331
|
+
method: "typia.assert",
|
|
14332
|
+
path: _path + ".additionalItems",
|
|
14333
|
+
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)",
|
|
14334
|
+
value: input.additionalItems
|
|
14335
|
+
}, _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, {
|
|
14336
|
+
method: "typia.assert",
|
|
14337
|
+
path: _path + ".minItems",
|
|
14338
|
+
expected: 'number & Type<"uint64">',
|
|
14339
|
+
value: input.minItems
|
|
14340
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14341
|
+
method: "typia.assert",
|
|
14342
|
+
path: _path + ".minItems",
|
|
14343
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14344
|
+
value: input.minItems
|
|
14345
|
+
}, _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, {
|
|
14346
|
+
method: "typia.assert",
|
|
14347
|
+
path: _path + ".maxItems",
|
|
14348
|
+
expected: 'number & Type<"uint64">',
|
|
14349
|
+
value: input.maxItems
|
|
14350
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14351
|
+
method: "typia.assert",
|
|
14352
|
+
path: _path + ".maxItems",
|
|
14353
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14354
|
+
value: input.maxItems
|
|
14355
|
+
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14356
|
+
method: "typia.assert",
|
|
14357
|
+
path: _path + ".additionalProperties",
|
|
14358
|
+
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)",
|
|
14359
|
+
value: input.additionalProperties
|
|
14360
|
+
}, _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, {
|
|
14361
|
+
method: "typia.assert",
|
|
14362
|
+
path: _path + ".additionalProperties",
|
|
14363
|
+
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)",
|
|
14364
|
+
value: input.additionalProperties
|
|
14365
|
+
}, _errorFactory)) && _au0(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14366
|
+
method: "typia.assert",
|
|
14367
|
+
path: _path + ".additionalProperties",
|
|
14368
|
+
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)",
|
|
14369
|
+
value: input.additionalProperties
|
|
14370
|
+
}, _errorFactory))) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14371
|
+
method: "typia.assert",
|
|
14372
|
+
path: _path + ".properties",
|
|
14373
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14374
|
+
value: input.properties
|
|
14375
|
+
}, _errorFactory)) && _ao2(input.properties, _path + ".properties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14376
|
+
method: "typia.assert",
|
|
14377
|
+
path: _path + ".properties",
|
|
14378
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14379
|
+
value: input.properties
|
|
14380
|
+
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14381
|
+
method: "typia.assert",
|
|
14382
|
+
path: _path + ".required",
|
|
14383
|
+
expected: "(Array<string> | undefined)",
|
|
14384
|
+
value: input.required
|
|
14385
|
+
}, _errorFactory)) && input.required.every(((elem, _index27) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14386
|
+
method: "typia.assert",
|
|
14387
|
+
path: _path + ".required[" + _index27 + "]",
|
|
14388
|
+
expected: "string",
|
|
14389
|
+
value: elem
|
|
14390
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14391
|
+
method: "typia.assert",
|
|
14392
|
+
path: _path + ".required",
|
|
14393
|
+
expected: "(Array<string> | undefined)",
|
|
14394
|
+
value: input.required
|
|
14395
|
+
}, _errorFactory)) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14396
|
+
method: "typia.assert",
|
|
14397
|
+
path: _path + ".maxProperties",
|
|
14398
|
+
expected: "(number | undefined)",
|
|
14399
|
+
value: input.maxProperties
|
|
14400
|
+
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14401
|
+
method: "typia.assert",
|
|
14402
|
+
path: _path + ".minProperties",
|
|
14403
|
+
expected: "(number | undefined)",
|
|
14404
|
+
value: input.minProperties
|
|
14405
|
+
}, _errorFactory)) && ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14406
|
+
method: "typia.assert",
|
|
14407
|
+
path: _path + ".oneOf",
|
|
14408
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14409
|
+
value: input.oneOf
|
|
14410
|
+
}, _errorFactory)) && input.oneOf.every(((elem, _index28) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14411
|
+
method: "typia.assert",
|
|
14412
|
+
path: _path + ".oneOf[" + _index28 + "]",
|
|
14413
|
+
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)",
|
|
14414
|
+
value: elem
|
|
14415
|
+
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index28 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14416
|
+
method: "typia.assert",
|
|
14417
|
+
path: _path + ".oneOf[" + _index28 + "]",
|
|
14418
|
+
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)",
|
|
14419
|
+
value: elem
|
|
14420
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14421
|
+
method: "typia.assert",
|
|
14422
|
+
path: _path + ".oneOf",
|
|
14423
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14424
|
+
value: input.oneOf
|
|
14425
|
+
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14426
|
+
method: "typia.assert",
|
|
14427
|
+
path: _path + ".discriminator",
|
|
14428
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
14429
|
+
value: input.discriminator
|
|
14430
|
+
}, _errorFactory)) && _ao17(input.discriminator, _path + ".discriminator", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14431
|
+
method: "typia.assert",
|
|
14432
|
+
path: _path + ".discriminator",
|
|
14433
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
14434
|
+
value: input.discriminator
|
|
14435
|
+
}, _errorFactory)) && ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14436
|
+
method: "typia.assert",
|
|
14437
|
+
path: _path + ".anyOf",
|
|
14438
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14439
|
+
value: input.anyOf
|
|
14440
|
+
}, _errorFactory)) && input.anyOf.every(((elem, _index29) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14441
|
+
method: "typia.assert",
|
|
14442
|
+
path: _path + ".anyOf[" + _index29 + "]",
|
|
14443
|
+
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)",
|
|
14444
|
+
value: elem
|
|
14445
|
+
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index29 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14446
|
+
method: "typia.assert",
|
|
14447
|
+
path: _path + ".anyOf[" + _index29 + "]",
|
|
14448
|
+
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)",
|
|
14449
|
+
value: elem
|
|
14450
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14451
|
+
method: "typia.assert",
|
|
14452
|
+
path: _path + ".anyOf",
|
|
14453
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14454
|
+
value: input.anyOf
|
|
14455
|
+
}, _errorFactory)) && ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14456
|
+
method: "typia.assert",
|
|
14457
|
+
path: _path + ".allOf",
|
|
14458
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14459
|
+
value: input.allOf
|
|
14460
|
+
}, _errorFactory)) && input.allOf.every(((elem, _index30) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14461
|
+
method: "typia.assert",
|
|
14462
|
+
path: _path + ".allOf[" + _index30 + "]",
|
|
14463
|
+
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)",
|
|
14464
|
+
value: elem
|
|
14465
|
+
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index30 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14466
|
+
method: "typia.assert",
|
|
14467
|
+
path: _path + ".allOf[" + _index30 + "]",
|
|
14468
|
+
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)",
|
|
14469
|
+
value: elem
|
|
14470
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14471
|
+
method: "typia.assert",
|
|
14472
|
+
path: _path + ".allOf",
|
|
14473
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
14474
|
+
value: input.allOf
|
|
14475
|
+
}, _errorFactory)) && ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14476
|
+
method: "typia.assert",
|
|
14477
|
+
path: _path + ".$ref",
|
|
14478
|
+
expected: "string",
|
|
14479
|
+
value: input.$ref
|
|
14480
|
+
}, _errorFactory));
|
|
14481
|
+
const _ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every((key => {
|
|
14482
|
+
const value = input[key];
|
|
14483
|
+
if (undefined === value) return true;
|
|
14484
|
+
return true;
|
|
14485
|
+
}));
|
|
14486
|
+
const _ao6 = (input, _path, _exceptionable = true) => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14487
|
+
method: "typia.assert",
|
|
14488
|
+
path: _path + '["const"]',
|
|
14489
|
+
expected: "(boolean | number | string)",
|
|
14490
|
+
value: input["const"]
|
|
14491
|
+
}, _errorFactory)) && (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14492
|
+
method: "typia.assert",
|
|
14493
|
+
path: _path + ".nullable",
|
|
14494
|
+
expected: "(boolean | undefined)",
|
|
14495
|
+
value: input.nullable
|
|
14496
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14497
|
+
method: "typia.assert",
|
|
14498
|
+
path: _path + ".examples",
|
|
14499
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14500
|
+
value: input.examples
|
|
14501
|
+
}, _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, {
|
|
14502
|
+
method: "typia.assert",
|
|
14503
|
+
path: _path + ".examples",
|
|
14504
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14505
|
+
value: input.examples
|
|
14506
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14507
|
+
method: "typia.assert",
|
|
14508
|
+
path: _path + ".examples",
|
|
14509
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14510
|
+
value: input.examples
|
|
14511
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14512
|
+
method: "typia.assert",
|
|
14513
|
+
path: _path + ".title",
|
|
14514
|
+
expected: "(string | undefined)",
|
|
14515
|
+
value: input.title
|
|
14516
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14517
|
+
method: "typia.assert",
|
|
14518
|
+
path: _path + ".description",
|
|
14519
|
+
expected: "(string | undefined)",
|
|
14520
|
+
value: input.description
|
|
14521
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14522
|
+
method: "typia.assert",
|
|
14523
|
+
path: _path + ".deprecated",
|
|
14524
|
+
expected: "(boolean | undefined)",
|
|
14525
|
+
value: input.deprecated
|
|
14526
|
+
}, _errorFactory)) && true;
|
|
14527
|
+
const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14528
|
+
method: "typia.assert",
|
|
14529
|
+
path: _path + ".nullable",
|
|
14530
|
+
expected: "(boolean | undefined)",
|
|
14531
|
+
value: input.nullable
|
|
14532
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14533
|
+
method: "typia.assert",
|
|
14534
|
+
path: _path + '["default"]',
|
|
14535
|
+
expected: "(boolean | null | undefined)",
|
|
14536
|
+
value: input["default"]
|
|
14537
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14538
|
+
method: "typia.assert",
|
|
14539
|
+
path: _path + '["enum"]',
|
|
14540
|
+
expected: "(Array<boolean | null> | undefined)",
|
|
14541
|
+
value: input["enum"]
|
|
14542
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index31) => null === elem || "boolean" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14543
|
+
method: "typia.assert",
|
|
14544
|
+
path: _path + '["enum"][' + _index31 + "]",
|
|
14545
|
+
expected: "(boolean | null)",
|
|
14546
|
+
value: elem
|
|
14547
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14548
|
+
method: "typia.assert",
|
|
14549
|
+
path: _path + '["enum"]',
|
|
14550
|
+
expected: "(Array<boolean | null> | undefined)",
|
|
14551
|
+
value: input["enum"]
|
|
14552
|
+
}, _errorFactory)) && ("boolean" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14553
|
+
method: "typia.assert",
|
|
14554
|
+
path: _path + ".type",
|
|
14555
|
+
expected: '"boolean"',
|
|
14556
|
+
value: input.type
|
|
14557
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14558
|
+
method: "typia.assert",
|
|
14559
|
+
path: _path + ".title",
|
|
14560
|
+
expected: "(string | undefined)",
|
|
14561
|
+
value: input.title
|
|
14562
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14563
|
+
method: "typia.assert",
|
|
14564
|
+
path: _path + ".description",
|
|
14565
|
+
expected: "(string | undefined)",
|
|
14566
|
+
value: input.description
|
|
14567
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14568
|
+
method: "typia.assert",
|
|
14569
|
+
path: _path + ".deprecated",
|
|
14570
|
+
expected: "(boolean | undefined)",
|
|
14571
|
+
value: input.deprecated
|
|
14572
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14573
|
+
method: "typia.assert",
|
|
14574
|
+
path: _path + ".examples",
|
|
14575
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14576
|
+
value: input.examples
|
|
14577
|
+
}, _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, {
|
|
14578
|
+
method: "typia.assert",
|
|
14579
|
+
path: _path + ".examples",
|
|
14580
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14581
|
+
value: input.examples
|
|
14582
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14583
|
+
method: "typia.assert",
|
|
14584
|
+
path: _path + ".examples",
|
|
14585
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14586
|
+
value: input.examples
|
|
14587
|
+
}, _errorFactory)));
|
|
14588
|
+
const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14589
|
+
method: "typia.assert",
|
|
14590
|
+
path: _path + ".nullable",
|
|
14591
|
+
expected: "(boolean | undefined)",
|
|
14592
|
+
value: input.nullable
|
|
14593
|
+
}, _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, {
|
|
14594
|
+
method: "typia.assert",
|
|
14595
|
+
path: _path + '["default"]',
|
|
14596
|
+
expected: 'number & Type<"int64">',
|
|
14597
|
+
value: input["default"]
|
|
14598
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14599
|
+
method: "typia.assert",
|
|
14600
|
+
path: _path + '["default"]',
|
|
14601
|
+
expected: '((number & Type<"int64">) | null | undefined)',
|
|
14602
|
+
value: input["default"]
|
|
14603
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14604
|
+
method: "typia.assert",
|
|
14605
|
+
path: _path + '["enum"]',
|
|
14606
|
+
expected: "(Array<number | null> | undefined)",
|
|
14607
|
+
value: input["enum"]
|
|
14608
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index32) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14609
|
+
method: "typia.assert",
|
|
14610
|
+
path: _path + '["enum"][' + _index32 + "]",
|
|
14611
|
+
expected: "(null | number)",
|
|
14612
|
+
value: elem
|
|
14613
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14614
|
+
method: "typia.assert",
|
|
14615
|
+
path: _path + '["enum"]',
|
|
14616
|
+
expected: "(Array<number | null> | undefined)",
|
|
14617
|
+
value: input["enum"]
|
|
14618
|
+
}, _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, {
|
|
14619
|
+
method: "typia.assert",
|
|
14620
|
+
path: _path + ".minimum",
|
|
14621
|
+
expected: 'number & Type<"int64">',
|
|
14622
|
+
value: input.minimum
|
|
14623
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14624
|
+
method: "typia.assert",
|
|
14625
|
+
path: _path + ".minimum",
|
|
14626
|
+
expected: '((number & Type<"int64">) | undefined)',
|
|
14627
|
+
value: input.minimum
|
|
14628
|
+
}, _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, {
|
|
14629
|
+
method: "typia.assert",
|
|
14630
|
+
path: _path + ".maximum",
|
|
14631
|
+
expected: 'number & Type<"int64">',
|
|
14632
|
+
value: input.maximum
|
|
14633
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14634
|
+
method: "typia.assert",
|
|
14635
|
+
path: _path + ".maximum",
|
|
14636
|
+
expected: '((number & Type<"int64">) | undefined)',
|
|
14637
|
+
value: input.maximum
|
|
14638
|
+
}, _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, {
|
|
14639
|
+
method: "typia.assert",
|
|
14640
|
+
path: _path + ".exclusiveMinimum",
|
|
14641
|
+
expected: 'number & Type<"int64">',
|
|
14642
|
+
value: input.exclusiveMinimum
|
|
14643
|
+
}, _errorFactory)) || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14644
|
+
method: "typia.assert",
|
|
14645
|
+
path: _path + ".exclusiveMinimum",
|
|
14646
|
+
expected: '((number & Type<"int64">) | boolean | undefined)',
|
|
14647
|
+
value: input.exclusiveMinimum
|
|
14648
|
+
}, _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, {
|
|
14649
|
+
method: "typia.assert",
|
|
14650
|
+
path: _path + ".exclusiveMaximum",
|
|
14651
|
+
expected: 'number & Type<"int64">',
|
|
14652
|
+
value: input.exclusiveMaximum
|
|
14653
|
+
}, _errorFactory)) || "boolean" === typeof input.exclusiveMaximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14654
|
+
method: "typia.assert",
|
|
14655
|
+
path: _path + ".exclusiveMaximum",
|
|
14656
|
+
expected: '((number & Type<"int64">) | boolean | undefined)',
|
|
14657
|
+
value: input.exclusiveMaximum
|
|
14658
|
+
}, _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, {
|
|
14659
|
+
method: "typia.assert",
|
|
14660
|
+
path: _path + ".multipleOf",
|
|
14661
|
+
expected: 'number & Type<"uint64">',
|
|
14662
|
+
value: input.multipleOf
|
|
14663
|
+
}, _errorFactory)) && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14664
|
+
method: "typia.assert",
|
|
14665
|
+
path: _path + ".multipleOf",
|
|
14666
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
14667
|
+
value: input.multipleOf
|
|
14668
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14669
|
+
method: "typia.assert",
|
|
14670
|
+
path: _path + ".multipleOf",
|
|
14671
|
+
expected: '((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',
|
|
14672
|
+
value: input.multipleOf
|
|
14673
|
+
}, _errorFactory)) && ("integer" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14674
|
+
method: "typia.assert",
|
|
14675
|
+
path: _path + ".type",
|
|
14676
|
+
expected: '"integer"',
|
|
14677
|
+
value: input.type
|
|
14678
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14679
|
+
method: "typia.assert",
|
|
14680
|
+
path: _path + ".title",
|
|
14681
|
+
expected: "(string | undefined)",
|
|
14682
|
+
value: input.title
|
|
14683
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14684
|
+
method: "typia.assert",
|
|
14685
|
+
path: _path + ".description",
|
|
14686
|
+
expected: "(string | undefined)",
|
|
14687
|
+
value: input.description
|
|
14688
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14689
|
+
method: "typia.assert",
|
|
14690
|
+
path: _path + ".deprecated",
|
|
14691
|
+
expected: "(boolean | undefined)",
|
|
14692
|
+
value: input.deprecated
|
|
14693
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14694
|
+
method: "typia.assert",
|
|
14695
|
+
path: _path + ".examples",
|
|
14696
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14697
|
+
value: input.examples
|
|
14698
|
+
}, _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, {
|
|
14699
|
+
method: "typia.assert",
|
|
14700
|
+
path: _path + ".examples",
|
|
14701
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14702
|
+
value: input.examples
|
|
14703
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14704
|
+
method: "typia.assert",
|
|
14705
|
+
path: _path + ".examples",
|
|
14706
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14707
|
+
value: input.examples
|
|
14708
|
+
}, _errorFactory)));
|
|
14709
|
+
const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14710
|
+
method: "typia.assert",
|
|
14711
|
+
path: _path + ".nullable",
|
|
14712
|
+
expected: "(boolean | undefined)",
|
|
14713
|
+
value: input.nullable
|
|
14714
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14715
|
+
method: "typia.assert",
|
|
14716
|
+
path: _path + '["default"]',
|
|
14717
|
+
expected: "(null | number | undefined)",
|
|
14718
|
+
value: input["default"]
|
|
14719
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14720
|
+
method: "typia.assert",
|
|
14721
|
+
path: _path + '["enum"]',
|
|
14722
|
+
expected: "(Array<number | null> | undefined)",
|
|
14723
|
+
value: input["enum"]
|
|
14724
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index33) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14725
|
+
method: "typia.assert",
|
|
14726
|
+
path: _path + '["enum"][' + _index33 + "]",
|
|
14727
|
+
expected: "(null | number)",
|
|
14728
|
+
value: elem
|
|
14729
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14730
|
+
method: "typia.assert",
|
|
14731
|
+
path: _path + '["enum"]',
|
|
14732
|
+
expected: "(Array<number | null> | undefined)",
|
|
14733
|
+
value: input["enum"]
|
|
14734
|
+
}, _errorFactory)) && (undefined === input.minimum || "number" === typeof input.minimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14735
|
+
method: "typia.assert",
|
|
14736
|
+
path: _path + ".minimum",
|
|
14737
|
+
expected: "(number | undefined)",
|
|
14738
|
+
value: input.minimum
|
|
14739
|
+
}, _errorFactory)) && (undefined === input.maximum || "number" === typeof input.maximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14740
|
+
method: "typia.assert",
|
|
14741
|
+
path: _path + ".maximum",
|
|
14742
|
+
expected: "(number | undefined)",
|
|
14743
|
+
value: input.maximum
|
|
14744
|
+
}, _errorFactory)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14745
|
+
method: "typia.assert",
|
|
14746
|
+
path: _path + ".exclusiveMinimum",
|
|
14747
|
+
expected: "(boolean | number | undefined)",
|
|
14748
|
+
value: input.exclusiveMinimum
|
|
14749
|
+
}, _errorFactory)) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14750
|
+
method: "typia.assert",
|
|
14751
|
+
path: _path + ".exclusiveMaximum",
|
|
14752
|
+
expected: "(boolean | number | undefined)",
|
|
14753
|
+
value: input.exclusiveMaximum
|
|
14754
|
+
}, _errorFactory)) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (0 < input.multipleOf || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14755
|
+
method: "typia.assert",
|
|
14756
|
+
path: _path + ".multipleOf",
|
|
14757
|
+
expected: "number & ExclusiveMinimum<0>",
|
|
14758
|
+
value: input.multipleOf
|
|
14759
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14760
|
+
method: "typia.assert",
|
|
14761
|
+
path: _path + ".multipleOf",
|
|
14762
|
+
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
|
14763
|
+
value: input.multipleOf
|
|
14764
|
+
}, _errorFactory)) && ("number" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14765
|
+
method: "typia.assert",
|
|
14766
|
+
path: _path + ".type",
|
|
14767
|
+
expected: '"number"',
|
|
14768
|
+
value: input.type
|
|
14769
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14770
|
+
method: "typia.assert",
|
|
14771
|
+
path: _path + ".title",
|
|
14772
|
+
expected: "(string | undefined)",
|
|
14773
|
+
value: input.title
|
|
14774
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14775
|
+
method: "typia.assert",
|
|
14776
|
+
path: _path + ".description",
|
|
14777
|
+
expected: "(string | undefined)",
|
|
14778
|
+
value: input.description
|
|
14779
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14780
|
+
method: "typia.assert",
|
|
14781
|
+
path: _path + ".deprecated",
|
|
14782
|
+
expected: "(boolean | undefined)",
|
|
14783
|
+
value: input.deprecated
|
|
14784
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14785
|
+
method: "typia.assert",
|
|
14786
|
+
path: _path + ".examples",
|
|
14787
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14788
|
+
value: input.examples
|
|
14789
|
+
}, _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, {
|
|
14790
|
+
method: "typia.assert",
|
|
14791
|
+
path: _path + ".examples",
|
|
14792
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14793
|
+
value: input.examples
|
|
14794
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14795
|
+
method: "typia.assert",
|
|
14796
|
+
path: _path + ".examples",
|
|
14797
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14798
|
+
value: input.examples
|
|
14799
|
+
}, _errorFactory)));
|
|
14800
|
+
const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14801
|
+
method: "typia.assert",
|
|
14802
|
+
path: _path + ".nullable",
|
|
14803
|
+
expected: "(boolean | undefined)",
|
|
14804
|
+
value: input.nullable
|
|
14805
|
+
}, _errorFactory)) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14806
|
+
method: "typia.assert",
|
|
14807
|
+
path: _path + '["default"]',
|
|
14808
|
+
expected: "(null | string | undefined)",
|
|
14809
|
+
value: input["default"]
|
|
14810
|
+
}, _errorFactory)) && (undefined === input["enum"] || (Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14811
|
+
method: "typia.assert",
|
|
14812
|
+
path: _path + '["enum"]',
|
|
14813
|
+
expected: "(Array<string | null> | undefined)",
|
|
14814
|
+
value: input["enum"]
|
|
14815
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index34) => null === elem || "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14816
|
+
method: "typia.assert",
|
|
14817
|
+
path: _path + '["enum"][' + _index34 + "]",
|
|
14818
|
+
expected: "(null | string)",
|
|
14819
|
+
value: elem
|
|
14820
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14821
|
+
method: "typia.assert",
|
|
14822
|
+
path: _path + '["enum"]',
|
|
14823
|
+
expected: "(Array<string | null> | undefined)",
|
|
14824
|
+
value: input["enum"]
|
|
14825
|
+
}, _errorFactory)) && (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14826
|
+
method: "typia.assert",
|
|
14827
|
+
path: _path + ".format",
|
|
14828
|
+
expected: "(string | undefined)",
|
|
14829
|
+
value: input.format
|
|
14830
|
+
}, _errorFactory)) && (undefined === input.pattern || "string" === typeof input.pattern || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14831
|
+
method: "typia.assert",
|
|
14832
|
+
path: _path + ".pattern",
|
|
14833
|
+
expected: "(string | undefined)",
|
|
14834
|
+
value: input.pattern
|
|
14835
|
+
}, _errorFactory)) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14836
|
+
method: "typia.assert",
|
|
14837
|
+
path: _path + ".contentMediaType",
|
|
14838
|
+
expected: "(string | undefined)",
|
|
14839
|
+
value: input.contentMediaType
|
|
14840
|
+
}, _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, {
|
|
14841
|
+
method: "typia.assert",
|
|
14842
|
+
path: _path + ".minLength",
|
|
14843
|
+
expected: 'number & Type<"uint64">',
|
|
14844
|
+
value: input.minLength
|
|
14845
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14846
|
+
method: "typia.assert",
|
|
14847
|
+
path: _path + ".minLength",
|
|
14848
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14849
|
+
value: input.minLength
|
|
14850
|
+
}, _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, {
|
|
14851
|
+
method: "typia.assert",
|
|
14852
|
+
path: _path + ".maxLength",
|
|
14853
|
+
expected: 'number & Type<"uint64">',
|
|
14854
|
+
value: input.maxLength
|
|
14855
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14856
|
+
method: "typia.assert",
|
|
14857
|
+
path: _path + ".maxLength",
|
|
14858
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14859
|
+
value: input.maxLength
|
|
14860
|
+
}, _errorFactory)) && ("string" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14861
|
+
method: "typia.assert",
|
|
14862
|
+
path: _path + ".type",
|
|
14863
|
+
expected: '"string"',
|
|
14864
|
+
value: input.type
|
|
14865
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14866
|
+
method: "typia.assert",
|
|
14867
|
+
path: _path + ".title",
|
|
14868
|
+
expected: "(string | undefined)",
|
|
14869
|
+
value: input.title
|
|
14870
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14871
|
+
method: "typia.assert",
|
|
14872
|
+
path: _path + ".description",
|
|
14873
|
+
expected: "(string | undefined)",
|
|
14874
|
+
value: input.description
|
|
14875
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14876
|
+
method: "typia.assert",
|
|
14877
|
+
path: _path + ".deprecated",
|
|
14878
|
+
expected: "(boolean | undefined)",
|
|
14879
|
+
value: input.deprecated
|
|
14880
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14881
|
+
method: "typia.assert",
|
|
14882
|
+
path: _path + ".examples",
|
|
14883
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14884
|
+
value: input.examples
|
|
14885
|
+
}, _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, {
|
|
14886
|
+
method: "typia.assert",
|
|
14887
|
+
path: _path + ".examples",
|
|
14888
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14889
|
+
value: input.examples
|
|
14890
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14891
|
+
method: "typia.assert",
|
|
14892
|
+
path: _path + ".examples",
|
|
14893
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
14894
|
+
value: input.examples
|
|
14895
|
+
}, _errorFactory)));
|
|
14896
|
+
const _ao11 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14897
|
+
method: "typia.assert",
|
|
14898
|
+
path: _path + ".nullable",
|
|
14899
|
+
expected: "(boolean | undefined)",
|
|
14900
|
+
value: input.nullable
|
|
14901
|
+
}, _errorFactory)) && ((null !== input.items || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14902
|
+
method: "typia.assert",
|
|
14903
|
+
path: _path + ".items",
|
|
14904
|
+
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)",
|
|
14905
|
+
value: input.items
|
|
14906
|
+
}, _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, {
|
|
14907
|
+
method: "typia.assert",
|
|
14908
|
+
path: _path + ".items[" + _index35 + "]",
|
|
14909
|
+
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)",
|
|
14910
|
+
value: elem
|
|
14911
|
+
}, _errorFactory)) && _au0(elem, _path + ".items[" + _index35 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14912
|
+
method: "typia.assert",
|
|
14913
|
+
path: _path + ".items[" + _index35 + "]",
|
|
14914
|
+
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)",
|
|
14915
|
+
value: elem
|
|
14916
|
+
}, _errorFactory))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _au0(input.items, _path + ".items", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14917
|
+
method: "typia.assert",
|
|
14918
|
+
path: _path + ".items",
|
|
14919
|
+
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)",
|
|
14920
|
+
value: input.items
|
|
14921
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14922
|
+
method: "typia.assert",
|
|
14923
|
+
path: _path + ".items",
|
|
14924
|
+
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)",
|
|
14925
|
+
value: input.items
|
|
14926
|
+
}, _errorFactory))) && (undefined === input.prefixItems || (Array.isArray(input.prefixItems) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14927
|
+
method: "typia.assert",
|
|
14928
|
+
path: _path + ".prefixItems",
|
|
14929
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14930
|
+
value: input.prefixItems
|
|
14931
|
+
}, _errorFactory)) && input.prefixItems.every(((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14932
|
+
method: "typia.assert",
|
|
14933
|
+
path: _path + ".prefixItems[" + _index36 + "]",
|
|
14934
|
+
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)",
|
|
14935
|
+
value: elem
|
|
14936
|
+
}, _errorFactory)) && _au0(elem, _path + ".prefixItems[" + _index36 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14937
|
+
method: "typia.assert",
|
|
14938
|
+
path: _path + ".prefixItems[" + _index36 + "]",
|
|
14939
|
+
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)",
|
|
14940
|
+
value: elem
|
|
14941
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14942
|
+
method: "typia.assert",
|
|
14943
|
+
path: _path + ".prefixItems",
|
|
14944
|
+
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
14945
|
+
value: input.prefixItems
|
|
14946
|
+
}, _errorFactory)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14947
|
+
method: "typia.assert",
|
|
14948
|
+
path: _path + ".uniqueItems",
|
|
14949
|
+
expected: "(boolean | undefined)",
|
|
14950
|
+
value: input.uniqueItems
|
|
14951
|
+
}, _errorFactory)) && ((null !== input.additionalItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14952
|
+
method: "typia.assert",
|
|
14953
|
+
path: _path + ".additionalItems",
|
|
14954
|
+
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)",
|
|
14955
|
+
value: input.additionalItems
|
|
14956
|
+
}, _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, {
|
|
14957
|
+
method: "typia.assert",
|
|
14958
|
+
path: _path + ".additionalItems",
|
|
14959
|
+
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)",
|
|
14960
|
+
value: input.additionalItems
|
|
14961
|
+
}, _errorFactory)) && _au0(input.additionalItems, _path + ".additionalItems", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14962
|
+
method: "typia.assert",
|
|
14963
|
+
path: _path + ".additionalItems",
|
|
14964
|
+
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)",
|
|
14965
|
+
value: input.additionalItems
|
|
14966
|
+
}, _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, {
|
|
14967
|
+
method: "typia.assert",
|
|
14968
|
+
path: _path + ".minItems",
|
|
14969
|
+
expected: 'number & Type<"uint64">',
|
|
14970
|
+
value: input.minItems
|
|
14971
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14972
|
+
method: "typia.assert",
|
|
14973
|
+
path: _path + ".minItems",
|
|
14974
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14975
|
+
value: input.minItems
|
|
14976
|
+
}, _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, {
|
|
14977
|
+
method: "typia.assert",
|
|
14978
|
+
path: _path + ".maxItems",
|
|
14979
|
+
expected: 'number & Type<"uint64">',
|
|
14980
|
+
value: input.maxItems
|
|
14981
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14982
|
+
method: "typia.assert",
|
|
14983
|
+
path: _path + ".maxItems",
|
|
14984
|
+
expected: '((number & Type<"uint64">) | undefined)',
|
|
14985
|
+
value: input.maxItems
|
|
14986
|
+
}, _errorFactory)) && ("array" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14987
|
+
method: "typia.assert",
|
|
14988
|
+
path: _path + ".type",
|
|
14989
|
+
expected: '"array"',
|
|
14990
|
+
value: input.type
|
|
14991
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14992
|
+
method: "typia.assert",
|
|
14993
|
+
path: _path + ".title",
|
|
14994
|
+
expected: "(string | undefined)",
|
|
14995
|
+
value: input.title
|
|
14996
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
14997
|
+
method: "typia.assert",
|
|
14998
|
+
path: _path + ".description",
|
|
14999
|
+
expected: "(string | undefined)",
|
|
15000
|
+
value: input.description
|
|
15001
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15002
|
+
method: "typia.assert",
|
|
15003
|
+
path: _path + ".deprecated",
|
|
15004
|
+
expected: "(boolean | undefined)",
|
|
15005
|
+
value: input.deprecated
|
|
15006
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15007
|
+
method: "typia.assert",
|
|
15008
|
+
path: _path + ".examples",
|
|
15009
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15010
|
+
value: input.examples
|
|
15011
|
+
}, _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, {
|
|
15012
|
+
method: "typia.assert",
|
|
15013
|
+
path: _path + ".examples",
|
|
15014
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15015
|
+
value: input.examples
|
|
15016
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15017
|
+
method: "typia.assert",
|
|
15018
|
+
path: _path + ".examples",
|
|
15019
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15020
|
+
value: input.examples
|
|
15021
|
+
}, _errorFactory)));
|
|
15022
|
+
const _ao12 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15023
|
+
method: "typia.assert",
|
|
15024
|
+
path: _path + ".$ref",
|
|
15025
|
+
expected: "string",
|
|
15026
|
+
value: input.$ref
|
|
15027
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15028
|
+
method: "typia.assert",
|
|
15029
|
+
path: _path + ".examples",
|
|
15030
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15031
|
+
value: input.examples
|
|
15032
|
+
}, _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, {
|
|
15033
|
+
method: "typia.assert",
|
|
15034
|
+
path: _path + ".examples",
|
|
15035
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15036
|
+
value: input.examples
|
|
15037
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15038
|
+
method: "typia.assert",
|
|
15039
|
+
path: _path + ".examples",
|
|
15040
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15041
|
+
value: input.examples
|
|
15042
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15043
|
+
method: "typia.assert",
|
|
15044
|
+
path: _path + ".title",
|
|
15045
|
+
expected: "(string | undefined)",
|
|
15046
|
+
value: input.title
|
|
15047
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15048
|
+
method: "typia.assert",
|
|
15049
|
+
path: _path + ".description",
|
|
15050
|
+
expected: "(string | undefined)",
|
|
15051
|
+
value: input.description
|
|
15052
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15053
|
+
method: "typia.assert",
|
|
15054
|
+
path: _path + ".deprecated",
|
|
15055
|
+
expected: "(boolean | undefined)",
|
|
15056
|
+
value: input.deprecated
|
|
15057
|
+
}, _errorFactory)) && true;
|
|
15058
|
+
const _ao13 = (input, _path, _exceptionable = true) => ("string" === typeof input.$recursiveRef || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15059
|
+
method: "typia.assert",
|
|
15060
|
+
path: _path + ".$recursiveRef",
|
|
15061
|
+
expected: "string",
|
|
15062
|
+
value: input.$recursiveRef
|
|
15063
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15064
|
+
method: "typia.assert",
|
|
15065
|
+
path: _path + ".examples",
|
|
15066
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15067
|
+
value: input.examples
|
|
15068
|
+
}, _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, {
|
|
15069
|
+
method: "typia.assert",
|
|
15070
|
+
path: _path + ".examples",
|
|
15071
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15072
|
+
value: input.examples
|
|
15073
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15074
|
+
method: "typia.assert",
|
|
15075
|
+
path: _path + ".examples",
|
|
15076
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15077
|
+
value: input.examples
|
|
15078
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15079
|
+
method: "typia.assert",
|
|
15080
|
+
path: _path + ".title",
|
|
15081
|
+
expected: "(string | undefined)",
|
|
15082
|
+
value: input.title
|
|
15083
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15084
|
+
method: "typia.assert",
|
|
15085
|
+
path: _path + ".description",
|
|
15086
|
+
expected: "(string | undefined)",
|
|
15087
|
+
value: input.description
|
|
15088
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15089
|
+
method: "typia.assert",
|
|
15090
|
+
path: _path + ".deprecated",
|
|
15091
|
+
expected: "(boolean | undefined)",
|
|
15092
|
+
value: input.deprecated
|
|
15093
|
+
}, _errorFactory)) && true;
|
|
15094
|
+
const _ao14 = (input, _path, _exceptionable = true) => ((Array.isArray(input.allOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15095
|
+
method: "typia.assert",
|
|
15096
|
+
path: _path + ".allOf",
|
|
15097
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15098
|
+
value: input.allOf
|
|
15099
|
+
}, _errorFactory)) && input.allOf.every(((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15100
|
+
method: "typia.assert",
|
|
15101
|
+
path: _path + ".allOf[" + _index37 + "]",
|
|
15102
|
+
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)",
|
|
15103
|
+
value: elem
|
|
15104
|
+
}, _errorFactory)) && _au0(elem, _path + ".allOf[" + _index37 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15105
|
+
method: "typia.assert",
|
|
15106
|
+
path: _path + ".allOf[" + _index37 + "]",
|
|
15107
|
+
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)",
|
|
15108
|
+
value: elem
|
|
15109
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15110
|
+
method: "typia.assert",
|
|
15111
|
+
path: _path + ".allOf",
|
|
15112
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15113
|
+
value: input.allOf
|
|
15114
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15115
|
+
method: "typia.assert",
|
|
15116
|
+
path: _path + ".examples",
|
|
15117
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15118
|
+
value: input.examples
|
|
15119
|
+
}, _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, {
|
|
15120
|
+
method: "typia.assert",
|
|
15121
|
+
path: _path + ".examples",
|
|
15122
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15123
|
+
value: input.examples
|
|
15124
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15125
|
+
method: "typia.assert",
|
|
15126
|
+
path: _path + ".examples",
|
|
15127
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15128
|
+
value: input.examples
|
|
15129
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15130
|
+
method: "typia.assert",
|
|
15131
|
+
path: _path + ".title",
|
|
15132
|
+
expected: "(string | undefined)",
|
|
15133
|
+
value: input.title
|
|
15134
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15135
|
+
method: "typia.assert",
|
|
15136
|
+
path: _path + ".description",
|
|
15137
|
+
expected: "(string | undefined)",
|
|
15138
|
+
value: input.description
|
|
15139
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15140
|
+
method: "typia.assert",
|
|
15141
|
+
path: _path + ".deprecated",
|
|
15142
|
+
expected: "(boolean | undefined)",
|
|
15143
|
+
value: input.deprecated
|
|
15144
|
+
}, _errorFactory)) && true;
|
|
15145
|
+
const _ao15 = (input, _path, _exceptionable = true) => ((Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15146
|
+
method: "typia.assert",
|
|
15147
|
+
path: _path + ".anyOf",
|
|
15148
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15149
|
+
value: input.anyOf
|
|
15150
|
+
}, _errorFactory)) && input.anyOf.every(((elem, _index38) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15151
|
+
method: "typia.assert",
|
|
15152
|
+
path: _path + ".anyOf[" + _index38 + "]",
|
|
15153
|
+
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)",
|
|
15154
|
+
value: elem
|
|
15155
|
+
}, _errorFactory)) && _au0(elem, _path + ".anyOf[" + _index38 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15156
|
+
method: "typia.assert",
|
|
15157
|
+
path: _path + ".anyOf[" + _index38 + "]",
|
|
15158
|
+
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)",
|
|
15159
|
+
value: elem
|
|
15160
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15161
|
+
method: "typia.assert",
|
|
15162
|
+
path: _path + ".anyOf",
|
|
15163
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15164
|
+
value: input.anyOf
|
|
15165
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15166
|
+
method: "typia.assert",
|
|
15167
|
+
path: _path + ".examples",
|
|
15168
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15169
|
+
value: input.examples
|
|
15170
|
+
}, _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, {
|
|
15171
|
+
method: "typia.assert",
|
|
15172
|
+
path: _path + ".examples",
|
|
15173
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15174
|
+
value: input.examples
|
|
15175
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15176
|
+
method: "typia.assert",
|
|
15177
|
+
path: _path + ".examples",
|
|
15178
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15179
|
+
value: input.examples
|
|
15180
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15181
|
+
method: "typia.assert",
|
|
15182
|
+
path: _path + ".title",
|
|
15183
|
+
expected: "(string | undefined)",
|
|
15184
|
+
value: input.title
|
|
15185
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15186
|
+
method: "typia.assert",
|
|
15187
|
+
path: _path + ".description",
|
|
15188
|
+
expected: "(string | undefined)",
|
|
15189
|
+
value: input.description
|
|
15190
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15191
|
+
method: "typia.assert",
|
|
15192
|
+
path: _path + ".deprecated",
|
|
15193
|
+
expected: "(boolean | undefined)",
|
|
15194
|
+
value: input.deprecated
|
|
15195
|
+
}, _errorFactory)) && true;
|
|
15196
|
+
const _ao16 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15197
|
+
method: "typia.assert",
|
|
15198
|
+
path: _path + ".oneOf",
|
|
15199
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15200
|
+
value: input.oneOf
|
|
15201
|
+
}, _errorFactory)) && input.oneOf.every(((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15202
|
+
method: "typia.assert",
|
|
15203
|
+
path: _path + ".oneOf[" + _index39 + "]",
|
|
15204
|
+
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)",
|
|
15205
|
+
value: elem
|
|
15206
|
+
}, _errorFactory)) && _au0(elem, _path + ".oneOf[" + _index39 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15207
|
+
method: "typia.assert",
|
|
15208
|
+
path: _path + ".oneOf[" + _index39 + "]",
|
|
15209
|
+
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)",
|
|
15210
|
+
value: elem
|
|
15211
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15212
|
+
method: "typia.assert",
|
|
15213
|
+
path: _path + ".oneOf",
|
|
15214
|
+
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
15215
|
+
value: input.oneOf
|
|
15216
|
+
}, _errorFactory)) && (undefined === input.discriminator || ("object" === typeof input.discriminator && null !== input.discriminator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15217
|
+
method: "typia.assert",
|
|
15218
|
+
path: _path + ".discriminator",
|
|
15219
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
15220
|
+
value: input.discriminator
|
|
15221
|
+
}, _errorFactory)) && _ao17(input.discriminator, _path + ".discriminator", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15222
|
+
method: "typia.assert",
|
|
15223
|
+
path: _path + ".discriminator",
|
|
15224
|
+
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
|
15225
|
+
value: input.discriminator
|
|
15226
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15227
|
+
method: "typia.assert",
|
|
15228
|
+
path: _path + ".examples",
|
|
15229
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15230
|
+
value: input.examples
|
|
15231
|
+
}, _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, {
|
|
15232
|
+
method: "typia.assert",
|
|
15233
|
+
path: _path + ".examples",
|
|
15234
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15235
|
+
value: input.examples
|
|
15236
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15237
|
+
method: "typia.assert",
|
|
15238
|
+
path: _path + ".examples",
|
|
15239
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15240
|
+
value: input.examples
|
|
15241
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15242
|
+
method: "typia.assert",
|
|
15243
|
+
path: _path + ".title",
|
|
15244
|
+
expected: "(string | undefined)",
|
|
15245
|
+
value: input.title
|
|
15246
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15247
|
+
method: "typia.assert",
|
|
15248
|
+
path: _path + ".description",
|
|
15249
|
+
expected: "(string | undefined)",
|
|
15250
|
+
value: input.description
|
|
15251
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15252
|
+
method: "typia.assert",
|
|
15253
|
+
path: _path + ".deprecated",
|
|
15254
|
+
expected: "(boolean | undefined)",
|
|
15255
|
+
value: input.deprecated
|
|
15256
|
+
}, _errorFactory)) && true;
|
|
15257
|
+
const _ao17 = (input, _path, _exceptionable = true) => ("string" === typeof input.propertyName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15258
|
+
method: "typia.assert",
|
|
15259
|
+
path: _path + ".propertyName",
|
|
15260
|
+
expected: "string",
|
|
15261
|
+
value: input.propertyName
|
|
15262
|
+
}, _errorFactory)) && (undefined === input.mapping || ("object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15263
|
+
method: "typia.assert",
|
|
15264
|
+
path: _path + ".mapping",
|
|
15265
|
+
expected: "(Record<string, string> | undefined)",
|
|
15266
|
+
value: input.mapping
|
|
15267
|
+
}, _errorFactory)) && _ao18(input.mapping, _path + ".mapping", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15268
|
+
method: "typia.assert",
|
|
15269
|
+
path: _path + ".mapping",
|
|
15270
|
+
expected: "(Record<string, string> | undefined)",
|
|
15271
|
+
value: input.mapping
|
|
15272
|
+
}, _errorFactory));
|
|
15273
|
+
const _ao18 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every((key => {
|
|
15274
|
+
const value = input[key];
|
|
15275
|
+
if (undefined === value) return true;
|
|
15276
|
+
return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15277
|
+
method: "typia.assert",
|
|
15278
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
15279
|
+
expected: "string",
|
|
15280
|
+
value
|
|
15281
|
+
}, _errorFactory);
|
|
15282
|
+
}));
|
|
15283
|
+
const _ao19 = (input, _path, _exceptionable = true) => (null === input["default"] || undefined === input["default"] || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15284
|
+
method: "typia.assert",
|
|
15285
|
+
path: _path + '["default"]',
|
|
15286
|
+
expected: "(null | undefined)",
|
|
15287
|
+
value: input["default"]
|
|
15288
|
+
}, _errorFactory)) && ("null" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15289
|
+
method: "typia.assert",
|
|
15290
|
+
path: _path + ".type",
|
|
15291
|
+
expected: '"null"',
|
|
15292
|
+
value: input.type
|
|
15293
|
+
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15294
|
+
method: "typia.assert",
|
|
15295
|
+
path: _path + ".title",
|
|
15296
|
+
expected: "(string | undefined)",
|
|
15297
|
+
value: input.title
|
|
15298
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15299
|
+
method: "typia.assert",
|
|
15300
|
+
path: _path + ".description",
|
|
15301
|
+
expected: "(string | undefined)",
|
|
15302
|
+
value: input.description
|
|
15303
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15304
|
+
method: "typia.assert",
|
|
15305
|
+
path: _path + ".deprecated",
|
|
15306
|
+
expected: "(boolean | undefined)",
|
|
15307
|
+
value: input.deprecated
|
|
15308
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15309
|
+
method: "typia.assert",
|
|
15310
|
+
path: _path + ".examples",
|
|
15311
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15312
|
+
value: input.examples
|
|
15313
|
+
}, _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, {
|
|
15314
|
+
method: "typia.assert",
|
|
15315
|
+
path: _path + ".examples",
|
|
15316
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15317
|
+
value: input.examples
|
|
15318
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15319
|
+
method: "typia.assert",
|
|
15320
|
+
path: _path + ".examples",
|
|
15321
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15322
|
+
value: input.examples
|
|
15323
|
+
}, _errorFactory)));
|
|
15324
|
+
const _ao20 = (input, _path, _exceptionable = true) => (null !== input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15325
|
+
method: "typia.assert",
|
|
15326
|
+
path: _path + ".type",
|
|
15327
|
+
expected: "undefined",
|
|
15328
|
+
value: input.type
|
|
15329
|
+
}, _errorFactory)) && (undefined === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15330
|
+
method: "typia.assert",
|
|
15331
|
+
path: _path + ".type",
|
|
15332
|
+
expected: "undefined",
|
|
15333
|
+
value: input.type
|
|
15334
|
+
}, _errorFactory)) && true && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15335
|
+
method: "typia.assert",
|
|
15336
|
+
path: _path + ".title",
|
|
15337
|
+
expected: "(string | undefined)",
|
|
15338
|
+
value: input.title
|
|
15339
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15340
|
+
method: "typia.assert",
|
|
15341
|
+
path: _path + ".description",
|
|
15342
|
+
expected: "(string | undefined)",
|
|
15343
|
+
value: input.description
|
|
15344
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15345
|
+
method: "typia.assert",
|
|
15346
|
+
path: _path + ".deprecated",
|
|
15347
|
+
expected: "(boolean | undefined)",
|
|
15348
|
+
value: input.deprecated
|
|
15349
|
+
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15350
|
+
method: "typia.assert",
|
|
15351
|
+
path: _path + ".examples",
|
|
15352
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15353
|
+
value: input.examples
|
|
15354
|
+
}, _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, {
|
|
15355
|
+
method: "typia.assert",
|
|
15356
|
+
path: _path + ".examples",
|
|
15357
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15358
|
+
value: input.examples
|
|
15359
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15360
|
+
method: "typia.assert",
|
|
15361
|
+
path: _path + ".examples",
|
|
15362
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15363
|
+
value: input.examples
|
|
15364
|
+
}, _errorFactory)));
|
|
15365
|
+
const _ao21 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15366
|
+
method: "typia.assert",
|
|
15367
|
+
path: _path + ".$ref",
|
|
15368
|
+
expected: "string",
|
|
15369
|
+
value: input.$ref
|
|
15370
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15371
|
+
method: "typia.assert",
|
|
15372
|
+
path: _path + ".examples",
|
|
15373
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15374
|
+
value: input.examples
|
|
15375
|
+
}, _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, {
|
|
15376
|
+
method: "typia.assert",
|
|
15377
|
+
path: _path + ".examples",
|
|
15378
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15379
|
+
value: input.examples
|
|
15380
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15381
|
+
method: "typia.assert",
|
|
15382
|
+
path: _path + ".examples",
|
|
15383
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
15384
|
+
value: input.examples
|
|
15385
|
+
}, _errorFactory))) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15386
|
+
method: "typia.assert",
|
|
15387
|
+
path: _path + ".title",
|
|
15388
|
+
expected: "(string | undefined)",
|
|
15389
|
+
value: input.title
|
|
15390
|
+
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15391
|
+
method: "typia.assert",
|
|
15392
|
+
path: _path + ".description",
|
|
15393
|
+
expected: "(string | undefined)",
|
|
15394
|
+
value: input.description
|
|
15395
|
+
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15396
|
+
method: "typia.assert",
|
|
15397
|
+
path: _path + ".deprecated",
|
|
15398
|
+
expected: "(boolean | undefined)",
|
|
15399
|
+
value: input.deprecated
|
|
15400
|
+
}, _errorFactory)) && true && (undefined === input.$defs || ("object" === typeof input.$defs && null !== input.$defs && false === Array.isArray(input.$defs) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15401
|
+
method: "typia.assert",
|
|
15402
|
+
path: _path + ".$defs",
|
|
15403
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
15404
|
+
value: input.$defs
|
|
15405
|
+
}, _errorFactory)) && _ao2(input.$defs, _path + ".$defs", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
15406
|
+
method: "typia.assert",
|
|
15407
|
+
path: _path + ".$defs",
|
|
15408
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
15409
|
+
value: input.$defs
|
|
15410
|
+
}, _errorFactory));
|
|
15411
|
+
const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
15412
|
+
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 (() => {
|
|
15413
|
+
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);
|
|
15414
|
+
})();
|
|
15415
|
+
})();
|
|
15416
|
+
const _au1 = (input, _path, _exceptionable = true) => (() => {
|
|
15417
|
+
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
15418
|
method: "typia.assert",
|
|
13828
15419
|
path: _path,
|
|
13829
|
-
expected: "(
|
|
15420
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
13830
15421
|
value: input
|
|
13831
15422
|
}, _errorFactory);
|
|
13832
15423
|
})();
|
|
13833
|
-
const __is = input => "object" === typeof
|
|
15424
|
+
const __is = input => Array.isArray(input) && input.every((elem => "object" === typeof elem && null !== elem && _io0(elem)));
|
|
13834
15425
|
let _errorFactory;
|
|
13835
15426
|
return (input, errorFactory) => {
|
|
13836
15427
|
if (false === __is(input)) {
|
|
13837
15428
|
_errorFactory = errorFactory;
|
|
13838
|
-
((input, _path, _exceptionable = true) => (
|
|
15429
|
+
((input, _path, _exceptionable = true) => (Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13839
15430
|
method: "typia.assert",
|
|
13840
15431
|
path: _path + "",
|
|
13841
|
-
expected: "
|
|
15432
|
+
expected: "Array<IMcpTool>",
|
|
13842
15433
|
value: input
|
|
13843
|
-
}, _errorFactory)) &&
|
|
15434
|
+
}, _errorFactory)) && input.every(((elem, _index21) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(true, {
|
|
15435
|
+
method: "typia.assert",
|
|
15436
|
+
path: _path + "[" + _index21 + "]",
|
|
15437
|
+
expected: "IMcpTool",
|
|
15438
|
+
value: elem
|
|
15439
|
+
}, _errorFactory)) && _ao0(elem, _path + "[" + _index21 + "]", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
15440
|
+
method: "typia.assert",
|
|
15441
|
+
path: _path + "[" + _index21 + "]",
|
|
15442
|
+
expected: "IMcpTool",
|
|
15443
|
+
value: elem
|
|
15444
|
+
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13844
15445
|
method: "typia.assert",
|
|
13845
15446
|
path: _path + "",
|
|
13846
|
-
expected: "
|
|
15447
|
+
expected: "Array<IMcpTool>",
|
|
13847
15448
|
value: input
|
|
13848
15449
|
}, _errorFactory))(input, "$input", true);
|
|
13849
15450
|
}
|
|
13850
15451
|
return input;
|
|
13851
15452
|
};
|
|
13852
|
-
})()(
|
|
13853
|
-
options: props.options
|
|
15453
|
+
})()(tools)
|
|
13854
15454
|
});
|
|
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
15455
|
return {
|
|
13863
|
-
|
|
13864
|
-
|
|
13865
|
-
|
|
13866
|
-
|
|
13867
|
-
}))),
|
|
13868
|
-
client: props.client
|
|
15456
|
+
protocol: "mcp",
|
|
15457
|
+
name: props.name,
|
|
15458
|
+
client: props.client,
|
|
15459
|
+
application
|
|
13869
15460
|
};
|
|
13870
15461
|
}
|
|
13871
15462
|
|
|
@@ -14010,7 +15601,7 @@ function validateHttpLlmApplication(props) {
|
|
|
14010
15601
|
if (undefined === value) return true;
|
|
14011
15602
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
14012
15603
|
}));
|
|
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)) && (
|
|
15604
|
+
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
15605
|
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
15606
|
const _io81 = input => Object.keys(input).every((key => {
|
|
14016
15607
|
const value = input[key];
|
|
@@ -14081,14 +15672,14 @@ function validateHttpLlmApplication(props) {
|
|
|
14081
15672
|
if (undefined === value) return true;
|
|
14082
15673
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
14083
15674
|
}));
|
|
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.
|
|
15675
|
+
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))));
|
|
15676
|
+
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;
|
|
15677
|
+
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;
|
|
15678
|
+
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))));
|
|
15679
|
+
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))));
|
|
15680
|
+
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))));
|
|
15681
|
+
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))));
|
|
15682
|
+
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
15683
|
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
15684
|
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
15685
|
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 +15724,7 @@ function validateHttpLlmApplication(props) {
|
|
|
14133
15724
|
if (undefined === value) return true;
|
|
14134
15725
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
14135
15726
|
}));
|
|
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)) && (
|
|
15727
|
+
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
15728
|
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
15729
|
const _io148 = input => Object.keys(input).every((key => {
|
|
14139
15730
|
const value = input[key];
|
|
@@ -14285,8 +15876,8 @@ function validateHttpLlmApplication(props) {
|
|
|
14285
15876
|
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
15877
|
})();
|
|
14287
15878
|
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
|
|
15879
|
+
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 (() => {
|
|
15880
|
+
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
15881
|
})();
|
|
14291
15882
|
})();
|
|
14292
15883
|
const _iu6 = input => (() => {
|
|
@@ -17189,7 +18780,11 @@ function validateHttpLlmApplication(props) {
|
|
|
17189
18780
|
value
|
|
17190
18781
|
});
|
|
17191
18782
|
})).every((flag => flag)) ].every((flag => flag));
|
|
17192
|
-
const _vo79 = (input, _path, _exceptionable = true) => [ undefined === input.
|
|
18783
|
+
const _vo79 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
18784
|
+
path: _path + ".name",
|
|
18785
|
+
expected: "(string | undefined)",
|
|
18786
|
+
value: input.name
|
|
18787
|
+
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
17193
18788
|
path: _path + ".required",
|
|
17194
18789
|
expected: "(boolean | undefined)",
|
|
17195
18790
|
value: input.required
|
|
@@ -17205,10 +18800,6 @@ function validateHttpLlmApplication(props) {
|
|
|
17205
18800
|
path: _path + ".examples",
|
|
17206
18801
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
17207
18802
|
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
18803
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
17213
18804
|
path: _path + ".schema",
|
|
17214
18805
|
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 +19719,85 @@ function validateHttpLlmApplication(props) {
|
|
|
18128
19719
|
value
|
|
18129
19720
|
});
|
|
18130
19721
|
})).every((flag => flag)) ].every((flag => flag));
|
|
18131
|
-
const _vo114 = (input, _path, _exceptionable = true) => [
|
|
19722
|
+
const _vo114 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
19723
|
+
path: _path + ".nullable",
|
|
19724
|
+
expected: "(boolean | undefined)",
|
|
19725
|
+
value: input.nullable
|
|
19726
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
19727
|
+
path: _path + ".properties",
|
|
19728
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
19729
|
+
value: input.properties
|
|
19730
|
+
})) && _vo113(input.properties, _path + ".properties", _exceptionable) || _report(_exceptionable, {
|
|
19731
|
+
path: _path + ".properties",
|
|
19732
|
+
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
19733
|
+
value: input.properties
|
|
19734
|
+
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
19735
|
+
path: _path + ".required",
|
|
19736
|
+
expected: "(Array<string> | undefined)",
|
|
19737
|
+
value: input.required
|
|
19738
|
+
})) && input.required.map(((elem, _index128) => "string" === typeof elem || _report(_exceptionable, {
|
|
19739
|
+
path: _path + ".required[" + _index128 + "]",
|
|
19740
|
+
expected: "string",
|
|
19741
|
+
value: elem
|
|
19742
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
19743
|
+
path: _path + ".required",
|
|
19744
|
+
expected: "(Array<string> | undefined)",
|
|
19745
|
+
value: input.required
|
|
19746
|
+
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
19747
|
+
path: _path + ".additionalProperties",
|
|
19748
|
+
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)",
|
|
19749
|
+
value: input.additionalProperties
|
|
19750
|
+
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
19751
|
+
path: _path + ".additionalProperties",
|
|
19752
|
+
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)",
|
|
19753
|
+
value: input.additionalProperties
|
|
19754
|
+
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
|
19755
|
+
path: _path + ".additionalProperties",
|
|
19756
|
+
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)",
|
|
19757
|
+
value: input.additionalProperties
|
|
19758
|
+
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
19759
|
+
path: _path + ".maxProperties",
|
|
19760
|
+
expected: "(number | undefined)",
|
|
19761
|
+
value: input.maxProperties
|
|
19762
|
+
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
|
19763
|
+
path: _path + ".minProperties",
|
|
19764
|
+
expected: "(number | undefined)",
|
|
19765
|
+
value: input.minProperties
|
|
19766
|
+
}), "object" === input.type || _report(_exceptionable, {
|
|
19767
|
+
path: _path + ".type",
|
|
19768
|
+
expected: '"object"',
|
|
19769
|
+
value: input.type
|
|
19770
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
19771
|
+
path: _path + ".title",
|
|
19772
|
+
expected: "(string | undefined)",
|
|
19773
|
+
value: input.title
|
|
19774
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
19775
|
+
path: _path + ".description",
|
|
19776
|
+
expected: "(string | undefined)",
|
|
19777
|
+
value: input.description
|
|
19778
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
19779
|
+
path: _path + ".deprecated",
|
|
19780
|
+
expected: "(boolean | undefined)",
|
|
19781
|
+
value: input.deprecated
|
|
19782
|
+
}), true, (null !== input.examples || _report(_exceptionable, {
|
|
19783
|
+
path: _path + ".examples",
|
|
19784
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
19785
|
+
value: input.examples
|
|
19786
|
+
})) && (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, {
|
|
19787
|
+
path: _path + ".examples",
|
|
19788
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
19789
|
+
value: input.examples
|
|
19790
|
+
})) || _report(_exceptionable, {
|
|
19791
|
+
path: _path + ".examples",
|
|
19792
|
+
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
19793
|
+
value: input.examples
|
|
19794
|
+
})) ].every((flag => flag));
|
|
19795
|
+
const _vo115 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.type) || _report(_exceptionable, {
|
|
18132
19796
|
path: _path + ".type",
|
|
18133
19797
|
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
18134
19798
|
value: input.type
|
|
18135
|
-
})) && input.type.map(((elem,
|
|
18136
|
-
path: _path + ".type[" +
|
|
19799
|
+
})) && input.type.map(((elem, _index129) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem || _report(_exceptionable, {
|
|
19800
|
+
path: _path + ".type[" + _index129 + "]",
|
|
18137
19801
|
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
18138
19802
|
value: elem
|
|
18139
19803
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18236,12 +19900,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18236
19900
|
path: _path + ".items",
|
|
18237
19901
|
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
19902
|
value: input.items
|
|
18239
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem,
|
|
18240
|
-
path: _path + ".items[" +
|
|
19903
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index130) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19904
|
+
path: _path + ".items[" + _index130 + "]",
|
|
18241
19905
|
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
19906
|
value: elem
|
|
18243
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
18244
|
-
path: _path + ".items[" +
|
|
19907
|
+
})) && _vu5(elem, _path + ".items[" + _index130 + "]", _exceptionable) || _report(_exceptionable, {
|
|
19908
|
+
path: _path + ".items[" + _index130 + "]",
|
|
18245
19909
|
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
19910
|
value: elem
|
|
18247
19911
|
}))).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 +19920,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18256
19920
|
path: _path + ".prefixItems",
|
|
18257
19921
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18258
19922
|
value: input.prefixItems
|
|
18259
|
-
})) && input.prefixItems.map(((elem,
|
|
18260
|
-
path: _path + ".prefixItems[" +
|
|
19923
|
+
})) && input.prefixItems.map(((elem, _index131) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
19924
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
18261
19925
|
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
19926
|
value: elem
|
|
18263
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
18264
|
-
path: _path + ".prefixItems[" +
|
|
19927
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index131 + "]", _exceptionable) || _report(_exceptionable, {
|
|
19928
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
18265
19929
|
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
19930
|
value: elem
|
|
18267
19931
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18324,8 +19988,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18324
19988
|
path: _path + ".required",
|
|
18325
19989
|
expected: "(Array<string> | undefined)",
|
|
18326
19990
|
value: input.required
|
|
18327
|
-
})) && input.required.map(((elem,
|
|
18328
|
-
path: _path + ".required[" +
|
|
19991
|
+
})) && input.required.map(((elem, _index132) => "string" === typeof elem || _report(_exceptionable, {
|
|
19992
|
+
path: _path + ".required[" + _index132 + "]",
|
|
18329
19993
|
expected: "string",
|
|
18330
19994
|
value: elem
|
|
18331
19995
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18344,12 +20008,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18344
20008
|
path: _path + ".oneOf",
|
|
18345
20009
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18346
20010
|
value: input.oneOf
|
|
18347
|
-
})) && input.oneOf.map(((elem,
|
|
18348
|
-
path: _path + ".oneOf[" +
|
|
20011
|
+
})) && input.oneOf.map(((elem, _index133) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20012
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
18349
20013
|
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
20014
|
value: elem
|
|
18351
|
-
})) && _vu5(elem, _path + ".oneOf[" +
|
|
18352
|
-
path: _path + ".oneOf[" +
|
|
20015
|
+
})) && _vu5(elem, _path + ".oneOf[" + _index133 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20016
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
18353
20017
|
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
20018
|
value: elem
|
|
18355
20019
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18368,12 +20032,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18368
20032
|
path: _path + ".anyOf",
|
|
18369
20033
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18370
20034
|
value: input.anyOf
|
|
18371
|
-
})) && input.anyOf.map(((elem,
|
|
18372
|
-
path: _path + ".anyOf[" +
|
|
20035
|
+
})) && input.anyOf.map(((elem, _index134) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20036
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
18373
20037
|
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
20038
|
value: elem
|
|
18375
|
-
})) && _vu5(elem, _path + ".anyOf[" +
|
|
18376
|
-
path: _path + ".anyOf[" +
|
|
20039
|
+
})) && _vu5(elem, _path + ".anyOf[" + _index134 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20040
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
18377
20041
|
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
20042
|
value: elem
|
|
18379
20043
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18384,12 +20048,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18384
20048
|
path: _path + ".allOf",
|
|
18385
20049
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18386
20050
|
value: input.allOf
|
|
18387
|
-
})) && input.allOf.map(((elem,
|
|
18388
|
-
path: _path + ".allOf[" +
|
|
20051
|
+
})) && input.allOf.map(((elem, _index135) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20052
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
18389
20053
|
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
20054
|
value: elem
|
|
18391
|
-
})) && _vu5(elem, _path + ".allOf[" +
|
|
18392
|
-
path: _path + ".allOf[" +
|
|
20055
|
+
})) && _vu5(elem, _path + ".allOf[" + _index135 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20056
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
18393
20057
|
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
20058
|
value: elem
|
|
18395
20059
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18401,7 +20065,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18401
20065
|
expected: "string",
|
|
18402
20066
|
value: input.$ref
|
|
18403
20067
|
}) ].every((flag => flag));
|
|
18404
|
-
const
|
|
20068
|
+
const _vo116 = (input, _path, _exceptionable = true) => [ "string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
18405
20069
|
path: _path + '["const"]',
|
|
18406
20070
|
expected: "(boolean | number | string)",
|
|
18407
20071
|
value: input["const"]
|
|
@@ -18434,7 +20098,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18434
20098
|
expected: "(boolean | undefined)",
|
|
18435
20099
|
value: input.deprecated
|
|
18436
20100
|
}), true ].every((flag => flag));
|
|
18437
|
-
const
|
|
20101
|
+
const _vo117 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18438
20102
|
path: _path + ".nullable",
|
|
18439
20103
|
expected: "(boolean | undefined)",
|
|
18440
20104
|
value: input.nullable
|
|
@@ -18446,8 +20110,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18446
20110
|
path: _path + '["enum"]',
|
|
18447
20111
|
expected: "(Array<boolean | null> | undefined)",
|
|
18448
20112
|
value: input["enum"]
|
|
18449
|
-
})) && input["enum"].map(((elem,
|
|
18450
|
-
path: _path + '["enum"][' +
|
|
20113
|
+
})) && input["enum"].map(((elem, _index136) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
|
20114
|
+
path: _path + '["enum"][' + _index136 + "]",
|
|
18451
20115
|
expected: "(boolean | null)",
|
|
18452
20116
|
value: elem
|
|
18453
20117
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18483,7 +20147,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18483
20147
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18484
20148
|
value: input.examples
|
|
18485
20149
|
})) ].every((flag => flag));
|
|
18486
|
-
const
|
|
20150
|
+
const _vo118 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18487
20151
|
path: _path + ".nullable",
|
|
18488
20152
|
expected: "(boolean | undefined)",
|
|
18489
20153
|
value: input.nullable
|
|
@@ -18499,8 +20163,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18499
20163
|
path: _path + '["enum"]',
|
|
18500
20164
|
expected: "(Array<number | null> | undefined)",
|
|
18501
20165
|
value: input["enum"]
|
|
18502
|
-
})) && input["enum"].map(((elem,
|
|
18503
|
-
path: _path + '["enum"][' +
|
|
20166
|
+
})) && input["enum"].map(((elem, _index137) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
20167
|
+
path: _path + '["enum"][' + _index137 + "]",
|
|
18504
20168
|
expected: "(null | number)",
|
|
18505
20169
|
value: elem
|
|
18506
20170
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18580,7 +20244,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18580
20244
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18581
20245
|
value: input.examples
|
|
18582
20246
|
})) ].every((flag => flag));
|
|
18583
|
-
const
|
|
20247
|
+
const _vo119 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18584
20248
|
path: _path + ".nullable",
|
|
18585
20249
|
expected: "(boolean | undefined)",
|
|
18586
20250
|
value: input.nullable
|
|
@@ -18592,8 +20256,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18592
20256
|
path: _path + '["enum"]',
|
|
18593
20257
|
expected: "(Array<number | null> | undefined)",
|
|
18594
20258
|
value: input["enum"]
|
|
18595
|
-
})) && input["enum"].map(((elem,
|
|
18596
|
-
path: _path + '["enum"][' +
|
|
20259
|
+
})) && input["enum"].map(((elem, _index138) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
20260
|
+
path: _path + '["enum"][' + _index138 + "]",
|
|
18597
20261
|
expected: "(null | number)",
|
|
18598
20262
|
value: elem
|
|
18599
20263
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18653,7 +20317,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18653
20317
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18654
20318
|
value: input.examples
|
|
18655
20319
|
})) ].every((flag => flag));
|
|
18656
|
-
const
|
|
20320
|
+
const _vo120 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18657
20321
|
path: _path + ".nullable",
|
|
18658
20322
|
expected: "(boolean | undefined)",
|
|
18659
20323
|
value: input.nullable
|
|
@@ -18665,8 +20329,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18665
20329
|
path: _path + '["enum"]',
|
|
18666
20330
|
expected: "(Array<string | null> | undefined)",
|
|
18667
20331
|
value: input["enum"]
|
|
18668
|
-
})) && input["enum"].map(((elem,
|
|
18669
|
-
path: _path + '["enum"][' +
|
|
20332
|
+
})) && input["enum"].map(((elem, _index139) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
|
20333
|
+
path: _path + '["enum"][' + _index139 + "]",
|
|
18670
20334
|
expected: "(null | string)",
|
|
18671
20335
|
value: elem
|
|
18672
20336
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18730,7 +20394,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18730
20394
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18731
20395
|
value: input.examples
|
|
18732
20396
|
})) ].every((flag => flag));
|
|
18733
|
-
const
|
|
20397
|
+
const _vo121 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18734
20398
|
path: _path + ".nullable",
|
|
18735
20399
|
expected: "(boolean | undefined)",
|
|
18736
20400
|
value: input.nullable
|
|
@@ -18738,12 +20402,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18738
20402
|
path: _path + ".items",
|
|
18739
20403
|
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
20404
|
value: input.items
|
|
18741
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem,
|
|
18742
|
-
path: _path + ".items[" +
|
|
20405
|
+
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20406
|
+
path: _path + ".items[" + _index140 + "]",
|
|
18743
20407
|
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
20408
|
value: elem
|
|
18745
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
18746
|
-
path: _path + ".items[" +
|
|
20409
|
+
})) && _vu5(elem, _path + ".items[" + _index140 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20410
|
+
path: _path + ".items[" + _index140 + "]",
|
|
18747
20411
|
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
20412
|
value: elem
|
|
18749
20413
|
}))).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 +20422,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18758
20422
|
path: _path + ".prefixItems",
|
|
18759
20423
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18760
20424
|
value: input.prefixItems
|
|
18761
|
-
})) && input.prefixItems.map(((elem,
|
|
18762
|
-
path: _path + ".prefixItems[" +
|
|
20425
|
+
})) && input.prefixItems.map(((elem, _index141) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
|
20426
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
18763
20427
|
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
20428
|
value: elem
|
|
18765
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
18766
|
-
path: _path + ".prefixItems[" +
|
|
20429
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index141 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20430
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
18767
20431
|
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
20432
|
value: elem
|
|
18769
20433
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18831,79 +20495,6 @@ function validateHttpLlmApplication(props) {
|
|
|
18831
20495
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18832
20496
|
value: input.examples
|
|
18833
20497
|
})) ].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
20498
|
const _vo122 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref || _report(_exceptionable, {
|
|
18908
20499
|
path: _path + ".$ref",
|
|
18909
20500
|
expected: "string",
|
|
@@ -19652,7 +21243,11 @@ function validateHttpLlmApplication(props) {
|
|
|
19652
21243
|
value
|
|
19653
21244
|
});
|
|
19654
21245
|
})).every((flag => flag)) ].every((flag => flag));
|
|
19655
|
-
const _vo146 = (input, _path, _exceptionable = true) => [ undefined === input.
|
|
21246
|
+
const _vo146 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
21247
|
+
path: _path + ".name",
|
|
21248
|
+
expected: "(string | undefined)",
|
|
21249
|
+
value: input.name
|
|
21250
|
+
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
|
19656
21251
|
path: _path + ".required",
|
|
19657
21252
|
expected: "(boolean | undefined)",
|
|
19658
21253
|
value: input.required
|
|
@@ -19668,10 +21263,6 @@ function validateHttpLlmApplication(props) {
|
|
|
19668
21263
|
path: _path + ".examples",
|
|
19669
21264
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
19670
21265
|
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
21266
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
19676
21267
|
path: _path + ".schema",
|
|
19677
21268
|
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 +23017,8 @@ function validateHttpLlmApplication(props) {
|
|
|
21426
23017
|
});
|
|
21427
23018
|
})();
|
|
21428
23019
|
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
|
|
23020
|
+
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 (() => {
|
|
23021
|
+
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
23022
|
})();
|
|
21432
23023
|
})();
|
|
21433
23024
|
const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
@@ -21728,5 +23319,5 @@ var index = Object.freeze({
|
|
|
21728
23319
|
toAsyncGenerator
|
|
21729
23320
|
});
|
|
21730
23321
|
|
|
21731
|
-
export { Agentica, AgenticaTokenUsage, MicroAgentica, assertHttpLlmApplication,
|
|
23322
|
+
export { Agentica, AgenticaTokenUsage, MicroAgentica, assertHttpLlmApplication, assertMcpController, index$2 as factory, index$1 as orchestrate, index as utils, validateHttpLlmApplication };
|
|
21732
23323
|
//# sourceMappingURL=index.mjs.map
|