@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
|
@@ -64,12 +64,12 @@ function validateHttpController(props) {
|
|
|
64
64
|
if (undefined === value)
|
|
65
65
|
return true;
|
|
66
66
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu0(value);
|
|
67
|
-
}); 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 => {
|
|
67
|
+
}); 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 => {
|
|
68
68
|
const value = input[key];
|
|
69
69
|
if (undefined === value)
|
|
70
70
|
return true;
|
|
71
71
|
return "object" === typeof value && null !== value && _iu9(value);
|
|
72
|
-
}); 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 => {
|
|
72
|
+
}); 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 => {
|
|
73
73
|
const value = input[key];
|
|
74
74
|
if (undefined === value)
|
|
75
75
|
return true;
|
|
@@ -94,12 +94,12 @@ function validateHttpController(props) {
|
|
|
94
94
|
if (undefined === value)
|
|
95
95
|
return true;
|
|
96
96
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io41(value);
|
|
97
|
-
}); 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 => {
|
|
97
|
+
}); 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 => {
|
|
98
98
|
const value = input[key];
|
|
99
99
|
if (undefined === value)
|
|
100
100
|
return true;
|
|
101
101
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu11(value);
|
|
102
|
-
}); 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 => {
|
|
102
|
+
}); 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 => {
|
|
103
103
|
const value = input[key];
|
|
104
104
|
if (undefined === value)
|
|
105
105
|
return true;
|
|
@@ -109,12 +109,12 @@ function validateHttpController(props) {
|
|
|
109
109
|
if (undefined === value)
|
|
110
110
|
return true;
|
|
111
111
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu3(value);
|
|
112
|
-
}); 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 => {
|
|
112
|
+
}); 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 => {
|
|
113
113
|
const value = input[key];
|
|
114
114
|
if (undefined === value)
|
|
115
115
|
return true;
|
|
116
116
|
return true;
|
|
117
|
-
}); 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 => {
|
|
117
|
+
}); 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 => {
|
|
118
118
|
const value = input[key];
|
|
119
119
|
if (undefined === value)
|
|
120
120
|
return true;
|
|
@@ -129,12 +129,12 @@ function validateHttpController(props) {
|
|
|
129
129
|
if (undefined === value)
|
|
130
130
|
return true;
|
|
131
131
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu12(value);
|
|
132
|
-
}); 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 => {
|
|
132
|
+
}); 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 => {
|
|
133
133
|
const value = input[key];
|
|
134
134
|
if (undefined === value)
|
|
135
135
|
return true;
|
|
136
136
|
return "object" === typeof value && null !== value && _iu13(value);
|
|
137
|
-
}); 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 => {
|
|
137
|
+
}); 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 => {
|
|
138
138
|
const value = input[key];
|
|
139
139
|
if (undefined === value)
|
|
140
140
|
return true;
|
|
@@ -164,12 +164,12 @@ function validateHttpController(props) {
|
|
|
164
164
|
if (undefined === value)
|
|
165
165
|
return true;
|
|
166
166
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io98(value);
|
|
167
|
-
}); 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 => {
|
|
167
|
+
}); 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 => {
|
|
168
168
|
const value = input[key];
|
|
169
169
|
if (undefined === value)
|
|
170
170
|
return true;
|
|
171
171
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu16(value);
|
|
172
|
-
}); 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 => {
|
|
172
|
+
}); 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 => {
|
|
173
173
|
const value = input[key];
|
|
174
174
|
if (undefined === value)
|
|
175
175
|
return true;
|
|
@@ -179,7 +179,7 @@ function validateHttpController(props) {
|
|
|
179
179
|
if (undefined === value)
|
|
180
180
|
return true;
|
|
181
181
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
|
182
|
-
}); 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 => {
|
|
182
|
+
}); 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 => {
|
|
183
183
|
const value = input[key];
|
|
184
184
|
if (undefined === value)
|
|
185
185
|
return true;
|
|
@@ -189,12 +189,12 @@ function validateHttpController(props) {
|
|
|
189
189
|
if (undefined === value)
|
|
190
190
|
return true;
|
|
191
191
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu17(value);
|
|
192
|
-
}); 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 => {
|
|
192
|
+
}); 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 => {
|
|
193
193
|
const value = input[key];
|
|
194
194
|
if (undefined === value)
|
|
195
195
|
return true;
|
|
196
196
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io141(value);
|
|
197
|
-
}); 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 => {
|
|
197
|
+
}); 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 => {
|
|
198
198
|
const value = input[key];
|
|
199
199
|
if (undefined === value)
|
|
200
200
|
return true;
|
|
@@ -204,7 +204,7 @@ function validateHttpController(props) {
|
|
|
204
204
|
if (undefined === value)
|
|
205
205
|
return true;
|
|
206
206
|
return "object" === typeof value && null !== value && _iu20(value);
|
|
207
|
-
}); 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 => {
|
|
207
|
+
}); 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 => {
|
|
208
208
|
const value = input[key];
|
|
209
209
|
if (undefined === value)
|
|
210
210
|
return true;
|
|
@@ -239,7 +239,7 @@ function validateHttpController(props) {
|
|
|
239
239
|
if (undefined === value)
|
|
240
240
|
return true;
|
|
241
241
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu22(value);
|
|
242
|
-
}); 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 => {
|
|
242
|
+
}); 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 => {
|
|
243
243
|
const value = input[key];
|
|
244
244
|
if (undefined === value)
|
|
245
245
|
return true;
|
|
@@ -249,7 +249,7 @@ function validateHttpController(props) {
|
|
|
249
249
|
if (undefined === value)
|
|
250
250
|
return true;
|
|
251
251
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu7(value);
|
|
252
|
-
}); 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 => {
|
|
252
|
+
}); 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 => {
|
|
253
253
|
const value = input[key];
|
|
254
254
|
if (undefined === value)
|
|
255
255
|
return true;
|
|
@@ -856,7 +856,15 @@ function validateHttpController(props) {
|
|
|
856
856
|
path: _path + ".deprecated",
|
|
857
857
|
expected: "(boolean | undefined)",
|
|
858
858
|
value: input.deprecated
|
|
859
|
-
}), true, undefined === input
|
|
859
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
860
|
+
path: _path + ".readOnly",
|
|
861
|
+
expected: "(boolean | undefined)",
|
|
862
|
+
value: input.readOnly
|
|
863
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
864
|
+
path: _path + ".writeOnly",
|
|
865
|
+
expected: "(boolean | undefined)",
|
|
866
|
+
value: input.writeOnly
|
|
867
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
860
868
|
path: _path + "[\"x-nullable\"]",
|
|
861
869
|
expected: "(boolean | undefined)",
|
|
862
870
|
value: input["x-nullable"]
|
|
@@ -936,7 +944,15 @@ function validateHttpController(props) {
|
|
|
936
944
|
path: _path + ".deprecated",
|
|
937
945
|
expected: "(boolean | undefined)",
|
|
938
946
|
value: input.deprecated
|
|
939
|
-
}), true, undefined === input
|
|
947
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
948
|
+
path: _path + ".readOnly",
|
|
949
|
+
expected: "(boolean | undefined)",
|
|
950
|
+
value: input.readOnly
|
|
951
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
952
|
+
path: _path + ".writeOnly",
|
|
953
|
+
expected: "(boolean | undefined)",
|
|
954
|
+
value: input.writeOnly
|
|
955
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
940
956
|
path: _path + "[\"x-nullable\"]",
|
|
941
957
|
expected: "(boolean | undefined)",
|
|
942
958
|
value: input["x-nullable"]
|
|
@@ -1000,7 +1016,15 @@ function validateHttpController(props) {
|
|
|
1000
1016
|
path: _path + ".deprecated",
|
|
1001
1017
|
expected: "(boolean | undefined)",
|
|
1002
1018
|
value: input.deprecated
|
|
1003
|
-
}), true, undefined === input
|
|
1019
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1020
|
+
path: _path + ".readOnly",
|
|
1021
|
+
expected: "(boolean | undefined)",
|
|
1022
|
+
value: input.readOnly
|
|
1023
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1024
|
+
path: _path + ".writeOnly",
|
|
1025
|
+
expected: "(boolean | undefined)",
|
|
1026
|
+
value: input.writeOnly
|
|
1027
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1004
1028
|
path: _path + "[\"x-nullable\"]",
|
|
1005
1029
|
expected: "(boolean | undefined)",
|
|
1006
1030
|
value: input["x-nullable"]
|
|
@@ -1064,7 +1088,15 @@ function validateHttpController(props) {
|
|
|
1064
1088
|
path: _path + ".deprecated",
|
|
1065
1089
|
expected: "(boolean | undefined)",
|
|
1066
1090
|
value: input.deprecated
|
|
1067
|
-
}), true, undefined === input
|
|
1091
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1092
|
+
path: _path + ".readOnly",
|
|
1093
|
+
expected: "(boolean | undefined)",
|
|
1094
|
+
value: input.readOnly
|
|
1095
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1096
|
+
path: _path + ".writeOnly",
|
|
1097
|
+
expected: "(boolean | undefined)",
|
|
1098
|
+
value: input.writeOnly
|
|
1099
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1068
1100
|
path: _path + "[\"x-nullable\"]",
|
|
1069
1101
|
expected: "(boolean | undefined)",
|
|
1070
1102
|
value: input["x-nullable"]
|
|
@@ -1116,7 +1148,15 @@ function validateHttpController(props) {
|
|
|
1116
1148
|
path: _path + ".deprecated",
|
|
1117
1149
|
expected: "(boolean | undefined)",
|
|
1118
1150
|
value: input.deprecated
|
|
1119
|
-
}), true, undefined === input
|
|
1151
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1152
|
+
path: _path + ".readOnly",
|
|
1153
|
+
expected: "(boolean | undefined)",
|
|
1154
|
+
value: input.readOnly
|
|
1155
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1156
|
+
path: _path + ".writeOnly",
|
|
1157
|
+
expected: "(boolean | undefined)",
|
|
1158
|
+
value: input.writeOnly
|
|
1159
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1120
1160
|
path: _path + "[\"x-nullable\"]",
|
|
1121
1161
|
expected: "(boolean | undefined)",
|
|
1122
1162
|
value: input["x-nullable"]
|
|
@@ -1180,7 +1220,15 @@ function validateHttpController(props) {
|
|
|
1180
1220
|
path: _path + ".deprecated",
|
|
1181
1221
|
expected: "(boolean | undefined)",
|
|
1182
1222
|
value: input.deprecated
|
|
1183
|
-
}), true, undefined === input
|
|
1223
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1224
|
+
path: _path + ".readOnly",
|
|
1225
|
+
expected: "(boolean | undefined)",
|
|
1226
|
+
value: input.readOnly
|
|
1227
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1228
|
+
path: _path + ".writeOnly",
|
|
1229
|
+
expected: "(boolean | undefined)",
|
|
1230
|
+
value: input.writeOnly
|
|
1231
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1184
1232
|
path: _path + "[\"x-nullable\"]",
|
|
1185
1233
|
expected: "(boolean | undefined)",
|
|
1186
1234
|
value: input["x-nullable"]
|
|
@@ -1208,7 +1256,11 @@ function validateHttpController(props) {
|
|
|
1208
1256
|
path: _path + ".deprecated",
|
|
1209
1257
|
expected: "(boolean | undefined)",
|
|
1210
1258
|
value: input.deprecated
|
|
1211
|
-
}), true
|
|
1259
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1260
|
+
path: _path + ".readOnly",
|
|
1261
|
+
expected: "(boolean | undefined)",
|
|
1262
|
+
value: input.readOnly
|
|
1263
|
+
})].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
|
1212
1264
|
path: _path + "[\"x-anyOf\"]",
|
|
1213
1265
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1214
1266
|
value: input["x-anyOf"]
|
|
@@ -1240,7 +1292,11 @@ function validateHttpController(props) {
|
|
|
1240
1292
|
path: _path + ".deprecated",
|
|
1241
1293
|
expected: "(boolean | undefined)",
|
|
1242
1294
|
value: input.deprecated
|
|
1243
|
-
}), true
|
|
1295
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1296
|
+
path: _path + ".readOnly",
|
|
1297
|
+
expected: "(boolean | undefined)",
|
|
1298
|
+
value: input.readOnly
|
|
1299
|
+
})].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [(Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
|
1244
1300
|
path: _path + "[\"x-oneOf\"]",
|
|
1245
1301
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
|
1246
1302
|
value: input["x-oneOf"]
|
|
@@ -1272,7 +1328,11 @@ function validateHttpController(props) {
|
|
|
1272
1328
|
path: _path + ".deprecated",
|
|
1273
1329
|
expected: "(boolean | undefined)",
|
|
1274
1330
|
value: input.deprecated
|
|
1275
|
-
}), true
|
|
1331
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1332
|
+
path: _path + ".readOnly",
|
|
1333
|
+
expected: "(boolean | undefined)",
|
|
1334
|
+
value: input.readOnly
|
|
1335
|
+
})].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["null" === input.type || _report(_exceptionable, {
|
|
1276
1336
|
path: _path + ".type",
|
|
1277
1337
|
expected: "\"null\"",
|
|
1278
1338
|
value: input.type
|
|
@@ -1296,7 +1356,11 @@ function validateHttpController(props) {
|
|
|
1296
1356
|
path: _path + ".deprecated",
|
|
1297
1357
|
expected: "(boolean | undefined)",
|
|
1298
1358
|
value: input.deprecated
|
|
1299
|
-
}), true
|
|
1359
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1360
|
+
path: _path + ".readOnly",
|
|
1361
|
+
expected: "(boolean | undefined)",
|
|
1362
|
+
value: input.readOnly
|
|
1363
|
+
})].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(null !== input.type || _report(_exceptionable, {
|
|
1300
1364
|
path: _path + ".type",
|
|
1301
1365
|
expected: "undefined",
|
|
1302
1366
|
value: input.type
|
|
@@ -1320,7 +1384,11 @@ function validateHttpController(props) {
|
|
|
1320
1384
|
path: _path + ".deprecated",
|
|
1321
1385
|
expected: "(boolean | undefined)",
|
|
1322
1386
|
value: input.deprecated
|
|
1323
|
-
}), true
|
|
1387
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1388
|
+
path: _path + ".readOnly",
|
|
1389
|
+
expected: "(boolean | undefined)",
|
|
1390
|
+
value: input.readOnly
|
|
1391
|
+
})].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
1324
1392
|
const value = input[key];
|
|
1325
1393
|
if (undefined === value)
|
|
1326
1394
|
return true;
|
|
@@ -1365,7 +1433,15 @@ function validateHttpController(props) {
|
|
|
1365
1433
|
path: _path + ".deprecated",
|
|
1366
1434
|
expected: "(boolean | undefined)",
|
|
1367
1435
|
value: input.deprecated
|
|
1368
|
-
}), true, undefined === input
|
|
1436
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1437
|
+
path: _path + ".readOnly",
|
|
1438
|
+
expected: "(boolean | undefined)",
|
|
1439
|
+
value: input.readOnly
|
|
1440
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1441
|
+
path: _path + ".writeOnly",
|
|
1442
|
+
expected: "(boolean | undefined)",
|
|
1443
|
+
value: input.writeOnly
|
|
1444
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1369
1445
|
path: _path + "[\"x-nullable\"]",
|
|
1370
1446
|
expected: "(boolean | undefined)",
|
|
1371
1447
|
value: input["x-nullable"]
|
|
@@ -1453,7 +1529,15 @@ function validateHttpController(props) {
|
|
|
1453
1529
|
path: _path + ".deprecated",
|
|
1454
1530
|
expected: "(boolean | undefined)",
|
|
1455
1531
|
value: input.deprecated
|
|
1456
|
-
}), true, undefined === input
|
|
1532
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1533
|
+
path: _path + ".readOnly",
|
|
1534
|
+
expected: "(boolean | undefined)",
|
|
1535
|
+
value: input.readOnly
|
|
1536
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1537
|
+
path: _path + ".writeOnly",
|
|
1538
|
+
expected: "(boolean | undefined)",
|
|
1539
|
+
value: input.writeOnly
|
|
1540
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1457
1541
|
path: _path + "[\"x-nullable\"]",
|
|
1458
1542
|
expected: "(boolean | undefined)",
|
|
1459
1543
|
value: input["x-nullable"]
|
|
@@ -1525,7 +1609,15 @@ function validateHttpController(props) {
|
|
|
1525
1609
|
path: _path + ".deprecated",
|
|
1526
1610
|
expected: "(boolean | undefined)",
|
|
1527
1611
|
value: input.deprecated
|
|
1528
|
-
}), true, undefined === input
|
|
1612
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1613
|
+
path: _path + ".readOnly",
|
|
1614
|
+
expected: "(boolean | undefined)",
|
|
1615
|
+
value: input.readOnly
|
|
1616
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1617
|
+
path: _path + ".writeOnly",
|
|
1618
|
+
expected: "(boolean | undefined)",
|
|
1619
|
+
value: input.writeOnly
|
|
1620
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1529
1621
|
path: _path + "[\"x-nullable\"]",
|
|
1530
1622
|
expected: "(boolean | undefined)",
|
|
1531
1623
|
value: input["x-nullable"]
|
|
@@ -1597,7 +1689,15 @@ function validateHttpController(props) {
|
|
|
1597
1689
|
path: _path + ".deprecated",
|
|
1598
1690
|
expected: "(boolean | undefined)",
|
|
1599
1691
|
value: input.deprecated
|
|
1600
|
-
}), true, undefined === input
|
|
1692
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1693
|
+
path: _path + ".readOnly",
|
|
1694
|
+
expected: "(boolean | undefined)",
|
|
1695
|
+
value: input.readOnly
|
|
1696
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1697
|
+
path: _path + ".writeOnly",
|
|
1698
|
+
expected: "(boolean | undefined)",
|
|
1699
|
+
value: input.writeOnly
|
|
1700
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1601
1701
|
path: _path + "[\"x-nullable\"]",
|
|
1602
1702
|
expected: "(boolean | undefined)",
|
|
1603
1703
|
value: input["x-nullable"]
|
|
@@ -1657,7 +1757,15 @@ function validateHttpController(props) {
|
|
|
1657
1757
|
path: _path + ".deprecated",
|
|
1658
1758
|
expected: "(boolean | undefined)",
|
|
1659
1759
|
value: input.deprecated
|
|
1660
|
-
}), true, undefined === input
|
|
1760
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1761
|
+
path: _path + ".readOnly",
|
|
1762
|
+
expected: "(boolean | undefined)",
|
|
1763
|
+
value: input.readOnly
|
|
1764
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1765
|
+
path: _path + ".writeOnly",
|
|
1766
|
+
expected: "(boolean | undefined)",
|
|
1767
|
+
value: input.writeOnly
|
|
1768
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1661
1769
|
path: _path + "[\"x-nullable\"]",
|
|
1662
1770
|
expected: "(boolean | undefined)",
|
|
1663
1771
|
value: input["x-nullable"]
|
|
@@ -1729,7 +1837,15 @@ function validateHttpController(props) {
|
|
|
1729
1837
|
path: _path + ".deprecated",
|
|
1730
1838
|
expected: "(boolean | undefined)",
|
|
1731
1839
|
value: input.deprecated
|
|
1732
|
-
}), true, undefined === input
|
|
1840
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1841
|
+
path: _path + ".readOnly",
|
|
1842
|
+
expected: "(boolean | undefined)",
|
|
1843
|
+
value: input.readOnly
|
|
1844
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
1845
|
+
path: _path + ".writeOnly",
|
|
1846
|
+
expected: "(boolean | undefined)",
|
|
1847
|
+
value: input.writeOnly
|
|
1848
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
|
1733
1849
|
path: _path + "[\"x-nullable\"]",
|
|
1734
1850
|
expected: "(boolean | undefined)",
|
|
1735
1851
|
value: input["x-nullable"]
|
|
@@ -1765,7 +1881,11 @@ function validateHttpController(props) {
|
|
|
1765
1881
|
path: _path + ".deprecated",
|
|
1766
1882
|
expected: "(boolean | undefined)",
|
|
1767
1883
|
value: input.deprecated
|
|
1768
|
-
}), true, "
|
|
1884
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1885
|
+
path: _path + ".readOnly",
|
|
1886
|
+
expected: "(boolean | undefined)",
|
|
1887
|
+
value: input.readOnly
|
|
1888
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1769
1889
|
path: _path + ".name",
|
|
1770
1890
|
expected: "string",
|
|
1771
1891
|
value: input.name
|
|
@@ -1805,7 +1925,11 @@ function validateHttpController(props) {
|
|
|
1805
1925
|
path: _path + ".deprecated",
|
|
1806
1926
|
expected: "(boolean | undefined)",
|
|
1807
1927
|
value: input.deprecated
|
|
1808
|
-
}), true, "
|
|
1928
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1929
|
+
path: _path + ".readOnly",
|
|
1930
|
+
expected: "(boolean | undefined)",
|
|
1931
|
+
value: input.readOnly
|
|
1932
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1809
1933
|
path: _path + ".name",
|
|
1810
1934
|
expected: "string",
|
|
1811
1935
|
value: input.name
|
|
@@ -1845,7 +1969,11 @@ function validateHttpController(props) {
|
|
|
1845
1969
|
path: _path + ".deprecated",
|
|
1846
1970
|
expected: "(boolean | undefined)",
|
|
1847
1971
|
value: input.deprecated
|
|
1848
|
-
}), true, "
|
|
1972
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
1973
|
+
path: _path + ".readOnly",
|
|
1974
|
+
expected: "(boolean | undefined)",
|
|
1975
|
+
value: input.readOnly
|
|
1976
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1849
1977
|
path: _path + ".name",
|
|
1850
1978
|
expected: "string",
|
|
1851
1979
|
value: input.name
|
|
@@ -1877,7 +2005,11 @@ function validateHttpController(props) {
|
|
|
1877
2005
|
path: _path + ".deprecated",
|
|
1878
2006
|
expected: "(boolean | undefined)",
|
|
1879
2007
|
value: input.deprecated
|
|
1880
|
-
}), true, "
|
|
2008
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2009
|
+
path: _path + ".readOnly",
|
|
2010
|
+
expected: "(boolean | undefined)",
|
|
2011
|
+
value: input.readOnly
|
|
2012
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1881
2013
|
path: _path + ".name",
|
|
1882
2014
|
expected: "string",
|
|
1883
2015
|
value: input.name
|
|
@@ -1909,7 +2041,11 @@ function validateHttpController(props) {
|
|
|
1909
2041
|
path: _path + ".deprecated",
|
|
1910
2042
|
expected: "(boolean | undefined)",
|
|
1911
2043
|
value: input.deprecated
|
|
1912
|
-
}), true, "
|
|
2044
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2045
|
+
path: _path + ".readOnly",
|
|
2046
|
+
expected: "(boolean | undefined)",
|
|
2047
|
+
value: input.readOnly
|
|
2048
|
+
}), "string" === typeof input.name || _report(_exceptionable, {
|
|
1913
2049
|
path: _path + ".name",
|
|
1914
2050
|
expected: "string",
|
|
1915
2051
|
value: input.name
|
|
@@ -2254,7 +2390,11 @@ function validateHttpController(props) {
|
|
|
2254
2390
|
path: _path + ".deprecated",
|
|
2255
2391
|
expected: "(boolean | undefined)",
|
|
2256
2392
|
value: input.deprecated
|
|
2257
|
-
}), true
|
|
2393
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2394
|
+
path: _path + ".readOnly",
|
|
2395
|
+
expected: "(boolean | undefined)",
|
|
2396
|
+
value: input.readOnly
|
|
2397
|
+
})].every(flag => flag); const _vo43 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
2258
2398
|
path: _path + ".operationId",
|
|
2259
2399
|
expected: "(string | undefined)",
|
|
2260
2400
|
value: input.operationId
|
|
@@ -2342,7 +2482,11 @@ function validateHttpController(props) {
|
|
|
2342
2482
|
path: _path + ".deprecated",
|
|
2343
2483
|
expected: "(boolean | undefined)",
|
|
2344
2484
|
value: input.deprecated
|
|
2345
|
-
}), true
|
|
2485
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2486
|
+
path: _path + ".readOnly",
|
|
2487
|
+
expected: "(boolean | undefined)",
|
|
2488
|
+
value: input.readOnly
|
|
2489
|
+
})].every(flag => flag); const _vo45 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
2346
2490
|
const value = input[key];
|
|
2347
2491
|
if (undefined === value)
|
|
2348
2492
|
return true;
|
|
@@ -2375,7 +2519,11 @@ function validateHttpController(props) {
|
|
|
2375
2519
|
path: _path + ".deprecated",
|
|
2376
2520
|
expected: "(boolean | undefined)",
|
|
2377
2521
|
value: input.deprecated
|
|
2378
|
-
}), true
|
|
2522
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2523
|
+
path: _path + ".readOnly",
|
|
2524
|
+
expected: "(boolean | undefined)",
|
|
2525
|
+
value: input.readOnly
|
|
2526
|
+
})].every(flag => flag); const _vo47 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
2379
2527
|
path: _path + ".name",
|
|
2380
2528
|
expected: "string",
|
|
2381
2529
|
value: input.name
|
|
@@ -2673,7 +2821,15 @@ function validateHttpController(props) {
|
|
|
2673
2821
|
path: _path + ".deprecated",
|
|
2674
2822
|
expected: "(boolean | undefined)",
|
|
2675
2823
|
value: input.deprecated
|
|
2676
|
-
}), true,
|
|
2824
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2825
|
+
path: _path + ".readOnly",
|
|
2826
|
+
expected: "(boolean | undefined)",
|
|
2827
|
+
value: input.readOnly
|
|
2828
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
2829
|
+
path: _path + ".writeOnly",
|
|
2830
|
+
expected: "(boolean | undefined)",
|
|
2831
|
+
value: input.writeOnly
|
|
2832
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2677
2833
|
path: _path + ".examples",
|
|
2678
2834
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2679
2835
|
value: input.examples
|
|
@@ -2766,7 +2922,15 @@ function validateHttpController(props) {
|
|
|
2766
2922
|
path: _path + ".deprecated",
|
|
2767
2923
|
expected: "(boolean | undefined)",
|
|
2768
2924
|
value: input.deprecated
|
|
2769
|
-
}), true,
|
|
2925
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
2926
|
+
path: _path + ".readOnly",
|
|
2927
|
+
expected: "(boolean | undefined)",
|
|
2928
|
+
value: input.readOnly
|
|
2929
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
2930
|
+
path: _path + ".writeOnly",
|
|
2931
|
+
expected: "(boolean | undefined)",
|
|
2932
|
+
value: input.writeOnly
|
|
2933
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2770
2934
|
path: _path + ".examples",
|
|
2771
2935
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2772
2936
|
value: input.examples
|
|
@@ -2838,7 +3002,15 @@ function validateHttpController(props) {
|
|
|
2838
3002
|
path: _path + ".deprecated",
|
|
2839
3003
|
expected: "(boolean | undefined)",
|
|
2840
3004
|
value: input.deprecated
|
|
2841
|
-
}), true,
|
|
3005
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3006
|
+
path: _path + ".readOnly",
|
|
3007
|
+
expected: "(boolean | undefined)",
|
|
3008
|
+
value: input.readOnly
|
|
3009
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3010
|
+
path: _path + ".writeOnly",
|
|
3011
|
+
expected: "(boolean | undefined)",
|
|
3012
|
+
value: input.writeOnly
|
|
3013
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2842
3014
|
path: _path + ".examples",
|
|
2843
3015
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2844
3016
|
value: input.examples
|
|
@@ -2910,7 +3082,15 @@ function validateHttpController(props) {
|
|
|
2910
3082
|
path: _path + ".deprecated",
|
|
2911
3083
|
expected: "(boolean | undefined)",
|
|
2912
3084
|
value: input.deprecated
|
|
2913
|
-
}), true,
|
|
3085
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3086
|
+
path: _path + ".readOnly",
|
|
3087
|
+
expected: "(boolean | undefined)",
|
|
3088
|
+
value: input.readOnly
|
|
3089
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3090
|
+
path: _path + ".writeOnly",
|
|
3091
|
+
expected: "(boolean | undefined)",
|
|
3092
|
+
value: input.writeOnly
|
|
3093
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2914
3094
|
path: _path + ".examples",
|
|
2915
3095
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2916
3096
|
value: input.examples
|
|
@@ -2970,7 +3150,15 @@ function validateHttpController(props) {
|
|
|
2970
3150
|
path: _path + ".deprecated",
|
|
2971
3151
|
expected: "(boolean | undefined)",
|
|
2972
3152
|
value: input.deprecated
|
|
2973
|
-
}), true,
|
|
3153
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3154
|
+
path: _path + ".readOnly",
|
|
3155
|
+
expected: "(boolean | undefined)",
|
|
3156
|
+
value: input.readOnly
|
|
3157
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3158
|
+
path: _path + ".writeOnly",
|
|
3159
|
+
expected: "(boolean | undefined)",
|
|
3160
|
+
value: input.writeOnly
|
|
3161
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
2974
3162
|
path: _path + ".examples",
|
|
2975
3163
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
2976
3164
|
value: input.examples
|
|
@@ -3042,7 +3230,15 @@ function validateHttpController(props) {
|
|
|
3042
3230
|
path: _path + ".deprecated",
|
|
3043
3231
|
expected: "(boolean | undefined)",
|
|
3044
3232
|
value: input.deprecated
|
|
3045
|
-
}), true,
|
|
3233
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3234
|
+
path: _path + ".readOnly",
|
|
3235
|
+
expected: "(boolean | undefined)",
|
|
3236
|
+
value: input.readOnly
|
|
3237
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3238
|
+
path: _path + ".writeOnly",
|
|
3239
|
+
expected: "(boolean | undefined)",
|
|
3240
|
+
value: input.writeOnly
|
|
3241
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
3046
3242
|
path: _path + ".examples",
|
|
3047
3243
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3048
3244
|
value: input.examples
|
|
@@ -3082,7 +3278,15 @@ function validateHttpController(props) {
|
|
|
3082
3278
|
path: _path + ".deprecated",
|
|
3083
3279
|
expected: "(boolean | undefined)",
|
|
3084
3280
|
value: input.deprecated
|
|
3085
|
-
}), true
|
|
3281
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3282
|
+
path: _path + ".readOnly",
|
|
3283
|
+
expected: "(boolean | undefined)",
|
|
3284
|
+
value: input.readOnly
|
|
3285
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3286
|
+
path: _path + ".writeOnly",
|
|
3287
|
+
expected: "(boolean | undefined)",
|
|
3288
|
+
value: input.writeOnly
|
|
3289
|
+
})].every(flag => flag); const _vo65 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
3086
3290
|
path: _path + ".allOf",
|
|
3087
3291
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3088
3292
|
value: input.allOf
|
|
@@ -3122,7 +3326,15 @@ function validateHttpController(props) {
|
|
|
3122
3326
|
path: _path + ".deprecated",
|
|
3123
3327
|
expected: "(boolean | undefined)",
|
|
3124
3328
|
value: input.deprecated
|
|
3125
|
-
}), true
|
|
3329
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3330
|
+
path: _path + ".readOnly",
|
|
3331
|
+
expected: "(boolean | undefined)",
|
|
3332
|
+
value: input.readOnly
|
|
3333
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3334
|
+
path: _path + ".writeOnly",
|
|
3335
|
+
expected: "(boolean | undefined)",
|
|
3336
|
+
value: input.writeOnly
|
|
3337
|
+
})].every(flag => flag); const _vo66 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
3126
3338
|
path: _path + ".anyOf",
|
|
3127
3339
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3128
3340
|
value: input.anyOf
|
|
@@ -3162,7 +3374,15 @@ function validateHttpController(props) {
|
|
|
3162
3374
|
path: _path + ".deprecated",
|
|
3163
3375
|
expected: "(boolean | undefined)",
|
|
3164
3376
|
value: input.deprecated
|
|
3165
|
-
}), true
|
|
3377
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3378
|
+
path: _path + ".readOnly",
|
|
3379
|
+
expected: "(boolean | undefined)",
|
|
3380
|
+
value: input.readOnly
|
|
3381
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3382
|
+
path: _path + ".writeOnly",
|
|
3383
|
+
expected: "(boolean | undefined)",
|
|
3384
|
+
value: input.writeOnly
|
|
3385
|
+
})].every(flag => flag); const _vo67 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
3166
3386
|
path: _path + ".oneOf",
|
|
3167
3387
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
|
3168
3388
|
value: input.oneOf
|
|
@@ -3210,7 +3430,15 @@ function validateHttpController(props) {
|
|
|
3210
3430
|
path: _path + ".deprecated",
|
|
3211
3431
|
expected: "(boolean | undefined)",
|
|
3212
3432
|
value: input.deprecated
|
|
3213
|
-
}), true
|
|
3433
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3434
|
+
path: _path + ".readOnly",
|
|
3435
|
+
expected: "(boolean | undefined)",
|
|
3436
|
+
value: input.readOnly
|
|
3437
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3438
|
+
path: _path + ".writeOnly",
|
|
3439
|
+
expected: "(boolean | undefined)",
|
|
3440
|
+
value: input.writeOnly
|
|
3441
|
+
})].every(flag => flag); const _vo68 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
3214
3442
|
path: _path + ".propertyName",
|
|
3215
3443
|
expected: "string",
|
|
3216
3444
|
value: input.propertyName
|
|
@@ -3242,7 +3470,15 @@ function validateHttpController(props) {
|
|
|
3242
3470
|
path: _path + ".deprecated",
|
|
3243
3471
|
expected: "(boolean | undefined)",
|
|
3244
3472
|
value: input.deprecated
|
|
3245
|
-
}), true,
|
|
3473
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3474
|
+
path: _path + ".readOnly",
|
|
3475
|
+
expected: "(boolean | undefined)",
|
|
3476
|
+
value: input.readOnly
|
|
3477
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3478
|
+
path: _path + ".writeOnly",
|
|
3479
|
+
expected: "(boolean | undefined)",
|
|
3480
|
+
value: input.writeOnly
|
|
3481
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
3246
3482
|
path: _path + ".examples",
|
|
3247
3483
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3248
3484
|
value: input.examples
|
|
@@ -3274,7 +3510,15 @@ function validateHttpController(props) {
|
|
|
3274
3510
|
path: _path + ".deprecated",
|
|
3275
3511
|
expected: "(boolean | undefined)",
|
|
3276
3512
|
value: input.deprecated
|
|
3277
|
-
}), true,
|
|
3513
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3514
|
+
path: _path + ".readOnly",
|
|
3515
|
+
expected: "(boolean | undefined)",
|
|
3516
|
+
value: input.readOnly
|
|
3517
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3518
|
+
path: _path + ".writeOnly",
|
|
3519
|
+
expected: "(boolean | undefined)",
|
|
3520
|
+
value: input.writeOnly
|
|
3521
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
3278
3522
|
path: _path + ".examples",
|
|
3279
3523
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
3280
3524
|
value: input.examples
|
|
@@ -3401,7 +3645,15 @@ function validateHttpController(props) {
|
|
|
3401
3645
|
path: _path + ".deprecated",
|
|
3402
3646
|
expected: "(boolean | undefined)",
|
|
3403
3647
|
value: input.deprecated
|
|
3404
|
-
}), true
|
|
3648
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3649
|
+
path: _path + ".readOnly",
|
|
3650
|
+
expected: "(boolean | undefined)",
|
|
3651
|
+
value: input.readOnly
|
|
3652
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3653
|
+
path: _path + ".writeOnly",
|
|
3654
|
+
expected: "(boolean | undefined)",
|
|
3655
|
+
value: input.writeOnly
|
|
3656
|
+
})].every(flag => flag); const _vo78 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3405
3657
|
const value = input[key];
|
|
3406
3658
|
if (undefined === value)
|
|
3407
3659
|
return true;
|
|
@@ -3470,7 +3722,15 @@ function validateHttpController(props) {
|
|
|
3470
3722
|
path: _path + ".deprecated",
|
|
3471
3723
|
expected: "(boolean | undefined)",
|
|
3472
3724
|
value: input.deprecated
|
|
3473
|
-
}), true
|
|
3725
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
3726
|
+
path: _path + ".readOnly",
|
|
3727
|
+
expected: "(boolean | undefined)",
|
|
3728
|
+
value: input.readOnly
|
|
3729
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
3730
|
+
path: _path + ".writeOnly",
|
|
3731
|
+
expected: "(boolean | undefined)",
|
|
3732
|
+
value: input.writeOnly
|
|
3733
|
+
})].every(flag => flag); const _vo81 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
3474
3734
|
const value = input[key];
|
|
3475
3735
|
if (undefined === value)
|
|
3476
3736
|
return true;
|
|
@@ -3884,7 +4144,15 @@ function validateHttpController(props) {
|
|
|
3884
4144
|
path: _path + ".deprecated",
|
|
3885
4145
|
expected: "(boolean | undefined)",
|
|
3886
4146
|
value: input.deprecated
|
|
3887
|
-
}), true
|
|
4147
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4148
|
+
path: _path + ".readOnly",
|
|
4149
|
+
expected: "(boolean | undefined)",
|
|
4150
|
+
value: input.readOnly
|
|
4151
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4152
|
+
path: _path + ".writeOnly",
|
|
4153
|
+
expected: "(boolean | undefined)",
|
|
4154
|
+
value: input.writeOnly
|
|
4155
|
+
})].every(flag => flag); const _vo100 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
3888
4156
|
path: _path + ".operationId",
|
|
3889
4157
|
expected: "(string | undefined)",
|
|
3890
4158
|
value: input.operationId
|
|
@@ -4004,7 +4272,15 @@ function validateHttpController(props) {
|
|
|
4004
4272
|
path: _path + ".deprecated",
|
|
4005
4273
|
expected: "(boolean | undefined)",
|
|
4006
4274
|
value: input.deprecated
|
|
4007
|
-
}), true
|
|
4275
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4276
|
+
path: _path + ".readOnly",
|
|
4277
|
+
expected: "(boolean | undefined)",
|
|
4278
|
+
value: input.readOnly
|
|
4279
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4280
|
+
path: _path + ".writeOnly",
|
|
4281
|
+
expected: "(boolean | undefined)",
|
|
4282
|
+
value: input.writeOnly
|
|
4283
|
+
})].every(flag => flag); const _vo102 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
4008
4284
|
const value = input[key];
|
|
4009
4285
|
if (undefined === value)
|
|
4010
4286
|
return true;
|
|
@@ -4045,7 +4321,15 @@ function validateHttpController(props) {
|
|
|
4045
4321
|
path: _path + ".deprecated",
|
|
4046
4322
|
expected: "(boolean | undefined)",
|
|
4047
4323
|
value: input.deprecated
|
|
4048
|
-
}), true
|
|
4324
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4325
|
+
path: _path + ".readOnly",
|
|
4326
|
+
expected: "(boolean | undefined)",
|
|
4327
|
+
value: input.readOnly
|
|
4328
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4329
|
+
path: _path + ".writeOnly",
|
|
4330
|
+
expected: "(boolean | undefined)",
|
|
4331
|
+
value: input.writeOnly
|
|
4332
|
+
})].every(flag => flag); const _vo104 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
4049
4333
|
path: _path + ".name",
|
|
4050
4334
|
expected: "string",
|
|
4051
4335
|
value: input.name
|
|
@@ -4387,7 +4671,15 @@ function validateHttpController(props) {
|
|
|
4387
4671
|
path: _path + ".deprecated",
|
|
4388
4672
|
expected: "(boolean | undefined)",
|
|
4389
4673
|
value: input.deprecated
|
|
4390
|
-
}), true,
|
|
4674
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4675
|
+
path: _path + ".readOnly",
|
|
4676
|
+
expected: "(boolean | undefined)",
|
|
4677
|
+
value: input.readOnly
|
|
4678
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4679
|
+
path: _path + ".writeOnly",
|
|
4680
|
+
expected: "(boolean | undefined)",
|
|
4681
|
+
value: input.writeOnly
|
|
4682
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4391
4683
|
path: _path + ".examples",
|
|
4392
4684
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4393
4685
|
value: input.examples
|
|
@@ -4451,7 +4743,15 @@ function validateHttpController(props) {
|
|
|
4451
4743
|
path: _path + ".deprecated",
|
|
4452
4744
|
expected: "(boolean | undefined)",
|
|
4453
4745
|
value: input.deprecated
|
|
4454
|
-
}), true, undefined === input.
|
|
4746
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
4747
|
+
path: _path + ".readOnly",
|
|
4748
|
+
expected: "(boolean | undefined)",
|
|
4749
|
+
value: input.readOnly
|
|
4750
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
4751
|
+
path: _path + ".writeOnly",
|
|
4752
|
+
expected: "(boolean | undefined)",
|
|
4753
|
+
value: input.writeOnly
|
|
4754
|
+
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
|
4455
4755
|
path: _path + ".minimum",
|
|
4456
4756
|
expected: "(number | undefined)",
|
|
4457
4757
|
value: input.minimum
|
|
@@ -4479,14 +4779,6 @@ function validateHttpController(props) {
|
|
|
4479
4779
|
path: _path + ".format",
|
|
4480
4780
|
expected: "(string | undefined)",
|
|
4481
4781
|
value: input.format
|
|
4482
|
-
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
4483
|
-
path: _path + ".maxLength",
|
|
4484
|
-
expected: "number & Type<\"uint64\">",
|
|
4485
|
-
value: input.maxLength
|
|
4486
|
-
})) || _report(_exceptionable, {
|
|
4487
|
-
path: _path + ".maxLength",
|
|
4488
|
-
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
4489
|
-
value: input.maxLength
|
|
4490
4782
|
}), undefined === input.pattern || "string" === typeof input.pattern || _report(_exceptionable, {
|
|
4491
4783
|
path: _path + ".pattern",
|
|
4492
4784
|
expected: "(string | undefined)",
|
|
@@ -4503,6 +4795,14 @@ function validateHttpController(props) {
|
|
|
4503
4795
|
path: _path + ".minLength",
|
|
4504
4796
|
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
4505
4797
|
value: input.minLength
|
|
4798
|
+
}), undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000 || _report(_exceptionable, {
|
|
4799
|
+
path: _path + ".maxLength",
|
|
4800
|
+
expected: "number & Type<\"uint64\">",
|
|
4801
|
+
value: input.maxLength
|
|
4802
|
+
})) || _report(_exceptionable, {
|
|
4803
|
+
path: _path + ".maxLength",
|
|
4804
|
+
expected: "((number & Type<\"uint64\">) | undefined)",
|
|
4805
|
+
value: input.maxLength
|
|
4506
4806
|
}), (null !== input.items || _report(_exceptionable, {
|
|
4507
4807
|
path: _path + ".items",
|
|
4508
4808
|
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)",
|
|
@@ -4703,7 +5003,15 @@ function validateHttpController(props) {
|
|
|
4703
5003
|
path: _path + ".deprecated",
|
|
4704
5004
|
expected: "(boolean | undefined)",
|
|
4705
5005
|
value: input.deprecated
|
|
4706
|
-
}), true
|
|
5006
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5007
|
+
path: _path + ".readOnly",
|
|
5008
|
+
expected: "(boolean | undefined)",
|
|
5009
|
+
value: input.readOnly
|
|
5010
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5011
|
+
path: _path + ".writeOnly",
|
|
5012
|
+
expected: "(boolean | undefined)",
|
|
5013
|
+
value: input.writeOnly
|
|
5014
|
+
})].every(flag => flag); const _vo117 = (input, _path, _exceptionable = true) => [undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
|
4707
5015
|
path: _path + ".nullable",
|
|
4708
5016
|
expected: "(boolean | undefined)",
|
|
4709
5017
|
value: input.nullable
|
|
@@ -4739,7 +5047,15 @@ function validateHttpController(props) {
|
|
|
4739
5047
|
path: _path + ".deprecated",
|
|
4740
5048
|
expected: "(boolean | undefined)",
|
|
4741
5049
|
value: input.deprecated
|
|
4742
|
-
}), true,
|
|
5050
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5051
|
+
path: _path + ".readOnly",
|
|
5052
|
+
expected: "(boolean | undefined)",
|
|
5053
|
+
value: input.readOnly
|
|
5054
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5055
|
+
path: _path + ".writeOnly",
|
|
5056
|
+
expected: "(boolean | undefined)",
|
|
5057
|
+
value: input.writeOnly
|
|
5058
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4743
5059
|
path: _path + ".examples",
|
|
4744
5060
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4745
5061
|
value: input.examples
|
|
@@ -4835,7 +5151,15 @@ function validateHttpController(props) {
|
|
|
4835
5151
|
path: _path + ".deprecated",
|
|
4836
5152
|
expected: "(boolean | undefined)",
|
|
4837
5153
|
value: input.deprecated
|
|
4838
|
-
}), true,
|
|
5154
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5155
|
+
path: _path + ".readOnly",
|
|
5156
|
+
expected: "(boolean | undefined)",
|
|
5157
|
+
value: input.readOnly
|
|
5158
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5159
|
+
path: _path + ".writeOnly",
|
|
5160
|
+
expected: "(boolean | undefined)",
|
|
5161
|
+
value: input.writeOnly
|
|
5162
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4839
5163
|
path: _path + ".examples",
|
|
4840
5164
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4841
5165
|
value: input.examples
|
|
@@ -4907,7 +5231,15 @@ function validateHttpController(props) {
|
|
|
4907
5231
|
path: _path + ".deprecated",
|
|
4908
5232
|
expected: "(boolean | undefined)",
|
|
4909
5233
|
value: input.deprecated
|
|
4910
|
-
}), true,
|
|
5234
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5235
|
+
path: _path + ".readOnly",
|
|
5236
|
+
expected: "(boolean | undefined)",
|
|
5237
|
+
value: input.readOnly
|
|
5238
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5239
|
+
path: _path + ".writeOnly",
|
|
5240
|
+
expected: "(boolean | undefined)",
|
|
5241
|
+
value: input.writeOnly
|
|
5242
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4911
5243
|
path: _path + ".examples",
|
|
4912
5244
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4913
5245
|
value: input.examples
|
|
@@ -4983,7 +5315,15 @@ function validateHttpController(props) {
|
|
|
4983
5315
|
path: _path + ".deprecated",
|
|
4984
5316
|
expected: "(boolean | undefined)",
|
|
4985
5317
|
value: input.deprecated
|
|
4986
|
-
}), true,
|
|
5318
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5319
|
+
path: _path + ".readOnly",
|
|
5320
|
+
expected: "(boolean | undefined)",
|
|
5321
|
+
value: input.readOnly
|
|
5322
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5323
|
+
path: _path + ".writeOnly",
|
|
5324
|
+
expected: "(boolean | undefined)",
|
|
5325
|
+
value: input.writeOnly
|
|
5326
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
4987
5327
|
path: _path + ".examples",
|
|
4988
5328
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
4989
5329
|
value: input.examples
|
|
@@ -5083,7 +5423,15 @@ function validateHttpController(props) {
|
|
|
5083
5423
|
path: _path + ".deprecated",
|
|
5084
5424
|
expected: "(boolean | undefined)",
|
|
5085
5425
|
value: input.deprecated
|
|
5086
|
-
}), true,
|
|
5426
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5427
|
+
path: _path + ".readOnly",
|
|
5428
|
+
expected: "(boolean | undefined)",
|
|
5429
|
+
value: input.readOnly
|
|
5430
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5431
|
+
path: _path + ".writeOnly",
|
|
5432
|
+
expected: "(boolean | undefined)",
|
|
5433
|
+
value: input.writeOnly
|
|
5434
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
5087
5435
|
path: _path + ".examples",
|
|
5088
5436
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5089
5437
|
value: input.examples
|
|
@@ -5123,7 +5471,15 @@ function validateHttpController(props) {
|
|
|
5123
5471
|
path: _path + ".deprecated",
|
|
5124
5472
|
expected: "(boolean | undefined)",
|
|
5125
5473
|
value: input.deprecated
|
|
5126
|
-
}), true
|
|
5474
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5475
|
+
path: _path + ".readOnly",
|
|
5476
|
+
expected: "(boolean | undefined)",
|
|
5477
|
+
value: input.readOnly
|
|
5478
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5479
|
+
path: _path + ".writeOnly",
|
|
5480
|
+
expected: "(boolean | undefined)",
|
|
5481
|
+
value: input.writeOnly
|
|
5482
|
+
})].every(flag => flag); const _vo123 = (input, _path, _exceptionable = true) => ["string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
|
5127
5483
|
path: _path + ".$recursiveRef",
|
|
5128
5484
|
expected: "string",
|
|
5129
5485
|
value: input.$recursiveRef
|
|
@@ -5151,7 +5507,15 @@ function validateHttpController(props) {
|
|
|
5151
5507
|
path: _path + ".deprecated",
|
|
5152
5508
|
expected: "(boolean | undefined)",
|
|
5153
5509
|
value: input.deprecated
|
|
5154
|
-
}), true
|
|
5510
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5511
|
+
path: _path + ".readOnly",
|
|
5512
|
+
expected: "(boolean | undefined)",
|
|
5513
|
+
value: input.readOnly
|
|
5514
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5515
|
+
path: _path + ".writeOnly",
|
|
5516
|
+
expected: "(boolean | undefined)",
|
|
5517
|
+
value: input.writeOnly
|
|
5518
|
+
})].every(flag => flag); const _vo124 = (input, _path, _exceptionable = true) => [(Array.isArray(input.allOf) || _report(_exceptionable, {
|
|
5155
5519
|
path: _path + ".allOf",
|
|
5156
5520
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5157
5521
|
value: input.allOf
|
|
@@ -5191,7 +5555,15 @@ function validateHttpController(props) {
|
|
|
5191
5555
|
path: _path + ".deprecated",
|
|
5192
5556
|
expected: "(boolean | undefined)",
|
|
5193
5557
|
value: input.deprecated
|
|
5194
|
-
}), true
|
|
5558
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5559
|
+
path: _path + ".readOnly",
|
|
5560
|
+
expected: "(boolean | undefined)",
|
|
5561
|
+
value: input.readOnly
|
|
5562
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5563
|
+
path: _path + ".writeOnly",
|
|
5564
|
+
expected: "(boolean | undefined)",
|
|
5565
|
+
value: input.writeOnly
|
|
5566
|
+
})].every(flag => flag); const _vo125 = (input, _path, _exceptionable = true) => [(Array.isArray(input.anyOf) || _report(_exceptionable, {
|
|
5195
5567
|
path: _path + ".anyOf",
|
|
5196
5568
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5197
5569
|
value: input.anyOf
|
|
@@ -5231,7 +5603,15 @@ function validateHttpController(props) {
|
|
|
5231
5603
|
path: _path + ".deprecated",
|
|
5232
5604
|
expected: "(boolean | undefined)",
|
|
5233
5605
|
value: input.deprecated
|
|
5234
|
-
}), true
|
|
5606
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5607
|
+
path: _path + ".readOnly",
|
|
5608
|
+
expected: "(boolean | undefined)",
|
|
5609
|
+
value: input.readOnly
|
|
5610
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5611
|
+
path: _path + ".writeOnly",
|
|
5612
|
+
expected: "(boolean | undefined)",
|
|
5613
|
+
value: input.writeOnly
|
|
5614
|
+
})].every(flag => flag); const _vo126 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
5235
5615
|
path: _path + ".oneOf",
|
|
5236
5616
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
|
5237
5617
|
value: input.oneOf
|
|
@@ -5279,7 +5659,15 @@ function validateHttpController(props) {
|
|
|
5279
5659
|
path: _path + ".deprecated",
|
|
5280
5660
|
expected: "(boolean | undefined)",
|
|
5281
5661
|
value: input.deprecated
|
|
5282
|
-
}), true
|
|
5662
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5663
|
+
path: _path + ".readOnly",
|
|
5664
|
+
expected: "(boolean | undefined)",
|
|
5665
|
+
value: input.readOnly
|
|
5666
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5667
|
+
path: _path + ".writeOnly",
|
|
5668
|
+
expected: "(boolean | undefined)",
|
|
5669
|
+
value: input.writeOnly
|
|
5670
|
+
})].every(flag => flag); const _vo127 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
5283
5671
|
path: _path + ".propertyName",
|
|
5284
5672
|
expected: "string",
|
|
5285
5673
|
value: input.propertyName
|
|
@@ -5311,7 +5699,15 @@ function validateHttpController(props) {
|
|
|
5311
5699
|
path: _path + ".deprecated",
|
|
5312
5700
|
expected: "(boolean | undefined)",
|
|
5313
5701
|
value: input.deprecated
|
|
5314
|
-
}), true,
|
|
5702
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5703
|
+
path: _path + ".readOnly",
|
|
5704
|
+
expected: "(boolean | undefined)",
|
|
5705
|
+
value: input.readOnly
|
|
5706
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5707
|
+
path: _path + ".writeOnly",
|
|
5708
|
+
expected: "(boolean | undefined)",
|
|
5709
|
+
value: input.writeOnly
|
|
5710
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
5315
5711
|
path: _path + ".examples",
|
|
5316
5712
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5317
5713
|
value: input.examples
|
|
@@ -5343,7 +5739,15 @@ function validateHttpController(props) {
|
|
|
5343
5739
|
path: _path + ".deprecated",
|
|
5344
5740
|
expected: "(boolean | undefined)",
|
|
5345
5741
|
value: input.deprecated
|
|
5346
|
-
}), true,
|
|
5742
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5743
|
+
path: _path + ".readOnly",
|
|
5744
|
+
expected: "(boolean | undefined)",
|
|
5745
|
+
value: input.readOnly
|
|
5746
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5747
|
+
path: _path + ".writeOnly",
|
|
5748
|
+
expected: "(boolean | undefined)",
|
|
5749
|
+
value: input.writeOnly
|
|
5750
|
+
}), (null !== input.examples || _report(_exceptionable, {
|
|
5347
5751
|
path: _path + ".examples",
|
|
5348
5752
|
expected: "(Array<any> | Record<string, any> | undefined)",
|
|
5349
5753
|
value: input.examples
|
|
@@ -5557,7 +5961,15 @@ function validateHttpController(props) {
|
|
|
5557
5961
|
path: _path + ".deprecated",
|
|
5558
5962
|
expected: "(boolean | undefined)",
|
|
5559
5963
|
value: input.deprecated
|
|
5560
|
-
}), true
|
|
5964
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
5965
|
+
path: _path + ".readOnly",
|
|
5966
|
+
expected: "(boolean | undefined)",
|
|
5967
|
+
value: input.readOnly
|
|
5968
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
5969
|
+
path: _path + ".writeOnly",
|
|
5970
|
+
expected: "(boolean | undefined)",
|
|
5971
|
+
value: input.writeOnly
|
|
5972
|
+
})].every(flag => flag); const _vo136 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5561
5973
|
path: _path + ".$ref",
|
|
5562
5974
|
expected: "`#/components/headers/${string}`",
|
|
5563
5975
|
value: input.$ref
|
|
@@ -5585,7 +5997,15 @@ function validateHttpController(props) {
|
|
|
5585
5997
|
path: _path + ".deprecated",
|
|
5586
5998
|
expected: "(boolean | undefined)",
|
|
5587
5999
|
value: input.deprecated
|
|
5588
|
-
}), true
|
|
6000
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6001
|
+
path: _path + ".readOnly",
|
|
6002
|
+
expected: "(boolean | undefined)",
|
|
6003
|
+
value: input.readOnly
|
|
6004
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6005
|
+
path: _path + ".writeOnly",
|
|
6006
|
+
expected: "(boolean | undefined)",
|
|
6007
|
+
value: input.writeOnly
|
|
6008
|
+
})].every(flag => flag); const _vo137 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
|
5589
6009
|
path: _path + ".$ref",
|
|
5590
6010
|
expected: "`#/components/parameters/${string}`",
|
|
5591
6011
|
value: input.$ref
|
|
@@ -5613,7 +6033,15 @@ function validateHttpController(props) {
|
|
|
5613
6033
|
path: _path + ".deprecated",
|
|
5614
6034
|
expected: "(boolean | undefined)",
|
|
5615
6035
|
value: input.deprecated
|
|
5616
|
-
}), true
|
|
6036
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6037
|
+
path: _path + ".readOnly",
|
|
6038
|
+
expected: "(boolean | undefined)",
|
|
6039
|
+
value: input.readOnly
|
|
6040
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6041
|
+
path: _path + ".writeOnly",
|
|
6042
|
+
expected: "(boolean | undefined)",
|
|
6043
|
+
value: input.writeOnly
|
|
6044
|
+
})].every(flag => flag); const _vo138 = (input, _path, _exceptionable = true) => [undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
|
5617
6045
|
path: _path + ".operationId",
|
|
5618
6046
|
expected: "(string | undefined)",
|
|
5619
6047
|
value: input.operationId
|
|
@@ -5778,7 +6206,15 @@ function validateHttpController(props) {
|
|
|
5778
6206
|
path: _path + ".deprecated",
|
|
5779
6207
|
expected: "(boolean | undefined)",
|
|
5780
6208
|
value: input.deprecated
|
|
5781
|
-
}), true
|
|
6209
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6210
|
+
path: _path + ".readOnly",
|
|
6211
|
+
expected: "(boolean | undefined)",
|
|
6212
|
+
value: input.readOnly
|
|
6213
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6214
|
+
path: _path + ".writeOnly",
|
|
6215
|
+
expected: "(boolean | undefined)",
|
|
6216
|
+
value: input.writeOnly
|
|
6217
|
+
})].every(flag => flag); const _vo143 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5782
6218
|
const value = input[key];
|
|
5783
6219
|
if (undefined === value)
|
|
5784
6220
|
return true;
|
|
@@ -5880,7 +6316,15 @@ function validateHttpController(props) {
|
|
|
5880
6316
|
path: _path + ".deprecated",
|
|
5881
6317
|
expected: "(boolean | undefined)",
|
|
5882
6318
|
value: input.deprecated
|
|
5883
|
-
}), true
|
|
6319
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6320
|
+
path: _path + ".readOnly",
|
|
6321
|
+
expected: "(boolean | undefined)",
|
|
6322
|
+
value: input.readOnly
|
|
6323
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6324
|
+
path: _path + ".writeOnly",
|
|
6325
|
+
expected: "(boolean | undefined)",
|
|
6326
|
+
value: input.writeOnly
|
|
6327
|
+
})].every(flag => flag); const _vo148 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
|
|
5884
6328
|
const value = input[key];
|
|
5885
6329
|
if (undefined === value)
|
|
5886
6330
|
return true;
|
|
@@ -6155,7 +6599,15 @@ function validateHttpController(props) {
|
|
|
6155
6599
|
path: _path + ".deprecated",
|
|
6156
6600
|
expected: "(boolean | undefined)",
|
|
6157
6601
|
value: input.deprecated
|
|
6158
|
-
}), true
|
|
6602
|
+
}), true, undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6603
|
+
path: _path + ".readOnly",
|
|
6604
|
+
expected: "(boolean | undefined)",
|
|
6605
|
+
value: input.readOnly
|
|
6606
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6607
|
+
path: _path + ".writeOnly",
|
|
6608
|
+
expected: "(boolean | undefined)",
|
|
6609
|
+
value: input.writeOnly
|
|
6610
|
+
})].every(flag => flag); const _vo165 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
|
|
6159
6611
|
path: _path + ".name",
|
|
6160
6612
|
expected: "string",
|
|
6161
6613
|
value: input.name
|
|
@@ -6417,6 +6869,14 @@ function validateHttpController(props) {
|
|
|
6417
6869
|
path: _path + ".examples",
|
|
6418
6870
|
expected: "(Record<string, any> | undefined)",
|
|
6419
6871
|
value: input.examples
|
|
6872
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6873
|
+
path: _path + ".readOnly",
|
|
6874
|
+
expected: "(boolean | undefined)",
|
|
6875
|
+
value: input.readOnly
|
|
6876
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6877
|
+
path: _path + ".writeOnly",
|
|
6878
|
+
expected: "(boolean | undefined)",
|
|
6879
|
+
value: input.writeOnly
|
|
6420
6880
|
})].every(flag => flag); const _vo176 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
|
6421
6881
|
path: _path + "[\"default\"]",
|
|
6422
6882
|
expected: "(boolean | undefined)",
|
|
@@ -6445,6 +6905,14 @@ function validateHttpController(props) {
|
|
|
6445
6905
|
path: _path + ".examples",
|
|
6446
6906
|
expected: "(Record<string, any> | undefined)",
|
|
6447
6907
|
value: input.examples
|
|
6908
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6909
|
+
path: _path + ".readOnly",
|
|
6910
|
+
expected: "(boolean | undefined)",
|
|
6911
|
+
value: input.readOnly
|
|
6912
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6913
|
+
path: _path + ".writeOnly",
|
|
6914
|
+
expected: "(boolean | undefined)",
|
|
6915
|
+
value: input.writeOnly
|
|
6448
6916
|
})].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, {
|
|
6449
6917
|
path: _path + "[\"default\"]",
|
|
6450
6918
|
expected: "number & Type<\"int64\">",
|
|
@@ -6513,6 +6981,14 @@ function validateHttpController(props) {
|
|
|
6513
6981
|
path: _path + ".examples",
|
|
6514
6982
|
expected: "(Record<string, any> | undefined)",
|
|
6515
6983
|
value: input.examples
|
|
6984
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
6985
|
+
path: _path + ".readOnly",
|
|
6986
|
+
expected: "(boolean | undefined)",
|
|
6987
|
+
value: input.readOnly
|
|
6988
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
6989
|
+
path: _path + ".writeOnly",
|
|
6990
|
+
expected: "(boolean | undefined)",
|
|
6991
|
+
value: input.writeOnly
|
|
6516
6992
|
})].every(flag => flag); const _vo178 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
|
6517
6993
|
path: _path + "[\"default\"]",
|
|
6518
6994
|
expected: "(number | undefined)",
|
|
@@ -6565,6 +7041,14 @@ function validateHttpController(props) {
|
|
|
6565
7041
|
path: _path + ".examples",
|
|
6566
7042
|
expected: "(Record<string, any> | undefined)",
|
|
6567
7043
|
value: input.examples
|
|
7044
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7045
|
+
path: _path + ".readOnly",
|
|
7046
|
+
expected: "(boolean | undefined)",
|
|
7047
|
+
value: input.readOnly
|
|
7048
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7049
|
+
path: _path + ".writeOnly",
|
|
7050
|
+
expected: "(boolean | undefined)",
|
|
7051
|
+
value: input.writeOnly
|
|
6568
7052
|
})].every(flag => flag); const _vo179 = (input, _path, _exceptionable = true) => [undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
|
6569
7053
|
path: _path + "[\"default\"]",
|
|
6570
7054
|
expected: "(string | undefined)",
|
|
@@ -6621,6 +7105,14 @@ function validateHttpController(props) {
|
|
|
6621
7105
|
path: _path + ".examples",
|
|
6622
7106
|
expected: "(Record<string, any> | undefined)",
|
|
6623
7107
|
value: input.examples
|
|
7108
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7109
|
+
path: _path + ".readOnly",
|
|
7110
|
+
expected: "(boolean | undefined)",
|
|
7111
|
+
value: input.readOnly
|
|
7112
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7113
|
+
path: _path + ".writeOnly",
|
|
7114
|
+
expected: "(boolean | undefined)",
|
|
7115
|
+
value: input.writeOnly
|
|
6624
7116
|
})].every(flag => flag); const _vo180 = (input, _path, _exceptionable = true) => [("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
|
6625
7117
|
path: _path + ".items",
|
|
6626
7118
|
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)",
|
|
@@ -6673,6 +7165,14 @@ function validateHttpController(props) {
|
|
|
6673
7165
|
path: _path + ".examples",
|
|
6674
7166
|
expected: "(Record<string, any> | undefined)",
|
|
6675
7167
|
value: input.examples
|
|
7168
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7169
|
+
path: _path + ".readOnly",
|
|
7170
|
+
expected: "(boolean | undefined)",
|
|
7171
|
+
value: input.readOnly
|
|
7172
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7173
|
+
path: _path + ".writeOnly",
|
|
7174
|
+
expected: "(boolean | undefined)",
|
|
7175
|
+
value: input.writeOnly
|
|
6676
7176
|
})].every(flag => flag); const _vo181 = (input, _path, _exceptionable = true) => ["array" === input.type || _report(_exceptionable, {
|
|
6677
7177
|
path: _path + ".type",
|
|
6678
7178
|
expected: "\"array\"",
|
|
@@ -6745,6 +7245,14 @@ function validateHttpController(props) {
|
|
|
6745
7245
|
path: _path + ".examples",
|
|
6746
7246
|
expected: "(Record<string, any> | undefined)",
|
|
6747
7247
|
value: input.examples
|
|
7248
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7249
|
+
path: _path + ".readOnly",
|
|
7250
|
+
expected: "(boolean | undefined)",
|
|
7251
|
+
value: input.readOnly
|
|
7252
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7253
|
+
path: _path + ".writeOnly",
|
|
7254
|
+
expected: "(boolean | undefined)",
|
|
7255
|
+
value: input.writeOnly
|
|
6748
7256
|
})].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, {
|
|
6749
7257
|
path: _path + ".properties",
|
|
6750
7258
|
expected: "(Record<string, OpenApi.IJsonSchema> | undefined)",
|
|
@@ -6801,6 +7309,14 @@ function validateHttpController(props) {
|
|
|
6801
7309
|
path: _path + ".examples",
|
|
6802
7310
|
expected: "(Record<string, any> | undefined)",
|
|
6803
7311
|
value: input.examples
|
|
7312
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7313
|
+
path: _path + ".readOnly",
|
|
7314
|
+
expected: "(boolean | undefined)",
|
|
7315
|
+
value: input.readOnly
|
|
7316
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7317
|
+
path: _path + ".writeOnly",
|
|
7318
|
+
expected: "(boolean | undefined)",
|
|
7319
|
+
value: input.writeOnly
|
|
6804
7320
|
})].every(flag => flag); const _vo183 = (input, _path, _exceptionable = true) => ["string" === typeof input.$ref || _report(_exceptionable, {
|
|
6805
7321
|
path: _path + ".$ref",
|
|
6806
7322
|
expected: "string",
|
|
@@ -6825,6 +7341,14 @@ function validateHttpController(props) {
|
|
|
6825
7341
|
path: _path + ".examples",
|
|
6826
7342
|
expected: "(Record<string, any> | undefined)",
|
|
6827
7343
|
value: input.examples
|
|
7344
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7345
|
+
path: _path + ".readOnly",
|
|
7346
|
+
expected: "(boolean | undefined)",
|
|
7347
|
+
value: input.readOnly
|
|
7348
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7349
|
+
path: _path + ".writeOnly",
|
|
7350
|
+
expected: "(boolean | undefined)",
|
|
7351
|
+
value: input.writeOnly
|
|
6828
7352
|
})].every(flag => flag); const _vo184 = (input, _path, _exceptionable = true) => [(Array.isArray(input.oneOf) || _report(_exceptionable, {
|
|
6829
7353
|
path: _path + ".oneOf",
|
|
6830
7354
|
expected: "Array<IConstant | IBoolean | IInteger | INumber | IString | IArray | ITuple | IObject | IReference<string> | INull | IUnknown>",
|
|
@@ -6869,6 +7393,14 @@ function validateHttpController(props) {
|
|
|
6869
7393
|
path: _path + ".examples",
|
|
6870
7394
|
expected: "(Record<string, any> | undefined)",
|
|
6871
7395
|
value: input.examples
|
|
7396
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7397
|
+
path: _path + ".readOnly",
|
|
7398
|
+
expected: "(boolean | undefined)",
|
|
7399
|
+
value: input.readOnly
|
|
7400
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7401
|
+
path: _path + ".writeOnly",
|
|
7402
|
+
expected: "(boolean | undefined)",
|
|
7403
|
+
value: input.writeOnly
|
|
6872
7404
|
})].every(flag => flag); const _vo185 = (input, _path, _exceptionable = true) => [null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
|
6873
7405
|
path: _path + "[\"default\"]",
|
|
6874
7406
|
expected: "(null | undefined)",
|
|
@@ -6897,6 +7429,14 @@ function validateHttpController(props) {
|
|
|
6897
7429
|
path: _path + ".examples",
|
|
6898
7430
|
expected: "(Record<string, any> | undefined)",
|
|
6899
7431
|
value: input.examples
|
|
7432
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7433
|
+
path: _path + ".readOnly",
|
|
7434
|
+
expected: "(boolean | undefined)",
|
|
7435
|
+
value: input.readOnly
|
|
7436
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7437
|
+
path: _path + ".writeOnly",
|
|
7438
|
+
expected: "(boolean | undefined)",
|
|
7439
|
+
value: input.writeOnly
|
|
6900
7440
|
})].every(flag => flag); const _vo186 = (input, _path, _exceptionable = true) => [true, (null !== input.type || _report(_exceptionable, {
|
|
6901
7441
|
path: _path + ".type",
|
|
6902
7442
|
expected: "undefined",
|
|
@@ -6925,6 +7465,14 @@ function validateHttpController(props) {
|
|
|
6925
7465
|
path: _path + ".examples",
|
|
6926
7466
|
expected: "(Record<string, any> | undefined)",
|
|
6927
7467
|
value: input.examples
|
|
7468
|
+
}), undefined === input.readOnly || "boolean" === typeof input.readOnly || _report(_exceptionable, {
|
|
7469
|
+
path: _path + ".readOnly",
|
|
7470
|
+
expected: "(boolean | undefined)",
|
|
7471
|
+
value: input.readOnly
|
|
7472
|
+
}), undefined === input.writeOnly || "boolean" === typeof input.writeOnly || _report(_exceptionable, {
|
|
7473
|
+
path: _path + ".writeOnly",
|
|
7474
|
+
expected: "(boolean | undefined)",
|
|
7475
|
+
value: input.writeOnly
|
|
6928
7476
|
})].every(flag => flag); const _vo187 = (input, _path, _exceptionable = true) => ["string" === typeof input.propertyName || _report(_exceptionable, {
|
|
6929
7477
|
path: _path + ".propertyName",
|
|
6930
7478
|
expected: "string",
|
|
@@ -7936,9 +8484,8 @@ function validateHttpController(props) {
|
|
|
7936
8484
|
protocol: "http",
|
|
7937
8485
|
name: props.name,
|
|
7938
8486
|
application: openapi_1.HttpLlm.application({
|
|
7939
|
-
model: props.model,
|
|
7940
8487
|
document: openapi_1.OpenApi.convert(inspect.data),
|
|
7941
|
-
|
|
8488
|
+
config: props.config,
|
|
7942
8489
|
}),
|
|
7943
8490
|
execute: props.execute,
|
|
7944
8491
|
connection: props.connection,
|