@agentica/core 0.34.2 → 0.35.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/Agentica.d.ts +9 -10
- package/lib/Agentica.js.map +1 -1
- package/lib/MicroAgentica.d.ts +9 -10
- package/lib/MicroAgentica.js.map +1 -1
- package/lib/constants/AgenticaDefaultPrompt.d.ts +1 -2
- package/lib/constants/AgenticaDefaultPrompt.js.map +1 -1
- package/lib/context/AgenticaContext.d.ts +6 -7
- package/lib/context/AgenticaOperation.d.ts +5 -5
- package/lib/context/AgenticaOperationCollection.d.ts +5 -6
- package/lib/context/AgenticaOperationSelection.d.ts +2 -3
- package/lib/context/MicroAgenticaContext.d.ts +5 -6
- package/lib/context/internal/AgenticaOperationComposer.js.map +1 -1
- package/lib/context/internal/AgenticaOperationComposer.spec.js +41 -9
- package/lib/context/internal/AgenticaOperationComposer.spec.js.map +1 -1
- package/lib/context/internal/__IChatInitialApplication.d.ts +1 -1
- package/lib/context/internal/isAgenticaContext.js.map +1 -1
- package/lib/events/AgenticaCallEvent.d.ts +2 -3
- package/lib/events/AgenticaCancelEvent.d.ts +2 -3
- package/lib/events/AgenticaDescribeEvent.d.ts +3 -4
- package/lib/events/AgenticaEvent.d.ts +10 -11
- package/lib/events/AgenticaExecuteEvent.d.ts +5 -5
- package/lib/events/AgenticaJsonParseErrorEvent.d.ts +2 -3
- package/lib/events/AgenticaSelectEvent.d.ts +3 -4
- package/lib/events/AgenticaValidateEvent.d.ts +2 -3
- package/lib/events/MicroAgenticaEvent.d.ts +8 -9
- package/lib/factory/events.d.ts +22 -22
- package/lib/factory/events.js.map +1 -1
- package/lib/factory/histories.js.map +1 -1
- package/lib/factory/operations.d.ts +3 -4
- package/lib/factory/operations.js.map +1 -1
- package/lib/functional/assertHttpController.d.ts +6 -10
- package/lib/functional/assertHttpController.js +775 -91
- package/lib/functional/assertHttpController.js.map +1 -1
- package/lib/functional/assertHttpLlmApplication.d.ts +4 -8
- package/lib/functional/assertHttpLlmApplication.js +775 -91
- package/lib/functional/assertHttpLlmApplication.js.map +1 -1
- package/lib/functional/assertMcpController.d.ts +5 -6
- package/lib/functional/assertMcpController.js +201 -32
- package/lib/functional/assertMcpController.js.map +1 -1
- package/lib/functional/validateHttpController.d.ts +6 -10
- package/lib/functional/validateHttpController.js +636 -89
- package/lib/functional/validateHttpController.js.map +1 -1
- package/lib/functional/validateHttpLlmApplication.d.ts +4 -8
- package/lib/functional/validateHttpLlmApplication.js +636 -89
- package/lib/functional/validateHttpLlmApplication.js.map +1 -1
- package/lib/functional/validateMcpController.d.ts +5 -6
- package/lib/functional/validateMcpController.js +366 -61
- package/lib/functional/validateMcpController.js.map +1 -1
- package/lib/histories/AgenticaCancelHistory.d.ts +2 -3
- package/lib/histories/AgenticaDescribeHistory.d.ts +2 -3
- package/lib/histories/AgenticaExecuteHistory.d.ts +5 -5
- package/lib/histories/AgenticaHistory.d.ts +7 -8
- package/lib/histories/AgenticaSelectHistory.d.ts +2 -3
- package/lib/histories/MicroAgenticaHistory.d.ts +5 -6
- package/lib/index.mjs +3964 -849
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/call.d.ts +1 -2
- package/lib/orchestrate/call.js.map +1 -1
- package/lib/orchestrate/cancel.d.ts +1 -2
- package/lib/orchestrate/cancel.js +4 -4
- package/lib/orchestrate/cancel.js.map +1 -1
- package/lib/orchestrate/describe.d.ts +1 -2
- package/lib/orchestrate/describe.js.map +1 -1
- package/lib/orchestrate/execute.d.ts +1 -2
- package/lib/orchestrate/execute.js.map +1 -1
- package/lib/orchestrate/initialize.d.ts +1 -2
- package/lib/orchestrate/initialize.js +262 -83
- package/lib/orchestrate/initialize.js.map +1 -1
- package/lib/orchestrate/internal/cancelFunctionFromContext.js.map +1 -1
- package/lib/orchestrate/internal/selectFunctionFromContext.js.map +1 -1
- package/lib/orchestrate/select.d.ts +1 -2
- package/lib/orchestrate/select.js +4 -4
- package/lib/orchestrate/select.js.map +1 -1
- package/lib/structures/IAgenticaConfig.d.ts +3 -4
- package/lib/structures/IAgenticaController.d.ts +11 -14
- package/lib/structures/IAgenticaExecutor.d.ts +6 -7
- package/lib/structures/IAgenticaProps.d.ts +3 -8
- package/lib/structures/IAgenticaSystemPrompt.d.ts +9 -10
- package/lib/structures/IMicroAgenticaConfig.d.ts +3 -4
- package/lib/structures/IMicroAgenticaExecutor.d.ts +3 -4
- package/lib/structures/IMicroAgenticaProps.d.ts +3 -8
- package/lib/structures/IMicroAgenticaSystemPrompt.d.ts +6 -7
- package/lib/transformers/transformHistory.js.map +1 -1
- package/lib/utils/ChatGptCompletionStreamingUtil.spec.js +2 -2
- package/lib/utils/ChatGptCompletionStreamingUtil.spec.js.map +1 -1
- package/lib/utils/request.d.ts +2 -3
- package/lib/utils/request.js.map +1 -1
- package/package.json +8 -8
- package/src/Agentica.ts +24 -26
- package/src/MicroAgentica.ts +27 -29
- package/src/constants/AgenticaDefaultPrompt.ts +2 -4
- package/src/context/AgenticaContext.ts +6 -7
- package/src/context/AgenticaOperation.ts +14 -14
- package/src/context/AgenticaOperationCollection.ts +5 -8
- package/src/context/AgenticaOperationSelection.ts +2 -4
- package/src/context/MicroAgenticaContext.ts +5 -6
- package/src/context/internal/AgenticaOperationComposer.spec.ts +50 -18
- package/src/context/internal/AgenticaOperationComposer.ts +21 -23
- package/src/context/internal/__IChatInitialApplication.ts +1 -1
- package/src/context/internal/isAgenticaContext.ts +4 -6
- package/src/events/AgenticaCallEvent.ts +2 -5
- package/src/events/AgenticaCancelEvent.ts +2 -6
- package/src/events/AgenticaDescribeEvent.ts +3 -7
- package/src/events/AgenticaEvent.ts +17 -19
- package/src/events/AgenticaEvent.type.ts +1 -1
- package/src/events/AgenticaExecuteEvent.ts +12 -12
- package/src/events/AgenticaJsonParseErrorEvent.ts +2 -4
- package/src/events/AgenticaSelectEvent.ts +3 -7
- package/src/events/AgenticaValidateEvent.ts +2 -5
- package/src/events/MicroAgenticaEvent.ts +13 -15
- package/src/factory/events.ts +24 -24
- package/src/factory/histories.ts +15 -17
- package/src/factory/operations.ts +3 -5
- package/src/functional/assertHttpController.ts +7 -15
- package/src/functional/assertHttpLlmApplication.ts +4 -13
- package/src/functional/assertMcpController.ts +6 -8
- package/src/functional/validateHttpController.ts +7 -15
- package/src/functional/validateHttpLlmApplication.ts +4 -13
- package/src/functional/validateMcpController.ts +6 -11
- package/src/histories/AgenticaCancelHistory.ts +2 -6
- package/src/histories/AgenticaDescribeHistory.ts +2 -6
- package/src/histories/AgenticaExecuteHistory.ts +7 -9
- package/src/histories/AgenticaHistory.ts +11 -13
- package/src/histories/AgenticaSelectHistory.ts +2 -6
- package/src/histories/MicroAgenticaHistory.ts +7 -9
- package/src/orchestrate/call.ts +55 -56
- package/src/orchestrate/cancel.ts +11 -12
- package/src/orchestrate/describe.ts +4 -5
- package/src/orchestrate/execute.ts +3 -5
- package/src/orchestrate/initialize.ts +4 -5
- package/src/orchestrate/internal/cancelFunctionFromContext.ts +4 -6
- package/src/orchestrate/internal/selectFunctionFromContext.ts +5 -9
- package/src/orchestrate/select.ts +11 -12
- package/src/structures/IAgenticaConfig.ts +4 -6
- package/src/structures/IAgenticaController.ts +11 -14
- package/src/structures/IAgenticaExecutor.ts +9 -11
- package/src/structures/IAgenticaProps.ts +3 -10
- package/src/structures/IAgenticaSystemPrompt.ts +9 -11
- package/src/structures/IMicroAgenticaConfig.ts +3 -5
- package/src/structures/IMicroAgenticaExecutor.ts +4 -6
- package/src/structures/IMicroAgenticaProps.ts +3 -10
- package/src/structures/IMicroAgenticaSystemPrompt.ts +6 -8
- package/src/transformers/transformHistory.ts +19 -21
- package/src/utils/ChatGptCompletionStreamingUtil.spec.ts +4 -5
- package/src/utils/request.ts +2 -3
|
@@ -65,12 +65,12 @@ function validateHttpLlmApplication(props) {
|
|
|
65
65
|
if (undefined === value)
|
|
66
66
|
return true;
|
|
67
67
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
68
|
-
}); const _io5 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io6 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io7 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io8 = input => (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.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io9 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io10 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io11 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io12 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io13 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io14 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io15 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io16 = input => Object.keys(input).every(key => {
|
|
68
|
+
}); const _io5 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io6 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io7 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io8 = input => (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.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io9 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io10 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)); const _io11 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io12 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io13 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io14 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io15 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io16 = input => Object.keys(input).every(key => {
|
|
69
69
|
const value = input[key];
|
|
70
70
|
if (undefined === value)
|
|
71
71
|
return true;
|
|
72
72
|
return "object" === typeof value && null !== value && _iu9(value);
|
|
73
|
-
}); const _io17 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io18 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io19 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io20 = input => (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.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io21 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io22 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io23 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io24 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io25 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io26 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io27 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === typeof input.name && "string" === typeof input["in"]; const _io28 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu0(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required); const _io29 = input => Object.keys(input).every(key => {
|
|
73
|
+
}); const _io17 = input => (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io18 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io19 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io20 = input => (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.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io21 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu0(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io22 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu0(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"]; const _io23 = input => "string" === typeof input.$ref && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && "string" === typeof input.name && "string" === typeof input["in"]; const _io24 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && "string" === typeof input.name && "string" === typeof input["in"]; const _io25 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && "string" === typeof input.name && "string" === typeof input["in"]; const _io26 = input => "null" === input.type && (null === input["default"] || undefined === input["default"]) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && "string" === typeof input.name && "string" === typeof input["in"]; const _io27 = input => null !== input.type && undefined === input.type && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && "string" === typeof input.name && "string" === typeof input["in"]; const _io28 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu0(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required); const _io29 = input => Object.keys(input).every(key => {
|
|
74
74
|
const value = input[key];
|
|
75
75
|
if (undefined === value)
|
|
76
76
|
return true;
|
|
@@ -95,12 +95,12 @@ function validateHttpLlmApplication(props) {
|
|
|
95
95
|
if (undefined === value)
|
|
96
96
|
return true;
|
|
97
97
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io41(value);
|
|
98
|
-
}); const _io41 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io43(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io43(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io43(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io43(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io43(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io43(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io43(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io43(input.trace)); const _io42 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io43 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu2(elem))) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io45(input.responses)) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io44 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io45 = input => Object.keys(input).every(key => {
|
|
98
|
+
}); const _io41 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu1(elem))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io43(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io43(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io43(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io43(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io43(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io43(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io43(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io43(input.trace)); const _io42 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io43 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu2(elem))) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io45(input.responses)) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io44 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/parameters\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io45 = input => Object.keys(input).every(key => {
|
|
99
99
|
const value = input[key];
|
|
100
100
|
if (undefined === value)
|
|
101
101
|
return true;
|
|
102
102
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu11(value);
|
|
103
|
-
}); const _io46 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/responses\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true; const _io47 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io48 = input => null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io49(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io52(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io55(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io97(input.paths)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io104(elem))); const _io49 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io50(input.variables)); const _io50 = input => Object.keys(input).every(key => {
|
|
103
|
+
}); const _io46 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/responses\/(.*)/).test(input.$ref) && (undefined === input.examples || Array.isArray(input.examples)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly); const _io47 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io48 = input => null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io49(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io52(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io55(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io97(input.paths)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io104(elem))); const _io49 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io50(input.variables)); const _io50 = input => Object.keys(input).every(key => {
|
|
104
104
|
const value = input[key];
|
|
105
105
|
if (undefined === value)
|
|
106
106
|
return true;
|
|
@@ -110,12 +110,12 @@ function validateHttpLlmApplication(props) {
|
|
|
110
110
|
if (undefined === value)
|
|
111
111
|
return true;
|
|
112
112
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu3(value);
|
|
113
|
-
}); const _io57 = 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)))); const _io58 = input => Object.keys(input).every(key => {
|
|
113
|
+
}); const _io57 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "boolean" === typeof elem)) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io58 = input => Object.keys(input).every(key => {
|
|
114
114
|
const value = input[key];
|
|
115
115
|
if (undefined === value)
|
|
116
116
|
return true;
|
|
117
117
|
return true;
|
|
118
|
-
}); const _io59 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)))); const _io60 = 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)))); const _io61 = 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.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)))); const _io62 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu3(input.items)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "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)))); const _io63 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io56(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) && _iu3(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)))); const _io64 = 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; const _io65 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(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; const _io66 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(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; const _io67 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io68(input.discriminator)) && (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; const _io68 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io69 = 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) && _io58(input.examples)))); const _io70 = input => true && (null !== input.type && undefined === 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)))); const _io71 = input => Object.keys(input).every(key => {
|
|
118
|
+
}); const _io59 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io60 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io61 = 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.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io62 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu3(input.items)) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io63 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io56(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) && _iu3(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io64 = 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io65 = input => Array.isArray(input.allOf) && input.allOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io66 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io67 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu3(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io68(input.discriminator)) && (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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io68 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io69 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (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)))); const _io70 = input => true && (null !== input.type && undefined === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); const _io71 = input => Object.keys(input).every(key => {
|
|
119
119
|
const value = input[key];
|
|
120
120
|
if (undefined === value)
|
|
121
121
|
return true;
|
|
@@ -130,12 +130,12 @@ function validateHttpLlmApplication(props) {
|
|
|
130
130
|
if (undefined === value)
|
|
131
131
|
return true;
|
|
132
132
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu12(value);
|
|
133
|
-
}); const _io76 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io77 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).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; const _io78 = input => Object.keys(input).every(key => {
|
|
133
|
+
}); const _io76 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io77 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io78 = input => Object.keys(input).every(key => {
|
|
134
134
|
const value = input[key];
|
|
135
135
|
if (undefined === value)
|
|
136
136
|
return true;
|
|
137
137
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
138
|
-
}); 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)); 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; const _io81 = input => Object.keys(input).every(key => {
|
|
138
|
+
}); 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)); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io81 = input => Object.keys(input).every(key => {
|
|
139
139
|
const value = input[key];
|
|
140
140
|
if (undefined === value)
|
|
141
141
|
return true;
|
|
@@ -165,12 +165,12 @@ function validateHttpLlmApplication(props) {
|
|
|
165
165
|
if (undefined === value)
|
|
166
166
|
return true;
|
|
167
167
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io98(value);
|
|
168
|
-
}); const _io98 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu4(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io49(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io100(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io100(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io100(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io100(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io100(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io100(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io100(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io100(input.trace)); const _io99 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).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; const _io100 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu4(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu15(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io102(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io49(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io101 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).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; const _io102 = input => Object.keys(input).every(key => {
|
|
168
|
+
}); const _io98 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu4(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io49(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io100(input.options)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io100(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io100(input.post)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io100(input.patch)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io100(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io100(input["delete"])) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io100(input.head)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io100(input.trace)); const _io99 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io100 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu4(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu15(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io102(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io49(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io101 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io102 = input => Object.keys(input).every(key => {
|
|
169
169
|
const value = input[key];
|
|
170
170
|
if (undefined === value)
|
|
171
171
|
return true;
|
|
172
172
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu16(value);
|
|
173
|
-
}); const _io103 = 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; const _io104 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io105 = input => "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io109(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io112(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io130(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io163(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io165(elem))); const _io106 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io107(input.variables)); const _io107 = input => Object.keys(input).every(key => {
|
|
173
|
+
}); const _io103 = 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io104 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io105 = input => "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io109(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io112(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io130(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io163(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io165(elem))); const _io106 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io107(input.variables)); const _io107 = input => Object.keys(input).every(key => {
|
|
174
174
|
const value = input[key];
|
|
175
175
|
if (undefined === value)
|
|
176
176
|
return true;
|
|
@@ -180,7 +180,7 @@ function validateHttpLlmApplication(props) {
|
|
|
180
180
|
if (undefined === value)
|
|
181
181
|
return true;
|
|
182
182
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
183
|
-
}); 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)))); 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.format || "string" === typeof input.format) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (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; 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; 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)))); 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"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)))); 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)))); 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)))); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (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)))); 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; 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; 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; const _io125 = input => Array.isArray(input.anyOf) && input.anyOf.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; const _io126 = input => 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)) && (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; const _io127 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io128 = 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) && _io58(input.examples)))); const _io129 = 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) && _io58(input.examples)))); const _io130 = input => Object.keys(input).every(key => {
|
|
183
|
+
}); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); 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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (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; 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); 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"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); 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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (null !== input.examples && (undefined === input.examples || (Array.isArray(input.examples) || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)))); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io125 = input => Array.isArray(input.anyOf) && input.anyOf.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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io126 = input => 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)) && (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.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io127 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io128 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (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)))); const _io129 = input => null !== input.type && undefined === input.type && true && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly) && (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)))); const _io130 = input => Object.keys(input).every(key => {
|
|
184
184
|
const value = input[key];
|
|
185
185
|
if (undefined === value)
|
|
186
186
|
return true;
|
|
@@ -190,12 +190,12 @@ function validateHttpLlmApplication(props) {
|
|
|
190
190
|
if (undefined === value)
|
|
191
191
|
return true;
|
|
192
192
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu17(value);
|
|
193
|
-
}); const _io134 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io135 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).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; const _io136 = 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; const _io137 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).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; const _io138 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu18(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io143(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io139 = input => (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io140(input.content)); const _io140 = input => Object.keys(input).every(key => {
|
|
193
|
+
}); const _io134 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const _io135 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io136 = 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io137 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io138 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && _iu6(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu18(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io143(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io106(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const _io139 = input => (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io140(input.content)); const _io140 = input => Object.keys(input).every(key => {
|
|
194
194
|
const value = input[key];
|
|
195
195
|
if (undefined === value)
|
|
196
196
|
return true;
|
|
197
197
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io141(value);
|
|
198
|
-
}); const _io141 = input => (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)); const _io142 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).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; const _io143 = input => Object.keys(input).every(key => {
|
|
198
|
+
}); const _io141 = input => (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu5(input.schema)) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io133(input.examples)); const _io142 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io143 = input => Object.keys(input).every(key => {
|
|
199
199
|
const value = input[key];
|
|
200
200
|
if (undefined === value)
|
|
201
201
|
return true;
|
|
@@ -205,7 +205,7 @@ function validateHttpLlmApplication(props) {
|
|
|
205
205
|
if (undefined === value)
|
|
206
206
|
return true;
|
|
207
207
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
208
|
-
}); 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)); 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; const _io148 = input => Object.keys(input).every(key => {
|
|
208
|
+
}); 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)); 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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io148 = input => Object.keys(input).every(key => {
|
|
209
209
|
const value = input[key];
|
|
210
210
|
if (undefined === value)
|
|
211
211
|
return true;
|
|
@@ -240,7 +240,7 @@ function validateHttpLlmApplication(props) {
|
|
|
240
240
|
if (undefined === value)
|
|
241
241
|
return true;
|
|
242
242
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu22(value);
|
|
243
|
-
}); const _io164 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).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; const _io165 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io166 = input => "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io170(input.info)) && ("object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io173(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io198(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io198(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io210(elem))) && true === input["x-samchon-emended-v4"]; const _io167 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io168(input.variables)); const _io168 = input => Object.keys(input).every(key => {
|
|
243
|
+
}); const _io164 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).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 && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io165 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io166 = input => "string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && _io167(elem))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io170(input.info)) && ("object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io173(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io198(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io198(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "object" === typeof elem && null !== elem && _io210(elem))) && true === input["x-samchon-emended-v4"]; const _io167 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description) && (undefined === input.variables || "object" === typeof input.variables && null !== input.variables && false === Array.isArray(input.variables) && _io168(input.variables)); const _io168 = input => Object.keys(input).every(key => {
|
|
244
244
|
const value = input[key];
|
|
245
245
|
if (undefined === value)
|
|
246
246
|
return true;
|
|
@@ -250,7 +250,7 @@ function validateHttpLlmApplication(props) {
|
|
|
250
250
|
if (undefined === value)
|
|
251
251
|
return true;
|
|
252
252
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu7(value);
|
|
253
|
-
}); const _io175 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io176 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io177 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io178 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io179 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io180 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu7(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io181 = input => "array" === input.type && (Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu7(input.additionalItems))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io182 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io174(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu7(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io183 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io184 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu8(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io187(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io185 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io186 = input => true && (null !== input.type && undefined === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)); const _io187 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io188 = input => Object.keys(input).every(key => {
|
|
253
|
+
}); const _io175 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io176 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && "boolean" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io177 = input => (undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io178 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io179 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io180 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu7(input.items) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io181 = input => "array" === input.type && (Array.isArray(input.prefixItems) && input.prefixItems.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu7(input.additionalItems))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io182 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io174(input.properties)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && _iu7(input.additionalProperties))) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && "object" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io183 = input => "string" === typeof input.$ref && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io184 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu8(elem)) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io187(input.discriminator)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io185 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io186 = input => true && (null !== input.type && undefined === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io58(input.examples)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && (undefined === input.writeOnly || "boolean" === typeof input.writeOnly); const _io187 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io35(input.mapping)); const _io188 = input => Object.keys(input).every(key => {
|
|
254
254
|
const value = input[key];
|
|
255
255
|
if (undefined === value)
|
|
256
256
|
return true;
|
|
@@ -857,7 +857,15 @@ function validateHttpLlmApplication(props) {
|
|
|
857
857
|
path: _path + ".deprecated",
|
|
858
858
|
expected: "(boolean | undefined)",
|
|
859
859
|
value: input.deprecated
|
|
860
|
-
}), true, undefined === input
|
|
860
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
861
|
+
path: _path + ".readOnly",
|
|
862
|
+
expected: "(boolean | undefined)",
|
|
863
|
+
value: input.readOnly
|
|
864
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
865
|
+
path: _path + ".writeOnly",
|
|
866
|
+
expected: "(boolean | undefined)",
|
|
867
|
+
value: input.writeOnly
|
|
868
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
861
869
|
path: _path + "[\"x-nullable\"]",
|
|
862
870
|
expected: "(boolean | undefined)",
|
|
863
871
|
value: input["x-nullable"]
|
|
@@ -937,7 +945,15 @@ function validateHttpLlmApplication(props) {
|
|
|
937
945
|
path: _path + ".deprecated",
|
|
938
946
|
expected: "(boolean | undefined)",
|
|
939
947
|
value: input.deprecated
|
|
940
|
-
}), true, undefined === input
|
|
948
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
949
|
+
path: _path + ".readOnly",
|
|
950
|
+
expected: "(boolean | undefined)",
|
|
951
|
+
value: input.readOnly
|
|
952
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
953
|
+
path: _path + ".writeOnly",
|
|
954
|
+
expected: "(boolean | undefined)",
|
|
955
|
+
value: input.writeOnly
|
|
956
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
941
957
|
path: _path + "[\"x-nullable\"]",
|
|
942
958
|
expected: "(boolean | undefined)",
|
|
943
959
|
value: input["x-nullable"]
|
|
@@ -1001,7 +1017,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1001
1017
|
path: _path + ".deprecated",
|
|
1002
1018
|
expected: "(boolean | undefined)",
|
|
1003
1019
|
value: input.deprecated
|
|
1004
|
-
}), true, undefined === input
|
|
1020
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1021
|
+
path: _path + ".readOnly",
|
|
1022
|
+
expected: "(boolean | undefined)",
|
|
1023
|
+
value: input.readOnly
|
|
1024
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1025
|
+
path: _path + ".writeOnly",
|
|
1026
|
+
expected: "(boolean | undefined)",
|
|
1027
|
+
value: input.writeOnly
|
|
1028
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1005
1029
|
path: _path + "[\"x-nullable\"]",
|
|
1006
1030
|
expected: "(boolean | undefined)",
|
|
1007
1031
|
value: input["x-nullable"]
|
|
@@ -1065,7 +1089,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1065
1089
|
path: _path + ".deprecated",
|
|
1066
1090
|
expected: "(boolean | undefined)",
|
|
1067
1091
|
value: input.deprecated
|
|
1068
|
-
}), true, undefined === input
|
|
1092
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1093
|
+
path: _path + ".readOnly",
|
|
1094
|
+
expected: "(boolean | undefined)",
|
|
1095
|
+
value: input.readOnly
|
|
1096
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1097
|
+
path: _path + ".writeOnly",
|
|
1098
|
+
expected: "(boolean | undefined)",
|
|
1099
|
+
value: input.writeOnly
|
|
1100
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1069
1101
|
path: _path + "[\"x-nullable\"]",
|
|
1070
1102
|
expected: "(boolean | undefined)",
|
|
1071
1103
|
value: input["x-nullable"]
|
|
@@ -1117,7 +1149,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1117
1149
|
path: _path + ".deprecated",
|
|
1118
1150
|
expected: "(boolean | undefined)",
|
|
1119
1151
|
value: input.deprecated
|
|
1120
|
-
}), true, undefined === input
|
|
1152
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1153
|
+
path: _path + ".readOnly",
|
|
1154
|
+
expected: "(boolean | undefined)",
|
|
1155
|
+
value: input.readOnly
|
|
1156
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1157
|
+
path: _path + ".writeOnly",
|
|
1158
|
+
expected: "(boolean | undefined)",
|
|
1159
|
+
value: input.writeOnly
|
|
1160
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1121
1161
|
path: _path + "[\"x-nullable\"]",
|
|
1122
1162
|
expected: "(boolean | undefined)",
|
|
1123
1163
|
value: input["x-nullable"]
|
|
@@ -1181,7 +1221,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1181
1221
|
path: _path + ".deprecated",
|
|
1182
1222
|
expected: "(boolean | undefined)",
|
|
1183
1223
|
value: input.deprecated
|
|
1184
|
-
}), true, undefined === input
|
|
1224
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1225
|
+
path: _path + ".readOnly",
|
|
1226
|
+
expected: "(boolean | undefined)",
|
|
1227
|
+
value: input.readOnly
|
|
1228
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1229
|
+
path: _path + ".writeOnly",
|
|
1230
|
+
expected: "(boolean | undefined)",
|
|
1231
|
+
value: input.writeOnly
|
|
1232
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1185
1233
|
path: _path + "[\"x-nullable\"]",
|
|
1186
1234
|
expected: "(boolean | undefined)",
|
|
1187
1235
|
value: input["x-nullable"]
|
|
@@ -1209,7 +1257,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1209
1257
|
path: _path + ".deprecated",
|
|
1210
1258
|
expected: "(boolean | undefined)",
|
|
1211
1259
|
value: input.deprecated
|
|
1212
|
-
}), true
|
|
1260
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1261
|
+
path: _path + ".readOnly",
|
|
1262
|
+
expected: "(boolean | undefined)",
|
|
1263
|
+
value: input.readOnly
|
|
1264
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1213
1265
|
path: _path + "[\"x-anyOf\"]",
|
|
1214
1266
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1215
1267
|
value: input["x-anyOf"]
|
|
@@ -1241,7 +1293,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1241
1293
|
path: _path + ".deprecated",
|
|
1242
1294
|
expected: "(boolean | undefined)",
|
|
1243
1295
|
value: input.deprecated
|
|
1244
|
-
}), true
|
|
1296
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1297
|
+
path: _path + ".readOnly",
|
|
1298
|
+
expected: "(boolean | undefined)",
|
|
1299
|
+
value: input.readOnly
|
|
1300
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1245
1301
|
path: _path + "[\"x-oneOf\"]",
|
|
1246
1302
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1247
1303
|
value: input["x-oneOf"]
|
|
@@ -1273,7 +1329,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1273
1329
|
path: _path + ".deprecated",
|
|
1274
1330
|
expected: "(boolean | undefined)",
|
|
1275
1331
|
value: input.deprecated
|
|
1276
|
-
}), true
|
|
1332
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1333
|
+
path: _path + ".readOnly",
|
|
1334
|
+
expected: "(boolean | undefined)",
|
|
1335
|
+
value: input.readOnly
|
|
1336
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
|
1277
1337
|
path: _path + ".type",
|
|
1278
1338
|
expected: "\"null\"",
|
|
1279
1339
|
value: input.type
|
|
@@ -1297,7 +1357,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1297
1357
|
path: _path + ".deprecated",
|
|
1298
1358
|
expected: "(boolean | undefined)",
|
|
1299
1359
|
value: input.deprecated
|
|
1300
|
-
}), true
|
|
1360
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1361
|
+
path: _path + ".readOnly",
|
|
1362
|
+
expected: "(boolean | undefined)",
|
|
1363
|
+
value: input.readOnly
|
|
1364
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
1301
1365
|
path: _path + ".type",
|
|
1302
1366
|
expected: "undefined",
|
|
1303
1367
|
value: input.type
|
|
@@ -1321,7 +1385,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1321
1385
|
path: _path + ".deprecated",
|
|
1322
1386
|
expected: "(boolean | undefined)",
|
|
1323
1387
|
value: input.deprecated
|
|
1324
|
-
}), true
|
|
1388
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1389
|
+
path: _path + ".readOnly",
|
|
1390
|
+
expected: "(boolean | undefined)",
|
|
1391
|
+
value: input.readOnly
|
|
1392
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1325
1393
|
const value = input[key];
|
|
1326
1394
|
if (undefined === value)
|
|
1327
1395
|
return true;
|
|
@@ -1366,7 +1434,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1366
1434
|
path: _path + ".deprecated",
|
|
1367
1435
|
expected: "(boolean | undefined)",
|
|
1368
1436
|
value: input.deprecated
|
|
1369
|
-
}), true, undefined === input
|
|
1437
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1438
|
+
path: _path + ".readOnly",
|
|
1439
|
+
expected: "(boolean | undefined)",
|
|
1440
|
+
value: input.readOnly
|
|
1441
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1442
|
+
path: _path + ".writeOnly",
|
|
1443
|
+
expected: "(boolean | undefined)",
|
|
1444
|
+
value: input.writeOnly
|
|
1445
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1370
1446
|
path: _path + "[\"x-nullable\"]",
|
|
1371
1447
|
expected: "(boolean | undefined)",
|
|
1372
1448
|
value: input["x-nullable"]
|
|
@@ -1454,7 +1530,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1454
1530
|
path: _path + ".deprecated",
|
|
1455
1531
|
expected: "(boolean | undefined)",
|
|
1456
1532
|
value: input.deprecated
|
|
1457
|
-
}), true, undefined === input
|
|
1533
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1534
|
+
path: _path + ".readOnly",
|
|
1535
|
+
expected: "(boolean | undefined)",
|
|
1536
|
+
value: input.readOnly
|
|
1537
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1538
|
+
path: _path + ".writeOnly",
|
|
1539
|
+
expected: "(boolean | undefined)",
|
|
1540
|
+
value: input.writeOnly
|
|
1541
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1458
1542
|
path: _path + "[\"x-nullable\"]",
|
|
1459
1543
|
expected: "(boolean | undefined)",
|
|
1460
1544
|
value: input["x-nullable"]
|
|
@@ -1526,7 +1610,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1526
1610
|
path: _path + ".deprecated",
|
|
1527
1611
|
expected: "(boolean | undefined)",
|
|
1528
1612
|
value: input.deprecated
|
|
1529
|
-
}), true, undefined === input
|
|
1613
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1614
|
+
path: _path + ".readOnly",
|
|
1615
|
+
expected: "(boolean | undefined)",
|
|
1616
|
+
value: input.readOnly
|
|
1617
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1618
|
+
path: _path + ".writeOnly",
|
|
1619
|
+
expected: "(boolean | undefined)",
|
|
1620
|
+
value: input.writeOnly
|
|
1621
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1530
1622
|
path: _path + "[\"x-nullable\"]",
|
|
1531
1623
|
expected: "(boolean | undefined)",
|
|
1532
1624
|
value: input["x-nullable"]
|
|
@@ -1598,7 +1690,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1598
1690
|
path: _path + ".deprecated",
|
|
1599
1691
|
expected: "(boolean | undefined)",
|
|
1600
1692
|
value: input.deprecated
|
|
1601
|
-
}), true, undefined === input
|
|
1693
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1694
|
+
path: _path + ".readOnly",
|
|
1695
|
+
expected: "(boolean | undefined)",
|
|
1696
|
+
value: input.readOnly
|
|
1697
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1698
|
+
path: _path + ".writeOnly",
|
|
1699
|
+
expected: "(boolean | undefined)",
|
|
1700
|
+
value: input.writeOnly
|
|
1701
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1602
1702
|
path: _path + "[\"x-nullable\"]",
|
|
1603
1703
|
expected: "(boolean | undefined)",
|
|
1604
1704
|
value: input["x-nullable"]
|
|
@@ -1658,7 +1758,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1658
1758
|
path: _path + ".deprecated",
|
|
1659
1759
|
expected: "(boolean | undefined)",
|
|
1660
1760
|
value: input.deprecated
|
|
1661
|
-
}), true, undefined === input
|
|
1761
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1762
|
+
path: _path + ".readOnly",
|
|
1763
|
+
expected: "(boolean | undefined)",
|
|
1764
|
+
value: input.readOnly
|
|
1765
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1766
|
+
path: _path + ".writeOnly",
|
|
1767
|
+
expected: "(boolean | undefined)",
|
|
1768
|
+
value: input.writeOnly
|
|
1769
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1662
1770
|
path: _path + "[\"x-nullable\"]",
|
|
1663
1771
|
expected: "(boolean | undefined)",
|
|
1664
1772
|
value: input["x-nullable"]
|
|
@@ -1730,7 +1838,15 @@ function validateHttpLlmApplication(props) {
|
|
|
1730
1838
|
path: _path + ".deprecated",
|
|
1731
1839
|
expected: "(boolean | undefined)",
|
|
1732
1840
|
value: input.deprecated
|
|
1733
|
-
}), true, undefined === input
|
|
1841
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1842
|
+
path: _path + ".readOnly",
|
|
1843
|
+
expected: "(boolean | undefined)",
|
|
1844
|
+
value: input.readOnly
|
|
1845
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1846
|
+
path: _path + ".writeOnly",
|
|
1847
|
+
expected: "(boolean | undefined)",
|
|
1848
|
+
value: input.writeOnly
|
|
1849
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1734
1850
|
path: _path + "[\"x-nullable\"]",
|
|
1735
1851
|
expected: "(boolean | undefined)",
|
|
1736
1852
|
value: input["x-nullable"]
|
|
@@ -1766,7 +1882,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1766
1882
|
path: _path + ".deprecated",
|
|
1767
1883
|
expected: "(boolean | undefined)",
|
|
1768
1884
|
value: input.deprecated
|
|
1769
|
-
}), true, "
|
|
1885
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1886
|
+
path: _path + ".readOnly",
|
|
1887
|
+
expected: "(boolean | undefined)",
|
|
1888
|
+
value: input.readOnly
|
|
1889
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1770
1890
|
path: _path + ".name",
|
|
1771
1891
|
expected: "string",
|
|
1772
1892
|
value: input.name
|
|
@@ -1806,7 +1926,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1806
1926
|
path: _path + ".deprecated",
|
|
1807
1927
|
expected: "(boolean | undefined)",
|
|
1808
1928
|
value: input.deprecated
|
|
1809
|
-
}), true, "
|
|
1929
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1930
|
+
path: _path + ".readOnly",
|
|
1931
|
+
expected: "(boolean | undefined)",
|
|
1932
|
+
value: input.readOnly
|
|
1933
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1810
1934
|
path: _path + ".name",
|
|
1811
1935
|
expected: "string",
|
|
1812
1936
|
value: input.name
|
|
@@ -1846,7 +1970,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1846
1970
|
path: _path + ".deprecated",
|
|
1847
1971
|
expected: "(boolean | undefined)",
|
|
1848
1972
|
value: input.deprecated
|
|
1849
|
-
}), true, "
|
|
1973
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1974
|
+
path: _path + ".readOnly",
|
|
1975
|
+
expected: "(boolean | undefined)",
|
|
1976
|
+
value: input.readOnly
|
|
1977
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1850
1978
|
path: _path + ".name",
|
|
1851
1979
|
expected: "string",
|
|
1852
1980
|
value: input.name
|
|
@@ -1878,7 +2006,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1878
2006
|
path: _path + ".deprecated",
|
|
1879
2007
|
expected: "(boolean | undefined)",
|
|
1880
2008
|
value: input.deprecated
|
|
1881
|
-
}), true, "
|
|
2009
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2010
|
+
path: _path + ".readOnly",
|
|
2011
|
+
expected: "(boolean | undefined)",
|
|
2012
|
+
value: input.readOnly
|
|
2013
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1882
2014
|
path: _path + ".name",
|
|
1883
2015
|
expected: "string",
|
|
1884
2016
|
value: input.name
|
|
@@ -1910,7 +2042,11 @@ function validateHttpLlmApplication(props) {
|
|
|
1910
2042
|
path: _path + ".deprecated",
|
|
1911
2043
|
expected: "(boolean | undefined)",
|
|
1912
2044
|
value: input.deprecated
|
|
1913
|
-
}), true, "
|
|
2045
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2046
|
+
path: _path + ".readOnly",
|
|
2047
|
+
expected: "(boolean | undefined)",
|
|
2048
|
+
value: input.readOnly
|
|
2049
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1914
2050
|
path: _path + ".name",
|
|
1915
2051
|
expected: "string",
|
|
1916
2052
|
value: input.name
|
|
@@ -2255,7 +2391,11 @@ function validateHttpLlmApplication(props) {
|
|
|
2255
2391
|
path: _path + ".deprecated",
|
|
2256
2392
|
expected: "(boolean | undefined)",
|
|
2257
2393
|
value: input.deprecated
|
|
2258
|
-
}), true
|
|
2394
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2395
|
+
path: _path + ".readOnly",
|
|
2396
|
+
expected: "(boolean | undefined)",
|
|
2397
|
+
value: input.readOnly
|
|
2398
|
+
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
2259
2399
|
path: _path + ".operationId",
|
|
2260
2400
|
expected: "(string | undefined)",
|
|
2261
2401
|
value: input.operationId
|
|
@@ -2343,7 +2483,11 @@ function validateHttpLlmApplication(props) {
|
|
|
2343
2483
|
path: _path + ".deprecated",
|
|
2344
2484
|
expected: "(boolean | undefined)",
|
|
2345
2485
|
value: input.deprecated
|
|
2346
|
-
}), true
|
|
2486
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2487
|
+
path: _path + ".readOnly",
|
|
2488
|
+
expected: "(boolean | undefined)",
|
|
2489
|
+
value: input.readOnly
|
|
2490
|
+
})].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2347
2491
|
const value = input[key];
|
|
2348
2492
|
if (undefined === value)
|
|
2349
2493
|
return true;
|
|
@@ -2376,7 +2520,11 @@ function validateHttpLlmApplication(props) {
|
|
|
2376
2520
|
path: _path + ".deprecated",
|
|
2377
2521
|
expected: "(boolean | undefined)",
|
|
2378
2522
|
value: input.deprecated
|
|
2379
|
-
}), true
|
|
2523
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2524
|
+
path: _path + ".readOnly",
|
|
2525
|
+
expected: "(boolean | undefined)",
|
|
2526
|
+
value: input.readOnly
|
|
2527
|
+
})].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
2380
2528
|
path: _path + ".name",
|
|
2381
2529
|
expected: "string",
|
|
2382
2530
|
value: input.name
|
|
@@ -2674,7 +2822,15 @@ function validateHttpLlmApplication(props) {
|
|
|
2674
2822
|
path: _path + ".deprecated",
|
|
2675
2823
|
expected: "(boolean | undefined)",
|
|
2676
2824
|
value: input.deprecated
|
|
2677
|
-
}), true,
|
|
2825
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2826
|
+
path: _path + ".readOnly",
|
|
2827
|
+
expected: "(boolean | undefined)",
|
|
2828
|
+
value: input.readOnly
|
|
2829
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
2830
|
+
path: _path + ".writeOnly",
|
|
2831
|
+
expected: "(boolean | undefined)",
|
|
2832
|
+
value: input.writeOnly
|
|
2833
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2678
2834
|
path: _path + ".examples",
|
|
2679
2835
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2680
2836
|
value: input.examples
|
|
@@ -2767,7 +2923,15 @@ function validateHttpLlmApplication(props) {
|
|
|
2767
2923
|
path: _path + ".deprecated",
|
|
2768
2924
|
expected: "(boolean | undefined)",
|
|
2769
2925
|
value: input.deprecated
|
|
2770
|
-
}), true,
|
|
2926
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2927
|
+
path: _path + ".readOnly",
|
|
2928
|
+
expected: "(boolean | undefined)",
|
|
2929
|
+
value: input.readOnly
|
|
2930
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
2931
|
+
path: _path + ".writeOnly",
|
|
2932
|
+
expected: "(boolean | undefined)",
|
|
2933
|
+
value: input.writeOnly
|
|
2934
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2771
2935
|
path: _path + ".examples",
|
|
2772
2936
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2773
2937
|
value: input.examples
|
|
@@ -2839,7 +3003,15 @@ function validateHttpLlmApplication(props) {
|
|
|
2839
3003
|
path: _path + ".deprecated",
|
|
2840
3004
|
expected: "(boolean | undefined)",
|
|
2841
3005
|
value: input.deprecated
|
|
2842
|
-
}), true,
|
|
3006
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3007
|
+
path: _path + ".readOnly",
|
|
3008
|
+
expected: "(boolean | undefined)",
|
|
3009
|
+
value: input.readOnly
|
|
3010
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3011
|
+
path: _path + ".writeOnly",
|
|
3012
|
+
expected: "(boolean | undefined)",
|
|
3013
|
+
value: input.writeOnly
|
|
3014
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2843
3015
|
path: _path + ".examples",
|
|
2844
3016
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2845
3017
|
value: input.examples
|
|
@@ -2911,7 +3083,15 @@ function validateHttpLlmApplication(props) {
|
|
|
2911
3083
|
path: _path + ".deprecated",
|
|
2912
3084
|
expected: "(boolean | undefined)",
|
|
2913
3085
|
value: input.deprecated
|
|
2914
|
-
}), true,
|
|
3086
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3087
|
+
path: _path + ".readOnly",
|
|
3088
|
+
expected: "(boolean | undefined)",
|
|
3089
|
+
value: input.readOnly
|
|
3090
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3091
|
+
path: _path + ".writeOnly",
|
|
3092
|
+
expected: "(boolean | undefined)",
|
|
3093
|
+
value: input.writeOnly
|
|
3094
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2915
3095
|
path: _path + ".examples",
|
|
2916
3096
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2917
3097
|
value: input.examples
|
|
@@ -2971,7 +3151,15 @@ function validateHttpLlmApplication(props) {
|
|
|
2971
3151
|
path: _path + ".deprecated",
|
|
2972
3152
|
expected: "(boolean | undefined)",
|
|
2973
3153
|
value: input.deprecated
|
|
2974
|
-
}), true,
|
|
3154
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3155
|
+
path: _path + ".readOnly",
|
|
3156
|
+
expected: "(boolean | undefined)",
|
|
3157
|
+
value: input.readOnly
|
|
3158
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3159
|
+
path: _path + ".writeOnly",
|
|
3160
|
+
expected: "(boolean | undefined)",
|
|
3161
|
+
value: input.writeOnly
|
|
3162
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2975
3163
|
path: _path + ".examples",
|
|
2976
3164
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2977
3165
|
value: input.examples
|
|
@@ -3043,7 +3231,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3043
3231
|
path: _path + ".deprecated",
|
|
3044
3232
|
expected: "(boolean | undefined)",
|
|
3045
3233
|
value: input.deprecated
|
|
3046
|
-
}), true,
|
|
3234
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3235
|
+
path: _path + ".readOnly",
|
|
3236
|
+
expected: "(boolean | undefined)",
|
|
3237
|
+
value: input.readOnly
|
|
3238
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3239
|
+
path: _path + ".writeOnly",
|
|
3240
|
+
expected: "(boolean | undefined)",
|
|
3241
|
+
value: input.writeOnly
|
|
3242
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
3047
3243
|
path: _path + ".examples",
|
|
3048
3244
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3049
3245
|
value: input.examples
|
|
@@ -3083,7 +3279,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3083
3279
|
path: _path + ".deprecated",
|
|
3084
3280
|
expected: "(boolean | undefined)",
|
|
3085
3281
|
value: input.deprecated
|
|
3086
|
-
}), true
|
|
3282
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3283
|
+
path: _path + ".readOnly",
|
|
3284
|
+
expected: "(boolean | undefined)",
|
|
3285
|
+
value: input.readOnly
|
|
3286
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3287
|
+
path: _path + ".writeOnly",
|
|
3288
|
+
expected: "(boolean | undefined)",
|
|
3289
|
+
value: input.writeOnly
|
|
3290
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
3087
3291
|
path: _path + ".allOf",
|
|
3088
3292
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3089
3293
|
value: input.allOf
|
|
@@ -3123,7 +3327,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3123
3327
|
path: _path + ".deprecated",
|
|
3124
3328
|
expected: "(boolean | undefined)",
|
|
3125
3329
|
value: input.deprecated
|
|
3126
|
-
}), true
|
|
3330
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3331
|
+
path: _path + ".readOnly",
|
|
3332
|
+
expected: "(boolean | undefined)",
|
|
3333
|
+
value: input.readOnly
|
|
3334
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3335
|
+
path: _path + ".writeOnly",
|
|
3336
|
+
expected: "(boolean | undefined)",
|
|
3337
|
+
value: input.writeOnly
|
|
3338
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
3127
3339
|
path: _path + ".anyOf",
|
|
3128
3340
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3129
3341
|
value: input.anyOf
|
|
@@ -3163,7 +3375,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3163
3375
|
path: _path + ".deprecated",
|
|
3164
3376
|
expected: "(boolean | undefined)",
|
|
3165
3377
|
value: input.deprecated
|
|
3166
|
-
}), true
|
|
3378
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3379
|
+
path: _path + ".readOnly",
|
|
3380
|
+
expected: "(boolean | undefined)",
|
|
3381
|
+
value: input.readOnly
|
|
3382
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3383
|
+
path: _path + ".writeOnly",
|
|
3384
|
+
expected: "(boolean | undefined)",
|
|
3385
|
+
value: input.writeOnly
|
|
3386
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
3167
3387
|
path: _path + ".oneOf",
|
|
3168
3388
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3169
3389
|
value: input.oneOf
|
|
@@ -3211,7 +3431,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3211
3431
|
path: _path + ".deprecated",
|
|
3212
3432
|
expected: "(boolean | undefined)",
|
|
3213
3433
|
value: input.deprecated
|
|
3214
|
-
}), true
|
|
3434
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3435
|
+
path: _path + ".readOnly",
|
|
3436
|
+
expected: "(boolean | undefined)",
|
|
3437
|
+
value: input.readOnly
|
|
3438
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3439
|
+
path: _path + ".writeOnly",
|
|
3440
|
+
expected: "(boolean | undefined)",
|
|
3441
|
+
value: input.writeOnly
|
|
3442
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
3215
3443
|
path: _path + ".propertyName",
|
|
3216
3444
|
expected: "string",
|
|
3217
3445
|
value: input.propertyName
|
|
@@ -3243,7 +3471,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3243
3471
|
path: _path + ".deprecated",
|
|
3244
3472
|
expected: "(boolean | undefined)",
|
|
3245
3473
|
value: input.deprecated
|
|
3246
|
-
}), true,
|
|
3474
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3475
|
+
path: _path + ".readOnly",
|
|
3476
|
+
expected: "(boolean | undefined)",
|
|
3477
|
+
value: input.readOnly
|
|
3478
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3479
|
+
path: _path + ".writeOnly",
|
|
3480
|
+
expected: "(boolean | undefined)",
|
|
3481
|
+
value: input.writeOnly
|
|
3482
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
3247
3483
|
path: _path + ".examples",
|
|
3248
3484
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3249
3485
|
value: input.examples
|
|
@@ -3275,7 +3511,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3275
3511
|
path: _path + ".deprecated",
|
|
3276
3512
|
expected: "(boolean | undefined)",
|
|
3277
3513
|
value: input.deprecated
|
|
3278
|
-
}), true,
|
|
3514
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3515
|
+
path: _path + ".readOnly",
|
|
3516
|
+
expected: "(boolean | undefined)",
|
|
3517
|
+
value: input.readOnly
|
|
3518
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3519
|
+
path: _path + ".writeOnly",
|
|
3520
|
+
expected: "(boolean | undefined)",
|
|
3521
|
+
value: input.writeOnly
|
|
3522
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
3279
3523
|
path: _path + ".examples",
|
|
3280
3524
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3281
3525
|
value: input.examples
|
|
@@ -3402,7 +3646,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3402
3646
|
path: _path + ".deprecated",
|
|
3403
3647
|
expected: "(boolean | undefined)",
|
|
3404
3648
|
value: input.deprecated
|
|
3405
|
-
}), true
|
|
3649
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3650
|
+
path: _path + ".readOnly",
|
|
3651
|
+
expected: "(boolean | undefined)",
|
|
3652
|
+
value: input.readOnly
|
|
3653
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3654
|
+
path: _path + ".writeOnly",
|
|
3655
|
+
expected: "(boolean | undefined)",
|
|
3656
|
+
value: input.writeOnly
|
|
3657
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3406
3658
|
const value = input[key];
|
|
3407
3659
|
if (undefined === value)
|
|
3408
3660
|
return true;
|
|
@@ -3471,7 +3723,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3471
3723
|
path: _path + ".deprecated",
|
|
3472
3724
|
expected: "(boolean | undefined)",
|
|
3473
3725
|
value: input.deprecated
|
|
3474
|
-
}), true
|
|
3726
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3727
|
+
path: _path + ".readOnly",
|
|
3728
|
+
expected: "(boolean | undefined)",
|
|
3729
|
+
value: input.readOnly
|
|
3730
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3731
|
+
path: _path + ".writeOnly",
|
|
3732
|
+
expected: "(boolean | undefined)",
|
|
3733
|
+
value: input.writeOnly
|
|
3734
|
+
})].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3475
3735
|
const value = input[key];
|
|
3476
3736
|
if (undefined === value)
|
|
3477
3737
|
return true;
|
|
@@ -3885,7 +4145,15 @@ function validateHttpLlmApplication(props) {
|
|
|
3885
4145
|
path: _path + ".deprecated",
|
|
3886
4146
|
expected: "(boolean | undefined)",
|
|
3887
4147
|
value: input.deprecated
|
|
3888
|
-
}), true
|
|
4148
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4149
|
+
path: _path + ".readOnly",
|
|
4150
|
+
expected: "(boolean | undefined)",
|
|
4151
|
+
value: input.readOnly
|
|
4152
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4153
|
+
path: _path + ".writeOnly",
|
|
4154
|
+
expected: "(boolean | undefined)",
|
|
4155
|
+
value: input.writeOnly
|
|
4156
|
+
})].every(flag => flag); const _vo100 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
3889
4157
|
path: _path + ".operationId",
|
|
3890
4158
|
expected: "(string | undefined)",
|
|
3891
4159
|
value: input.operationId
|
|
@@ -4005,7 +4273,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4005
4273
|
path: _path + ".deprecated",
|
|
4006
4274
|
expected: "(boolean | undefined)",
|
|
4007
4275
|
value: input.deprecated
|
|
4008
|
-
}), true
|
|
4276
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4277
|
+
path: _path + ".readOnly",
|
|
4278
|
+
expected: "(boolean | undefined)",
|
|
4279
|
+
value: input.readOnly
|
|
4280
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4281
|
+
path: _path + ".writeOnly",
|
|
4282
|
+
expected: "(boolean | undefined)",
|
|
4283
|
+
value: input.writeOnly
|
|
4284
|
+
})].every(flag => flag); const _vo102 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4009
4285
|
const value = input[key];
|
|
4010
4286
|
if (undefined === value)
|
|
4011
4287
|
return true;
|
|
@@ -4046,7 +4322,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4046
4322
|
path: _path + ".deprecated",
|
|
4047
4323
|
expected: "(boolean | undefined)",
|
|
4048
4324
|
value: input.deprecated
|
|
4049
|
-
}), true
|
|
4325
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4326
|
+
path: _path + ".readOnly",
|
|
4327
|
+
expected: "(boolean | undefined)",
|
|
4328
|
+
value: input.readOnly
|
|
4329
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4330
|
+
path: _path + ".writeOnly",
|
|
4331
|
+
expected: "(boolean | undefined)",
|
|
4332
|
+
value: input.writeOnly
|
|
4333
|
+
})].every(flag => flag); const _vo104 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
4050
4334
|
path: _path + ".name",
|
|
4051
4335
|
expected: "string",
|
|
4052
4336
|
value: input.name
|
|
@@ -4388,7 +4672,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4388
4672
|
path: _path + ".deprecated",
|
|
4389
4673
|
expected: "(boolean | undefined)",
|
|
4390
4674
|
value: input.deprecated
|
|
4391
|
-
}), true,
|
|
4675
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4676
|
+
path: _path + ".readOnly",
|
|
4677
|
+
expected: "(boolean | undefined)",
|
|
4678
|
+
value: input.readOnly
|
|
4679
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4680
|
+
path: _path + ".writeOnly",
|
|
4681
|
+
expected: "(boolean | undefined)",
|
|
4682
|
+
value: input.writeOnly
|
|
4683
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4392
4684
|
path: _path + ".examples",
|
|
4393
4685
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4394
4686
|
value: input.examples
|
|
@@ -4452,7 +4744,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4452
4744
|
path: _path + ".deprecated",
|
|
4453
4745
|
expected: "(boolean | undefined)",
|
|
4454
4746
|
value: input.deprecated
|
|
4455
|
-
}), true, undefined === input.
|
|
4747
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4748
|
+
path: _path + ".readOnly",
|
|
4749
|
+
expected: "(boolean | undefined)",
|
|
4750
|
+
value: input.readOnly
|
|
4751
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4752
|
+
path: _path + ".writeOnly",
|
|
4753
|
+
expected: "(boolean | undefined)",
|
|
4754
|
+
value: input.writeOnly
|
|
4755
|
+
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
|
4456
4756
|
path: _path + ".minimum",
|
|
4457
4757
|
expected: "(number | undefined)",
|
|
4458
4758
|
value: input.minimum
|
|
@@ -4480,14 +4780,6 @@ function validateHttpLlmApplication(props) {
|
|
|
4480
4780
|
path: _path + ".format",
|
|
4481
4781
|
expected: "(string | undefined)",
|
|
4482
4782
|
value: input.format
|
|
4483
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
4484
|
-
path: _path + ".maxLength",
|
|
4485
|
-
expected: "number & Type<\"uint64\">",
|
|
4486
|
-
value: input.maxLength
|
|
4487
|
-
})) || _report(_exceptionable, {
|
|
4488
|
-
path: _path + ".maxLength",
|
|
4489
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
4490
|
-
value: input.maxLength
|
|
4491
4783
|
}), undefined === input.pattern || "string" === typeof input.pattern || _report(_exceptionable, {
|
|
4492
4784
|
path: _path + ".pattern",
|
|
4493
4785
|
expected: "(string | undefined)",
|
|
@@ -4504,6 +4796,14 @@ function validateHttpLlmApplication(props) {
|
|
|
4504
4796
|
path: _path + ".minLength",
|
|
4505
4797
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
4506
4798
|
value: input.minLength
|
|
4799
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
4800
|
+
path: _path + ".maxLength",
|
|
4801
|
+
expected: "number & Type<\"uint64\">",
|
|
4802
|
+
value: input.maxLength
|
|
4803
|
+
})) || _report(_exceptionable, {
|
|
4804
|
+
path: _path + ".maxLength",
|
|
4805
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
4806
|
+
value: input.maxLength
|
|
4507
4807
|
}), (null !== input.items || _report(_exceptionable, {
|
|
4508
4808
|
path: _path + ".items",
|
|
4509
4809
|
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)",
|
|
@@ -4704,7 +5004,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4704
5004
|
path: _path + ".deprecated",
|
|
4705
5005
|
expected: "(boolean | undefined)",
|
|
4706
5006
|
value: input.deprecated
|
|
4707
|
-
}), true
|
|
5007
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5008
|
+
path: _path + ".readOnly",
|
|
5009
|
+
expected: "(boolean | undefined)",
|
|
5010
|
+
value: input.readOnly
|
|
5011
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5012
|
+
path: _path + ".writeOnly",
|
|
5013
|
+
expected: "(boolean | undefined)",
|
|
5014
|
+
value: input.writeOnly
|
|
5015
|
+
})].every(flag => flag); const _vo117 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4708
5016
|
path: _path + ".nullable",
|
|
4709
5017
|
expected: "(boolean | undefined)",
|
|
4710
5018
|
value: input.nullable
|
|
@@ -4740,7 +5048,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4740
5048
|
path: _path + ".deprecated",
|
|
4741
5049
|
expected: "(boolean | undefined)",
|
|
4742
5050
|
value: input.deprecated
|
|
4743
|
-
}), true,
|
|
5051
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5052
|
+
path: _path + ".readOnly",
|
|
5053
|
+
expected: "(boolean | undefined)",
|
|
5054
|
+
value: input.readOnly
|
|
5055
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5056
|
+
path: _path + ".writeOnly",
|
|
5057
|
+
expected: "(boolean | undefined)",
|
|
5058
|
+
value: input.writeOnly
|
|
5059
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4744
5060
|
path: _path + ".examples",
|
|
4745
5061
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4746
5062
|
value: input.examples
|
|
@@ -4836,7 +5152,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4836
5152
|
path: _path + ".deprecated",
|
|
4837
5153
|
expected: "(boolean | undefined)",
|
|
4838
5154
|
value: input.deprecated
|
|
4839
|
-
}), true,
|
|
5155
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5156
|
+
path: _path + ".readOnly",
|
|
5157
|
+
expected: "(boolean | undefined)",
|
|
5158
|
+
value: input.readOnly
|
|
5159
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5160
|
+
path: _path + ".writeOnly",
|
|
5161
|
+
expected: "(boolean | undefined)",
|
|
5162
|
+
value: input.writeOnly
|
|
5163
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4840
5164
|
path: _path + ".examples",
|
|
4841
5165
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4842
5166
|
value: input.examples
|
|
@@ -4908,7 +5232,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4908
5232
|
path: _path + ".deprecated",
|
|
4909
5233
|
expected: "(boolean | undefined)",
|
|
4910
5234
|
value: input.deprecated
|
|
4911
|
-
}), true,
|
|
5235
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5236
|
+
path: _path + ".readOnly",
|
|
5237
|
+
expected: "(boolean | undefined)",
|
|
5238
|
+
value: input.readOnly
|
|
5239
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5240
|
+
path: _path + ".writeOnly",
|
|
5241
|
+
expected: "(boolean | undefined)",
|
|
5242
|
+
value: input.writeOnly
|
|
5243
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4912
5244
|
path: _path + ".examples",
|
|
4913
5245
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4914
5246
|
value: input.examples
|
|
@@ -4984,7 +5316,15 @@ function validateHttpLlmApplication(props) {
|
|
|
4984
5316
|
path: _path + ".deprecated",
|
|
4985
5317
|
expected: "(boolean | undefined)",
|
|
4986
5318
|
value: input.deprecated
|
|
4987
|
-
}), true,
|
|
5319
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5320
|
+
path: _path + ".readOnly",
|
|
5321
|
+
expected: "(boolean | undefined)",
|
|
5322
|
+
value: input.readOnly
|
|
5323
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5324
|
+
path: _path + ".writeOnly",
|
|
5325
|
+
expected: "(boolean | undefined)",
|
|
5326
|
+
value: input.writeOnly
|
|
5327
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4988
5328
|
path: _path + ".examples",
|
|
4989
5329
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4990
5330
|
value: input.examples
|
|
@@ -5084,7 +5424,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5084
5424
|
path: _path + ".deprecated",
|
|
5085
5425
|
expected: "(boolean | undefined)",
|
|
5086
5426
|
value: input.deprecated
|
|
5087
|
-
}), true,
|
|
5427
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5428
|
+
path: _path + ".readOnly",
|
|
5429
|
+
expected: "(boolean | undefined)",
|
|
5430
|
+
value: input.readOnly
|
|
5431
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5432
|
+
path: _path + ".writeOnly",
|
|
5433
|
+
expected: "(boolean | undefined)",
|
|
5434
|
+
value: input.writeOnly
|
|
5435
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
5088
5436
|
path: _path + ".examples",
|
|
5089
5437
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5090
5438
|
value: input.examples
|
|
@@ -5124,7 +5472,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5124
5472
|
path: _path + ".deprecated",
|
|
5125
5473
|
expected: "(boolean | undefined)",
|
|
5126
5474
|
value: input.deprecated
|
|
5127
|
-
}), true
|
|
5475
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5476
|
+
path: _path + ".readOnly",
|
|
5477
|
+
expected: "(boolean | undefined)",
|
|
5478
|
+
value: input.readOnly
|
|
5479
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5480
|
+
path: _path + ".writeOnly",
|
|
5481
|
+
expected: "(boolean | undefined)",
|
|
5482
|
+
value: input.writeOnly
|
|
5483
|
+
})].every(flag => flag); const _vo123 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
|
5128
5484
|
path: _path + ".$recursiveRef",
|
|
5129
5485
|
expected: "string",
|
|
5130
5486
|
value: input.$recursiveRef
|
|
@@ -5152,7 +5508,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5152
5508
|
path: _path + ".deprecated",
|
|
5153
5509
|
expected: "(boolean | undefined)",
|
|
5154
5510
|
value: input.deprecated
|
|
5155
|
-
}), true
|
|
5511
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5512
|
+
path: _path + ".readOnly",
|
|
5513
|
+
expected: "(boolean | undefined)",
|
|
5514
|
+
value: input.readOnly
|
|
5515
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5516
|
+
path: _path + ".writeOnly",
|
|
5517
|
+
expected: "(boolean | undefined)",
|
|
5518
|
+
value: input.writeOnly
|
|
5519
|
+
})].every(flag => flag); const _vo124 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
5156
5520
|
path: _path + ".allOf",
|
|
5157
5521
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5158
5522
|
value: input.allOf
|
|
@@ -5192,7 +5556,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5192
5556
|
path: _path + ".deprecated",
|
|
5193
5557
|
expected: "(boolean | undefined)",
|
|
5194
5558
|
value: input.deprecated
|
|
5195
|
-
}), true
|
|
5559
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5560
|
+
path: _path + ".readOnly",
|
|
5561
|
+
expected: "(boolean | undefined)",
|
|
5562
|
+
value: input.readOnly
|
|
5563
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5564
|
+
path: _path + ".writeOnly",
|
|
5565
|
+
expected: "(boolean | undefined)",
|
|
5566
|
+
value: input.writeOnly
|
|
5567
|
+
})].every(flag => flag); const _vo125 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
5196
5568
|
path: _path + ".anyOf",
|
|
5197
5569
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5198
5570
|
value: input.anyOf
|
|
@@ -5232,7 +5604,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5232
5604
|
path: _path + ".deprecated",
|
|
5233
5605
|
expected: "(boolean | undefined)",
|
|
5234
5606
|
value: input.deprecated
|
|
5235
|
-
}), true
|
|
5607
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5608
|
+
path: _path + ".readOnly",
|
|
5609
|
+
expected: "(boolean | undefined)",
|
|
5610
|
+
value: input.readOnly
|
|
5611
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5612
|
+
path: _path + ".writeOnly",
|
|
5613
|
+
expected: "(boolean | undefined)",
|
|
5614
|
+
value: input.writeOnly
|
|
5615
|
+
})].every(flag => flag); const _vo126 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
5236
5616
|
path: _path + ".oneOf",
|
|
5237
5617
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5238
5618
|
value: input.oneOf
|
|
@@ -5280,7 +5660,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5280
5660
|
path: _path + ".deprecated",
|
|
5281
5661
|
expected: "(boolean | undefined)",
|
|
5282
5662
|
value: input.deprecated
|
|
5283
|
-
}), true
|
|
5663
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5664
|
+
path: _path + ".readOnly",
|
|
5665
|
+
expected: "(boolean | undefined)",
|
|
5666
|
+
value: input.readOnly
|
|
5667
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5668
|
+
path: _path + ".writeOnly",
|
|
5669
|
+
expected: "(boolean | undefined)",
|
|
5670
|
+
value: input.writeOnly
|
|
5671
|
+
})].every(flag => flag); const _vo127 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
5284
5672
|
path: _path + ".propertyName",
|
|
5285
5673
|
expected: "string",
|
|
5286
5674
|
value: input.propertyName
|
|
@@ -5312,7 +5700,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5312
5700
|
path: _path + ".deprecated",
|
|
5313
5701
|
expected: "(boolean | undefined)",
|
|
5314
5702
|
value: input.deprecated
|
|
5315
|
-
}), true,
|
|
5703
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5704
|
+
path: _path + ".readOnly",
|
|
5705
|
+
expected: "(boolean | undefined)",
|
|
5706
|
+
value: input.readOnly
|
|
5707
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5708
|
+
path: _path + ".writeOnly",
|
|
5709
|
+
expected: "(boolean | undefined)",
|
|
5710
|
+
value: input.writeOnly
|
|
5711
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
5316
5712
|
path: _path + ".examples",
|
|
5317
5713
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5318
5714
|
value: input.examples
|
|
@@ -5344,7 +5740,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5344
5740
|
path: _path + ".deprecated",
|
|
5345
5741
|
expected: "(boolean | undefined)",
|
|
5346
5742
|
value: input.deprecated
|
|
5347
|
-
}), true,
|
|
5743
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5744
|
+
path: _path + ".readOnly",
|
|
5745
|
+
expected: "(boolean | undefined)",
|
|
5746
|
+
value: input.readOnly
|
|
5747
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5748
|
+
path: _path + ".writeOnly",
|
|
5749
|
+
expected: "(boolean | undefined)",
|
|
5750
|
+
value: input.writeOnly
|
|
5751
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
5348
5752
|
path: _path + ".examples",
|
|
5349
5753
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5350
5754
|
value: input.examples
|
|
@@ -5558,7 +5962,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5558
5962
|
path: _path + ".deprecated",
|
|
5559
5963
|
expected: "(boolean | undefined)",
|
|
5560
5964
|
value: input.deprecated
|
|
5561
|
-
}), true
|
|
5965
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5966
|
+
path: _path + ".readOnly",
|
|
5967
|
+
expected: "(boolean | undefined)",
|
|
5968
|
+
value: input.readOnly
|
|
5969
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5970
|
+
path: _path + ".writeOnly",
|
|
5971
|
+
expected: "(boolean | undefined)",
|
|
5972
|
+
value: input.writeOnly
|
|
5973
|
+
})].every(flag => flag); const _vo136 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5562
5974
|
path: _path + ".$ref",
|
|
5563
5975
|
expected: "`#/components/headers/${string}`",
|
|
5564
5976
|
value: input.$ref
|
|
@@ -5586,7 +5998,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5586
5998
|
path: _path + ".deprecated",
|
|
5587
5999
|
expected: "(boolean | undefined)",
|
|
5588
6000
|
value: input.deprecated
|
|
5589
|
-
}), true
|
|
6001
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6002
|
+
path: _path + ".readOnly",
|
|
6003
|
+
expected: "(boolean | undefined)",
|
|
6004
|
+
value: input.readOnly
|
|
6005
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6006
|
+
path: _path + ".writeOnly",
|
|
6007
|
+
expected: "(boolean | undefined)",
|
|
6008
|
+
value: input.writeOnly
|
|
6009
|
+
})].every(flag => flag); const _vo137 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5590
6010
|
path: _path + ".$ref",
|
|
5591
6011
|
expected: "`#/components/parameters/${string}`",
|
|
5592
6012
|
value: input.$ref
|
|
@@ -5614,7 +6034,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5614
6034
|
path: _path + ".deprecated",
|
|
5615
6035
|
expected: "(boolean | undefined)",
|
|
5616
6036
|
value: input.deprecated
|
|
5617
|
-
}), true
|
|
6037
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6038
|
+
path: _path + ".readOnly",
|
|
6039
|
+
expected: "(boolean | undefined)",
|
|
6040
|
+
value: input.readOnly
|
|
6041
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6042
|
+
path: _path + ".writeOnly",
|
|
6043
|
+
expected: "(boolean | undefined)",
|
|
6044
|
+
value: input.writeOnly
|
|
6045
|
+
})].every(flag => flag); const _vo138 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
5618
6046
|
path: _path + ".operationId",
|
|
5619
6047
|
expected: "(string | undefined)",
|
|
5620
6048
|
value: input.operationId
|
|
@@ -5779,7 +6207,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5779
6207
|
path: _path + ".deprecated",
|
|
5780
6208
|
expected: "(boolean | undefined)",
|
|
5781
6209
|
value: input.deprecated
|
|
5782
|
-
}), true
|
|
6210
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6211
|
+
path: _path + ".readOnly",
|
|
6212
|
+
expected: "(boolean | undefined)",
|
|
6213
|
+
value: input.readOnly
|
|
6214
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6215
|
+
path: _path + ".writeOnly",
|
|
6216
|
+
expected: "(boolean | undefined)",
|
|
6217
|
+
value: input.writeOnly
|
|
6218
|
+
})].every(flag => flag); const _vo143 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5783
6219
|
const value = input[key];
|
|
5784
6220
|
if (undefined === value)
|
|
5785
6221
|
return true;
|
|
@@ -5881,7 +6317,15 @@ function validateHttpLlmApplication(props) {
|
|
|
5881
6317
|
path: _path + ".deprecated",
|
|
5882
6318
|
expected: "(boolean | undefined)",
|
|
5883
6319
|
value: input.deprecated
|
|
5884
|
-
}), true
|
|
6320
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6321
|
+
path: _path + ".readOnly",
|
|
6322
|
+
expected: "(boolean | undefined)",
|
|
6323
|
+
value: input.readOnly
|
|
6324
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6325
|
+
path: _path + ".writeOnly",
|
|
6326
|
+
expected: "(boolean | undefined)",
|
|
6327
|
+
value: input.writeOnly
|
|
6328
|
+
})].every(flag => flag); const _vo148 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5885
6329
|
const value = input[key];
|
|
5886
6330
|
if (undefined === value)
|
|
5887
6331
|
return true;
|
|
@@ -6156,7 +6600,15 @@ function validateHttpLlmApplication(props) {
|
|
|
6156
6600
|
path: _path + ".deprecated",
|
|
6157
6601
|
expected: "(boolean | undefined)",
|
|
6158
6602
|
value: input.deprecated
|
|
6159
|
-
}), true
|
|
6603
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6604
|
+
path: _path + ".readOnly",
|
|
6605
|
+
expected: "(boolean | undefined)",
|
|
6606
|
+
value: input.readOnly
|
|
6607
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6608
|
+
path: _path + ".writeOnly",
|
|
6609
|
+
expected: "(boolean | undefined)",
|
|
6610
|
+
value: input.writeOnly
|
|
6611
|
+
})].every(flag => flag); const _vo165 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
6160
6612
|
path: _path + ".name",
|
|
6161
6613
|
expected: "string",
|
|
6162
6614
|
value: input.name
|
|
@@ -6418,6 +6870,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6418
6870
|
path: _path + ".examples",
|
|
6419
6871
|
expected: "(Record<string, any> | undefined)",
|
|
6420
6872
|
value: input.examples
|
|
6873
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6874
|
+
path: _path + ".readOnly",
|
|
6875
|
+
expected: "(boolean | undefined)",
|
|
6876
|
+
value: input.readOnly
|
|
6877
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6878
|
+
path: _path + ".writeOnly",
|
|
6879
|
+
expected: "(boolean | undefined)",
|
|
6880
|
+
value: input.writeOnly
|
|
6421
6881
|
})].every(flag => flag); const _vo176 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
6422
6882
|
path: _path + "[\"default\"]",
|
|
6423
6883
|
expected: "(boolean | undefined)",
|
|
@@ -6446,6 +6906,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6446
6906
|
path: _path + ".examples",
|
|
6447
6907
|
expected: "(Record<string, any> | undefined)",
|
|
6448
6908
|
value: input.examples
|
|
6909
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6910
|
+
path: _path + ".readOnly",
|
|
6911
|
+
expected: "(boolean | undefined)",
|
|
6912
|
+
value: input.readOnly
|
|
6913
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6914
|
+
path: _path + ".writeOnly",
|
|
6915
|
+
expected: "(boolean | undefined)",
|
|
6916
|
+
value: input.writeOnly
|
|
6449
6917
|
})].every(flag => flag); const _vo177 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000 || _report(_exceptionable, {
|
|
6450
6918
|
path: _path + "[\"default\"]",
|
|
6451
6919
|
expected: "number & Type<\"int64\">",
|
|
@@ -6514,6 +6982,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6514
6982
|
path: _path + ".examples",
|
|
6515
6983
|
expected: "(Record<string, any> | undefined)",
|
|
6516
6984
|
value: input.examples
|
|
6985
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6986
|
+
path: _path + ".readOnly",
|
|
6987
|
+
expected: "(boolean | undefined)",
|
|
6988
|
+
value: input.readOnly
|
|
6989
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6990
|
+
path: _path + ".writeOnly",
|
|
6991
|
+
expected: "(boolean | undefined)",
|
|
6992
|
+
value: input.writeOnly
|
|
6517
6993
|
})].every(flag => flag); const _vo178 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
6518
6994
|
path: _path + "[\"default\"]",
|
|
6519
6995
|
expected: "(number | undefined)",
|
|
@@ -6566,6 +7042,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6566
7042
|
path: _path + ".examples",
|
|
6567
7043
|
expected: "(Record<string, any> | undefined)",
|
|
6568
7044
|
value: input.examples
|
|
7045
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7046
|
+
path: _path + ".readOnly",
|
|
7047
|
+
expected: "(boolean | undefined)",
|
|
7048
|
+
value: input.readOnly
|
|
7049
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7050
|
+
path: _path + ".writeOnly",
|
|
7051
|
+
expected: "(boolean | undefined)",
|
|
7052
|
+
value: input.writeOnly
|
|
6569
7053
|
})].every(flag => flag); const _vo179 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
6570
7054
|
path: _path + "[\"default\"]",
|
|
6571
7055
|
expected: "(string | undefined)",
|
|
@@ -6622,6 +7106,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6622
7106
|
path: _path + ".examples",
|
|
6623
7107
|
expected: "(Record<string, any> | undefined)",
|
|
6624
7108
|
value: input.examples
|
|
7109
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7110
|
+
path: _path + ".readOnly",
|
|
7111
|
+
expected: "(boolean | undefined)",
|
|
7112
|
+
value: input.readOnly
|
|
7113
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7114
|
+
path: _path + ".writeOnly",
|
|
7115
|
+
expected: "(boolean | undefined)",
|
|
7116
|
+
value: input.writeOnly
|
|
6625
7117
|
})].every(flag => flag); const _vo180 = (input, _path, _exceptionable = true) => [("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
6626
7118
|
path: _path + ".items",
|
|
6627
7119
|
expected: "(OpenApi.IJsonSchema.IArray | OpenApi.IJsonSchema.IBoolean | OpenApi.IJsonSchema.IConstant | OpenApi.IJsonSchema.IInteger | OpenApi.IJsonSchema.INull | OpenApi.IJsonSchema.INumber | OpenApi.IJsonSchema.IObject | OpenApi.IJsonSchema.IOneOf | OpenApi.IJsonSchema.IReference<string> | OpenApi.IJsonSchema.IString | OpenApi.IJsonSchema.ITuple | OpenApi.IJsonSchema.IUnknown)",
|
|
@@ -6674,6 +7166,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6674
7166
|
path: _path + ".examples",
|
|
6675
7167
|
expected: "(Record<string, any> | undefined)",
|
|
6676
7168
|
value: input.examples
|
|
7169
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7170
|
+
path: _path + ".readOnly",
|
|
7171
|
+
expected: "(boolean | undefined)",
|
|
7172
|
+
value: input.readOnly
|
|
7173
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7174
|
+
path: _path + ".writeOnly",
|
|
7175
|
+
expected: "(boolean | undefined)",
|
|
7176
|
+
value: input.writeOnly
|
|
6677
7177
|
})].every(flag => flag); const _vo181 = (input, _path, _exceptionable = true) => ["array" === input.type || _report(_exceptionable, {
|
|
6678
7178
|
path: _path + ".type",
|
|
6679
7179
|
expected: "\"array\"",
|
|
@@ -6746,6 +7246,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6746
7246
|
path: _path + ".examples",
|
|
6747
7247
|
expected: "(Record<string, any> | undefined)",
|
|
6748
7248
|
value: input.examples
|
|
7249
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7250
|
+
path: _path + ".readOnly",
|
|
7251
|
+
expected: "(boolean | undefined)",
|
|
7252
|
+
value: input.readOnly
|
|
7253
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7254
|
+
path: _path + ".writeOnly",
|
|
7255
|
+
expected: "(boolean | undefined)",
|
|
7256
|
+
value: input.writeOnly
|
|
6749
7257
|
})].every(flag => flag); const _vo182 = (input, _path, _exceptionable = true) => [undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
|
6750
7258
|
path: _path + ".properties",
|
|
6751
7259
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
@@ -6802,6 +7310,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6802
7310
|
path: _path + ".examples",
|
|
6803
7311
|
expected: "(Record<string, any> | undefined)",
|
|
6804
7312
|
value: input.examples
|
|
7313
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7314
|
+
path: _path + ".readOnly",
|
|
7315
|
+
expected: "(boolean | undefined)",
|
|
7316
|
+
value: input.readOnly
|
|
7317
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7318
|
+
path: _path + ".writeOnly",
|
|
7319
|
+
expected: "(boolean | undefined)",
|
|
7320
|
+
value: input.writeOnly
|
|
6805
7321
|
})].every(flag => flag); const _vo183 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
6806
7322
|
path: _path + ".$ref",
|
|
6807
7323
|
expected: "string",
|
|
@@ -6826,6 +7342,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6826
7342
|
path: _path + ".examples",
|
|
6827
7343
|
expected: "(Record<string, any> | undefined)",
|
|
6828
7344
|
value: input.examples
|
|
7345
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7346
|
+
path: _path + ".readOnly",
|
|
7347
|
+
expected: "(boolean | undefined)",
|
|
7348
|
+
value: input.readOnly
|
|
7349
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7350
|
+
path: _path + ".writeOnly",
|
|
7351
|
+
expected: "(boolean | undefined)",
|
|
7352
|
+
value: input.writeOnly
|
|
6829
7353
|
})].every(flag => flag); const _vo184 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
6830
7354
|
path: _path + ".oneOf",
|
|
6831
7355
|
expected: "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
|
|
@@ -6870,6 +7394,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6870
7394
|
path: _path + ".examples",
|
|
6871
7395
|
expected: "(Record<string, any> | undefined)",
|
|
6872
7396
|
value: input.examples
|
|
7397
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7398
|
+
path: _path + ".readOnly",
|
|
7399
|
+
expected: "(boolean | undefined)",
|
|
7400
|
+
value: input.readOnly
|
|
7401
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7402
|
+
path: _path + ".writeOnly",
|
|
7403
|
+
expected: "(boolean | undefined)",
|
|
7404
|
+
value: input.writeOnly
|
|
6873
7405
|
})].every(flag => flag); const _vo185 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
6874
7406
|
path: _path + "[\"default\"]",
|
|
6875
7407
|
expected: "(null | undefined)",
|
|
@@ -6898,6 +7430,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6898
7430
|
path: _path + ".examples",
|
|
6899
7431
|
expected: "(Record<string, any> | undefined)",
|
|
6900
7432
|
value: input.examples
|
|
7433
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7434
|
+
path: _path + ".readOnly",
|
|
7435
|
+
expected: "(boolean | undefined)",
|
|
7436
|
+
value: input.readOnly
|
|
7437
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7438
|
+
path: _path + ".writeOnly",
|
|
7439
|
+
expected: "(boolean | undefined)",
|
|
7440
|
+
value: input.writeOnly
|
|
6901
7441
|
})].every(flag => flag); const _vo186 = (input, _path, _exceptionable = true) => [true, (null !== input.type || _report(_exceptionable, {
|
|
6902
7442
|
path: _path + ".type",
|
|
6903
7443
|
expected: "undefined",
|
|
@@ -6926,6 +7466,14 @@ function validateHttpLlmApplication(props) {
|
|
|
6926
7466
|
path: _path + ".examples",
|
|
6927
7467
|
expected: "(Record<string, any> | undefined)",
|
|
6928
7468
|
value: input.examples
|
|
7469
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7470
|
+
path: _path + ".readOnly",
|
|
7471
|
+
expected: "(boolean | undefined)",
|
|
7472
|
+
value: input.readOnly
|
|
7473
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7474
|
+
path: _path + ".writeOnly",
|
|
7475
|
+
expected: "(boolean | undefined)",
|
|
7476
|
+
value: input.writeOnly
|
|
6929
7477
|
})].every(flag => flag); const _vo187 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
6930
7478
|
path: _path + ".propertyName",
|
|
6931
7479
|
expected: "string",
|
|
@@ -7934,9 +8482,8 @@ function validateHttpLlmApplication(props) {
|
|
|
7934
8482
|
return {
|
|
7935
8483
|
success: true,
|
|
7936
8484
|
data: openapi_1.HttpLlm.application({
|
|
7937
|
-
model: props.model,
|
|
7938
8485
|
document: openapi_1.OpenApi.convert(inspect.data),
|
|
7939
|
-
|
|
8486
|
+
config: props.config,
|
|
7940
8487
|
}),
|
|
7941
8488
|
};
|
|
7942
8489
|
}
|