@agentica/core 0.19.0 → 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 +2013 -404
- 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/lib/utils/AsyncQueue.d.ts +10 -0
- package/lib/utils/AsyncQueue.js +33 -9
- package/lib/utils/AsyncQueue.js.map +1 -1
- package/lib/utils/AsyncQueue.spec.d.ts +1 -0
- package/lib/utils/AsyncQueue.spec.js +280 -0
- package/lib/utils/AsyncQueue.spec.js.map +1 -0
- package/lib/utils/MPSC.spec.d.ts +1 -0
- package/lib/utils/MPSC.spec.js +222 -0
- package/lib/utils/MPSC.spec.js.map +1 -0
- package/lib/utils/StreamUtil.spec.d.ts +1 -0
- package/lib/utils/StreamUtil.spec.js +471 -0
- package/lib/utils/StreamUtil.spec.js.map +1 -0
- 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/src/utils/AsyncQueue.spec.ts +355 -0
- package/src/utils/AsyncQueue.ts +36 -8
- package/src/utils/MPSC.spec.ts +276 -0
- package/src/utils/StreamUtil.spec.ts +520 -0
- 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
|
|
@@ -1921,6 +1921,13 @@ function emendMessages$1(failures) {
|
|
|
1921
1921
|
} ])).flat();
|
|
1922
1922
|
}
|
|
1923
1923
|
|
|
1924
|
+
class AsyncQueueClosedError extends Error {
|
|
1925
|
+
constructor(message) {
|
|
1926
|
+
super(message);
|
|
1927
|
+
this.name = "AsyncQueueClosedError";
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1924
1931
|
class AsyncQueue {
|
|
1925
1932
|
constructor() {
|
|
1926
1933
|
this.queue = [];
|
|
@@ -1930,6 +1937,10 @@ class AsyncQueue {
|
|
|
1930
1937
|
this.closed = false;
|
|
1931
1938
|
}
|
|
1932
1939
|
enqueue(item) {
|
|
1940
|
+
if (this.closed) {
|
|
1941
|
+
console.error(new AsyncQueueClosedError("Cannot enqueue item: queue is closed."));
|
|
1942
|
+
return;
|
|
1943
|
+
}
|
|
1933
1944
|
this.queue.push(item);
|
|
1934
1945
|
if (this.resolvers.length > 0) {
|
|
1935
1946
|
this.resolvers.shift()?.({
|
|
@@ -1939,21 +1950,27 @@ class AsyncQueue {
|
|
|
1939
1950
|
}
|
|
1940
1951
|
}
|
|
1941
1952
|
async dequeue() {
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
if (this.closed) {
|
|
1949
|
-
if (this.emptyResolvers.length > 0) {
|
|
1950
|
-
this.emptyResolvers.forEach((resolve => resolve()));
|
|
1951
|
-
this.emptyResolvers = [];
|
|
1953
|
+
const item = (() => {
|
|
1954
|
+
if (!this.isEmpty()) {
|
|
1955
|
+
return {
|
|
1956
|
+
value: this.queue.shift(),
|
|
1957
|
+
done: false
|
|
1958
|
+
};
|
|
1952
1959
|
}
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1960
|
+
if (this.isClosed()) {
|
|
1961
|
+
return {
|
|
1962
|
+
value: undefined,
|
|
1963
|
+
done: true
|
|
1964
|
+
};
|
|
1965
|
+
}
|
|
1966
|
+
return null;
|
|
1967
|
+
})();
|
|
1968
|
+
if (this.isEmpty() && this.emptyResolvers.length !== 0) {
|
|
1969
|
+
this.emptyResolvers.forEach((resolve => resolve()));
|
|
1970
|
+
this.emptyResolvers = [];
|
|
1971
|
+
}
|
|
1972
|
+
if (item !== null) {
|
|
1973
|
+
return item;
|
|
1957
1974
|
}
|
|
1958
1975
|
return new Promise((resolve => this.resolvers.push(resolve)));
|
|
1959
1976
|
}
|
|
@@ -2117,8 +2134,6 @@ const FUNCTION = {
|
|
|
2117
2134
|
title: "Type schema info of the ChatGPT",
|
|
2118
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```',
|
|
2119
2136
|
anyOf: [ {
|
|
2120
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2121
|
-
}, {
|
|
2122
2137
|
type: "object",
|
|
2123
2138
|
properties: {
|
|
2124
2139
|
enum: {
|
|
@@ -2304,6 +2319,8 @@ const FUNCTION = {
|
|
|
2304
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> ```'
|
|
2305
2320
|
}, {
|
|
2306
2321
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
2322
|
+
}, {
|
|
2323
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2307
2324
|
}, {
|
|
2308
2325
|
type: "object",
|
|
2309
2326
|
properties: {
|
|
@@ -2415,6 +2432,49 @@ const FUNCTION = {
|
|
|
2415
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> ```'
|
|
2416
2433
|
} ]
|
|
2417
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
|
+
},
|
|
2418
2478
|
"IChatGptSchema.IObject": {
|
|
2419
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.",
|
|
2420
2480
|
type: "object",
|
|
@@ -2428,8 +2488,6 @@ const FUNCTION = {
|
|
|
2428
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`.",
|
|
2429
2489
|
anyOf: [ {
|
|
2430
2490
|
type: "boolean"
|
|
2431
|
-
}, {
|
|
2432
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2433
2491
|
}, {
|
|
2434
2492
|
type: "object",
|
|
2435
2493
|
properties: {
|
|
@@ -2616,6 +2674,8 @@ const FUNCTION = {
|
|
|
2616
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> ```'
|
|
2617
2675
|
}, {
|
|
2618
2676
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
2677
|
+
}, {
|
|
2678
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2619
2679
|
}, {
|
|
2620
2680
|
type: "object",
|
|
2621
2681
|
properties: {
|
|
@@ -2770,49 +2830,6 @@ const FUNCTION = {
|
|
|
2770
2830
|
},
|
|
2771
2831
|
required: [ "properties", "required", "type" ]
|
|
2772
2832
|
},
|
|
2773
|
-
"IChatGptSchema.IArray": {
|
|
2774
|
-
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>`.",
|
|
2775
|
-
type: "object",
|
|
2776
|
-
properties: {
|
|
2777
|
-
items: {
|
|
2778
|
-
title: "Items type info",
|
|
2779
|
-
$ref: "#/$defs/IChatGptSchema"
|
|
2780
|
-
},
|
|
2781
|
-
type: {
|
|
2782
|
-
title: "Discriminator value of the type",
|
|
2783
|
-
description: "Discriminator value of the type.",
|
|
2784
|
-
type: "string",
|
|
2785
|
-
enum: [ "array" ]
|
|
2786
|
-
},
|
|
2787
|
-
title: {
|
|
2788
|
-
title: "Title of the schema",
|
|
2789
|
-
description: "Title of the schema.",
|
|
2790
|
-
type: "string"
|
|
2791
|
-
},
|
|
2792
|
-
description: {
|
|
2793
|
-
title: "Detailed description of the schema",
|
|
2794
|
-
description: "Detailed description of the schema.",
|
|
2795
|
-
type: "string"
|
|
2796
|
-
},
|
|
2797
|
-
deprecated: {
|
|
2798
|
-
title: "Whether the type is deprecated or not",
|
|
2799
|
-
description: "Whether the type is deprecated or not.",
|
|
2800
|
-
type: "boolean"
|
|
2801
|
-
},
|
|
2802
|
-
example: {
|
|
2803
|
-
title: "Example value",
|
|
2804
|
-
description: "Example value."
|
|
2805
|
-
},
|
|
2806
|
-
examples: {
|
|
2807
|
-
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",
|
|
2808
|
-
type: "object",
|
|
2809
|
-
properties: {},
|
|
2810
|
-
required: [],
|
|
2811
|
-
additionalProperties: {}
|
|
2812
|
-
}
|
|
2813
|
-
},
|
|
2814
|
-
required: [ "items", "type" ]
|
|
2815
|
-
},
|
|
2816
2833
|
"IChatGptSchema.IAnyOf": {
|
|
2817
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.",
|
|
2818
2835
|
type: "object",
|
|
@@ -2823,8 +2840,6 @@ const FUNCTION = {
|
|
|
2823
2840
|
type: "array",
|
|
2824
2841
|
items: {
|
|
2825
2842
|
anyOf: [ {
|
|
2826
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
2827
|
-
}, {
|
|
2828
2843
|
type: "object",
|
|
2829
2844
|
properties: {
|
|
2830
2845
|
enum: {
|
|
@@ -3010,6 +3025,8 @@ const FUNCTION = {
|
|
|
3010
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> ```'
|
|
3011
3026
|
}, {
|
|
3012
3027
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
3028
|
+
}, {
|
|
3029
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
3013
3030
|
}, {
|
|
3014
3031
|
type: "object",
|
|
3015
3032
|
properties: {
|
|
@@ -3373,8 +3390,6 @@ const FUNCTION = {
|
|
|
3373
3390
|
title: "Expected return type",
|
|
3374
3391
|
description: "Expected return type.\n\nIf the target operation returns nothing (`void`), the `output`\nwould be `undefined`.",
|
|
3375
3392
|
anyOf: [ {
|
|
3376
|
-
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
3377
|
-
}, {
|
|
3378
3393
|
type: "object",
|
|
3379
3394
|
properties: {
|
|
3380
3395
|
enum: {
|
|
@@ -3560,6 +3575,8 @@ const FUNCTION = {
|
|
|
3560
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> ```'
|
|
3561
3576
|
}, {
|
|
3562
3577
|
$ref: "#/$defs/IChatGptSchema.IArray"
|
|
3578
|
+
}, {
|
|
3579
|
+
$ref: "#/$defs/IChatGptSchema.IObject"
|
|
3563
3580
|
}, {
|
|
3564
3581
|
type: "object",
|
|
3565
3582
|
properties: {
|
|
@@ -4617,7 +4634,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4617
4634
|
if (undefined === value) return true;
|
|
4618
4635
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
4619
4636
|
}));
|
|
4620
|
-
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));
|
|
4621
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;
|
|
4622
4639
|
const _io81 = input => Object.keys(input).every((key => {
|
|
4623
4640
|
const value = input[key];
|
|
@@ -4688,14 +4705,14 @@ function assertHttpLlmApplication(props) {
|
|
|
4688
4705
|
if (undefined === value) return true;
|
|
4689
4706
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
4690
4707
|
}));
|
|
4691
|
-
const _io114 = input =>
|
|
4692
|
-
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;
|
|
4693
|
-
const _io116 = input => (
|
|
4694
|
-
const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
4695
|
-
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) && "
|
|
4696
|
-
const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
4697
|
-
const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null
|
|
4698
|
-
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))));
|
|
4699
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;
|
|
4700
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;
|
|
4701
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;
|
|
@@ -4740,7 +4757,7 @@ function assertHttpLlmApplication(props) {
|
|
|
4740
4757
|
if (undefined === value) return true;
|
|
4741
4758
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
4742
4759
|
}));
|
|
4743
|
-
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));
|
|
4744
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;
|
|
4745
4762
|
const _io148 = input => Object.keys(input).every((key => {
|
|
4746
4763
|
const value = input[key];
|
|
@@ -4892,8 +4909,8 @@ function assertHttpLlmApplication(props) {
|
|
|
4892
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;
|
|
4893
4910
|
})();
|
|
4894
4911
|
const _iu5 = input => (() => {
|
|
4895
|
-
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return
|
|
4896
|
-
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);
|
|
4897
4914
|
})();
|
|
4898
4915
|
})();
|
|
4899
4916
|
const _iu6 = input => (() => {
|
|
@@ -8472,7 +8489,12 @@ function assertHttpLlmApplication(props) {
|
|
|
8472
8489
|
value
|
|
8473
8490
|
}, _errorFactory);
|
|
8474
8491
|
}));
|
|
8475
|
-
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, {
|
|
8476
8498
|
method: "typia.assert",
|
|
8477
8499
|
path: _path + ".required",
|
|
8478
8500
|
expected: "(boolean | undefined)",
|
|
@@ -8492,11 +8514,6 @@ function assertHttpLlmApplication(props) {
|
|
|
8492
8514
|
path: _path + ".examples",
|
|
8493
8515
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
8494
8516
|
value: input.examples
|
|
8495
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8496
|
-
method: "typia.assert",
|
|
8497
|
-
path: _path + ".name",
|
|
8498
|
-
expected: "(string | undefined)",
|
|
8499
|
-
value: input.name
|
|
8500
8517
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
8501
8518
|
method: "typia.assert",
|
|
8502
8519
|
path: _path + ".schema",
|
|
@@ -9628,14 +9645,105 @@ function assertHttpLlmApplication(props) {
|
|
|
9628
9645
|
value
|
|
9629
9646
|
}, _errorFactory);
|
|
9630
9647
|
}));
|
|
9631
|
-
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, {
|
|
9632
9740
|
method: "typia.assert",
|
|
9633
9741
|
path: _path + ".type",
|
|
9634
9742
|
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
9635
9743
|
value: input.type
|
|
9636
|
-
}, _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, {
|
|
9637
9745
|
method: "typia.assert",
|
|
9638
|
-
path: _path + ".type[" +
|
|
9746
|
+
path: _path + ".type[" + _index129 + "]",
|
|
9639
9747
|
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
9640
9748
|
value: elem
|
|
9641
9749
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9763,14 +9871,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9763
9871
|
path: _path + ".items",
|
|
9764
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)",
|
|
9765
9873
|
value: input.items
|
|
9766
|
-
}, _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, {
|
|
9767
9875
|
method: "typia.assert",
|
|
9768
|
-
path: _path + ".items[" +
|
|
9876
|
+
path: _path + ".items[" + _index130 + "]",
|
|
9769
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)",
|
|
9770
9878
|
value: elem
|
|
9771
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
9879
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index130 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9772
9880
|
method: "typia.assert",
|
|
9773
|
-
path: _path + ".items[" +
|
|
9881
|
+
path: _path + ".items[" + _index130 + "]",
|
|
9774
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)",
|
|
9775
9883
|
value: elem
|
|
9776
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, {
|
|
@@ -9788,14 +9896,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9788
9896
|
path: _path + ".prefixItems",
|
|
9789
9897
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
9790
9898
|
value: input.prefixItems
|
|
9791
|
-
}, _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, {
|
|
9792
9900
|
method: "typia.assert",
|
|
9793
|
-
path: _path + ".prefixItems[" +
|
|
9901
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
9794
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)",
|
|
9795
9903
|
value: elem
|
|
9796
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
9904
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index131 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9797
9905
|
method: "typia.assert",
|
|
9798
|
-
path: _path + ".prefixItems[" +
|
|
9906
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
9799
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)",
|
|
9800
9908
|
value: elem
|
|
9801
9909
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9873,9 +9981,9 @@ function assertHttpLlmApplication(props) {
|
|
|
9873
9981
|
path: _path + ".required",
|
|
9874
9982
|
expected: "(Array<string> | undefined)",
|
|
9875
9983
|
value: input.required
|
|
9876
|
-
}, _errorFactory)) && input.required.every(((elem,
|
|
9984
|
+
}, _errorFactory)) && input.required.every(((elem, _index132) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9877
9985
|
method: "typia.assert",
|
|
9878
|
-
path: _path + ".required[" +
|
|
9986
|
+
path: _path + ".required[" + _index132 + "]",
|
|
9879
9987
|
expected: "string",
|
|
9880
9988
|
value: elem
|
|
9881
9989
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9898,14 +10006,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9898
10006
|
path: _path + ".oneOf",
|
|
9899
10007
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9900
10008
|
value: input.oneOf
|
|
9901
|
-
}, _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, {
|
|
9902
10010
|
method: "typia.assert",
|
|
9903
|
-
path: _path + ".oneOf[" +
|
|
10011
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
9904
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)",
|
|
9905
10013
|
value: elem
|
|
9906
|
-
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" +
|
|
10014
|
+
}, _errorFactory)) && _au5(elem, _path + ".oneOf[" + _index133 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9907
10015
|
method: "typia.assert",
|
|
9908
|
-
path: _path + ".oneOf[" +
|
|
10016
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
9909
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)",
|
|
9910
10018
|
value: elem
|
|
9911
10019
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9928,14 +10036,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9928
10036
|
path: _path + ".anyOf",
|
|
9929
10037
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9930
10038
|
value: input.anyOf
|
|
9931
|
-
}, _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, {
|
|
9932
10040
|
method: "typia.assert",
|
|
9933
|
-
path: _path + ".anyOf[" +
|
|
10041
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
9934
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)",
|
|
9935
10043
|
value: elem
|
|
9936
|
-
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" +
|
|
10044
|
+
}, _errorFactory)) && _au5(elem, _path + ".anyOf[" + _index134 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9937
10045
|
method: "typia.assert",
|
|
9938
|
-
path: _path + ".anyOf[" +
|
|
10046
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
9939
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)",
|
|
9940
10048
|
value: elem
|
|
9941
10049
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9948,14 +10056,14 @@ function assertHttpLlmApplication(props) {
|
|
|
9948
10056
|
path: _path + ".allOf",
|
|
9949
10057
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
9950
10058
|
value: input.allOf
|
|
9951
|
-
}, _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, {
|
|
9952
10060
|
method: "typia.assert",
|
|
9953
|
-
path: _path + ".allOf[" +
|
|
10061
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
9954
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)",
|
|
9955
10063
|
value: elem
|
|
9956
|
-
}, _errorFactory)) && _au5(elem, _path + ".allOf[" +
|
|
10064
|
+
}, _errorFactory)) && _au5(elem, _path + ".allOf[" + _index135 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
9957
10065
|
method: "typia.assert",
|
|
9958
|
-
path: _path + ".allOf[" +
|
|
10066
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
9959
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)",
|
|
9960
10068
|
value: elem
|
|
9961
10069
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -9969,7 +10077,7 @@ function assertHttpLlmApplication(props) {
|
|
|
9969
10077
|
expected: "string",
|
|
9970
10078
|
value: input.$ref
|
|
9971
10079
|
}, _errorFactory));
|
|
9972
|
-
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, {
|
|
9973
10081
|
method: "typia.assert",
|
|
9974
10082
|
path: _path + '["const"]',
|
|
9975
10083
|
expected: "(boolean | number | string)",
|
|
@@ -10010,7 +10118,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10010
10118
|
expected: "(boolean | undefined)",
|
|
10011
10119
|
value: input.deprecated
|
|
10012
10120
|
}, _errorFactory)) && true;
|
|
10013
|
-
const
|
|
10121
|
+
const _ao117 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10014
10122
|
method: "typia.assert",
|
|
10015
10123
|
path: _path + ".nullable",
|
|
10016
10124
|
expected: "(boolean | undefined)",
|
|
@@ -10025,9 +10133,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10025
10133
|
path: _path + '["enum"]',
|
|
10026
10134
|
expected: "(Array<boolean | null> | undefined)",
|
|
10027
10135
|
value: input["enum"]
|
|
10028
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10136
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index136) => null === elem || "boolean" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10029
10137
|
method: "typia.assert",
|
|
10030
|
-
path: _path + '["enum"][' +
|
|
10138
|
+
path: _path + '["enum"][' + _index136 + "]",
|
|
10031
10139
|
expected: "(boolean | null)",
|
|
10032
10140
|
value: elem
|
|
10033
10141
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10071,7 +10179,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10071
10179
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10072
10180
|
value: input.examples
|
|
10073
10181
|
}, _errorFactory)));
|
|
10074
|
-
const
|
|
10182
|
+
const _ao118 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10075
10183
|
method: "typia.assert",
|
|
10076
10184
|
path: _path + ".nullable",
|
|
10077
10185
|
expected: "(boolean | undefined)",
|
|
@@ -10091,9 +10199,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10091
10199
|
path: _path + '["enum"]',
|
|
10092
10200
|
expected: "(Array<number | null> | undefined)",
|
|
10093
10201
|
value: input["enum"]
|
|
10094
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10202
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index137) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10095
10203
|
method: "typia.assert",
|
|
10096
|
-
path: _path + '["enum"][' +
|
|
10204
|
+
path: _path + '["enum"][' + _index137 + "]",
|
|
10097
10205
|
expected: "(null | number)",
|
|
10098
10206
|
value: elem
|
|
10099
10207
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10192,7 +10300,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10192
10300
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10193
10301
|
value: input.examples
|
|
10194
10302
|
}, _errorFactory)));
|
|
10195
|
-
const
|
|
10303
|
+
const _ao119 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10196
10304
|
method: "typia.assert",
|
|
10197
10305
|
path: _path + ".nullable",
|
|
10198
10306
|
expected: "(boolean | undefined)",
|
|
@@ -10207,9 +10315,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10207
10315
|
path: _path + '["enum"]',
|
|
10208
10316
|
expected: "(Array<number | null> | undefined)",
|
|
10209
10317
|
value: input["enum"]
|
|
10210
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10318
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index138) => null === elem || "number" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10211
10319
|
method: "typia.assert",
|
|
10212
|
-
path: _path + '["enum"][' +
|
|
10320
|
+
path: _path + '["enum"][' + _index138 + "]",
|
|
10213
10321
|
expected: "(null | number)",
|
|
10214
10322
|
value: elem
|
|
10215
10323
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10283,7 +10391,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10283
10391
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10284
10392
|
value: input.examples
|
|
10285
10393
|
}, _errorFactory)));
|
|
10286
|
-
const
|
|
10394
|
+
const _ao120 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10287
10395
|
method: "typia.assert",
|
|
10288
10396
|
path: _path + ".nullable",
|
|
10289
10397
|
expected: "(boolean | undefined)",
|
|
@@ -10298,9 +10406,9 @@ function assertHttpLlmApplication(props) {
|
|
|
10298
10406
|
path: _path + '["enum"]',
|
|
10299
10407
|
expected: "(Array<string | null> | undefined)",
|
|
10300
10408
|
value: input["enum"]
|
|
10301
|
-
}, _errorFactory)) && input["enum"].every(((elem,
|
|
10409
|
+
}, _errorFactory)) && input["enum"].every(((elem, _index139) => null === elem || "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10302
10410
|
method: "typia.assert",
|
|
10303
|
-
path: _path + '["enum"][' +
|
|
10411
|
+
path: _path + '["enum"][' + _index139 + "]",
|
|
10304
10412
|
expected: "(null | string)",
|
|
10305
10413
|
value: elem
|
|
10306
10414
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10379,7 +10487,7 @@ function assertHttpLlmApplication(props) {
|
|
|
10379
10487
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10380
10488
|
value: input.examples
|
|
10381
10489
|
}, _errorFactory)));
|
|
10382
|
-
const
|
|
10490
|
+
const _ao121 = (input, _path, _exceptionable = true) => (undefined === input.nullable || "boolean" === typeof input.nullable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10383
10491
|
method: "typia.assert",
|
|
10384
10492
|
path: _path + ".nullable",
|
|
10385
10493
|
expected: "(boolean | undefined)",
|
|
@@ -10389,14 +10497,14 @@ function assertHttpLlmApplication(props) {
|
|
|
10389
10497
|
path: _path + ".items",
|
|
10390
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)",
|
|
10391
10499
|
value: input.items
|
|
10392
|
-
}, _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, {
|
|
10393
10501
|
method: "typia.assert",
|
|
10394
|
-
path: _path + ".items[" +
|
|
10502
|
+
path: _path + ".items[" + _index140 + "]",
|
|
10395
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)",
|
|
10396
10504
|
value: elem
|
|
10397
|
-
}, _errorFactory)) && _au5(elem, _path + ".items[" +
|
|
10505
|
+
}, _errorFactory)) && _au5(elem, _path + ".items[" + _index140 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10398
10506
|
method: "typia.assert",
|
|
10399
|
-
path: _path + ".items[" +
|
|
10507
|
+
path: _path + ".items[" + _index140 + "]",
|
|
10400
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)",
|
|
10401
10509
|
value: elem
|
|
10402
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, {
|
|
@@ -10414,14 +10522,14 @@ function assertHttpLlmApplication(props) {
|
|
|
10414
10522
|
path: _path + ".prefixItems",
|
|
10415
10523
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
10416
10524
|
value: input.prefixItems
|
|
10417
|
-
}, _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, {
|
|
10418
10526
|
method: "typia.assert",
|
|
10419
|
-
path: _path + ".prefixItems[" +
|
|
10527
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
10420
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)",
|
|
10421
10529
|
value: elem
|
|
10422
|
-
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" +
|
|
10530
|
+
}, _errorFactory)) && _au5(elem, _path + ".prefixItems[" + _index141 + "]", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10423
10531
|
method: "typia.assert",
|
|
10424
|
-
path: _path + ".prefixItems[" +
|
|
10532
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
10425
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)",
|
|
10426
10534
|
value: elem
|
|
10427
10535
|
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
@@ -10505,103 +10613,12 @@ function assertHttpLlmApplication(props) {
|
|
|
10505
10613
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10506
10614
|
value: input.examples
|
|
10507
10615
|
}, _errorFactory)));
|
|
10508
|
-
const
|
|
10509
|
-
method: "typia.assert",
|
|
10510
|
-
path: _path + ".nullable",
|
|
10511
|
-
expected: "(boolean | undefined)",
|
|
10512
|
-
value: input.nullable
|
|
10513
|
-
}, _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, {
|
|
10514
10617
|
method: "typia.assert",
|
|
10515
|
-
path: _path + "
|
|
10516
|
-
expected: "
|
|
10517
|
-
value: input
|
|
10518
|
-
}, _errorFactory)) &&
|
|
10519
|
-
method: "typia.assert",
|
|
10520
|
-
path: _path + ".properties",
|
|
10521
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
10522
|
-
value: input.properties
|
|
10523
|
-
}, _errorFactory)) && (undefined === input.required || (Array.isArray(input.required) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10524
|
-
method: "typia.assert",
|
|
10525
|
-
path: _path + ".required",
|
|
10526
|
-
expected: "(Array<string> | undefined)",
|
|
10527
|
-
value: input.required
|
|
10528
|
-
}, _errorFactory)) && input.required.every(((elem, _index141) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10529
|
-
method: "typia.assert",
|
|
10530
|
-
path: _path + ".required[" + _index141 + "]",
|
|
10531
|
-
expected: "string",
|
|
10532
|
-
value: elem
|
|
10533
|
-
}, _errorFactory))) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10534
|
-
method: "typia.assert",
|
|
10535
|
-
path: _path + ".required",
|
|
10536
|
-
expected: "(Array<string> | undefined)",
|
|
10537
|
-
value: input.required
|
|
10538
|
-
}, _errorFactory)) && ((null !== input.additionalProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10539
|
-
method: "typia.assert",
|
|
10540
|
-
path: _path + ".additionalProperties",
|
|
10541
|
-
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)",
|
|
10542
|
-
value: input.additionalProperties
|
|
10543
|
-
}, _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, {
|
|
10544
|
-
method: "typia.assert",
|
|
10545
|
-
path: _path + ".additionalProperties",
|
|
10546
|
-
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)",
|
|
10547
|
-
value: input.additionalProperties
|
|
10548
|
-
}, _errorFactory)) && _au5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10549
|
-
method: "typia.assert",
|
|
10550
|
-
path: _path + ".additionalProperties",
|
|
10551
|
-
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)",
|
|
10552
|
-
value: input.additionalProperties
|
|
10553
|
-
}, _errorFactory))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10554
|
-
method: "typia.assert",
|
|
10555
|
-
path: _path + ".maxProperties",
|
|
10556
|
-
expected: "(number | undefined)",
|
|
10557
|
-
value: input.maxProperties
|
|
10558
|
-
}, _errorFactory)) && (undefined === input.minProperties || "number" === typeof input.minProperties || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10559
|
-
method: "typia.assert",
|
|
10560
|
-
path: _path + ".minProperties",
|
|
10561
|
-
expected: "(number | undefined)",
|
|
10562
|
-
value: input.minProperties
|
|
10563
|
-
}, _errorFactory)) && ("object" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10564
|
-
method: "typia.assert",
|
|
10565
|
-
path: _path + ".type",
|
|
10566
|
-
expected: '"object"',
|
|
10567
|
-
value: input.type
|
|
10568
|
-
}, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10569
|
-
method: "typia.assert",
|
|
10570
|
-
path: _path + ".title",
|
|
10571
|
-
expected: "(string | undefined)",
|
|
10572
|
-
value: input.title
|
|
10573
|
-
}, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10574
|
-
method: "typia.assert",
|
|
10575
|
-
path: _path + ".description",
|
|
10576
|
-
expected: "(string | undefined)",
|
|
10577
|
-
value: input.description
|
|
10578
|
-
}, _errorFactory)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10579
|
-
method: "typia.assert",
|
|
10580
|
-
path: _path + ".deprecated",
|
|
10581
|
-
expected: "(boolean | undefined)",
|
|
10582
|
-
value: input.deprecated
|
|
10583
|
-
}, _errorFactory)) && true && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10584
|
-
method: "typia.assert",
|
|
10585
|
-
path: _path + ".examples",
|
|
10586
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10587
|
-
value: input.examples
|
|
10588
|
-
}, _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, {
|
|
10589
|
-
method: "typia.assert",
|
|
10590
|
-
path: _path + ".examples",
|
|
10591
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10592
|
-
value: input.examples
|
|
10593
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10594
|
-
method: "typia.assert",
|
|
10595
|
-
path: _path + ".examples",
|
|
10596
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
10597
|
-
value: input.examples
|
|
10598
|
-
}, _errorFactory)));
|
|
10599
|
-
const _ao122 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10600
|
-
method: "typia.assert",
|
|
10601
|
-
path: _path + ".$ref",
|
|
10602
|
-
expected: "string",
|
|
10603
|
-
value: input.$ref
|
|
10604
|
-
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10618
|
+
path: _path + ".$ref",
|
|
10619
|
+
expected: "string",
|
|
10620
|
+
value: input.$ref
|
|
10621
|
+
}, _errorFactory)) && ((null !== input.examples || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
10605
10622
|
method: "typia.assert",
|
|
10606
10623
|
path: _path + ".examples",
|
|
10607
10624
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
@@ -11520,7 +11537,12 @@ function assertHttpLlmApplication(props) {
|
|
|
11520
11537
|
value
|
|
11521
11538
|
}, _errorFactory);
|
|
11522
11539
|
}));
|
|
11523
|
-
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, {
|
|
11524
11546
|
method: "typia.assert",
|
|
11525
11547
|
path: _path + ".required",
|
|
11526
11548
|
expected: "(boolean | undefined)",
|
|
@@ -11540,11 +11562,6 @@ function assertHttpLlmApplication(props) {
|
|
|
11540
11562
|
path: _path + ".examples",
|
|
11541
11563
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
11542
11564
|
value: input.examples
|
|
11543
|
-
}, _errorFactory)) && (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11544
|
-
method: "typia.assert",
|
|
11545
|
-
path: _path + ".name",
|
|
11546
|
-
expected: "(string | undefined)",
|
|
11547
|
-
value: input.name
|
|
11548
11565
|
}, _errorFactory)) && (("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
11549
11566
|
method: "typia.assert",
|
|
11550
11567
|
path: _path + ".schema",
|
|
@@ -13712,8 +13729,8 @@ function assertHttpLlmApplication(props) {
|
|
|
13712
13729
|
}, _errorFactory);
|
|
13713
13730
|
})();
|
|
13714
13731
|
const _au5 = (input, _path, _exceptionable = true) => (() => {
|
|
13715
|
-
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
|
|
13716
|
-
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);
|
|
13717
13734
|
})();
|
|
13718
13735
|
})();
|
|
13719
13736
|
const _au6 = (input, _path, _exceptionable = true) => (() => {
|
|
@@ -13805,50 +13822,1641 @@ function assertHttpLlmApplication(props) {
|
|
|
13805
13822
|
value: input
|
|
13806
13823
|
}, _errorFactory);
|
|
13807
13824
|
})();
|
|
13808
|
-
const _au24 = (input, _path, _exceptionable = true) => (() => {
|
|
13809
|
-
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, {
|
|
13810
15418
|
method: "typia.assert",
|
|
13811
15419
|
path: _path,
|
|
13812
|
-
expected: "(
|
|
15420
|
+
expected: "(IObject & { $defs?: Record<string, IJsonSchema> | undefined; } | IReference<string> & { $defs?: Record<string, IJsonSchema> | undefined; })",
|
|
13813
15421
|
value: input
|
|
13814
15422
|
}, _errorFactory);
|
|
13815
15423
|
})();
|
|
13816
|
-
const __is = input => "object" === typeof
|
|
15424
|
+
const __is = input => Array.isArray(input) && input.every((elem => "object" === typeof elem && null !== elem && _io0(elem)));
|
|
13817
15425
|
let _errorFactory;
|
|
13818
15426
|
return (input, errorFactory) => {
|
|
13819
15427
|
if (false === __is(input)) {
|
|
13820
15428
|
_errorFactory = errorFactory;
|
|
13821
|
-
((input, _path, _exceptionable = true) => (
|
|
15429
|
+
((input, _path, _exceptionable = true) => (Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
13822
15430
|
method: "typia.assert",
|
|
13823
15431
|
path: _path + "",
|
|
13824
|
-
expected: "
|
|
15432
|
+
expected: "Array<IMcpTool>",
|
|
13825
15433
|
value: input
|
|
13826
|
-
}, _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, {
|
|
13827
15445
|
method: "typia.assert",
|
|
13828
15446
|
path: _path + "",
|
|
13829
|
-
expected: "
|
|
15447
|
+
expected: "Array<IMcpTool>",
|
|
13830
15448
|
value: input
|
|
13831
15449
|
}, _errorFactory))(input, "$input", true);
|
|
13832
15450
|
}
|
|
13833
15451
|
return input;
|
|
13834
15452
|
};
|
|
13835
|
-
})()(
|
|
13836
|
-
options: props.options
|
|
15453
|
+
})()(tools)
|
|
13837
15454
|
});
|
|
13838
|
-
}
|
|
13839
|
-
|
|
13840
|
-
async function assertMcpLlmApplication(props) {
|
|
13841
|
-
const {ListToolsResultSchema} = await import("@modelcontextprotocol/sdk/types.js");
|
|
13842
|
-
const toolList = await props.client.request({
|
|
13843
|
-
method: "tools/list"
|
|
13844
|
-
}, ListToolsResultSchema);
|
|
13845
15455
|
return {
|
|
13846
|
-
|
|
13847
|
-
|
|
13848
|
-
|
|
13849
|
-
|
|
13850
|
-
}))),
|
|
13851
|
-
client: props.client
|
|
15456
|
+
protocol: "mcp",
|
|
15457
|
+
name: props.name,
|
|
15458
|
+
client: props.client,
|
|
15459
|
+
application
|
|
13852
15460
|
};
|
|
13853
15461
|
}
|
|
13854
15462
|
|
|
@@ -13993,7 +15601,7 @@ function validateHttpLlmApplication(props) {
|
|
|
13993
15601
|
if (undefined === value) return true;
|
|
13994
15602
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
13995
15603
|
}));
|
|
13996
|
-
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));
|
|
13997
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;
|
|
13998
15606
|
const _io81 = input => Object.keys(input).every((key => {
|
|
13999
15607
|
const value = input[key];
|
|
@@ -14064,14 +15672,14 @@ function validateHttpLlmApplication(props) {
|
|
|
14064
15672
|
if (undefined === value) return true;
|
|
14065
15673
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
14066
15674
|
}));
|
|
14067
|
-
const _io114 = input =>
|
|
14068
|
-
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;
|
|
14069
|
-
const _io116 = input => (
|
|
14070
|
-
const _io117 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
14071
|
-
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) && "
|
|
14072
|
-
const _io119 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "
|
|
14073
|
-
const _io120 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null
|
|
14074
|
-
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))));
|
|
14075
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;
|
|
14076
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;
|
|
14077
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;
|
|
@@ -14116,7 +15724,7 @@ function validateHttpLlmApplication(props) {
|
|
|
14116
15724
|
if (undefined === value) return true;
|
|
14117
15725
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
14118
15726
|
}));
|
|
14119
|
-
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));
|
|
14120
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;
|
|
14121
15729
|
const _io148 = input => Object.keys(input).every((key => {
|
|
14122
15730
|
const value = input[key];
|
|
@@ -14268,8 +15876,8 @@ function validateHttpLlmApplication(props) {
|
|
|
14268
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;
|
|
14269
15877
|
})();
|
|
14270
15878
|
const _iu5 = input => (() => {
|
|
14271
|
-
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem))) return
|
|
14272
|
-
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);
|
|
14273
15881
|
})();
|
|
14274
15882
|
})();
|
|
14275
15883
|
const _iu6 = input => (() => {
|
|
@@ -17172,7 +18780,11 @@ function validateHttpLlmApplication(props) {
|
|
|
17172
18780
|
value
|
|
17173
18781
|
});
|
|
17174
18782
|
})).every((flag => flag)) ].every((flag => flag));
|
|
17175
|
-
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, {
|
|
17176
18788
|
path: _path + ".required",
|
|
17177
18789
|
expected: "(boolean | undefined)",
|
|
17178
18790
|
value: input.required
|
|
@@ -17188,10 +18800,6 @@ function validateHttpLlmApplication(props) {
|
|
|
17188
18800
|
path: _path + ".examples",
|
|
17189
18801
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>> | undefined)",
|
|
17190
18802
|
value: input.examples
|
|
17191
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
17192
|
-
path: _path + ".name",
|
|
17193
|
-
expected: "(string | undefined)",
|
|
17194
|
-
value: input.name
|
|
17195
18803
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
17196
18804
|
path: _path + ".schema",
|
|
17197
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)",
|
|
@@ -18111,12 +19719,85 @@ function validateHttpLlmApplication(props) {
|
|
|
18111
19719
|
value
|
|
18112
19720
|
});
|
|
18113
19721
|
})).every((flag => flag)) ].every((flag => flag));
|
|
18114
|
-
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, {
|
|
18115
19796
|
path: _path + ".type",
|
|
18116
19797
|
expected: 'Array<"string" | "number" | "boolean" | "object" | "integer" | "array" | "null">',
|
|
18117
19798
|
value: input.type
|
|
18118
|
-
})) && input.type.map(((elem,
|
|
18119
|
-
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 + "]",
|
|
18120
19801
|
expected: '("array" | "boolean" | "integer" | "null" | "number" | "object" | "string")',
|
|
18121
19802
|
value: elem
|
|
18122
19803
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18219,12 +19900,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18219
19900
|
path: _path + ".items",
|
|
18220
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)",
|
|
18221
19902
|
value: input.items
|
|
18222
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem,
|
|
18223
|
-
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 + "]",
|
|
18224
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)",
|
|
18225
19906
|
value: elem
|
|
18226
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
18227
|
-
path: _path + ".items[" +
|
|
19907
|
+
})) && _vu5(elem, _path + ".items[" + _index130 + "]", _exceptionable) || _report(_exceptionable, {
|
|
19908
|
+
path: _path + ".items[" + _index130 + "]",
|
|
18228
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)",
|
|
18229
19910
|
value: elem
|
|
18230
19911
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
|
@@ -18239,12 +19920,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18239
19920
|
path: _path + ".prefixItems",
|
|
18240
19921
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18241
19922
|
value: input.prefixItems
|
|
18242
|
-
})) && input.prefixItems.map(((elem,
|
|
18243
|
-
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 + "]",
|
|
18244
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)",
|
|
18245
19926
|
value: elem
|
|
18246
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
18247
|
-
path: _path + ".prefixItems[" +
|
|
19927
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index131 + "]", _exceptionable) || _report(_exceptionable, {
|
|
19928
|
+
path: _path + ".prefixItems[" + _index131 + "]",
|
|
18248
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)",
|
|
18249
19930
|
value: elem
|
|
18250
19931
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18307,8 +19988,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18307
19988
|
path: _path + ".required",
|
|
18308
19989
|
expected: "(Array<string> | undefined)",
|
|
18309
19990
|
value: input.required
|
|
18310
|
-
})) && input.required.map(((elem,
|
|
18311
|
-
path: _path + ".required[" +
|
|
19991
|
+
})) && input.required.map(((elem, _index132) => "string" === typeof elem || _report(_exceptionable, {
|
|
19992
|
+
path: _path + ".required[" + _index132 + "]",
|
|
18312
19993
|
expected: "string",
|
|
18313
19994
|
value: elem
|
|
18314
19995
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18327,12 +20008,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18327
20008
|
path: _path + ".oneOf",
|
|
18328
20009
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18329
20010
|
value: input.oneOf
|
|
18330
|
-
})) && input.oneOf.map(((elem,
|
|
18331
|
-
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 + "]",
|
|
18332
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)",
|
|
18333
20014
|
value: elem
|
|
18334
|
-
})) && _vu5(elem, _path + ".oneOf[" +
|
|
18335
|
-
path: _path + ".oneOf[" +
|
|
20015
|
+
})) && _vu5(elem, _path + ".oneOf[" + _index133 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20016
|
+
path: _path + ".oneOf[" + _index133 + "]",
|
|
18336
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)",
|
|
18337
20018
|
value: elem
|
|
18338
20019
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18351,12 +20032,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18351
20032
|
path: _path + ".anyOf",
|
|
18352
20033
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18353
20034
|
value: input.anyOf
|
|
18354
|
-
})) && input.anyOf.map(((elem,
|
|
18355
|
-
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 + "]",
|
|
18356
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)",
|
|
18357
20038
|
value: elem
|
|
18358
|
-
})) && _vu5(elem, _path + ".anyOf[" +
|
|
18359
|
-
path: _path + ".anyOf[" +
|
|
20039
|
+
})) && _vu5(elem, _path + ".anyOf[" + _index134 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20040
|
+
path: _path + ".anyOf[" + _index134 + "]",
|
|
18360
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)",
|
|
18361
20042
|
value: elem
|
|
18362
20043
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18367,12 +20048,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18367
20048
|
path: _path + ".allOf",
|
|
18368
20049
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
18369
20050
|
value: input.allOf
|
|
18370
|
-
})) && input.allOf.map(((elem,
|
|
18371
|
-
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 + "]",
|
|
18372
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)",
|
|
18373
20054
|
value: elem
|
|
18374
|
-
})) && _vu5(elem, _path + ".allOf[" +
|
|
18375
|
-
path: _path + ".allOf[" +
|
|
20055
|
+
})) && _vu5(elem, _path + ".allOf[" + _index135 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20056
|
+
path: _path + ".allOf[" + _index135 + "]",
|
|
18376
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)",
|
|
18377
20058
|
value: elem
|
|
18378
20059
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18384,7 +20065,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18384
20065
|
expected: "string",
|
|
18385
20066
|
value: input.$ref
|
|
18386
20067
|
}) ].every((flag => flag));
|
|
18387
|
-
const
|
|
20068
|
+
const _vo116 = (input, _path, _exceptionable = true) => [ "string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"] || _report(_exceptionable, {
|
|
18388
20069
|
path: _path + '["const"]',
|
|
18389
20070
|
expected: "(boolean | number | string)",
|
|
18390
20071
|
value: input["const"]
|
|
@@ -18417,7 +20098,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18417
20098
|
expected: "(boolean | undefined)",
|
|
18418
20099
|
value: input.deprecated
|
|
18419
20100
|
}), true ].every((flag => flag));
|
|
18420
|
-
const
|
|
20101
|
+
const _vo117 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18421
20102
|
path: _path + ".nullable",
|
|
18422
20103
|
expected: "(boolean | undefined)",
|
|
18423
20104
|
value: input.nullable
|
|
@@ -18429,8 +20110,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18429
20110
|
path: _path + '["enum"]',
|
|
18430
20111
|
expected: "(Array<boolean | null> | undefined)",
|
|
18431
20112
|
value: input["enum"]
|
|
18432
|
-
})) && input["enum"].map(((elem,
|
|
18433
|
-
path: _path + '["enum"][' +
|
|
20113
|
+
})) && input["enum"].map(((elem, _index136) => null === elem || "boolean" === typeof elem || _report(_exceptionable, {
|
|
20114
|
+
path: _path + '["enum"][' + _index136 + "]",
|
|
18434
20115
|
expected: "(boolean | null)",
|
|
18435
20116
|
value: elem
|
|
18436
20117
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18466,7 +20147,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18466
20147
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18467
20148
|
value: input.examples
|
|
18468
20149
|
})) ].every((flag => flag));
|
|
18469
|
-
const
|
|
20150
|
+
const _vo118 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18470
20151
|
path: _path + ".nullable",
|
|
18471
20152
|
expected: "(boolean | undefined)",
|
|
18472
20153
|
value: input.nullable
|
|
@@ -18482,8 +20163,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18482
20163
|
path: _path + '["enum"]',
|
|
18483
20164
|
expected: "(Array<number | null> | undefined)",
|
|
18484
20165
|
value: input["enum"]
|
|
18485
|
-
})) && input["enum"].map(((elem,
|
|
18486
|
-
path: _path + '["enum"][' +
|
|
20166
|
+
})) && input["enum"].map(((elem, _index137) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
20167
|
+
path: _path + '["enum"][' + _index137 + "]",
|
|
18487
20168
|
expected: "(null | number)",
|
|
18488
20169
|
value: elem
|
|
18489
20170
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18563,7 +20244,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18563
20244
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18564
20245
|
value: input.examples
|
|
18565
20246
|
})) ].every((flag => flag));
|
|
18566
|
-
const
|
|
20247
|
+
const _vo119 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18567
20248
|
path: _path + ".nullable",
|
|
18568
20249
|
expected: "(boolean | undefined)",
|
|
18569
20250
|
value: input.nullable
|
|
@@ -18575,8 +20256,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18575
20256
|
path: _path + '["enum"]',
|
|
18576
20257
|
expected: "(Array<number | null> | undefined)",
|
|
18577
20258
|
value: input["enum"]
|
|
18578
|
-
})) && input["enum"].map(((elem,
|
|
18579
|
-
path: _path + '["enum"][' +
|
|
20259
|
+
})) && input["enum"].map(((elem, _index138) => null === elem || "number" === typeof elem || _report(_exceptionable, {
|
|
20260
|
+
path: _path + '["enum"][' + _index138 + "]",
|
|
18580
20261
|
expected: "(null | number)",
|
|
18581
20262
|
value: elem
|
|
18582
20263
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18636,7 +20317,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18636
20317
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18637
20318
|
value: input.examples
|
|
18638
20319
|
})) ].every((flag => flag));
|
|
18639
|
-
const
|
|
20320
|
+
const _vo120 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18640
20321
|
path: _path + ".nullable",
|
|
18641
20322
|
expected: "(boolean | undefined)",
|
|
18642
20323
|
value: input.nullable
|
|
@@ -18648,8 +20329,8 @@ function validateHttpLlmApplication(props) {
|
|
|
18648
20329
|
path: _path + '["enum"]',
|
|
18649
20330
|
expected: "(Array<string | null> | undefined)",
|
|
18650
20331
|
value: input["enum"]
|
|
18651
|
-
})) && input["enum"].map(((elem,
|
|
18652
|
-
path: _path + '["enum"][' +
|
|
20332
|
+
})) && input["enum"].map(((elem, _index139) => null === elem || "string" === typeof elem || _report(_exceptionable, {
|
|
20333
|
+
path: _path + '["enum"][' + _index139 + "]",
|
|
18653
20334
|
expected: "(null | string)",
|
|
18654
20335
|
value: elem
|
|
18655
20336
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18713,7 +20394,7 @@ function validateHttpLlmApplication(props) {
|
|
|
18713
20394
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18714
20395
|
value: input.examples
|
|
18715
20396
|
})) ].every((flag => flag));
|
|
18716
|
-
const
|
|
20397
|
+
const _vo121 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18717
20398
|
path: _path + ".nullable",
|
|
18718
20399
|
expected: "(boolean | undefined)",
|
|
18719
20400
|
value: input.nullable
|
|
@@ -18721,12 +20402,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18721
20402
|
path: _path + ".items",
|
|
18722
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)",
|
|
18723
20404
|
value: input.items
|
|
18724
|
-
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem,
|
|
18725
|
-
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 + "]",
|
|
18726
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)",
|
|
18727
20408
|
value: elem
|
|
18728
|
-
})) && _vu5(elem, _path + ".items[" +
|
|
18729
|
-
path: _path + ".items[" +
|
|
20409
|
+
})) && _vu5(elem, _path + ".items[" + _index140 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20410
|
+
path: _path + ".items[" + _index140 + "]",
|
|
18730
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)",
|
|
18731
20412
|
value: elem
|
|
18732
20413
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu5(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
|
@@ -18741,12 +20422,12 @@ function validateHttpLlmApplication(props) {
|
|
|
18741
20422
|
path: _path + ".prefixItems",
|
|
18742
20423
|
expected: "(Array<OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18743
20424
|
value: input.prefixItems
|
|
18744
|
-
})) && input.prefixItems.map(((elem,
|
|
18745
|
-
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 + "]",
|
|
18746
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)",
|
|
18747
20428
|
value: elem
|
|
18748
|
-
})) && _vu5(elem, _path + ".prefixItems[" +
|
|
18749
|
-
path: _path + ".prefixItems[" +
|
|
20429
|
+
})) && _vu5(elem, _path + ".prefixItems[" + _index141 + "]", _exceptionable) || _report(_exceptionable, {
|
|
20430
|
+
path: _path + ".prefixItems[" + _index141 + "]",
|
|
18750
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)",
|
|
18751
20432
|
value: elem
|
|
18752
20433
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
@@ -18814,79 +20495,6 @@ function validateHttpLlmApplication(props) {
|
|
|
18814
20495
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18815
20496
|
value: input.examples
|
|
18816
20497
|
})) ].every((flag => flag));
|
|
18817
|
-
const _vo121 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
18818
|
-
path: _path + ".nullable",
|
|
18819
|
-
expected: "(boolean | undefined)",
|
|
18820
|
-
value: input.nullable
|
|
18821
|
-
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
18822
|
-
path: _path + ".properties",
|
|
18823
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18824
|
-
value: input.properties
|
|
18825
|
-
})) && _vo113(input.properties, _path + ".properties", _exceptionable) || _report(_exceptionable, {
|
|
18826
|
-
path: _path + ".properties",
|
|
18827
|
-
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
|
18828
|
-
value: input.properties
|
|
18829
|
-
}), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
|
18830
|
-
path: _path + ".required",
|
|
18831
|
-
expected: "(Array<string> | undefined)",
|
|
18832
|
-
value: input.required
|
|
18833
|
-
})) && input.required.map(((elem, _index141) => "string" === typeof elem || _report(_exceptionable, {
|
|
18834
|
-
path: _path + ".required[" + _index141 + "]",
|
|
18835
|
-
expected: "string",
|
|
18836
|
-
value: elem
|
|
18837
|
-
}))).every((flag => flag)) || _report(_exceptionable, {
|
|
18838
|
-
path: _path + ".required",
|
|
18839
|
-
expected: "(Array<string> | undefined)",
|
|
18840
|
-
value: input.required
|
|
18841
|
-
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
|
18842
|
-
path: _path + ".additionalProperties",
|
|
18843
|
-
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)",
|
|
18844
|
-
value: input.additionalProperties
|
|
18845
|
-
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
|
18846
|
-
path: _path + ".additionalProperties",
|
|
18847
|
-
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)",
|
|
18848
|
-
value: input.additionalProperties
|
|
18849
|
-
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
|
18850
|
-
path: _path + ".additionalProperties",
|
|
18851
|
-
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)",
|
|
18852
|
-
value: input.additionalProperties
|
|
18853
|
-
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
|
18854
|
-
path: _path + ".maxProperties",
|
|
18855
|
-
expected: "(number | undefined)",
|
|
18856
|
-
value: input.maxProperties
|
|
18857
|
-
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
|
18858
|
-
path: _path + ".minProperties",
|
|
18859
|
-
expected: "(number | undefined)",
|
|
18860
|
-
value: input.minProperties
|
|
18861
|
-
}), "object" === input.type || _report(_exceptionable, {
|
|
18862
|
-
path: _path + ".type",
|
|
18863
|
-
expected: '"object"',
|
|
18864
|
-
value: input.type
|
|
18865
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
|
18866
|
-
path: _path + ".title",
|
|
18867
|
-
expected: "(string | undefined)",
|
|
18868
|
-
value: input.title
|
|
18869
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
|
18870
|
-
path: _path + ".description",
|
|
18871
|
-
expected: "(string | undefined)",
|
|
18872
|
-
value: input.description
|
|
18873
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
|
18874
|
-
path: _path + ".deprecated",
|
|
18875
|
-
expected: "(boolean | undefined)",
|
|
18876
|
-
value: input.deprecated
|
|
18877
|
-
}), true, (null !== input.examples || _report(_exceptionable, {
|
|
18878
|
-
path: _path + ".examples",
|
|
18879
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18880
|
-
value: input.examples
|
|
18881
|
-
})) && (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, {
|
|
18882
|
-
path: _path + ".examples",
|
|
18883
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18884
|
-
value: input.examples
|
|
18885
|
-
})) || _report(_exceptionable, {
|
|
18886
|
-
path: _path + ".examples",
|
|
18887
|
-
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
18888
|
-
value: input.examples
|
|
18889
|
-
})) ].every((flag => flag));
|
|
18890
20498
|
const _vo122 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref || _report(_exceptionable, {
|
|
18891
20499
|
path: _path + ".$ref",
|
|
18892
20500
|
expected: "string",
|
|
@@ -19635,7 +21243,11 @@ function validateHttpLlmApplication(props) {
|
|
|
19635
21243
|
value
|
|
19636
21244
|
});
|
|
19637
21245
|
})).every((flag => flag)) ].every((flag => flag));
|
|
19638
|
-
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, {
|
|
19639
21251
|
path: _path + ".required",
|
|
19640
21252
|
expected: "(boolean | undefined)",
|
|
19641
21253
|
value: input.required
|
|
@@ -19651,10 +21263,6 @@ function validateHttpLlmApplication(props) {
|
|
|
19651
21263
|
path: _path + ".examples",
|
|
19652
21264
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
|
19653
21265
|
value: input.examples
|
|
19654
|
-
}), undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
|
19655
|
-
path: _path + ".name",
|
|
19656
|
-
expected: "(string | undefined)",
|
|
19657
|
-
value: input.name
|
|
19658
21266
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
|
19659
21267
|
path: _path + ".schema",
|
|
19660
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)",
|
|
@@ -21409,8 +23017,8 @@ function validateHttpLlmApplication(props) {
|
|
|
21409
23017
|
});
|
|
21410
23018
|
})();
|
|
21411
23019
|
const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
|
21412
|
-
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
|
|
21413
|
-
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);
|
|
21414
23022
|
})();
|
|
21415
23023
|
})();
|
|
21416
23024
|
const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
|
@@ -21703,6 +23311,7 @@ class MicroAgentica {
|
|
|
21703
23311
|
var index = Object.freeze({
|
|
21704
23312
|
__proto__: null,
|
|
21705
23313
|
AsyncQueue,
|
|
23314
|
+
AsyncQueueClosedError,
|
|
21706
23315
|
ChatGptCompletionMessageUtil,
|
|
21707
23316
|
MPSC,
|
|
21708
23317
|
StreamUtil,
|
|
@@ -21710,5 +23319,5 @@ var index = Object.freeze({
|
|
|
21710
23319
|
toAsyncGenerator
|
|
21711
23320
|
});
|
|
21712
23321
|
|
|
21713
|
-
export { Agentica, AgenticaTokenUsage, MicroAgentica, assertHttpLlmApplication,
|
|
23322
|
+
export { Agentica, AgenticaTokenUsage, MicroAgentica, assertHttpLlmApplication, assertMcpController, index$2 as factory, index$1 as orchestrate, index as utils, validateHttpLlmApplication };
|
|
21714
23323
|
//# sourceMappingURL=index.mjs.map
|