@nestia/migrate 4.6.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/MigrateApplication.js +743 -715
- package/lib/MigrateApplication.js.map +1 -1
- package/lib/bundles/NEST_TEMPLATE.js +3 -3
- package/lib/bundles/NEST_TEMPLATE.js.map +1 -1
- package/lib/bundles/SDK_TEMPLATE.js +1 -1
- package/lib/index.mjs +734 -708
- package/lib/index.mjs.map +1 -1
- package/package.json +5 -5
- package/src/bundles/NEST_TEMPLATE.ts +3 -3
- package/src/bundles/SDK_TEMPLATE.ts +1 -1
package/lib/index.mjs
CHANGED
@@ -92,7 +92,7 @@ const NEST_TEMPLATE = [ {
|
|
92
92
|
}, {
|
93
93
|
location: "",
|
94
94
|
file: "package.json",
|
95
|
-
content: '{\n "private": true,\n "name": "@ORGANIZATION/PROJECT",\n "version": "0.1.0",\n "description": "Starter kit of Nestia",\n "main": "lib/index.js",\n "scripts": {\n "benchmark": "node bin/test/benchmark",\n "test": "node bin/test",\n "test:webpack": "npm run webpack && node bin/test/webpack.js",\n "------------------------BUILDS------------------------": "",\n "build": "npm run build:sdk && npm run build:main && npm run build:test",\n "build:api": "rimraf packages/api/lib && nestia all && rimraf packages/api/lib && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js",\n "build:main": "rimraf lib && tsc",\n "build:sdk": "rimraf src/api/functional && nestia sdk",\n "build:swagger": "npx nestia swagger",\n "build:test": "rimraf bin && tsc -p test/tsconfig.json",\n "dev": "npm run build:test -- --watch",\n "eslint": "eslint src && eslint test",\n "eslint:fix": "eslint --fix src && eslint --fix test",\n "prepare": "ts-patch install && typia patch",\n "prettier": "prettier src --write && prettier test --write",\n "------------------------WEBPACK------------------------": "",\n "webpack": "rimraf dist && webpack",\n "webpack:start": "cd dist && node dist/server",\n "webpack:test": "npm run webpack && node bin/test/webpack.js",\n "------------------------DEPLOYS------------------------": "",\n "package:api": "npm run build:api && cd packages/api && npm publish",\n "start": "node lib/executable/server",\n "start:dev": "nest start --watch",\n "start:swagger": "ts-node src/executable/swagger.ts"\n },\n "repository": {\n "type": "git",\n "url": "https://github.com/samchon/nestia-start"\n },\n "keywords": [\n "nestia",\n "template",\n "boilerplate"\n ],\n "author": "AUTHOR",\n "license": "MIT",\n "bugs": {\n "url": "https://github.com/samchon/nestia-start/issues"\n },\n "homepage": "https://github.com/samchon/nestia-start#readme",\n "devDependencies": {\n "@nestia/benchmark": "^0.3.0",\n "@nestia/e2e": "^0.8.
|
95
|
+
content: '{\n "private": true,\n "name": "@ORGANIZATION/PROJECT",\n "version": "0.1.0",\n "description": "Starter kit of Nestia",\n "main": "lib/index.js",\n "scripts": {\n "benchmark": "node bin/test/benchmark",\n "test": "node bin/test",\n "test:webpack": "npm run webpack && node bin/test/webpack.js",\n "------------------------BUILDS------------------------": "",\n "build": "npm run build:sdk && npm run build:main && npm run build:test",\n "build:api": "rimraf packages/api/lib && nestia all && rimraf packages/api/lib && tsc -p packages/api/tsconfig.json && rollup -c packages/api/rollup.config.js",\n "build:main": "rimraf lib && tsc",\n "build:sdk": "rimraf src/api/functional && nestia sdk",\n "build:swagger": "npx nestia swagger",\n "build:test": "rimraf bin && tsc -p test/tsconfig.json",\n "dev": "npm run build:test -- --watch",\n "eslint": "eslint src && eslint test",\n "eslint:fix": "eslint --fix src && eslint --fix test",\n "prepare": "ts-patch install && typia patch",\n "prettier": "prettier src --write && prettier test --write",\n "------------------------WEBPACK------------------------": "",\n "webpack": "rimraf dist && webpack",\n "webpack:start": "cd dist && node dist/server",\n "webpack:test": "npm run webpack && node bin/test/webpack.js",\n "------------------------DEPLOYS------------------------": "",\n "package:api": "npm run build:api && cd packages/api && npm publish",\n "start": "node lib/executable/server",\n "start:dev": "nest start --watch",\n "start:swagger": "ts-node src/executable/swagger.ts"\n },\n "repository": {\n "type": "git",\n "url": "https://github.com/samchon/nestia-start"\n },\n "keywords": [\n "nestia",\n "template",\n "boilerplate"\n ],\n "author": "AUTHOR",\n "license": "MIT",\n "bugs": {\n "url": "https://github.com/samchon/nestia-start/issues"\n },\n "homepage": "https://github.com/samchon/nestia-start#readme",\n "devDependencies": {\n "@nestia/benchmark": "^0.3.0",\n "@nestia/e2e": "^0.8.2",\n "@nestia/sdk": "^5.0.0",\n "@nestjs/cli": "^11.0.5",\n "@rollup/plugin-terser": "^0.4.4",\n "@rollup/plugin-typescript": "^11.1.6",\n "@trivago/prettier-plugin-sort-imports": "^4.3.0",\n "@types/cli": "^0.11.21",\n "@types/cli-progress": "^3.11.5",\n "@types/express": "^4.17.21",\n "@types/inquirer": "^8.2.5",\n "@types/node": "^18.11.0",\n "@types/uuid": "^8.3.4",\n "@typescript-eslint/eslint-plugin": "^8.1.0",\n "@typescript-eslint/parser": "^8.1.0",\n "chalk": "^4.1.2",\n "cli": "^1.0.1",\n "cli-progress": "^3.12.0",\n "copy-webpack-plugin": "^11.0.0",\n "eslint-plugin-deprecation": "^3.0.0",\n "express": "^4.18.2",\n "nestia": "^6.4.0",\n "prettier": "^3.2.4",\n "prettier-plugin-prisma": "^5.0.0",\n "rimraf": "^3.0.2",\n "rollup": "^4.18.0",\n "source-map-support": "^0.5.21",\n "swagger-ui-express": "^5.0.0",\n "ts-loader": "^9.5.1",\n "ts-node": "^10.9.1",\n "ts-patch": "^3.3.0",\n "typescript": "~5.7.3",\n "typescript-transform-paths": "^3.5.3",\n "webpack": "^5.89.0",\n "webpack-cli": "^5.1.4",\n "write-file-webpack-plugin": "^4.5.1"\n },\n "dependencies": {\n "@nestia/core": "^5.0.0",\n "@nestia/fetcher": "^5.0.0",\n "@nestjs/common": "^11.0.10",\n "@nestjs/core": "^11.0.10",\n "@nestjs/platform-express": "^11.0.10",\n "commander": "10.0.0",\n "dotenv": "^16.3.1",\n "dotenv-expand": "^10.0.0",\n "inquirer": "8.2.5",\n "serialize-error": "^4.1.0",\n "tgrid": "^1.0.2",\n "tstl": "^3.0.0",\n "typia": "^7.6.4",\n "uuid": "^9.0.0"\n },\n "stackblitz": {\n "startCommand": "npm run prepare && npm run build:test && npm run test"\n }\n}'
|
96
96
|
}, {
|
97
97
|
location: "packages/api",
|
98
98
|
file: ".gitignore",
|
@@ -108,7 +108,7 @@ const NEST_TEMPLATE = [ {
|
|
108
108
|
}, {
|
109
109
|
location: "packages/api",
|
110
110
|
file: "package.json",
|
111
|
-
content: '{\n "name": "@ORGANIZATION/PROJECT-api",\n "version": "0.1.0",\n "description": "SDK library generated by Nestia",\n "main": "lib/index.js",\n "module": "lib/index.mjs",\n "typings": "lib/index.d.ts",\n "repository": {\n "type": "git",\n "url": "https://github.com/samchon/nestia"\n },\n "author": "Jeongho Nam",\n "license": "MIT",\n "bugs": {\n "url": "https://github.com/samchon/nestia/issues"\n },\n "homepage": "https://nestia.io",\n "files": [\n "lib",\n "package.json",\n "swagger.json",\n "openai.json",\n "README.md"\n ],\n "dependencies": {\n "@nestia/fetcher": "^
|
111
|
+
content: '{\n "name": "@ORGANIZATION/PROJECT-api",\n "version": "0.1.0",\n "description": "SDK library generated by Nestia",\n "main": "lib/index.js",\n "module": "lib/index.mjs",\n "typings": "lib/index.d.ts",\n "repository": {\n "type": "git",\n "url": "https://github.com/samchon/nestia"\n },\n "author": "Jeongho Nam",\n "license": "MIT",\n "bugs": {\n "url": "https://github.com/samchon/nestia/issues"\n },\n "homepage": "https://nestia.io",\n "files": [\n "lib",\n "package.json",\n "swagger.json",\n "openai.json",\n "README.md"\n ],\n "dependencies": {\n "@nestia/fetcher": "^5.0.0",\n "tgrid": "^1.1.0",\n "typia": "^7.6.4"\n }\n}'
|
112
112
|
}, {
|
113
113
|
location: "packages/api",
|
114
114
|
file: "rollup.config.js",
|
@@ -212,7 +212,7 @@ const NEST_TEMPLATE = [ {
|
|
212
212
|
}, {
|
213
213
|
location: "test",
|
214
214
|
file: "webpack.ts",
|
215
|
-
content: 'import cp from "child_process";\nimport { sleep_for } from "tstl";\n\nimport { MyConfiguration } from "../src/MyConfiguration";\nimport { MyGlobal } from "../src/MyGlobal";\nimport
|
215
|
+
content: 'import cp from "child_process";\nimport { sleep_for } from "tstl";\n\nimport { MyConfiguration } from "../src/MyConfiguration";\nimport { MyGlobal } from "../src/MyGlobal";\nimport { TestAutomation } from "./TestAutomation";\n\nconst wait = async (): Promise<void> => {\n while (true)\n try {\n await fetch(`http://localhost:${MyConfiguration.API_PORT()}/dsafdsafsd`);\n return;\n } catch (exp) {\n await sleep_for(100);\n }\n};\n\nconst main = async (): Promise<void> => {\n MyGlobal.testing = true;\n await TestAutomation.execute({\n open: async () => {\n const backend: cp.ChildProcess = cp.fork(\n `${MyConfiguration.ROOT}/dist/server.js`,\n {\n cwd: `${MyConfiguration.ROOT}/dist`,\n },\n );\n await wait();\n return backend;\n },\n close: async (backend) => {\n backend.kill();\n },\n });\n};\nmain().catch((exp) => {\n console.log(exp);\n process.exit(-1);\n});\n'
|
216
216
|
}, {
|
217
217
|
location: "",
|
218
218
|
file: "tsconfig.json",
|
@@ -254,7 +254,7 @@ const SDK_TEMPLATE = [ {
|
|
254
254
|
}, {
|
255
255
|
location: "",
|
256
256
|
file: "package.json",
|
257
|
-
content: '{\n "name": "@ORGANIZATION/PROJECT-api",\n "version": "0.1.0",\n "description": "SDK library generated by Nestia",\n "main": "lib/index.js",\n "module": "lib/index.mjs",\n "typings": "lib/index.d.ts",\n "scripts": {\n "build": "rimraf lib && tsc && rollup -c",\n "build:test": "rimraf bin && tsc --project test/tsconfig.json",\n "deploy": "npm run build && npm publish",\n "dev": "npm run build:test -- --watch",\n "hello": "node hello",\n "prepare": "ts-patch install && typia patch",\n "start": "ts-node test/start.ts",\n "swagger": "ts-node test/swagger.ts",\n "test": "ts-node test/index.ts",\n "test:simulate": "ts-node test/index.ts --simulate true",\n "test:manual": "ts-node test/manual.ts"\n },\n "repository": {\n "type": "git",\n "url": "https://github.com/samchon/nestia"\n },\n "author": "Jeongho Nam",\n "license": "MIT",\n "bugs": {\n "url": "https://github.com/samchon/nestia/issues"\n },\n "homepage": "https://nestia.io",\n "files": [\n "lib",\n "swagger.json",\n "package.json",\n "README.md"\n ],\n "dependencies": {\n "@nestia/fetcher": "^
|
257
|
+
content: '{\n "name": "@ORGANIZATION/PROJECT-api",\n "version": "0.1.0",\n "description": "SDK library generated by Nestia",\n "main": "lib/index.js",\n "module": "lib/index.mjs",\n "typings": "lib/index.d.ts",\n "scripts": {\n "build": "rimraf lib && tsc && rollup -c",\n "build:test": "rimraf bin && tsc --project test/tsconfig.json",\n "deploy": "npm run build && npm publish",\n "dev": "npm run build:test -- --watch",\n "hello": "node hello",\n "prepare": "ts-patch install && typia patch",\n "start": "ts-node test/start.ts",\n "swagger": "ts-node test/swagger.ts",\n "test": "ts-node test/index.ts",\n "test:simulate": "ts-node test/index.ts --simulate true",\n "test:manual": "ts-node test/manual.ts"\n },\n "repository": {\n "type": "git",\n "url": "https://github.com/samchon/nestia"\n },\n "author": "Jeongho Nam",\n "license": "MIT",\n "bugs": {\n "url": "https://github.com/samchon/nestia/issues"\n },\n "homepage": "https://nestia.io",\n "files": [\n "lib",\n "swagger.json",\n "package.json",\n "README.md"\n ],\n "dependencies": {\n "@nestia/fetcher": "^5.0.0",\n "tgrid": "^1.1.0",\n "typia": "^7.6.4"\n },\n "devDependencies": {\n "@nestia/e2e": "^0.8.2",\n "@rollup/plugin-terser": "^0.4.4",\n "@rollup/plugin-typescript": "^11.1.6",\n "@trivago/prettier-plugin-sort-imports": "^4.3.0",\n "@types/express": "^4.17.21",\n "@types/inquirer": "8.2.5",\n "@types/swagger-ui-express": "^4.1.6",\n "chalk": "4.1.2",\n "commander": "^10.0.0",\n "express": "^4.19.2",\n "inquirer": "8.2.5",\n "prettier": "^3.2.5",\n "rimraf": "^5.0.5",\n "rollup": "^4.13.2",\n "swagger-ui-express": "^5.0.0",\n "ts-node": "^10.9.2",\n "ts-patch": "^3.3.0",\n "typescript": "~5.7.3",\n "typescript-transform-paths": "^3.5.3"\n }\n}'
|
258
258
|
}, {
|
259
259
|
location: "",
|
260
260
|
file: "prettier.config.js",
|
@@ -1077,7 +1077,7 @@ class MigrateApplication {
|
|
1077
1077
|
const _io13 = 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === 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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1078
1078
|
const _io14 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1079
1079
|
const _io15 = 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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1080
|
-
const _io16 = input => Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu0(input.additionalItems))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) &&
|
1080
|
+
const _io16 = input => "array" === input.type && (Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu0(elem)))) && (null !== input.additionalItems && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || "object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) && _iu0(input.additionalItems))) && (undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (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) && _io10(input.examples));
|
1081
1081
|
const _io17 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io8(input.properties)) && (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.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) && _io10(input.examples));
|
1082
1082
|
const _io18 = 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) && _io10(input.examples));
|
1083
1083
|
const _io19 = input => Array.isArray(input.oneOf) && input.oneOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu1(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io22(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) && _io10(input.examples));
|
@@ -1151,33 +1151,33 @@ class MigrateApplication {
|
|
1151
1151
|
if (undefined === value) return true;
|
1152
1152
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu2(value);
|
1153
1153
|
}));
|
1154
|
-
const _io53 = 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))) &&
|
1155
|
-
const _io54 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) &&
|
1156
|
-
const _io55 = 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) &&
|
1157
|
-
const _io56 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) &&
|
1158
|
-
const _io57 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu2(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) &&
|
1159
|
-
const _io58 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && _iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) &&
|
1160
|
-
const _io59 = 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
|
1161
|
-
const _io60 = input => null !==
|
1162
|
-
const _io61 = input => "
|
1163
|
-
const _io62 = input =>
|
1164
|
-
const _io63 = input =>
|
1154
|
+
const _io53 = 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))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
1155
|
+
const _io54 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
1156
|
+
const _io55 = 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
1157
|
+
const _io56 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
1158
|
+
const _io57 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu2(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
1159
|
+
const _io58 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && _iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples));
|
1160
|
+
const _io59 = 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;
|
1161
|
+
const _io60 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(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;
|
1162
|
+
const _io61 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(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;
|
1163
|
+
const _io62 = 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;
|
1164
|
+
const _io63 = 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;
|
1165
1165
|
const _io64 = input => Object.keys(input).every((key => {
|
1166
1166
|
const value = input[key];
|
1167
1167
|
if (undefined === value) return true;
|
1168
1168
|
return "object" === typeof value && null !== value && _iu10(value);
|
1169
1169
|
}));
|
1170
|
-
const _io65 = 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))) &&
|
1171
|
-
const _io66 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) &&
|
1172
|
-
const _io67 = 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) &&
|
1173
|
-
const _io68 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) &&
|
1174
|
-
const _io69 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu2(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) &&
|
1175
|
-
const _io70 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && _iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) &&
|
1176
|
-
const _io71 = 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 &&
|
1177
|
-
const _io72 = input => null !==
|
1178
|
-
const _io73 = input => "
|
1179
|
-
const _io74 = input =>
|
1180
|
-
const _io75 = input =>
|
1170
|
+
const _io65 = 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))) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "boolean" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
1171
|
+
const _io66 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "integer" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
1172
|
+
const _io67 = 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "number" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
1173
|
+
const _io68 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "string" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
1174
|
+
const _io69 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu2(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "array" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
1175
|
+
const _io70 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io52(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) && _iu2(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && "object" === input.type && (undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"]) && (undefined === input.examples || Array.isArray(input.examples)) && "string" === typeof input.name && "string" === typeof input["in"];
|
1176
|
+
const _io71 = 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"];
|
1177
|
+
const _io72 = input => Array.isArray(input["x-anyOf"]) && input["x-anyOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(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"];
|
1178
|
+
const _io73 = input => Array.isArray(input["x-oneOf"]) && input["x-oneOf"].every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu2(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"];
|
1179
|
+
const _io74 = 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"];
|
1180
|
+
const _io75 = 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"];
|
1181
1181
|
const _io76 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu2(input.schema) && "string" === typeof input.name && "string" === typeof input["in"] && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required);
|
1182
1182
|
const _io77 = input => Object.keys(input).every((key => {
|
1183
1183
|
const value = input[key];
|
@@ -1202,15 +1202,15 @@ class MigrateApplication {
|
|
1202
1202
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io87(value);
|
1203
1203
|
}));
|
1204
1204
|
const _io87 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu3(elem)))) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io89(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io89(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io89(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io89(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io89(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io89(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io89(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io89(input.trace));
|
1205
|
-
const _io88 = input => "string" === typeof input.$ref && RegExp(/^#\/parameters\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true
|
1205
|
+
const _io88 = 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;
|
1206
1206
|
const _io89 = 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.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io91(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) && _io46(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "string" === typeof elem))) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
1207
|
-
const _io90 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/parameters\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true
|
1207
|
+
const _io90 = 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;
|
1208
1208
|
const _io91 = input => Object.keys(input).every((key => {
|
1209
1209
|
const value = input[key];
|
1210
1210
|
if (undefined === value) return true;
|
1211
1211
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu12(value);
|
1212
1212
|
}));
|
1213
|
-
const _io92 = input => "string" === typeof input.$ref && RegExp(/^#\/definitions\/responses\/(.*)/).test(input.$ref) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true
|
1213
|
+
const _io92 = 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;
|
1214
1214
|
const _io93 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description);
|
1215
1215
|
const _io94 = 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 && _io95(elem)))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io98(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io101(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io142(input.paths)) && (undefined === input.security || Array.isArray(input.security) && input.security.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "object" === typeof elem && null !== elem && _io149(elem))));
|
1216
1216
|
const _io95 = 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) && _io96(input.variables));
|
@@ -1229,19 +1229,19 @@ class MigrateApplication {
|
|
1229
1229
|
if (undefined === value) return true;
|
1230
1230
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu5(value);
|
1231
1231
|
}));
|
1232
|
-
const _io103 = 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.
|
1233
|
-
const _io104 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.
|
1234
|
-
const _io105 = 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && 0 < input.multipleOf) && "number" === input.type && (undefined === input.
|
1235
|
-
const _io106 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.
|
1236
|
-
const _io107 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.
|
1237
|
-
const _io108 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io102(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.
|
1232
|
+
const _io103 = 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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1233
|
+
const _io104 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1234
|
+
const _io105 = 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 || "boolean" === typeof input.exclusiveMinimum) && (undefined === 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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1235
|
+
const _io106 = 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 <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1236
|
+
const _io107 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu5(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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1237
|
+
const _io108 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io102(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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1238
1238
|
const _io109 = 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) && _io10(input.examples));
|
1239
|
-
const _io110 = input =>
|
1240
|
-
const _io111 = input => "
|
1241
|
-
const _io112 = input => Array.isArray(input.
|
1242
|
-
const _io113 = input =>
|
1243
|
-
const _io114 = input =>
|
1244
|
-
const _io115 = input => "string" === typeof input.
|
1239
|
+
const _io110 = input => Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (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) && _io10(input.examples));
|
1240
|
+
const _io111 = input => Array.isArray(input.anyOf) && input.anyOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu5(elem))) && (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) && _io10(input.examples));
|
1241
|
+
const _io112 = 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 && _io113(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) && _io10(input.examples));
|
1242
|
+
const _io113 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping));
|
1243
|
+
const _io114 = 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) && _io10(input.examples));
|
1244
|
+
const _io115 = input => 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) && _io10(input.examples));
|
1245
1245
|
const _io116 = input => Object.keys(input).every((key => {
|
1246
1246
|
const value = input[key];
|
1247
1247
|
if (undefined === value) return true;
|
@@ -1320,7 +1320,7 @@ class MigrateApplication {
|
|
1320
1320
|
}));
|
1321
1321
|
const _io148 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(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) && _io10(input.examples));
|
1322
1322
|
const _io149 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description);
|
1323
|
-
const _io150 = 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 && _io151(elem)))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io154(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io157(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) &&
|
1323
|
+
const _io150 = 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 && _io151(elem)))) && (undefined === input.info || "object" === typeof input.info && null !== input.info && _io154(input.info)) && (undefined === input.components || "object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && _io157(input.components)) && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && _io175(input.paths)) && (undefined === input.webhooks || "object" === typeof input.webhooks && null !== input.webhooks && false === Array.isArray(input.webhooks) && _io208(input.webhooks)) && (undefined === input.security || Array.isArray(input.security) && input.security.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io46(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "object" === typeof elem && null !== elem && _io210(elem))));
|
1324
1324
|
const _io151 = 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) && _io152(input.variables));
|
1325
1325
|
const _io152 = input => Object.keys(input).every((key => {
|
1326
1326
|
const value = input[key];
|
@@ -1331,111 +1331,112 @@ class MigrateApplication {
|
|
1331
1331
|
const _io154 = input => "string" === typeof input.title && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && _io155(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && _io156(input.license)) && "string" === typeof input.version;
|
1332
1332
|
const _io155 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.email || "string" === typeof input.email);
|
1333
1333
|
const _io156 = input => "string" === typeof input.name && (undefined === input.identifier || "string" === typeof input.identifier) && (undefined === input.url || "string" === typeof input.url);
|
1334
|
-
const _io157 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && _io158(input.schemas)) && (undefined === input.pathItems || "object" === typeof input.pathItems && null !== input.pathItems && false === Array.isArray(input.pathItems) &&
|
1334
|
+
const _io157 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && _io158(input.schemas)) && (undefined === input.pathItems || "object" === typeof input.pathItems && null !== input.pathItems && false === Array.isArray(input.pathItems) && _io175(input.pathItems)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io193(input.responses)) && (undefined === input.parameters || "object" === typeof input.parameters && null !== input.parameters && false === Array.isArray(input.parameters) && _io194(input.parameters)) && (undefined === input.requestBodies || "object" === typeof input.requestBodies && null !== input.requestBodies && false === Array.isArray(input.requestBodies) && _io195(input.requestBodies)) && (undefined === input.securitySchemes || "object" === typeof input.securitySchemes && null !== input.securitySchemes && false === Array.isArray(input.securitySchemes) && _io196(input.securitySchemes)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io206(input.headers)) && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io207(input.examples));
|
1335
1335
|
const _io158 = input => Object.keys(input).every((key => {
|
1336
1336
|
const value = input[key];
|
1337
1337
|
if (undefined === value) return true;
|
1338
1338
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu7(value);
|
1339
1339
|
}));
|
1340
|
-
const _io159 = input => Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === 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.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) && _io10(input.examples)) && (undefined === input.
|
1341
|
-
const _io160 = 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) && _io10(input.examples));
|
1342
|
-
const _io161 = 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.
|
1343
|
-
const _io162 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.
|
1344
|
-
const _io163 = 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.
|
1345
|
-
const _io164 = input => (undefined === input.
|
1346
|
-
const _io165 = input => null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu7(input.items))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(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) && _iu7(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.
|
1347
|
-
const _io166 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io158(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) && _iu7(input.additionalProperties))) && (undefined === input.maxProperties || "number" === typeof input.maxProperties) && (undefined === input.minProperties || "number" === typeof input.minProperties) && "object" === input.type && (undefined === input.
|
1340
|
+
const _io159 = input => Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === 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) && (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) && _io10(input.examples)) && (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) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) || "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 <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && (undefined === input.prefixItems || 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.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io158(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))) && (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) && _iu7(elem)))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io172(input.discriminator)) && (Array.isArray(input.anyOf) && input.anyOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)))) && (Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem)))) && "string" === typeof input.$ref;
|
1341
|
+
const _io160 = input => ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (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) && _io10(input.examples));
|
1342
|
+
const _io161 = 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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1343
|
+
const _io162 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "number" === typeof elem))) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -0x8000000000000000 <= input.minimum && input.minimum <= 0x8000000000000000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -0x8000000000000000 <= input.maximum && input.maximum <= 0x8000000000000000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -0x8000000000000000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -0x8000000000000000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 0x8000000000000000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 0x10000000000000000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1344
|
+
const _io163 = 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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1345
|
+
const _io164 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every((elem => null === elem || "string" === typeof elem))) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 0x10000000000000000)) && "string" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1346
|
+
const _io165 = 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) && _iu7(elem))) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _iu7(input.items)))) && (undefined === input.prefixItems || Array.isArray(input.prefixItems) && input.prefixItems.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(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) && _iu7(input.additionalItems))) && (undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 0x10000000000000000)) && "array" === input.type && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1347
|
+
const _io166 = input => (undefined === input.nullable || "boolean" === typeof input.nullable) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io158(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) && _iu7(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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1348
1348
|
const _io167 = 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) && _io10(input.examples));
|
1349
|
-
const _io168 = input =>
|
1350
|
-
const _io169 = input => (
|
1351
|
-
const _io170 = input => Array.isArray(input.
|
1352
|
-
const _io171 = input => Array.isArray(input.
|
1353
|
-
const _io172 = input =>
|
1354
|
-
const _io173 = input => "string" === typeof input.
|
1355
|
-
const _io174 = input =>
|
1349
|
+
const _io168 = input => "string" === typeof input.$recursiveRef && (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) && _io10(input.examples));
|
1350
|
+
const _io169 = input => Array.isArray(input.allOf) && input.allOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) && (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) && _io10(input.examples));
|
1351
|
+
const _io170 = input => Array.isArray(input.anyOf) && input.anyOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) && (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) && _io10(input.examples));
|
1352
|
+
const _io171 = input => Array.isArray(input.oneOf) && input.oneOf.every((elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _iu7(elem))) && (undefined === input.discriminator || "object" === typeof input.discriminator && null !== input.discriminator && _io172(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) && _io10(input.examples));
|
1353
|
+
const _io172 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && _io23(input.mapping));
|
1354
|
+
const _io173 = 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) && _io10(input.examples));
|
1355
|
+
const _io174 = 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.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io10(input.examples));
|
1356
|
+
const _io175 = input => Object.keys(input).every((key => {
|
1356
1357
|
const value = input[key];
|
1357
1358
|
if (undefined === value) return true;
|
1358
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
1359
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io176(value);
|
1359
1360
|
}));
|
1360
|
-
const
|
1361
|
-
const
|
1362
|
-
const
|
1361
|
+
const _io176 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu8(elem)))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io151(elem)))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && _io183(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && _io183(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && _io183(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && _io183(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && _io183(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && _io183(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io183(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && _io183(input.trace));
|
1362
|
+
const _io177 = input => (undefined === input.name || "string" === typeof input.name) && ("path" === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && (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) && _io178(input.examples));
|
1363
|
+
const _io178 = input => Object.keys(input).every((key => {
|
1363
1364
|
const value = input[key];
|
1364
1365
|
if (undefined === value) return true;
|
1365
1366
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu18(value);
|
1366
1367
|
}));
|
1367
|
-
const
|
1368
|
-
const
|
1369
|
-
const
|
1370
|
-
const
|
1371
|
-
const
|
1372
|
-
const
|
1373
|
-
const
|
1368
|
+
const _io179 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue);
|
1369
|
+
const _io180 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(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) && _io10(input.examples));
|
1370
|
+
const _io181 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(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) && _io10(input.examples));
|
1371
|
+
const _io182 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(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) && _io10(input.examples));
|
1372
|
+
const _io183 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every((elem => "object" === typeof elem && null !== elem && _iu8(elem)))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && _iu19(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && _io188(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every((elem => "object" === typeof elem && null !== elem && _io151(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) && _io46(elem)))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every((elem => "string" === typeof elem))) && (undefined === input.deprecated || "boolean" === typeof input.deprecated);
|
1373
|
+
const _io184 = 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) && _io185(input.content));
|
1374
|
+
const _io185 = input => Object.keys(input).every((key => {
|
1374
1375
|
const value = input[key];
|
1375
1376
|
if (undefined === value) return true;
|
1376
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) &&
|
1377
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io186(value);
|
1377
1378
|
}));
|
1378
|
-
const
|
1379
|
-
const
|
1380
|
-
const
|
1379
|
+
const _io186 = input => (undefined === input.schema || "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema)) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io178(input.examples));
|
1380
|
+
const _io187 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(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) && _io10(input.examples));
|
1381
|
+
const _io188 = input => Object.keys(input).every((key => {
|
1381
1382
|
const value = input[key];
|
1382
1383
|
if (undefined === value) return true;
|
1383
1384
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu20(value);
|
1384
1385
|
}));
|
1385
|
-
const
|
1386
|
-
const
|
1386
|
+
const _io189 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && _io185(input.content)) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io190(input.headers)) && (undefined === input.description || "string" === typeof input.description);
|
1387
|
+
const _io190 = input => Object.keys(input).every((key => {
|
1387
1388
|
const value = input[key];
|
1388
1389
|
if (undefined === value) return true;
|
1389
1390
|
return "object" === typeof value && null !== value && _iu21(value);
|
1390
1391
|
}));
|
1391
|
-
const
|
1392
|
-
const
|
1393
|
-
const _io192 = input => Object.keys(input).every((key => {
|
1394
|
-
const value = input[key];
|
1395
|
-
if (undefined === value) return true;
|
1396
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io188(value);
|
1397
|
-
}));
|
1392
|
+
const _io191 = input => (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && _io178(input.examples)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && _iu7(input.schema));
|
1393
|
+
const _io192 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(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) && _io10(input.examples));
|
1398
1394
|
const _io193 = input => Object.keys(input).every((key => {
|
1399
1395
|
const value = input[key];
|
1400
1396
|
if (undefined === value) return true;
|
1401
|
-
return "object" === typeof value && null !== value &&
|
1397
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io189(value);
|
1402
1398
|
}));
|
1403
1399
|
const _io194 = input => Object.keys(input).every((key => {
|
1404
1400
|
const value = input[key];
|
1405
1401
|
if (undefined === value) return true;
|
1406
|
-
return "object" === typeof value && null !== value &&
|
1402
|
+
return "object" === typeof value && null !== value && _io177(value);
|
1407
1403
|
}));
|
1408
1404
|
const _io195 = input => Object.keys(input).every((key => {
|
1409
1405
|
const value = input[key];
|
1410
1406
|
if (undefined === value) return true;
|
1411
|
-
return "object" === typeof value && null !== value &&
|
1407
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io184(value);
|
1412
1408
|
}));
|
1413
|
-
const _io196 = input =>
|
1414
|
-
const _io197 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description);
|
1415
|
-
const _io198 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description);
|
1416
|
-
const _io199 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io200(input.flows)) && (undefined === input.description || "string" === typeof input.description);
|
1417
|
-
const _io200 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io201(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io202(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io203(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io203(input.clientCredentials));
|
1418
|
-
const _io201 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes));
|
1419
|
-
const _io202 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes));
|
1420
|
-
const _io203 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes));
|
1421
|
-
const _io204 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description);
|
1422
|
-
const _io205 = input => Object.keys(input).every((key => {
|
1409
|
+
const _io196 = input => Object.keys(input).every((key => {
|
1423
1410
|
const value = input[key];
|
1424
1411
|
if (undefined === value) return true;
|
1425
|
-
return "object" === typeof value && null !== value &&
|
1412
|
+
return "object" === typeof value && null !== value && _iu22(value);
|
1426
1413
|
}));
|
1414
|
+
const _io197 = input => "apiKey" === input.type && (undefined === input["in"] || "query" === input["in"] || "header" === input["in"] || "cookie" === input["in"]) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description);
|
1415
|
+
const _io198 = input => "http" === input.type && "basic" === input.scheme && (undefined === input.description || "string" === typeof input.description);
|
1416
|
+
const _io199 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat) && (undefined === input.description || "string" === typeof input.description);
|
1417
|
+
const _io200 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && _io201(input.flows)) && (undefined === input.description || "string" === typeof input.description);
|
1418
|
+
const _io201 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) && _io202(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && false === Array.isArray(input.implicit) && _io203(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && false === Array.isArray(input.password) && _io204(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && false === Array.isArray(input.clientCredentials) && _io204(input.clientCredentials));
|
1419
|
+
const _io202 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes));
|
1420
|
+
const _io203 = input => (undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes));
|
1421
|
+
const _io204 = input => (undefined === input.tokenUrl || "string" === typeof input.tokenUrl) && (undefined === input.refreshUrl || "string" === typeof input.refreshUrl) && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && _io23(input.scopes));
|
1422
|
+
const _io205 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl && (undefined === input.description || "string" === typeof input.description);
|
1427
1423
|
const _io206 = input => Object.keys(input).every((key => {
|
1428
1424
|
const value = input[key];
|
1429
1425
|
if (undefined === value) return true;
|
1430
|
-
return "object" === typeof value && null !== value &&
|
1426
|
+
return "object" === typeof value && null !== value && _io191(value);
|
1431
1427
|
}));
|
1432
1428
|
const _io207 = input => Object.keys(input).every((key => {
|
1429
|
+
const value = input[key];
|
1430
|
+
if (undefined === value) return true;
|
1431
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io179(value);
|
1432
|
+
}));
|
1433
|
+
const _io208 = input => Object.keys(input).every((key => {
|
1433
1434
|
const value = input[key];
|
1434
1435
|
if (undefined === value) return true;
|
1435
1436
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && _iu23(value);
|
1436
1437
|
}));
|
1437
|
-
const
|
1438
|
-
const
|
1438
|
+
const _io209 = input => "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(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) && _io10(input.examples));
|
1439
|
+
const _io210 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description);
|
1439
1440
|
const _iu0 = input => (() => {
|
1440
1441
|
if (undefined !== input["const"]) return _io9(input); else if ("boolean" === input.type) return _io11(input); else if ("number" === input.type) return _io13(input); else if ("integer" === input.type) return _io12(input); else if ("string" === input.type) return _io14(input); else if (undefined !== input.items) return _io15(input); else if (undefined !== input.prefixItems) return _io16(input); else if ("object" === input.type) return _io17(input); else if (undefined !== input.$ref) return _io18(input); else if (undefined !== input.oneOf) return _io19(input); else if ("null" === input.type) return _io20(input); else return _io21(input);
|
1441
1442
|
})();
|
@@ -1443,43 +1444,43 @@ class MigrateApplication {
|
|
1443
1444
|
if (undefined !== input["const"]) return _io9(input); else if ("boolean" === input.type) return _io11(input); else if ("number" === input.type) return _io13(input); else if ("integer" === input.type) return _io12(input); else if ("string" === input.type) return _io14(input); else if (undefined !== input.items) return _io15(input); else if (undefined !== input.prefixItems) return _io16(input); else if ("object" === input.type) return _io17(input); else if (undefined !== input.$ref) return _io18(input); else if ("null" === input.type) return _io20(input); else return _io21(input);
|
1444
1445
|
})();
|
1445
1446
|
const _iu2 = input => (() => {
|
1446
|
-
if ("boolean" === input.type) return _io53(input); else if ("number" === input.type) return _io55(input); else if ("integer" === input.type) return _io54(input); else if ("string" === input.type) return _io56(input); else if ("array" === input.type) return _io57(input); else if ("object" === input.type) return _io58(input); else if (undefined !== input.$ref) return _io59(input); else if (
|
1447
|
+
if ("boolean" === input.type) return _io53(input); else if ("number" === input.type) return _io55(input); else if ("integer" === input.type) return _io54(input); else if ("string" === input.type) return _io56(input); else if ("array" === input.type) return _io57(input); else if ("object" === input.type) return _io58(input); else if (undefined !== input.$ref) return _io59(input); else if (undefined !== input["x-anyOf"]) return _io60(input); else if (undefined !== input["x-oneOf"]) return _io61(input); else if ("null" === input.type) return _io62(input); else return _io63(input);
|
1447
1448
|
})();
|
1448
1449
|
const _iu3 = input => (() => {
|
1449
|
-
if ("boolean" === input.type) return _io65(input); else if ("number" === input.type) return _io67(input); else if ("integer" === input.type) return _io66(input); else if ("string" === input.type) return _io68(input); else if ("array" === input.type) return _io69(input); else if ("object" === input.type) return _io70(input); else if (
|
1450
|
+
if ("boolean" === input.type) return _io65(input); else if ("number" === input.type) return _io67(input); else if ("integer" === input.type) return _io66(input); else if ("string" === input.type) return _io68(input); else if ("array" === input.type) return _io69(input); else if ("object" === input.type) return _io70(input); else if (undefined !== input["x-anyOf"]) return _io72(input); else if (undefined !== input["x-oneOf"]) return _io73(input); else if ("null" === input.type) return _io74(input); else if (undefined !== input.schema) return _io76(input); else return (() => {
|
1450
1451
|
if (_io71(input)) return _io71(input);
|
1451
|
-
if (
|
1452
|
+
if (_io75(input)) return _io75(input);
|
1452
1453
|
if (_io88(input)) return _io88(input);
|
1453
1454
|
return false;
|
1454
1455
|
})();
|
1455
1456
|
})();
|
1456
1457
|
const _iu4 = input => (() => {
|
1457
|
-
if ("boolean" === input.type) return _io65(input); else if ("number" === input.type) return _io67(input); else if ("integer" === input.type) return _io66(input); else if ("string" === input.type) return _io68(input); else if ("array" === input.type) return _io69(input); else if ("object" === input.type) return _io70(input); else if (
|
1458
|
+
if ("boolean" === input.type) return _io65(input); else if ("number" === input.type) return _io67(input); else if ("integer" === input.type) return _io66(input); else if ("string" === input.type) return _io68(input); else if ("array" === input.type) return _io69(input); else if ("object" === input.type) return _io70(input); else if (undefined !== input["x-anyOf"]) return _io72(input); else if (undefined !== input["x-oneOf"]) return _io73(input); else if ("null" === input.type) return _io74(input); else if (undefined !== input.schema) return _io76(input); else return (() => {
|
1458
1459
|
if (_io71(input)) return _io71(input);
|
1459
|
-
if (
|
1460
|
+
if (_io75(input)) return _io75(input);
|
1460
1461
|
if (_io90(input)) return _io90(input);
|
1461
1462
|
return false;
|
1462
1463
|
})();
|
1463
1464
|
})();
|
1464
1465
|
const _iu5 = input => (() => {
|
1465
|
-
if ("boolean" === input.type) return _io103(input); else if ("number" === input.type) return _io105(input); else if ("integer" === input.type) return _io104(input); else if ("string" === input.type) return _io106(input); else if ("array" === input.type) return _io107(input); else if ("object" === input.type) return _io108(input); else if (undefined !== input.$ref) return _io109(input); else if (
|
1466
|
+
if ("boolean" === input.type) return _io103(input); else if ("number" === input.type) return _io105(input); else if ("integer" === input.type) return _io104(input); else if ("string" === input.type) return _io106(input); else if ("array" === input.type) return _io107(input); else if ("object" === input.type) return _io108(input); else if (undefined !== input.$ref) return _io109(input); else if (undefined !== input.allOf) return _io110(input); else if (undefined !== input.anyOf) return _io111(input); else if (undefined !== input.oneOf) return _io112(input); else if ("null" === input.type) return _io114(input); else return _io115(input);
|
1466
1467
|
})();
|
1467
1468
|
const _iu6 = input => (() => {
|
1468
1469
|
if (undefined !== input["in"]) return _io127(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _io144(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _io125(input); else return false;
|
1469
1470
|
})();
|
1470
1471
|
const _iu7 = input => (() => {
|
1471
|
-
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem))) return _io159(input); else if ("boolean" === input.type) return _io161(input); else if ("number" === input.type) return _io163(input); else if ("integer" === input.type) return _io162(input); else if ("string" === input.type) return _io164(input); else if ("array" === input.type) return _io165(input); else if ("object" === input.type) return _io166(input); else if ("null" === input.type) return
|
1472
|
-
if (undefined !== input["const"]) return _io160(input); else if (undefined !== input.$ref) return _io167(input); else if (undefined !== input.allOf) return
|
1472
|
+
if (Array.isArray(input.type) && input.type.every((elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem))) return _io159(input); else if ("boolean" === input.type) return _io161(input); else if ("number" === input.type) return _io163(input); else if ("integer" === input.type) return _io162(input); else if ("string" === input.type) return _io164(input); else if ("array" === input.type) return _io165(input); else if ("object" === input.type) return _io166(input); else if (undefined !== input.$recursiveRef) return _io168(input); else if ("null" === input.type) return _io173(input); else return (() => {
|
1473
|
+
if (undefined !== input["const"]) return _io160(input); else if (undefined !== input.$ref) return _io167(input); else if (undefined !== input.allOf) return _io169(input); else if (undefined !== input.anyOf) return _io170(input); else if (undefined !== input.oneOf) return _io171(input); else return _io174(input);
|
1473
1474
|
})();
|
1474
1475
|
})();
|
1475
1476
|
const _iu8 = input => (() => {
|
1476
|
-
if (undefined !== input["in"]) return
|
1477
|
+
if (undefined !== input["in"]) return _io177(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _io182(input); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _io181(input); else return false;
|
1477
1478
|
})();
|
1478
1479
|
const _iu9 = input => (() => {
|
1479
1480
|
if ("apiKey" === input.type) return _io25(input); else if ("basic" === input.scheme) return _io26(input); else if ("bearer" === input.scheme) return _io27(input); else if ("oauth2" === input.type) return _io28(input); else if ("openIdConnect" === input.type) return _io33(input); else return false;
|
1480
1481
|
})();
|
1481
1482
|
const _iu10 = input => (() => {
|
1482
|
-
if ("boolean" === input.type) return _io65(input); else if ("number" === input.type) return _io67(input); else if ("integer" === input.type) return _io66(input); else if ("string" === input.type) return _io68(input); else if ("array" === input.type) return _io69(input); else if ("object" === input.type) return _io70(input); else if (undefined !== input.$ref) return _io71(input); else if (
|
1483
|
+
if ("boolean" === input.type) return _io65(input); else if ("number" === input.type) return _io67(input); else if ("integer" === input.type) return _io66(input); else if ("string" === input.type) return _io68(input); else if ("array" === input.type) return _io69(input); else if ("object" === input.type) return _io70(input); else if (undefined !== input.$ref) return _io71(input); else if (undefined !== input["x-anyOf"]) return _io72(input); else if (undefined !== input["x-oneOf"]) return _io73(input); else if ("null" === input.type) return _io74(input); else if (undefined !== input.schema) return _io76(input); else return _io75(input);
|
1483
1484
|
})();
|
1484
1485
|
const _iu11 = input => (() => {
|
1485
1486
|
if ("apiKey" === input.type) return _io80(input); else if ("basic" === input.type) return _io81(input); else if ("implicit" === input.flow) return _io82(input); else if ("accessCode" === input.flow) return _io83(input); else if ("application" === input.flow) return _io85(input); else if ("password" === input.flow) return _io84(input); else return false;
|
@@ -1503,22 +1504,22 @@ class MigrateApplication {
|
|
1503
1504
|
if (undefined !== input.$ref) return _io148(input); else return _io117(input);
|
1504
1505
|
})();
|
1505
1506
|
const _iu18 = input => (() => {
|
1506
|
-
if (undefined !== input.$ref) return
|
1507
|
+
if (undefined !== input.$ref) return _io180(input); else return _io179(input);
|
1507
1508
|
})();
|
1508
1509
|
const _iu19 = input => (() => {
|
1509
|
-
if (undefined !== input.$ref) return
|
1510
|
+
if (undefined !== input.$ref) return _io187(input); else return _io184(input);
|
1510
1511
|
})();
|
1511
1512
|
const _iu20 = input => (() => {
|
1512
|
-
if (undefined !== input.$ref) return
|
1513
|
+
if (undefined !== input.$ref) return _io192(input); else return _io189(input);
|
1513
1514
|
})();
|
1514
1515
|
const _iu21 = input => (() => {
|
1515
|
-
if (undefined !== input.$ref) return
|
1516
|
+
if (undefined !== input.$ref) return _io181(input); else if (undefined !== input.schema) return _io191(input); else return false;
|
1516
1517
|
})();
|
1517
1518
|
const _iu22 = input => (() => {
|
1518
|
-
if ("apiKey" === input.type) return
|
1519
|
+
if ("apiKey" === input.type) return _io197(input); else if ("basic" === input.scheme) return _io198(input); else if ("bearer" === input.scheme) return _io199(input); else if ("oauth2" === input.type) return _io200(input); else if ("openIdConnect" === input.type) return _io205(input); else return false;
|
1519
1520
|
})();
|
1520
1521
|
const _iu23 = input => (() => {
|
1521
|
-
if (undefined !== input.$ref) return
|
1522
|
+
if (undefined !== input.$ref) return _io209(input); else return _io176(input);
|
1522
1523
|
})();
|
1523
1524
|
const _iu24 = input => (() => {
|
1524
1525
|
if (undefined !== input["x-samchon-emended"]) return _io0(input); else if (undefined !== input.swagger) return _io48(input); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _io94(input); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _io150(input); else return false;
|
@@ -2051,7 +2052,11 @@ class MigrateApplication {
|
|
2051
2052
|
expected: "(Record<string, any> | undefined)",
|
2052
2053
|
value: input.examples
|
2053
2054
|
}) ].every((flag => flag));
|
2054
|
-
const _vo16 = (input, _path, _exceptionable = true) => [
|
2055
|
+
const _vo16 = (input, _path, _exceptionable = true) => [ "array" === input.type || _report(_exceptionable, {
|
2056
|
+
path: _path + ".type",
|
2057
|
+
expected: '"array"',
|
2058
|
+
value: input.type
|
2059
|
+
}), (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
2055
2060
|
path: _path + ".prefixItems",
|
2056
2061
|
expected: "Array<OpenApi.IJsonSchema>",
|
2057
2062
|
value: input.prefixItems
|
@@ -2099,10 +2104,6 @@ class MigrateApplication {
|
|
2099
2104
|
path: _path + ".maxItems",
|
2100
2105
|
expected: '((number & Type<"uint64">) | undefined)',
|
2101
2106
|
value: input.maxItems
|
2102
|
-
}), "array" === input.type || _report(_exceptionable, {
|
2103
|
-
path: _path + ".type",
|
2104
|
-
expected: '"array"',
|
2105
|
-
value: input.type
|
2106
2107
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
2107
2108
|
path: _path + ".title",
|
2108
2109
|
expected: "(string | undefined)",
|
@@ -2280,7 +2281,7 @@ class MigrateApplication {
|
|
2280
2281
|
expected: "(Record<string, any> | undefined)",
|
2281
2282
|
value: input.examples
|
2282
2283
|
}) ].every((flag => flag));
|
2283
|
-
const _vo21 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
2284
|
+
const _vo21 = (input, _path, _exceptionable = true) => [ true, (null !== input.type || _report(_exceptionable, {
|
2284
2285
|
path: _path + ".type",
|
2285
2286
|
expected: "undefined",
|
2286
2287
|
value: input.type
|
@@ -3165,14 +3166,6 @@ class MigrateApplication {
|
|
3165
3166
|
path: _path + '["enum"]',
|
3166
3167
|
expected: "(Array<boolean | null> | undefined)",
|
3167
3168
|
value: input["enum"]
|
3168
|
-
}), "boolean" === input.type || _report(_exceptionable, {
|
3169
|
-
path: _path + ".type",
|
3170
|
-
expected: '"boolean"',
|
3171
|
-
value: input.type
|
3172
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3173
|
-
path: _path + '["x-nullable"]',
|
3174
|
-
expected: "(boolean | undefined)",
|
3175
|
-
value: input["x-nullable"]
|
3176
3169
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3177
3170
|
path: _path + ".title",
|
3178
3171
|
expected: "(string | undefined)",
|
@@ -3185,7 +3178,15 @@ class MigrateApplication {
|
|
3185
3178
|
path: _path + ".deprecated",
|
3186
3179
|
expected: "(boolean | undefined)",
|
3187
3180
|
value: input.deprecated
|
3188
|
-
}), true,
|
3181
|
+
}), true, "boolean" === input.type || _report(_exceptionable, {
|
3182
|
+
path: _path + ".type",
|
3183
|
+
expected: '"boolean"',
|
3184
|
+
value: input.type
|
3185
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3186
|
+
path: _path + '["x-nullable"]',
|
3187
|
+
expected: "(boolean | undefined)",
|
3188
|
+
value: input["x-nullable"]
|
3189
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3189
3190
|
path: _path + ".examples",
|
3190
3191
|
expected: "(Array<any> | undefined)",
|
3191
3192
|
value: input.examples
|
@@ -3246,14 +3247,6 @@ class MigrateApplication {
|
|
3246
3247
|
path: _path + ".multipleOf",
|
3247
3248
|
expected: '((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',
|
3248
3249
|
value: input.multipleOf
|
3249
|
-
}), "integer" === input.type || _report(_exceptionable, {
|
3250
|
-
path: _path + ".type",
|
3251
|
-
expected: '"integer"',
|
3252
|
-
value: input.type
|
3253
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3254
|
-
path: _path + '["x-nullable"]',
|
3255
|
-
expected: "(boolean | undefined)",
|
3256
|
-
value: input["x-nullable"]
|
3257
3250
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3258
3251
|
path: _path + ".title",
|
3259
3252
|
expected: "(string | undefined)",
|
@@ -3266,7 +3259,15 @@ class MigrateApplication {
|
|
3266
3259
|
path: _path + ".deprecated",
|
3267
3260
|
expected: "(boolean | undefined)",
|
3268
3261
|
value: input.deprecated
|
3269
|
-
}), true,
|
3262
|
+
}), true, "integer" === input.type || _report(_exceptionable, {
|
3263
|
+
path: _path + ".type",
|
3264
|
+
expected: '"integer"',
|
3265
|
+
value: input.type
|
3266
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3267
|
+
path: _path + '["x-nullable"]',
|
3268
|
+
expected: "(boolean | undefined)",
|
3269
|
+
value: input["x-nullable"]
|
3270
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3270
3271
|
path: _path + ".examples",
|
3271
3272
|
expected: "(Array<any> | undefined)",
|
3272
3273
|
value: input.examples
|
@@ -3311,14 +3312,6 @@ class MigrateApplication {
|
|
3311
3312
|
path: _path + ".multipleOf",
|
3312
3313
|
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
3313
3314
|
value: input.multipleOf
|
3314
|
-
}), "number" === input.type || _report(_exceptionable, {
|
3315
|
-
path: _path + ".type",
|
3316
|
-
expected: '"number"',
|
3317
|
-
value: input.type
|
3318
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3319
|
-
path: _path + '["x-nullable"]',
|
3320
|
-
expected: "(boolean | undefined)",
|
3321
|
-
value: input["x-nullable"]
|
3322
3315
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3323
3316
|
path: _path + ".title",
|
3324
3317
|
expected: "(string | undefined)",
|
@@ -3331,7 +3324,15 @@ class MigrateApplication {
|
|
3331
3324
|
path: _path + ".deprecated",
|
3332
3325
|
expected: "(boolean | undefined)",
|
3333
3326
|
value: input.deprecated
|
3334
|
-
}), true,
|
3327
|
+
}), true, "number" === input.type || _report(_exceptionable, {
|
3328
|
+
path: _path + ".type",
|
3329
|
+
expected: '"number"',
|
3330
|
+
value: input.type
|
3331
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3332
|
+
path: _path + '["x-nullable"]',
|
3333
|
+
expected: "(boolean | undefined)",
|
3334
|
+
value: input["x-nullable"]
|
3335
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3335
3336
|
path: _path + ".examples",
|
3336
3337
|
expected: "(Array<any> | undefined)",
|
3337
3338
|
value: input.examples
|
@@ -3376,14 +3377,6 @@ class MigrateApplication {
|
|
3376
3377
|
path: _path + ".maxLength",
|
3377
3378
|
expected: '((number & Type<"uint64">) | undefined)',
|
3378
3379
|
value: input.maxLength
|
3379
|
-
}), "string" === input.type || _report(_exceptionable, {
|
3380
|
-
path: _path + ".type",
|
3381
|
-
expected: '"string"',
|
3382
|
-
value: input.type
|
3383
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3384
|
-
path: _path + '["x-nullable"]',
|
3385
|
-
expected: "(boolean | undefined)",
|
3386
|
-
value: input["x-nullable"]
|
3387
3380
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3388
3381
|
path: _path + ".title",
|
3389
3382
|
expected: "(string | undefined)",
|
@@ -3396,7 +3389,15 @@ class MigrateApplication {
|
|
3396
3389
|
path: _path + ".deprecated",
|
3397
3390
|
expected: "(boolean | undefined)",
|
3398
3391
|
value: input.deprecated
|
3399
|
-
}), true,
|
3392
|
+
}), true, "string" === input.type || _report(_exceptionable, {
|
3393
|
+
path: _path + ".type",
|
3394
|
+
expected: '"string"',
|
3395
|
+
value: input.type
|
3396
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3397
|
+
path: _path + '["x-nullable"]',
|
3398
|
+
expected: "(boolean | undefined)",
|
3399
|
+
value: input["x-nullable"]
|
3400
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3400
3401
|
path: _path + ".examples",
|
3401
3402
|
expected: "(Array<any> | undefined)",
|
3402
3403
|
value: input.examples
|
@@ -3429,14 +3430,6 @@ class MigrateApplication {
|
|
3429
3430
|
path: _path + ".maxItems",
|
3430
3431
|
expected: '((number & Type<"uint64">) | undefined)',
|
3431
3432
|
value: input.maxItems
|
3432
|
-
}), "array" === input.type || _report(_exceptionable, {
|
3433
|
-
path: _path + ".type",
|
3434
|
-
expected: '"array"',
|
3435
|
-
value: input.type
|
3436
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3437
|
-
path: _path + '["x-nullable"]',
|
3438
|
-
expected: "(boolean | undefined)",
|
3439
|
-
value: input["x-nullable"]
|
3440
3433
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3441
3434
|
path: _path + ".title",
|
3442
3435
|
expected: "(string | undefined)",
|
@@ -3449,7 +3442,15 @@ class MigrateApplication {
|
|
3449
3442
|
path: _path + ".deprecated",
|
3450
3443
|
expected: "(boolean | undefined)",
|
3451
3444
|
value: input.deprecated
|
3452
|
-
}), true,
|
3445
|
+
}), true, "array" === input.type || _report(_exceptionable, {
|
3446
|
+
path: _path + ".type",
|
3447
|
+
expected: '"array"',
|
3448
|
+
value: input.type
|
3449
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3450
|
+
path: _path + '["x-nullable"]',
|
3451
|
+
expected: "(boolean | undefined)",
|
3452
|
+
value: input["x-nullable"]
|
3453
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3453
3454
|
path: _path + ".examples",
|
3454
3455
|
expected: "(Array<any> | undefined)",
|
3455
3456
|
value: input.examples
|
@@ -3494,14 +3495,6 @@ class MigrateApplication {
|
|
3494
3495
|
path: _path + ".minProperties",
|
3495
3496
|
expected: "(number | undefined)",
|
3496
3497
|
value: input.minProperties
|
3497
|
-
}), "object" === input.type || _report(_exceptionable, {
|
3498
|
-
path: _path + ".type",
|
3499
|
-
expected: '"object"',
|
3500
|
-
value: input.type
|
3501
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3502
|
-
path: _path + '["x-nullable"]',
|
3503
|
-
expected: "(boolean | undefined)",
|
3504
|
-
value: input["x-nullable"]
|
3505
3498
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3506
3499
|
path: _path + ".title",
|
3507
3500
|
expected: "(string | undefined)",
|
@@ -3514,7 +3507,15 @@ class MigrateApplication {
|
|
3514
3507
|
path: _path + ".deprecated",
|
3515
3508
|
expected: "(boolean | undefined)",
|
3516
3509
|
value: input.deprecated
|
3517
|
-
}), true,
|
3510
|
+
}), true, "object" === input.type || _report(_exceptionable, {
|
3511
|
+
path: _path + ".type",
|
3512
|
+
expected: '"object"',
|
3513
|
+
value: input.type
|
3514
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3515
|
+
path: _path + '["x-nullable"]',
|
3516
|
+
expected: "(boolean | undefined)",
|
3517
|
+
value: input["x-nullable"]
|
3518
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3518
3519
|
path: _path + ".examples",
|
3519
3520
|
expected: "(Array<any> | undefined)",
|
3520
3521
|
value: input.examples
|
@@ -3523,56 +3524,10 @@ class MigrateApplication {
|
|
3523
3524
|
path: _path + ".$ref",
|
3524
3525
|
expected: "string",
|
3525
3526
|
value: input.$ref
|
3526
|
-
}), undefined === input.
|
3527
|
-
path: _path + ".title",
|
3528
|
-
expected: "(string | undefined)",
|
3529
|
-
value: input.title
|
3530
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
3531
|
-
path: _path + ".description",
|
3532
|
-
expected: "(string | undefined)",
|
3533
|
-
value: input.description
|
3534
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
3535
|
-
path: _path + ".deprecated",
|
3536
|
-
expected: "(boolean | undefined)",
|
3537
|
-
value: input.deprecated
|
3538
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3539
|
-
path: _path + ".examples",
|
3540
|
-
expected: "(Array<any> | undefined)",
|
3541
|
-
value: input.examples
|
3542
|
-
}) ].every((flag => flag));
|
3543
|
-
const _vo60 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
3544
|
-
path: _path + ".type",
|
3545
|
-
expected: "undefined",
|
3546
|
-
value: input.type
|
3547
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
3548
|
-
path: _path + ".type",
|
3549
|
-
expected: "undefined",
|
3550
|
-
value: input.type
|
3551
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3552
|
-
path: _path + ".title",
|
3553
|
-
expected: "(string | undefined)",
|
3554
|
-
value: input.title
|
3555
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
3556
|
-
path: _path + ".description",
|
3557
|
-
expected: "(string | undefined)",
|
3558
|
-
value: input.description
|
3559
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
3560
|
-
path: _path + ".deprecated",
|
3561
|
-
expected: "(boolean | undefined)",
|
3562
|
-
value: input.deprecated
|
3563
|
-
}), true, undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3527
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3564
3528
|
path: _path + ".examples",
|
3565
3529
|
expected: "(Array<any> | undefined)",
|
3566
3530
|
value: input.examples
|
3567
|
-
}) ].every((flag => flag));
|
3568
|
-
const _vo61 = (input, _path, _exceptionable = true) => [ "null" === input.type || _report(_exceptionable, {
|
3569
|
-
path: _path + ".type",
|
3570
|
-
expected: '"null"',
|
3571
|
-
value: input.type
|
3572
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
3573
|
-
path: _path + '["default"]',
|
3574
|
-
expected: "(null | undefined)",
|
3575
|
-
value: input["default"]
|
3576
3531
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3577
3532
|
path: _path + ".title",
|
3578
3533
|
expected: "(string | undefined)",
|
@@ -3585,12 +3540,8 @@ class MigrateApplication {
|
|
3585
3540
|
path: _path + ".deprecated",
|
3586
3541
|
expected: "(boolean | undefined)",
|
3587
3542
|
value: input.deprecated
|
3588
|
-
}), true
|
3589
|
-
|
3590
|
-
expected: "(Array<any> | undefined)",
|
3591
|
-
value: input.examples
|
3592
|
-
}) ].every((flag => flag));
|
3593
|
-
const _vo62 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
3543
|
+
}), true ].every((flag => flag));
|
3544
|
+
const _vo60 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
3594
3545
|
path: _path + '["x-anyOf"]',
|
3595
3546
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3596
3547
|
value: input["x-anyOf"]
|
@@ -3606,6 +3557,10 @@ class MigrateApplication {
|
|
3606
3557
|
path: _path + '["x-anyOf"]',
|
3607
3558
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3608
3559
|
value: input["x-anyOf"]
|
3560
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3561
|
+
path: _path + ".examples",
|
3562
|
+
expected: "(Array<any> | undefined)",
|
3563
|
+
value: input.examples
|
3609
3564
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3610
3565
|
path: _path + ".title",
|
3611
3566
|
expected: "(string | undefined)",
|
@@ -3618,12 +3573,8 @@ class MigrateApplication {
|
|
3618
3573
|
path: _path + ".deprecated",
|
3619
3574
|
expected: "(boolean | undefined)",
|
3620
3575
|
value: input.deprecated
|
3621
|
-
}), true
|
3622
|
-
|
3623
|
-
expected: "(Array<any> | undefined)",
|
3624
|
-
value: input.examples
|
3625
|
-
}) ].every((flag => flag));
|
3626
|
-
const _vo63 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
3576
|
+
}), true ].every((flag => flag));
|
3577
|
+
const _vo61 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
3627
3578
|
path: _path + '["x-oneOf"]',
|
3628
3579
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3629
3580
|
value: input["x-oneOf"]
|
@@ -3639,6 +3590,10 @@ class MigrateApplication {
|
|
3639
3590
|
path: _path + '["x-oneOf"]',
|
3640
3591
|
expected: "Array<SwaggerV2.IJsonSchema>",
|
3641
3592
|
value: input["x-oneOf"]
|
3593
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3594
|
+
path: _path + ".examples",
|
3595
|
+
expected: "(Array<any> | undefined)",
|
3596
|
+
value: input.examples
|
3642
3597
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3643
3598
|
path: _path + ".title",
|
3644
3599
|
expected: "(string | undefined)",
|
@@ -3651,11 +3606,57 @@ class MigrateApplication {
|
|
3651
3606
|
path: _path + ".deprecated",
|
3652
3607
|
expected: "(boolean | undefined)",
|
3653
3608
|
value: input.deprecated
|
3654
|
-
}), true
|
3609
|
+
}), true ].every((flag => flag));
|
3610
|
+
const _vo62 = (input, _path, _exceptionable = true) => [ "null" === input.type || _report(_exceptionable, {
|
3611
|
+
path: _path + ".type",
|
3612
|
+
expected: '"null"',
|
3613
|
+
value: input.type
|
3614
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
3615
|
+
path: _path + '["default"]',
|
3616
|
+
expected: "(null | undefined)",
|
3617
|
+
value: input["default"]
|
3618
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3655
3619
|
path: _path + ".examples",
|
3656
3620
|
expected: "(Array<any> | undefined)",
|
3657
3621
|
value: input.examples
|
3658
|
-
})
|
3622
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3623
|
+
path: _path + ".title",
|
3624
|
+
expected: "(string | undefined)",
|
3625
|
+
value: input.title
|
3626
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
3627
|
+
path: _path + ".description",
|
3628
|
+
expected: "(string | undefined)",
|
3629
|
+
value: input.description
|
3630
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
3631
|
+
path: _path + ".deprecated",
|
3632
|
+
expected: "(boolean | undefined)",
|
3633
|
+
value: input.deprecated
|
3634
|
+
}), true ].every((flag => flag));
|
3635
|
+
const _vo63 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
3636
|
+
path: _path + ".type",
|
3637
|
+
expected: "undefined",
|
3638
|
+
value: input.type
|
3639
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
3640
|
+
path: _path + ".type",
|
3641
|
+
expected: "undefined",
|
3642
|
+
value: input.type
|
3643
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3644
|
+
path: _path + ".examples",
|
3645
|
+
expected: "(Array<any> | undefined)",
|
3646
|
+
value: input.examples
|
3647
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3648
|
+
path: _path + ".title",
|
3649
|
+
expected: "(string | undefined)",
|
3650
|
+
value: input.title
|
3651
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
3652
|
+
path: _path + ".description",
|
3653
|
+
expected: "(string | undefined)",
|
3654
|
+
value: input.description
|
3655
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
3656
|
+
path: _path + ".deprecated",
|
3657
|
+
expected: "(boolean | undefined)",
|
3658
|
+
value: input.deprecated
|
3659
|
+
}), true ].every((flag => flag));
|
3659
3660
|
const _vo64 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
3660
3661
|
const value = input[key];
|
3661
3662
|
if (undefined === value) return true;
|
@@ -3685,14 +3686,6 @@ class MigrateApplication {
|
|
3685
3686
|
path: _path + '["enum"]',
|
3686
3687
|
expected: "(Array<boolean | null> | undefined)",
|
3687
3688
|
value: input["enum"]
|
3688
|
-
}), "boolean" === input.type || _report(_exceptionable, {
|
3689
|
-
path: _path + ".type",
|
3690
|
-
expected: '"boolean"',
|
3691
|
-
value: input.type
|
3692
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3693
|
-
path: _path + '["x-nullable"]',
|
3694
|
-
expected: "(boolean | undefined)",
|
3695
|
-
value: input["x-nullable"]
|
3696
3689
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3697
3690
|
path: _path + ".title",
|
3698
3691
|
expected: "(string | undefined)",
|
@@ -3705,7 +3698,15 @@ class MigrateApplication {
|
|
3705
3698
|
path: _path + ".deprecated",
|
3706
3699
|
expected: "(boolean | undefined)",
|
3707
3700
|
value: input.deprecated
|
3708
|
-
}), true,
|
3701
|
+
}), true, "boolean" === input.type || _report(_exceptionable, {
|
3702
|
+
path: _path + ".type",
|
3703
|
+
expected: '"boolean"',
|
3704
|
+
value: input.type
|
3705
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3706
|
+
path: _path + '["x-nullable"]',
|
3707
|
+
expected: "(boolean | undefined)",
|
3708
|
+
value: input["x-nullable"]
|
3709
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3709
3710
|
path: _path + ".examples",
|
3710
3711
|
expected: "(Array<any> | undefined)",
|
3711
3712
|
value: input.examples
|
@@ -3774,14 +3775,6 @@ class MigrateApplication {
|
|
3774
3775
|
path: _path + ".multipleOf",
|
3775
3776
|
expected: '((number & Type<"uint64"> & ExclusiveMinimum<0>) | undefined)',
|
3776
3777
|
value: input.multipleOf
|
3777
|
-
}), "integer" === input.type || _report(_exceptionable, {
|
3778
|
-
path: _path + ".type",
|
3779
|
-
expected: '"integer"',
|
3780
|
-
value: input.type
|
3781
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3782
|
-
path: _path + '["x-nullable"]',
|
3783
|
-
expected: "(boolean | undefined)",
|
3784
|
-
value: input["x-nullable"]
|
3785
3778
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3786
3779
|
path: _path + ".title",
|
3787
3780
|
expected: "(string | undefined)",
|
@@ -3794,7 +3787,15 @@ class MigrateApplication {
|
|
3794
3787
|
path: _path + ".deprecated",
|
3795
3788
|
expected: "(boolean | undefined)",
|
3796
3789
|
value: input.deprecated
|
3797
|
-
}), true,
|
3790
|
+
}), true, "integer" === input.type || _report(_exceptionable, {
|
3791
|
+
path: _path + ".type",
|
3792
|
+
expected: '"integer"',
|
3793
|
+
value: input.type
|
3794
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3795
|
+
path: _path + '["x-nullable"]',
|
3796
|
+
expected: "(boolean | undefined)",
|
3797
|
+
value: input["x-nullable"]
|
3798
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3798
3799
|
path: _path + ".examples",
|
3799
3800
|
expected: "(Array<any> | undefined)",
|
3800
3801
|
value: input.examples
|
@@ -3847,14 +3848,6 @@ class MigrateApplication {
|
|
3847
3848
|
path: _path + ".multipleOf",
|
3848
3849
|
expected: "((number & ExclusiveMinimum<0>) | undefined)",
|
3849
3850
|
value: input.multipleOf
|
3850
|
-
}), "number" === input.type || _report(_exceptionable, {
|
3851
|
-
path: _path + ".type",
|
3852
|
-
expected: '"number"',
|
3853
|
-
value: input.type
|
3854
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3855
|
-
path: _path + '["x-nullable"]',
|
3856
|
-
expected: "(boolean | undefined)",
|
3857
|
-
value: input["x-nullable"]
|
3858
3851
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3859
3852
|
path: _path + ".title",
|
3860
3853
|
expected: "(string | undefined)",
|
@@ -3867,7 +3860,15 @@ class MigrateApplication {
|
|
3867
3860
|
path: _path + ".deprecated",
|
3868
3861
|
expected: "(boolean | undefined)",
|
3869
3862
|
value: input.deprecated
|
3870
|
-
}), true,
|
3863
|
+
}), true, "number" === input.type || _report(_exceptionable, {
|
3864
|
+
path: _path + ".type",
|
3865
|
+
expected: '"number"',
|
3866
|
+
value: input.type
|
3867
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3868
|
+
path: _path + '["x-nullable"]',
|
3869
|
+
expected: "(boolean | undefined)",
|
3870
|
+
value: input["x-nullable"]
|
3871
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3871
3872
|
path: _path + ".examples",
|
3872
3873
|
expected: "(Array<any> | undefined)",
|
3873
3874
|
value: input.examples
|
@@ -3920,14 +3921,6 @@ class MigrateApplication {
|
|
3920
3921
|
path: _path + ".maxLength",
|
3921
3922
|
expected: '((number & Type<"uint64">) | undefined)',
|
3922
3923
|
value: input.maxLength
|
3923
|
-
}), "string" === input.type || _report(_exceptionable, {
|
3924
|
-
path: _path + ".type",
|
3925
|
-
expected: '"string"',
|
3926
|
-
value: input.type
|
3927
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3928
|
-
path: _path + '["x-nullable"]',
|
3929
|
-
expected: "(boolean | undefined)",
|
3930
|
-
value: input["x-nullable"]
|
3931
3924
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3932
3925
|
path: _path + ".title",
|
3933
3926
|
expected: "(string | undefined)",
|
@@ -3940,7 +3933,15 @@ class MigrateApplication {
|
|
3940
3933
|
path: _path + ".deprecated",
|
3941
3934
|
expected: "(boolean | undefined)",
|
3942
3935
|
value: input.deprecated
|
3943
|
-
}), true,
|
3936
|
+
}), true, "string" === input.type || _report(_exceptionable, {
|
3937
|
+
path: _path + ".type",
|
3938
|
+
expected: '"string"',
|
3939
|
+
value: input.type
|
3940
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3941
|
+
path: _path + '["x-nullable"]',
|
3942
|
+
expected: "(boolean | undefined)",
|
3943
|
+
value: input["x-nullable"]
|
3944
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
3944
3945
|
path: _path + ".examples",
|
3945
3946
|
expected: "(Array<any> | undefined)",
|
3946
3947
|
value: input.examples
|
@@ -3981,14 +3982,6 @@ class MigrateApplication {
|
|
3981
3982
|
path: _path + ".maxItems",
|
3982
3983
|
expected: '((number & Type<"uint64">) | undefined)',
|
3983
3984
|
value: input.maxItems
|
3984
|
-
}), "array" === input.type || _report(_exceptionable, {
|
3985
|
-
path: _path + ".type",
|
3986
|
-
expected: '"array"',
|
3987
|
-
value: input.type
|
3988
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
3989
|
-
path: _path + '["x-nullable"]',
|
3990
|
-
expected: "(boolean | undefined)",
|
3991
|
-
value: input["x-nullable"]
|
3992
3985
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
3993
3986
|
path: _path + ".title",
|
3994
3987
|
expected: "(string | undefined)",
|
@@ -4001,7 +3994,15 @@ class MigrateApplication {
|
|
4001
3994
|
path: _path + ".deprecated",
|
4002
3995
|
expected: "(boolean | undefined)",
|
4003
3996
|
value: input.deprecated
|
4004
|
-
}), true,
|
3997
|
+
}), true, "array" === input.type || _report(_exceptionable, {
|
3998
|
+
path: _path + ".type",
|
3999
|
+
expected: '"array"',
|
4000
|
+
value: input.type
|
4001
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
4002
|
+
path: _path + '["x-nullable"]',
|
4003
|
+
expected: "(boolean | undefined)",
|
4004
|
+
value: input["x-nullable"]
|
4005
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4005
4006
|
path: _path + ".examples",
|
4006
4007
|
expected: "(Array<any> | undefined)",
|
4007
4008
|
value: input.examples
|
@@ -4054,14 +4055,6 @@ class MigrateApplication {
|
|
4054
4055
|
path: _path + ".minProperties",
|
4055
4056
|
expected: "(number | undefined)",
|
4056
4057
|
value: input.minProperties
|
4057
|
-
}), "object" === input.type || _report(_exceptionable, {
|
4058
|
-
path: _path + ".type",
|
4059
|
-
expected: '"object"',
|
4060
|
-
value: input.type
|
4061
|
-
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
4062
|
-
path: _path + '["x-nullable"]',
|
4063
|
-
expected: "(boolean | undefined)",
|
4064
|
-
value: input["x-nullable"]
|
4065
4058
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4066
4059
|
path: _path + ".title",
|
4067
4060
|
expected: "(string | undefined)",
|
@@ -4074,7 +4067,15 @@ class MigrateApplication {
|
|
4074
4067
|
path: _path + ".deprecated",
|
4075
4068
|
expected: "(boolean | undefined)",
|
4076
4069
|
value: input.deprecated
|
4077
|
-
}), true,
|
4070
|
+
}), true, "object" === input.type || _report(_exceptionable, {
|
4071
|
+
path: _path + ".type",
|
4072
|
+
expected: '"object"',
|
4073
|
+
value: input.type
|
4074
|
+
}), undefined === input["x-nullable"] || "boolean" === typeof input["x-nullable"] || _report(_exceptionable, {
|
4075
|
+
path: _path + '["x-nullable"]',
|
4076
|
+
expected: "(boolean | undefined)",
|
4077
|
+
value: input["x-nullable"]
|
4078
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4078
4079
|
path: _path + ".examples",
|
4079
4080
|
expected: "(Array<any> | undefined)",
|
4080
4081
|
value: input.examples
|
@@ -4091,6 +4092,10 @@ class MigrateApplication {
|
|
4091
4092
|
path: _path + ".$ref",
|
4092
4093
|
expected: "string",
|
4093
4094
|
value: input.$ref
|
4095
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4096
|
+
path: _path + ".examples",
|
4097
|
+
expected: "(Array<any> | undefined)",
|
4098
|
+
value: input.examples
|
4094
4099
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4095
4100
|
path: _path + ".title",
|
4096
4101
|
expected: "(string | undefined)",
|
@@ -4103,11 +4108,7 @@ class MigrateApplication {
|
|
4103
4108
|
path: _path + ".deprecated",
|
4104
4109
|
expected: "(boolean | undefined)",
|
4105
4110
|
value: input.deprecated
|
4106
|
-
}), true,
|
4107
|
-
path: _path + ".examples",
|
4108
|
-
expected: "(Array<any> | undefined)",
|
4109
|
-
value: input.examples
|
4110
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
4111
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
4111
4112
|
path: _path + ".name",
|
4112
4113
|
expected: "string",
|
4113
4114
|
value: input.name
|
@@ -4116,15 +4117,27 @@ class MigrateApplication {
|
|
4116
4117
|
expected: "string",
|
4117
4118
|
value: input["in"]
|
4118
4119
|
}) ].every((flag => flag));
|
4119
|
-
const _vo72 = (input, _path, _exceptionable = true) => [ (
|
4120
|
-
path: _path + "
|
4121
|
-
expected: "
|
4122
|
-
value: input
|
4123
|
-
})) && (
|
4124
|
-
path: _path + "
|
4125
|
-
expected: "
|
4126
|
-
value:
|
4127
|
-
}))
|
4120
|
+
const _vo72 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-anyOf"]) || _report(_exceptionable, {
|
4121
|
+
path: _path + '["x-anyOf"]',
|
4122
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
4123
|
+
value: input["x-anyOf"]
|
4124
|
+
})) && input["x-anyOf"].map(((elem, _index113) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
4125
|
+
path: _path + '["x-anyOf"][' + _index113 + "]",
|
4126
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
4127
|
+
value: elem
|
4128
|
+
})) && _vu2(elem, _path + '["x-anyOf"][' + _index113 + "]", _exceptionable) || _report(_exceptionable, {
|
4129
|
+
path: _path + '["x-anyOf"][' + _index113 + "]",
|
4130
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
4131
|
+
value: elem
|
4132
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
4133
|
+
path: _path + '["x-anyOf"]',
|
4134
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
4135
|
+
value: input["x-anyOf"]
|
4136
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4137
|
+
path: _path + ".examples",
|
4138
|
+
expected: "(Array<any> | undefined)",
|
4139
|
+
value: input.examples
|
4140
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4128
4141
|
path: _path + ".title",
|
4129
4142
|
expected: "(string | undefined)",
|
4130
4143
|
value: input.title
|
@@ -4136,11 +4149,7 @@ class MigrateApplication {
|
|
4136
4149
|
path: _path + ".deprecated",
|
4137
4150
|
expected: "(boolean | undefined)",
|
4138
4151
|
value: input.deprecated
|
4139
|
-
}), true,
|
4140
|
-
path: _path + ".examples",
|
4141
|
-
expected: "(Array<any> | undefined)",
|
4142
|
-
value: input.examples
|
4143
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
4152
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
4144
4153
|
path: _path + ".name",
|
4145
4154
|
expected: "string",
|
4146
4155
|
value: input.name
|
@@ -4149,14 +4158,26 @@ class MigrateApplication {
|
|
4149
4158
|
expected: "string",
|
4150
4159
|
value: input["in"]
|
4151
4160
|
}) ].every((flag => flag));
|
4152
|
-
const _vo73 = (input, _path, _exceptionable = true) => [ "
|
4153
|
-
path: _path + "
|
4154
|
-
expected:
|
4155
|
-
value: input
|
4156
|
-
})
|
4157
|
-
path: _path + '["
|
4158
|
-
expected: "(
|
4159
|
-
value:
|
4161
|
+
const _vo73 = (input, _path, _exceptionable = true) => [ (Array.isArray(input["x-oneOf"]) || _report(_exceptionable, {
|
4162
|
+
path: _path + '["x-oneOf"]',
|
4163
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
4164
|
+
value: input["x-oneOf"]
|
4165
|
+
})) && input["x-oneOf"].map(((elem, _index114) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
4166
|
+
path: _path + '["x-oneOf"][' + _index114 + "]",
|
4167
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
4168
|
+
value: elem
|
4169
|
+
})) && _vu2(elem, _path + '["x-oneOf"][' + _index114 + "]", _exceptionable) || _report(_exceptionable, {
|
4170
|
+
path: _path + '["x-oneOf"][' + _index114 + "]",
|
4171
|
+
expected: "(SwaggerV2.IJsonSchema.IAnyOf | SwaggerV2.IJsonSchema.IArray | SwaggerV2.IJsonSchema.IBoolean | SwaggerV2.IJsonSchema.IInteger | SwaggerV2.IJsonSchema.INullOnly | SwaggerV2.IJsonSchema.INumber | SwaggerV2.IJsonSchema.IObject | SwaggerV2.IJsonSchema.IOneOf | SwaggerV2.IJsonSchema.IReference<string> | SwaggerV2.IJsonSchema.IString | SwaggerV2.IJsonSchema.IUnknown)",
|
4172
|
+
value: elem
|
4173
|
+
}))).every((flag => flag)) || _report(_exceptionable, {
|
4174
|
+
path: _path + '["x-oneOf"]',
|
4175
|
+
expected: "Array<SwaggerV2.IJsonSchema>",
|
4176
|
+
value: input["x-oneOf"]
|
4177
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4178
|
+
path: _path + ".examples",
|
4179
|
+
expected: "(Array<any> | undefined)",
|
4180
|
+
value: input.examples
|
4160
4181
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4161
4182
|
path: _path + ".title",
|
4162
4183
|
expected: "(string | undefined)",
|
@@ -4169,11 +4190,7 @@ class MigrateApplication {
|
|
4169
4190
|
path: _path + ".deprecated",
|
4170
4191
|
expected: "(boolean | undefined)",
|
4171
4192
|
value: input.deprecated
|
4172
|
-
}), true,
|
4173
|
-
path: _path + ".examples",
|
4174
|
-
expected: "(Array<any> | undefined)",
|
4175
|
-
value: input.examples
|
4176
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
4193
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
4177
4194
|
path: _path + ".name",
|
4178
4195
|
expected: "string",
|
4179
4196
|
value: input.name
|
@@ -4182,22 +4199,18 @@ class MigrateApplication {
|
|
4182
4199
|
expected: "string",
|
4183
4200
|
value: input["in"]
|
4184
4201
|
}) ].every((flag => flag));
|
4185
|
-
const _vo74 = (input, _path, _exceptionable = true) => [
|
4186
|
-
path: _path +
|
4187
|
-
expected: "
|
4188
|
-
value: input
|
4189
|
-
})
|
4190
|
-
path: _path + '["
|
4191
|
-
expected: "(
|
4192
|
-
value:
|
4193
|
-
})
|
4194
|
-
path: _path +
|
4195
|
-
expected: "(
|
4196
|
-
value:
|
4197
|
-
}))).every((flag => flag)) || _report(_exceptionable, {
|
4198
|
-
path: _path + '["x-anyOf"]',
|
4199
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
4200
|
-
value: input["x-anyOf"]
|
4202
|
+
const _vo74 = (input, _path, _exceptionable = true) => [ "null" === input.type || _report(_exceptionable, {
|
4203
|
+
path: _path + ".type",
|
4204
|
+
expected: '"null"',
|
4205
|
+
value: input.type
|
4206
|
+
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
4207
|
+
path: _path + '["default"]',
|
4208
|
+
expected: "(null | undefined)",
|
4209
|
+
value: input["default"]
|
4210
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4211
|
+
path: _path + ".examples",
|
4212
|
+
expected: "(Array<any> | undefined)",
|
4213
|
+
value: input.examples
|
4201
4214
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4202
4215
|
path: _path + ".title",
|
4203
4216
|
expected: "(string | undefined)",
|
@@ -4210,11 +4223,7 @@ class MigrateApplication {
|
|
4210
4223
|
path: _path + ".deprecated",
|
4211
4224
|
expected: "(boolean | undefined)",
|
4212
4225
|
value: input.deprecated
|
4213
|
-
}), true,
|
4214
|
-
path: _path + ".examples",
|
4215
|
-
expected: "(Array<any> | undefined)",
|
4216
|
-
value: input.examples
|
4217
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
4226
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
4218
4227
|
path: _path + ".name",
|
4219
4228
|
expected: "string",
|
4220
4229
|
value: input.name
|
@@ -4223,22 +4232,18 @@ class MigrateApplication {
|
|
4223
4232
|
expected: "string",
|
4224
4233
|
value: input["in"]
|
4225
4234
|
}) ].every((flag => flag));
|
4226
|
-
const _vo75 = (input, _path, _exceptionable = true) => [ (
|
4227
|
-
path: _path +
|
4228
|
-
expected: "
|
4229
|
-
value: input
|
4230
|
-
})) &&
|
4231
|
-
path: _path +
|
4232
|
-
expected: "
|
4233
|
-
value:
|
4234
|
-
}))
|
4235
|
-
path: _path +
|
4236
|
-
expected: "(
|
4237
|
-
value:
|
4238
|
-
}))).every((flag => flag)) || _report(_exceptionable, {
|
4239
|
-
path: _path + '["x-oneOf"]',
|
4240
|
-
expected: "Array<SwaggerV2.IJsonSchema>",
|
4241
|
-
value: input["x-oneOf"]
|
4235
|
+
const _vo75 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
4236
|
+
path: _path + ".type",
|
4237
|
+
expected: "undefined",
|
4238
|
+
value: input.type
|
4239
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
4240
|
+
path: _path + ".type",
|
4241
|
+
expected: "undefined",
|
4242
|
+
value: input.type
|
4243
|
+
})), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4244
|
+
path: _path + ".examples",
|
4245
|
+
expected: "(Array<any> | undefined)",
|
4246
|
+
value: input.examples
|
4242
4247
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4243
4248
|
path: _path + ".title",
|
4244
4249
|
expected: "(string | undefined)",
|
@@ -4251,11 +4256,7 @@ class MigrateApplication {
|
|
4251
4256
|
path: _path + ".deprecated",
|
4252
4257
|
expected: "(boolean | undefined)",
|
4253
4258
|
value: input.deprecated
|
4254
|
-
}), true,
|
4255
|
-
path: _path + ".examples",
|
4256
|
-
expected: "(Array<any> | undefined)",
|
4257
|
-
value: input.examples
|
4258
|
-
}), "string" === typeof input.name || _report(_exceptionable, {
|
4259
|
+
}), true, "string" === typeof input.name || _report(_exceptionable, {
|
4259
4260
|
path: _path + ".name",
|
4260
4261
|
expected: "string",
|
4261
4262
|
value: input.name
|
@@ -4568,6 +4569,10 @@ class MigrateApplication {
|
|
4568
4569
|
path: _path + ".$ref",
|
4569
4570
|
expected: "`#/parameters/${string}`",
|
4570
4571
|
value: input.$ref
|
4572
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4573
|
+
path: _path + ".examples",
|
4574
|
+
expected: "(Array<any> | undefined)",
|
4575
|
+
value: input.examples
|
4571
4576
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4572
4577
|
path: _path + ".title",
|
4573
4578
|
expected: "(string | undefined)",
|
@@ -4580,11 +4585,7 @@ class MigrateApplication {
|
|
4580
4585
|
path: _path + ".deprecated",
|
4581
4586
|
expected: "(boolean | undefined)",
|
4582
4587
|
value: input.deprecated
|
4583
|
-
}), true
|
4584
|
-
path: _path + ".examples",
|
4585
|
-
expected: "(Array<any> | undefined)",
|
4586
|
-
value: input.examples
|
4587
|
-
}) ].every((flag => flag));
|
4588
|
+
}), true ].every((flag => flag));
|
4588
4589
|
const _vo89 = (input, _path, _exceptionable = true) => [ undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
4589
4590
|
path: _path + ".operationId",
|
4590
4591
|
expected: "(string | undefined)",
|
@@ -4658,6 +4659,10 @@ class MigrateApplication {
|
|
4658
4659
|
path: _path + ".$ref",
|
4659
4660
|
expected: "`#/definitions/parameters/${string}`",
|
4660
4661
|
value: input.$ref
|
4662
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4663
|
+
path: _path + ".examples",
|
4664
|
+
expected: "(Array<any> | undefined)",
|
4665
|
+
value: input.examples
|
4661
4666
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4662
4667
|
path: _path + ".title",
|
4663
4668
|
expected: "(string | undefined)",
|
@@ -4670,11 +4675,7 @@ class MigrateApplication {
|
|
4670
4675
|
path: _path + ".deprecated",
|
4671
4676
|
expected: "(boolean | undefined)",
|
4672
4677
|
value: input.deprecated
|
4673
|
-
}), true
|
4674
|
-
path: _path + ".examples",
|
4675
|
-
expected: "(Array<any> | undefined)",
|
4676
|
-
value: input.examples
|
4677
|
-
}) ].every((flag => flag));
|
4678
|
+
}), true ].every((flag => flag));
|
4678
4679
|
const _vo91 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
4679
4680
|
const value = input[key];
|
4680
4681
|
if (undefined === value) return true;
|
@@ -4692,6 +4693,10 @@ class MigrateApplication {
|
|
4692
4693
|
path: _path + ".$ref",
|
4693
4694
|
expected: "`#/definitions/responses/${string}`",
|
4694
4695
|
value: input.$ref
|
4696
|
+
}), undefined === input.examples || Array.isArray(input.examples) || _report(_exceptionable, {
|
4697
|
+
path: _path + ".examples",
|
4698
|
+
expected: "(Array<any> | undefined)",
|
4699
|
+
value: input.examples
|
4695
4700
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
4696
4701
|
path: _path + ".title",
|
4697
4702
|
expected: "(string | undefined)",
|
@@ -4704,11 +4709,7 @@ class MigrateApplication {
|
|
4704
4709
|
path: _path + ".deprecated",
|
4705
4710
|
expected: "(boolean | undefined)",
|
4706
4711
|
value: input.deprecated
|
4707
|
-
}), true
|
4708
|
-
path: _path + ".examples",
|
4709
|
-
expected: "(Array<any> | undefined)",
|
4710
|
-
value: input.examples
|
4711
|
-
}) ].every((flag => flag));
|
4712
|
+
}), true ].every((flag => flag));
|
4712
4713
|
const _vo93 = (input, _path, _exceptionable = true) => [ "string" === typeof input.name || _report(_exceptionable, {
|
4713
4714
|
path: _path + ".name",
|
4714
4715
|
expected: "string",
|
@@ -4979,7 +4980,11 @@ class MigrateApplication {
|
|
4979
4980
|
value
|
4980
4981
|
});
|
4981
4982
|
})).every((flag => flag)) ].every((flag => flag));
|
4982
|
-
const _vo103 = (input, _path, _exceptionable = true) => [
|
4983
|
+
const _vo103 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
4984
|
+
path: _path + ".nullable",
|
4985
|
+
expected: "(boolean | undefined)",
|
4986
|
+
value: input.nullable
|
4987
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
4983
4988
|
path: _path + '["default"]',
|
4984
4989
|
expected: "(boolean | null | undefined)",
|
4985
4990
|
value: input["default"]
|
@@ -4999,10 +5004,6 @@ class MigrateApplication {
|
|
4999
5004
|
path: _path + ".type",
|
5000
5005
|
expected: '"boolean"',
|
5001
5006
|
value: input.type
|
5002
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5003
|
-
path: _path + ".nullable",
|
5004
|
-
expected: "(boolean | undefined)",
|
5005
|
-
value: input.nullable
|
5006
5007
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5007
5008
|
path: _path + ".title",
|
5008
5009
|
expected: "(string | undefined)",
|
@@ -5024,7 +5025,11 @@ class MigrateApplication {
|
|
5024
5025
|
expected: "(Record<string, any> | undefined)",
|
5025
5026
|
value: input.examples
|
5026
5027
|
}) ].every((flag => flag));
|
5027
|
-
const _vo104 = (input, _path, _exceptionable = true) => [
|
5028
|
+
const _vo104 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5029
|
+
path: _path + ".nullable",
|
5030
|
+
expected: "(boolean | undefined)",
|
5031
|
+
value: input.nullable
|
5032
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000 || _report(_exceptionable, {
|
5028
5033
|
path: _path + '["default"]',
|
5029
5034
|
expected: 'number & Type<"int64">',
|
5030
5035
|
value: input["default"]
|
@@ -5084,10 +5089,6 @@ class MigrateApplication {
|
|
5084
5089
|
path: _path + ".type",
|
5085
5090
|
expected: '"integer"',
|
5086
5091
|
value: input.type
|
5087
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5088
|
-
path: _path + ".nullable",
|
5089
|
-
expected: "(boolean | undefined)",
|
5090
|
-
value: input.nullable
|
5091
5092
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5092
5093
|
path: _path + ".title",
|
5093
5094
|
expected: "(string | undefined)",
|
@@ -5109,7 +5110,11 @@ class MigrateApplication {
|
|
5109
5110
|
expected: "(Record<string, any> | undefined)",
|
5110
5111
|
value: input.examples
|
5111
5112
|
}) ].every((flag => flag));
|
5112
|
-
const _vo105 = (input, _path, _exceptionable = true) => [
|
5113
|
+
const _vo105 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5114
|
+
path: _path + ".nullable",
|
5115
|
+
expected: "(boolean | undefined)",
|
5116
|
+
value: input.nullable
|
5117
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
5113
5118
|
path: _path + '["default"]',
|
5114
5119
|
expected: "(null | number | undefined)",
|
5115
5120
|
value: input["default"]
|
@@ -5153,10 +5158,6 @@ class MigrateApplication {
|
|
5153
5158
|
path: _path + ".type",
|
5154
5159
|
expected: '"number"',
|
5155
5160
|
value: input.type
|
5156
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5157
|
-
path: _path + ".nullable",
|
5158
|
-
expected: "(boolean | undefined)",
|
5159
|
-
value: input.nullable
|
5160
5161
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5161
5162
|
path: _path + ".title",
|
5162
5163
|
expected: "(string | undefined)",
|
@@ -5178,7 +5179,11 @@ class MigrateApplication {
|
|
5178
5179
|
expected: "(Record<string, any> | undefined)",
|
5179
5180
|
value: input.examples
|
5180
5181
|
}) ].every((flag => flag));
|
5181
|
-
const _vo106 = (input, _path, _exceptionable = true) => [
|
5182
|
+
const _vo106 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5183
|
+
path: _path + ".nullable",
|
5184
|
+
expected: "(boolean | undefined)",
|
5185
|
+
value: input.nullable
|
5186
|
+
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
5182
5187
|
path: _path + '["default"]',
|
5183
5188
|
expected: "(null | string | undefined)",
|
5184
5189
|
value: input["default"]
|
@@ -5222,10 +5227,6 @@ class MigrateApplication {
|
|
5222
5227
|
path: _path + ".type",
|
5223
5228
|
expected: '"string"',
|
5224
5229
|
value: input.type
|
5225
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5226
|
-
path: _path + ".nullable",
|
5227
|
-
expected: "(boolean | undefined)",
|
5228
|
-
value: input.nullable
|
5229
5230
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5230
5231
|
path: _path + ".title",
|
5231
5232
|
expected: "(string | undefined)",
|
@@ -5247,7 +5248,11 @@ class MigrateApplication {
|
|
5247
5248
|
expected: "(Record<string, any> | undefined)",
|
5248
5249
|
value: input.examples
|
5249
5250
|
}) ].every((flag => flag));
|
5250
|
-
const _vo107 = (input, _path, _exceptionable = true) => [
|
5251
|
+
const _vo107 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5252
|
+
path: _path + ".nullable",
|
5253
|
+
expected: "(boolean | undefined)",
|
5254
|
+
value: input.nullable
|
5255
|
+
}), ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || _report(_exceptionable, {
|
5251
5256
|
path: _path + ".items",
|
5252
5257
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown)",
|
5253
5258
|
value: input.items
|
@@ -5279,10 +5284,6 @@ class MigrateApplication {
|
|
5279
5284
|
path: _path + ".type",
|
5280
5285
|
expected: '"array"',
|
5281
5286
|
value: input.type
|
5282
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5283
|
-
path: _path + ".nullable",
|
5284
|
-
expected: "(boolean | undefined)",
|
5285
|
-
value: input.nullable
|
5286
5287
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5287
5288
|
path: _path + ".title",
|
5288
5289
|
expected: "(string | undefined)",
|
@@ -5304,7 +5305,11 @@ class MigrateApplication {
|
|
5304
5305
|
expected: "(Record<string, any> | undefined)",
|
5305
5306
|
value: input.examples
|
5306
5307
|
}) ].every((flag => flag));
|
5307
|
-
const _vo108 = (input, _path, _exceptionable = true) => [ undefined === input.
|
5308
|
+
const _vo108 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5309
|
+
path: _path + ".nullable",
|
5310
|
+
expected: "(boolean | undefined)",
|
5311
|
+
value: input.nullable
|
5312
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
5308
5313
|
path: _path + ".properties",
|
5309
5314
|
expected: "(Record<string, OpenApiV3.IJsonSchema> | undefined)",
|
5310
5315
|
value: input.properties
|
@@ -5333,80 +5338,22 @@ class MigrateApplication {
|
|
5333
5338
|
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",
|
5334
5339
|
value: input.additionalProperties
|
5335
5340
|
})) && _vu5(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
5336
|
-
path: _path + ".additionalProperties",
|
5337
|
-
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",
|
5338
|
-
value: input.additionalProperties
|
5339
|
-
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
5340
|
-
path: _path + ".maxProperties",
|
5341
|
-
expected: "(number | undefined)",
|
5342
|
-
value: input.maxProperties
|
5343
|
-
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
5344
|
-
path: _path + ".minProperties",
|
5345
|
-
expected: "(number | undefined)",
|
5346
|
-
value: input.minProperties
|
5347
|
-
}), "object" === input.type || _report(_exceptionable, {
|
5348
|
-
path: _path + ".type",
|
5349
|
-
expected: '"object"',
|
5350
|
-
value: input.type
|
5351
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
5352
|
-
path: _path + ".nullable",
|
5353
|
-
expected: "(boolean | undefined)",
|
5354
|
-
value: input.nullable
|
5355
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5356
|
-
path: _path + ".title",
|
5357
|
-
expected: "(string | undefined)",
|
5358
|
-
value: input.title
|
5359
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
5360
|
-
path: _path + ".description",
|
5361
|
-
expected: "(string | undefined)",
|
5362
|
-
value: input.description
|
5363
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
5364
|
-
path: _path + ".deprecated",
|
5365
|
-
expected: "(boolean | undefined)",
|
5366
|
-
value: input.deprecated
|
5367
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
5368
|
-
path: _path + ".examples",
|
5369
|
-
expected: "(Record<string, any> | undefined)",
|
5370
|
-
value: input.examples
|
5371
|
-
})) && _vo10(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
5372
|
-
path: _path + ".examples",
|
5373
|
-
expected: "(Record<string, any> | undefined)",
|
5374
|
-
value: input.examples
|
5375
|
-
}) ].every((flag => flag));
|
5376
|
-
const _vo109 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref || _report(_exceptionable, {
|
5377
|
-
path: _path + ".$ref",
|
5378
|
-
expected: "string",
|
5379
|
-
value: input.$ref
|
5380
|
-
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5381
|
-
path: _path + ".title",
|
5382
|
-
expected: "(string | undefined)",
|
5383
|
-
value: input.title
|
5384
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
5385
|
-
path: _path + ".description",
|
5386
|
-
expected: "(string | undefined)",
|
5387
|
-
value: input.description
|
5388
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
5389
|
-
path: _path + ".deprecated",
|
5390
|
-
expected: "(boolean | undefined)",
|
5391
|
-
value: input.deprecated
|
5392
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
5393
|
-
path: _path + ".examples",
|
5394
|
-
expected: "(Record<string, any> | undefined)",
|
5395
|
-
value: input.examples
|
5396
|
-
})) && _vo10(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
5397
|
-
path: _path + ".examples",
|
5398
|
-
expected: "(Record<string, any> | undefined)",
|
5399
|
-
value: input.examples
|
5400
|
-
}) ].every((flag => flag));
|
5401
|
-
const _vo110 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
5402
|
-
path: _path + ".type",
|
5403
|
-
expected: "undefined",
|
5404
|
-
value: input.type
|
5405
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
5341
|
+
path: _path + ".additionalProperties",
|
5342
|
+
expected: "(OpenApiV3.IJsonSchema.IAllOf | OpenApiV3.IJsonSchema.IAnyOf | OpenApiV3.IJsonSchema.IArray | OpenApiV3.IJsonSchema.IBoolean | OpenApiV3.IJsonSchema.IInteger | OpenApiV3.IJsonSchema.INullOnly | OpenApiV3.IJsonSchema.INumber | OpenApiV3.IJsonSchema.IObject | OpenApiV3.IJsonSchema.IOneOf | OpenApiV3.IJsonSchema.IReference<string> | OpenApiV3.IJsonSchema.IString | OpenApiV3.IJsonSchema.IUnknown | boolean | undefined)",
|
5343
|
+
value: input.additionalProperties
|
5344
|
+
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
5345
|
+
path: _path + ".maxProperties",
|
5346
|
+
expected: "(number | undefined)",
|
5347
|
+
value: input.maxProperties
|
5348
|
+
}), undefined === input.minProperties || "number" === typeof input.minProperties || _report(_exceptionable, {
|
5349
|
+
path: _path + ".minProperties",
|
5350
|
+
expected: "(number | undefined)",
|
5351
|
+
value: input.minProperties
|
5352
|
+
}), "object" === input.type || _report(_exceptionable, {
|
5406
5353
|
path: _path + ".type",
|
5407
|
-
expected: "
|
5354
|
+
expected: '"object"',
|
5408
5355
|
value: input.type
|
5409
|
-
})
|
5356
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5410
5357
|
path: _path + ".title",
|
5411
5358
|
expected: "(string | undefined)",
|
5412
5359
|
value: input.title
|
@@ -5427,14 +5374,10 @@ class MigrateApplication {
|
|
5427
5374
|
expected: "(Record<string, any> | undefined)",
|
5428
5375
|
value: input.examples
|
5429
5376
|
}) ].every((flag => flag));
|
5430
|
-
const
|
5431
|
-
path: _path + "
|
5432
|
-
expected:
|
5433
|
-
value: input
|
5434
|
-
}), null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
5435
|
-
path: _path + '["default"]',
|
5436
|
-
expected: "(null | undefined)",
|
5437
|
-
value: input["default"]
|
5377
|
+
const _vo109 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref || _report(_exceptionable, {
|
5378
|
+
path: _path + ".$ref",
|
5379
|
+
expected: "string",
|
5380
|
+
value: input.$ref
|
5438
5381
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5439
5382
|
path: _path + ".title",
|
5440
5383
|
expected: "(string | undefined)",
|
@@ -5456,7 +5399,7 @@ class MigrateApplication {
|
|
5456
5399
|
expected: "(Record<string, any> | undefined)",
|
5457
5400
|
value: input.examples
|
5458
5401
|
}) ].every((flag => flag));
|
5459
|
-
const
|
5402
|
+
const _vo110 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.allOf) || _report(_exceptionable, {
|
5460
5403
|
path: _path + ".allOf",
|
5461
5404
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
5462
5405
|
value: input.allOf
|
@@ -5493,7 +5436,7 @@ class MigrateApplication {
|
|
5493
5436
|
expected: "(Record<string, any> | undefined)",
|
5494
5437
|
value: input.examples
|
5495
5438
|
}) ].every((flag => flag));
|
5496
|
-
const
|
5439
|
+
const _vo111 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
5497
5440
|
path: _path + ".anyOf",
|
5498
5441
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
5499
5442
|
value: input.anyOf
|
@@ -5530,7 +5473,7 @@ class MigrateApplication {
|
|
5530
5473
|
expected: "(Record<string, any> | undefined)",
|
5531
5474
|
value: input.examples
|
5532
5475
|
}) ].every((flag => flag));
|
5533
|
-
const
|
5476
|
+
const _vo112 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
5534
5477
|
path: _path + ".oneOf",
|
5535
5478
|
expected: "Array<OpenApiV3.IJsonSchema>",
|
5536
5479
|
value: input.oneOf
|
@@ -5550,7 +5493,7 @@ class MigrateApplication {
|
|
5550
5493
|
path: _path + ".discriminator",
|
5551
5494
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
5552
5495
|
value: input.discriminator
|
5553
|
-
})) &&
|
5496
|
+
})) && _vo113(input.discriminator, _path + ".discriminator", _exceptionable) || _report(_exceptionable, {
|
5554
5497
|
path: _path + ".discriminator",
|
5555
5498
|
expected: "(OpenApiV3.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
5556
5499
|
value: input.discriminator
|
@@ -5575,7 +5518,7 @@ class MigrateApplication {
|
|
5575
5518
|
expected: "(Record<string, any> | undefined)",
|
5576
5519
|
value: input.examples
|
5577
5520
|
}) ].every((flag => flag));
|
5578
|
-
const
|
5521
|
+
const _vo113 = (input, _path, _exceptionable = true) => [ "string" === typeof input.propertyName || _report(_exceptionable, {
|
5579
5522
|
path: _path + ".propertyName",
|
5580
5523
|
expected: "string",
|
5581
5524
|
value: input.propertyName
|
@@ -5588,6 +5531,64 @@ class MigrateApplication {
|
|
5588
5531
|
expected: "(Record<string, string> | undefined)",
|
5589
5532
|
value: input.mapping
|
5590
5533
|
}) ].every((flag => flag));
|
5534
|
+
const _vo114 = (input, _path, _exceptionable = true) => [ null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
5535
|
+
path: _path + '["default"]',
|
5536
|
+
expected: "(null | undefined)",
|
5537
|
+
value: input["default"]
|
5538
|
+
}), "null" === input.type || _report(_exceptionable, {
|
5539
|
+
path: _path + ".type",
|
5540
|
+
expected: '"null"',
|
5541
|
+
value: input.type
|
5542
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5543
|
+
path: _path + ".title",
|
5544
|
+
expected: "(string | undefined)",
|
5545
|
+
value: input.title
|
5546
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
5547
|
+
path: _path + ".description",
|
5548
|
+
expected: "(string | undefined)",
|
5549
|
+
value: input.description
|
5550
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
5551
|
+
path: _path + ".deprecated",
|
5552
|
+
expected: "(boolean | undefined)",
|
5553
|
+
value: input.deprecated
|
5554
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
5555
|
+
path: _path + ".examples",
|
5556
|
+
expected: "(Record<string, any> | undefined)",
|
5557
|
+
value: input.examples
|
5558
|
+
})) && _vo10(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
5559
|
+
path: _path + ".examples",
|
5560
|
+
expected: "(Record<string, any> | undefined)",
|
5561
|
+
value: input.examples
|
5562
|
+
}) ].every((flag => flag));
|
5563
|
+
const _vo115 = (input, _path, _exceptionable = true) => [ true, (null !== input.type || _report(_exceptionable, {
|
5564
|
+
path: _path + ".type",
|
5565
|
+
expected: "undefined",
|
5566
|
+
value: input.type
|
5567
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
5568
|
+
path: _path + ".type",
|
5569
|
+
expected: "undefined",
|
5570
|
+
value: input.type
|
5571
|
+
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
5572
|
+
path: _path + ".title",
|
5573
|
+
expected: "(string | undefined)",
|
5574
|
+
value: input.title
|
5575
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
5576
|
+
path: _path + ".description",
|
5577
|
+
expected: "(string | undefined)",
|
5578
|
+
value: input.description
|
5579
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
5580
|
+
path: _path + ".deprecated",
|
5581
|
+
expected: "(boolean | undefined)",
|
5582
|
+
value: input.deprecated
|
5583
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
5584
|
+
path: _path + ".examples",
|
5585
|
+
expected: "(Record<string, any> | undefined)",
|
5586
|
+
value: input.examples
|
5587
|
+
})) && _vo10(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
5588
|
+
path: _path + ".examples",
|
5589
|
+
expected: "(Record<string, any> | undefined)",
|
5590
|
+
value: input.examples
|
5591
|
+
}) ].every((flag => flag));
|
5591
5592
|
const _vo116 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
5592
5593
|
const value = input[key];
|
5593
5594
|
if (undefined === value) return true;
|
@@ -6398,7 +6399,7 @@ class MigrateApplication {
|
|
6398
6399
|
path: _path + ".paths",
|
6399
6400
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
6400
6401
|
value: input.paths
|
6401
|
-
})) &&
|
6402
|
+
})) && _vo175(input.paths, _path + ".paths", _exceptionable) || _report(_exceptionable, {
|
6402
6403
|
path: _path + ".paths",
|
6403
6404
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
6404
6405
|
value: input.paths
|
@@ -6406,7 +6407,7 @@ class MigrateApplication {
|
|
6406
6407
|
path: _path + ".webhooks",
|
6407
6408
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
6408
6409
|
value: input.webhooks
|
6409
|
-
})) &&
|
6410
|
+
})) && _vo208(input.webhooks, _path + ".webhooks", _exceptionable) || _report(_exceptionable, {
|
6410
6411
|
path: _path + ".webhooks",
|
6411
6412
|
expected: "(Record<string, IPath | IReference<`#/components/pathItems/${string}`>> | undefined)",
|
6412
6413
|
value: input.webhooks
|
@@ -6434,7 +6435,7 @@ class MigrateApplication {
|
|
6434
6435
|
path: _path + ".tags[" + _index139 + "]",
|
6435
6436
|
expected: "OpenApiV3_1.IDocument.ITag",
|
6436
6437
|
value: elem
|
6437
|
-
})) &&
|
6438
|
+
})) && _vo210(elem, _path + ".tags[" + _index139 + "]", _exceptionable) || _report(_exceptionable, {
|
6438
6439
|
path: _path + ".tags[" + _index139 + "]",
|
6439
6440
|
expected: "OpenApiV3_1.IDocument.ITag",
|
6440
6441
|
value: elem
|
@@ -6573,7 +6574,7 @@ class MigrateApplication {
|
|
6573
6574
|
path: _path + ".pathItems",
|
6574
6575
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
6575
6576
|
value: input.pathItems
|
6576
|
-
})) &&
|
6577
|
+
})) && _vo175(input.pathItems, _path + ".pathItems", _exceptionable) || _report(_exceptionable, {
|
6577
6578
|
path: _path + ".pathItems",
|
6578
6579
|
expected: "(Record<string, OpenApiV3_1.IPath> | undefined)",
|
6579
6580
|
value: input.pathItems
|
@@ -6581,7 +6582,7 @@ class MigrateApplication {
|
|
6581
6582
|
path: _path + ".responses",
|
6582
6583
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
6583
6584
|
value: input.responses
|
6584
|
-
})) &&
|
6585
|
+
})) && _vo193(input.responses, _path + ".responses", _exceptionable) || _report(_exceptionable, {
|
6585
6586
|
path: _path + ".responses",
|
6586
6587
|
expected: "(Record<string, OpenApiV3_1.IOperation.IResponse> | undefined)",
|
6587
6588
|
value: input.responses
|
@@ -6589,7 +6590,7 @@ class MigrateApplication {
|
|
6589
6590
|
path: _path + ".parameters",
|
6590
6591
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
6591
6592
|
value: input.parameters
|
6592
|
-
})) &&
|
6593
|
+
})) && _vo194(input.parameters, _path + ".parameters", _exceptionable) || _report(_exceptionable, {
|
6593
6594
|
path: _path + ".parameters",
|
6594
6595
|
expected: "(Record<string, OpenApiV3_1.IOperation.IParameter> | undefined)",
|
6595
6596
|
value: input.parameters
|
@@ -6597,7 +6598,7 @@ class MigrateApplication {
|
|
6597
6598
|
path: _path + ".requestBodies",
|
6598
6599
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
6599
6600
|
value: input.requestBodies
|
6600
|
-
})) &&
|
6601
|
+
})) && _vo195(input.requestBodies, _path + ".requestBodies", _exceptionable) || _report(_exceptionable, {
|
6601
6602
|
path: _path + ".requestBodies",
|
6602
6603
|
expected: "(Record<string, OpenApiV3_1.IOperation.IRequestBody> | undefined)",
|
6603
6604
|
value: input.requestBodies
|
@@ -6605,7 +6606,7 @@ class MigrateApplication {
|
|
6605
6606
|
path: _path + ".securitySchemes",
|
6606
6607
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
6607
6608
|
value: input.securitySchemes
|
6608
|
-
})) &&
|
6609
|
+
})) && _vo196(input.securitySchemes, _path + ".securitySchemes", _exceptionable) || _report(_exceptionable, {
|
6609
6610
|
path: _path + ".securitySchemes",
|
6610
6611
|
expected: "(Record<string, OpenApiV3_1.ISecurityScheme> | undefined)",
|
6611
6612
|
value: input.securitySchemes
|
@@ -6613,7 +6614,7 @@ class MigrateApplication {
|
|
6613
6614
|
path: _path + ".headers",
|
6614
6615
|
expected: '(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',
|
6615
6616
|
value: input.headers
|
6616
|
-
})) &&
|
6617
|
+
})) && _vo206(input.headers, _path + ".headers", _exceptionable) || _report(_exceptionable, {
|
6617
6618
|
path: _path + ".headers",
|
6618
6619
|
expected: '(Record<string, Omit<OpenApiV3_1.IOperation.IParameter, "in">> | undefined)',
|
6619
6620
|
value: input.headers
|
@@ -6621,7 +6622,7 @@ class MigrateApplication {
|
|
6621
6622
|
path: _path + ".examples",
|
6622
6623
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
6623
6624
|
value: input.examples
|
6624
|
-
})) &&
|
6625
|
+
})) && _vo207(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
6625
6626
|
path: _path + ".examples",
|
6626
6627
|
expected: "(Record<string, OpenApiV3_1.IExample> | undefined)",
|
6627
6628
|
value: input.examples
|
@@ -6631,11 +6632,11 @@ class MigrateApplication {
|
|
6631
6632
|
if (undefined === value) return true;
|
6632
6633
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
6633
6634
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
6634
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6635
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6635
6636
|
value
|
6636
6637
|
})) && _vu7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
6637
6638
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
6638
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6639
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6639
6640
|
value
|
6640
6641
|
});
|
6641
6642
|
})).every((flag => flag)) ].every((flag => flag));
|
@@ -6663,6 +6664,10 @@ class MigrateApplication {
|
|
6663
6664
|
path: _path + '["const"]',
|
6664
6665
|
expected: "(boolean | number | string)",
|
6665
6666
|
value: input["const"]
|
6667
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6668
|
+
path: _path + ".nullable",
|
6669
|
+
expected: "(boolean | undefined)",
|
6670
|
+
value: input.nullable
|
6666
6671
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6667
6672
|
path: _path + ".title",
|
6668
6673
|
expected: "(string | undefined)",
|
@@ -6683,10 +6688,6 @@ class MigrateApplication {
|
|
6683
6688
|
path: _path + ".examples",
|
6684
6689
|
expected: "(Record<string, any> | undefined)",
|
6685
6690
|
value: input.examples
|
6686
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6687
|
-
path: _path + ".nullable",
|
6688
|
-
expected: "(boolean | undefined)",
|
6689
|
-
value: input.nullable
|
6690
6691
|
}), undefined === input.minimum || "number" === typeof input.minimum || _report(_exceptionable, {
|
6691
6692
|
path: _path + ".minimum",
|
6692
6693
|
expected: "(number | undefined)",
|
@@ -6741,23 +6742,23 @@ class MigrateApplication {
|
|
6741
6742
|
value: input.maxLength
|
6742
6743
|
}), (null !== input.items || _report(_exceptionable, {
|
6743
6744
|
path: _path + ".items",
|
6744
|
-
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6745
|
+
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)",
|
6745
6746
|
value: input.items
|
6746
6747
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index142) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6747
6748
|
path: _path + ".items[" + _index142 + "]",
|
6748
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6749
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6749
6750
|
value: elem
|
6750
6751
|
})) && _vu7(elem, _path + ".items[" + _index142 + "]", _exceptionable) || _report(_exceptionable, {
|
6751
6752
|
path: _path + ".items[" + _index142 + "]",
|
6752
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6753
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6753
6754
|
value: elem
|
6754
6755
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu7(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
6755
6756
|
path: _path + ".items",
|
6756
|
-
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6757
|
+
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)",
|
6757
6758
|
value: input.items
|
6758
6759
|
})) || _report(_exceptionable, {
|
6759
6760
|
path: _path + ".items",
|
6760
|
-
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
6761
|
+
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)",
|
6761
6762
|
value: input.items
|
6762
6763
|
})), undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || _report(_exceptionable, {
|
6763
6764
|
path: _path + ".uniqueItems",
|
@@ -6785,11 +6786,11 @@ class MigrateApplication {
|
|
6785
6786
|
value: input.prefixItems
|
6786
6787
|
})) && input.prefixItems.map(((elem, _index143) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6787
6788
|
path: _path + ".prefixItems[" + _index143 + "]",
|
6788
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6789
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6789
6790
|
value: elem
|
6790
6791
|
})) && _vu7(elem, _path + ".prefixItems[" + _index143 + "]", _exceptionable) || _report(_exceptionable, {
|
6791
6792
|
path: _path + ".prefixItems[" + _index143 + "]",
|
6792
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6793
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6793
6794
|
value: elem
|
6794
6795
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
6795
6796
|
path: _path + ".prefixItems",
|
@@ -6797,15 +6798,15 @@ class MigrateApplication {
|
|
6797
6798
|
value: input.prefixItems
|
6798
6799
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
6799
6800
|
path: _path + ".additionalItems",
|
6800
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6801
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6801
6802
|
value: input.additionalItems
|
6802
6803
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
6803
6804
|
path: _path + ".additionalItems",
|
6804
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6805
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6805
6806
|
value: input.additionalItems
|
6806
6807
|
})) && _vu7(input.additionalItems, _path + ".additionalItems", _exceptionable) || _report(_exceptionable, {
|
6807
6808
|
path: _path + ".additionalItems",
|
6808
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6809
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6809
6810
|
value: input.additionalItems
|
6810
6811
|
})), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
6811
6812
|
path: _path + ".properties",
|
@@ -6817,15 +6818,15 @@ class MigrateApplication {
|
|
6817
6818
|
value: input.properties
|
6818
6819
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
6819
6820
|
path: _path + ".additionalProperties",
|
6820
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6821
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6821
6822
|
value: input.additionalProperties
|
6822
6823
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
6823
6824
|
path: _path + ".additionalProperties",
|
6824
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6825
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6825
6826
|
value: input.additionalProperties
|
6826
6827
|
})) && _vu7(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
6827
6828
|
path: _path + ".additionalProperties",
|
6828
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6829
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
6829
6830
|
value: input.additionalProperties
|
6830
6831
|
})), undefined === input.required || (Array.isArray(input.required) || _report(_exceptionable, {
|
6831
6832
|
path: _path + ".required",
|
@@ -6853,11 +6854,11 @@ class MigrateApplication {
|
|
6853
6854
|
value: input.oneOf
|
6854
6855
|
})) && input.oneOf.map(((elem, _index145) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6855
6856
|
path: _path + ".oneOf[" + _index145 + "]",
|
6856
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6857
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6857
6858
|
value: elem
|
6858
6859
|
})) && _vu7(elem, _path + ".oneOf[" + _index145 + "]", _exceptionable) || _report(_exceptionable, {
|
6859
6860
|
path: _path + ".oneOf[" + _index145 + "]",
|
6860
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6861
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6861
6862
|
value: elem
|
6862
6863
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
6863
6864
|
path: _path + ".oneOf",
|
@@ -6867,7 +6868,7 @@ class MigrateApplication {
|
|
6867
6868
|
path: _path + ".discriminator",
|
6868
6869
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
6869
6870
|
value: input.discriminator
|
6870
|
-
})) &&
|
6871
|
+
})) && _vo172(input.discriminator, _path + ".discriminator", _exceptionable) || _report(_exceptionable, {
|
6871
6872
|
path: _path + ".discriminator",
|
6872
6873
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
6873
6874
|
value: input.discriminator
|
@@ -6877,11 +6878,11 @@ class MigrateApplication {
|
|
6877
6878
|
value: input.anyOf
|
6878
6879
|
})) && input.anyOf.map(((elem, _index146) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6879
6880
|
path: _path + ".anyOf[" + _index146 + "]",
|
6880
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6881
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6881
6882
|
value: elem
|
6882
6883
|
})) && _vu7(elem, _path + ".anyOf[" + _index146 + "]", _exceptionable) || _report(_exceptionable, {
|
6883
6884
|
path: _path + ".anyOf[" + _index146 + "]",
|
6884
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6885
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6885
6886
|
value: elem
|
6886
6887
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
6887
6888
|
path: _path + ".anyOf",
|
@@ -6893,11 +6894,11 @@ class MigrateApplication {
|
|
6893
6894
|
value: input.allOf
|
6894
6895
|
})) && input.allOf.map(((elem, _index147) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
6895
6896
|
path: _path + ".allOf[" + _index147 + "]",
|
6896
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6897
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6897
6898
|
value: elem
|
6898
6899
|
})) && _vu7(elem, _path + ".allOf[" + _index147 + "]", _exceptionable) || _report(_exceptionable, {
|
6899
6900
|
path: _path + ".allOf[" + _index147 + "]",
|
6900
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6901
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
6901
6902
|
value: elem
|
6902
6903
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
6903
6904
|
path: _path + ".allOf",
|
@@ -6912,6 +6913,10 @@ class MigrateApplication {
|
|
6912
6913
|
path: _path + '["const"]',
|
6913
6914
|
expected: "(boolean | number | string)",
|
6914
6915
|
value: input["const"]
|
6916
|
+
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6917
|
+
path: _path + ".nullable",
|
6918
|
+
expected: "(boolean | undefined)",
|
6919
|
+
value: input.nullable
|
6915
6920
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6916
6921
|
path: _path + ".title",
|
6917
6922
|
expected: "(string | undefined)",
|
@@ -6933,7 +6938,11 @@ class MigrateApplication {
|
|
6933
6938
|
expected: "(Record<string, any> | undefined)",
|
6934
6939
|
value: input.examples
|
6935
6940
|
}) ].every((flag => flag));
|
6936
|
-
const _vo161 = (input, _path, _exceptionable = true) => [
|
6941
|
+
const _vo161 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6942
|
+
path: _path + ".nullable",
|
6943
|
+
expected: "(boolean | undefined)",
|
6944
|
+
value: input.nullable
|
6945
|
+
}), null === input["default"] || undefined === input["default"] || "boolean" === typeof input["default"] || _report(_exceptionable, {
|
6937
6946
|
path: _path + '["default"]',
|
6938
6947
|
expected: "(boolean | null | undefined)",
|
6939
6948
|
value: input["default"]
|
@@ -6953,10 +6962,6 @@ class MigrateApplication {
|
|
6953
6962
|
path: _path + ".type",
|
6954
6963
|
expected: '"boolean"',
|
6955
6964
|
value: input.type
|
6956
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6957
|
-
path: _path + ".nullable",
|
6958
|
-
expected: "(boolean | undefined)",
|
6959
|
-
value: input.nullable
|
6960
6965
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
6961
6966
|
path: _path + ".title",
|
6962
6967
|
expected: "(string | undefined)",
|
@@ -6978,7 +6983,11 @@ class MigrateApplication {
|
|
6978
6983
|
expected: "(Record<string, any> | undefined)",
|
6979
6984
|
value: input.examples
|
6980
6985
|
}) ].every((flag => flag));
|
6981
|
-
const _vo162 = (input, _path, _exceptionable = true) => [
|
6986
|
+
const _vo162 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
6987
|
+
path: _path + ".nullable",
|
6988
|
+
expected: "(boolean | undefined)",
|
6989
|
+
value: input.nullable
|
6990
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -0x8000000000000000 <= input["default"] && input["default"] <= 0x8000000000000000 || _report(_exceptionable, {
|
6982
6991
|
path: _path + '["default"]',
|
6983
6992
|
expected: 'number & Type<"int64">',
|
6984
6993
|
value: input["default"]
|
@@ -7046,10 +7055,6 @@ class MigrateApplication {
|
|
7046
7055
|
path: _path + ".type",
|
7047
7056
|
expected: '"integer"',
|
7048
7057
|
value: input.type
|
7049
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7050
|
-
path: _path + ".nullable",
|
7051
|
-
expected: "(boolean | undefined)",
|
7052
|
-
value: input.nullable
|
7053
7058
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7054
7059
|
path: _path + ".title",
|
7055
7060
|
expected: "(string | undefined)",
|
@@ -7071,7 +7076,11 @@ class MigrateApplication {
|
|
7071
7076
|
expected: "(Record<string, any> | undefined)",
|
7072
7077
|
value: input.examples
|
7073
7078
|
}) ].every((flag => flag));
|
7074
|
-
const _vo163 = (input, _path, _exceptionable = true) => [
|
7079
|
+
const _vo163 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7080
|
+
path: _path + ".nullable",
|
7081
|
+
expected: "(boolean | undefined)",
|
7082
|
+
value: input.nullable
|
7083
|
+
}), null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] || _report(_exceptionable, {
|
7075
7084
|
path: _path + '["default"]',
|
7076
7085
|
expected: "(null | number | undefined)",
|
7077
7086
|
value: input["default"]
|
@@ -7115,10 +7124,6 @@ class MigrateApplication {
|
|
7115
7124
|
path: _path + ".type",
|
7116
7125
|
expected: '"number"',
|
7117
7126
|
value: input.type
|
7118
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7119
|
-
path: _path + ".nullable",
|
7120
|
-
expected: "(boolean | undefined)",
|
7121
|
-
value: input.nullable
|
7122
7127
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7123
7128
|
path: _path + ".title",
|
7124
7129
|
expected: "(string | undefined)",
|
@@ -7140,10 +7145,10 @@ class MigrateApplication {
|
|
7140
7145
|
expected: "(Record<string, any> | undefined)",
|
7141
7146
|
value: input.examples
|
7142
7147
|
}) ].every((flag => flag));
|
7143
|
-
const _vo164 = (input, _path, _exceptionable = true) => [ undefined === input.
|
7144
|
-
path: _path + ".
|
7145
|
-
expected: "(
|
7146
|
-
value: input.
|
7148
|
+
const _vo164 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7149
|
+
path: _path + ".nullable",
|
7150
|
+
expected: "(boolean | undefined)",
|
7151
|
+
value: input.nullable
|
7147
7152
|
}), null === input["default"] || undefined === input["default"] || "string" === typeof input["default"] || _report(_exceptionable, {
|
7148
7153
|
path: _path + '["default"]',
|
7149
7154
|
expected: "(null | string | undefined)",
|
@@ -7168,6 +7173,10 @@ class MigrateApplication {
|
|
7168
7173
|
path: _path + ".pattern",
|
7169
7174
|
expected: "(string | undefined)",
|
7170
7175
|
value: input.pattern
|
7176
|
+
}), undefined === input.contentMediaType || "string" === typeof input.contentMediaType || _report(_exceptionable, {
|
7177
|
+
path: _path + ".contentMediaType",
|
7178
|
+
expected: "(string | undefined)",
|
7179
|
+
value: input.contentMediaType
|
7171
7180
|
}), undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 0x10000000000000000 || _report(_exceptionable, {
|
7172
7181
|
path: _path + ".minLength",
|
7173
7182
|
expected: 'number & Type<"uint64">',
|
@@ -7188,10 +7197,6 @@ class MigrateApplication {
|
|
7188
7197
|
path: _path + ".type",
|
7189
7198
|
expected: '"string"',
|
7190
7199
|
value: input.type
|
7191
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7192
|
-
path: _path + ".nullable",
|
7193
|
-
expected: "(boolean | undefined)",
|
7194
|
-
value: input.nullable
|
7195
7200
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7196
7201
|
path: _path + ".title",
|
7197
7202
|
expected: "(string | undefined)",
|
@@ -7213,25 +7218,29 @@ class MigrateApplication {
|
|
7213
7218
|
expected: "(Record<string, any> | undefined)",
|
7214
7219
|
value: input.examples
|
7215
7220
|
}) ].every((flag => flag));
|
7216
|
-
const _vo165 = (input, _path, _exceptionable = true) => [
|
7221
|
+
const _vo165 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7222
|
+
path: _path + ".nullable",
|
7223
|
+
expected: "(boolean | undefined)",
|
7224
|
+
value: input.nullable
|
7225
|
+
}), (null !== input.items || _report(_exceptionable, {
|
7217
7226
|
path: _path + ".items",
|
7218
|
-
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
7227
|
+
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)",
|
7219
7228
|
value: input.items
|
7220
7229
|
})) && (undefined === input.items || (Array.isArray(input.items) && input.items.map(((elem, _index152) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
7221
7230
|
path: _path + ".items[" + _index152 + "]",
|
7222
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7231
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7223
7232
|
value: elem
|
7224
7233
|
})) && _vu7(elem, _path + ".items[" + _index152 + "]", _exceptionable) || _report(_exceptionable, {
|
7225
7234
|
path: _path + ".items[" + _index152 + "]",
|
7226
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7235
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7227
7236
|
value: elem
|
7228
7237
|
}))).every((flag => flag)) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _vu7(input.items, _path + ".items", _exceptionable) || _report(_exceptionable, {
|
7229
7238
|
path: _path + ".items",
|
7230
|
-
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
7239
|
+
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)",
|
7231
7240
|
value: input.items
|
7232
7241
|
})) || _report(_exceptionable, {
|
7233
7242
|
path: _path + ".items",
|
7234
|
-
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.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
7243
|
+
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)",
|
7235
7244
|
value: input.items
|
7236
7245
|
})), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || _report(_exceptionable, {
|
7237
7246
|
path: _path + ".prefixItems",
|
@@ -7239,11 +7248,11 @@ class MigrateApplication {
|
|
7239
7248
|
value: input.prefixItems
|
7240
7249
|
})) && input.prefixItems.map(((elem, _index153) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
7241
7250
|
path: _path + ".prefixItems[" + _index153 + "]",
|
7242
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7251
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7243
7252
|
value: elem
|
7244
7253
|
})) && _vu7(elem, _path + ".prefixItems[" + _index153 + "]", _exceptionable) || _report(_exceptionable, {
|
7245
7254
|
path: _path + ".prefixItems[" + _index153 + "]",
|
7246
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7255
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7247
7256
|
value: elem
|
7248
7257
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
7249
7258
|
path: _path + ".prefixItems",
|
@@ -7255,15 +7264,15 @@ class MigrateApplication {
|
|
7255
7264
|
value: input.uniqueItems
|
7256
7265
|
}), (null !== input.additionalItems || _report(_exceptionable, {
|
7257
7266
|
path: _path + ".additionalItems",
|
7258
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7267
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7259
7268
|
value: input.additionalItems
|
7260
7269
|
})) && (undefined === input.additionalItems || "boolean" === typeof input.additionalItems || ("object" === typeof input.additionalItems && null !== input.additionalItems && false === Array.isArray(input.additionalItems) || _report(_exceptionable, {
|
7261
7270
|
path: _path + ".additionalItems",
|
7262
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7271
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7263
7272
|
value: input.additionalItems
|
7264
7273
|
})) && _vu7(input.additionalItems, _path + ".additionalItems", _exceptionable) || _report(_exceptionable, {
|
7265
7274
|
path: _path + ".additionalItems",
|
7266
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7275
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7267
7276
|
value: input.additionalItems
|
7268
7277
|
})), undefined === input.minItems || "number" === typeof input.minItems && (Math.floor(input.minItems) === input.minItems && 0 <= input.minItems && input.minItems <= 0x10000000000000000 || _report(_exceptionable, {
|
7269
7278
|
path: _path + ".minItems",
|
@@ -7285,10 +7294,6 @@ class MigrateApplication {
|
|
7285
7294
|
path: _path + ".type",
|
7286
7295
|
expected: '"array"',
|
7287
7296
|
value: input.type
|
7288
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7289
|
-
path: _path + ".nullable",
|
7290
|
-
expected: "(boolean | undefined)",
|
7291
|
-
value: input.nullable
|
7292
7297
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7293
7298
|
path: _path + ".title",
|
7294
7299
|
expected: "(string | undefined)",
|
@@ -7310,7 +7315,11 @@ class MigrateApplication {
|
|
7310
7315
|
expected: "(Record<string, any> | undefined)",
|
7311
7316
|
value: input.examples
|
7312
7317
|
}) ].every((flag => flag));
|
7313
|
-
const _vo166 = (input, _path, _exceptionable = true) => [ undefined === input.
|
7318
|
+
const _vo166 = (input, _path, _exceptionable = true) => [ undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7319
|
+
path: _path + ".nullable",
|
7320
|
+
expected: "(boolean | undefined)",
|
7321
|
+
value: input.nullable
|
7322
|
+
}), undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || _report(_exceptionable, {
|
7314
7323
|
path: _path + ".properties",
|
7315
7324
|
expected: "(Record<string, OpenApiV3_1.IJsonSchema> | undefined)",
|
7316
7325
|
value: input.properties
|
@@ -7332,15 +7341,15 @@ class MigrateApplication {
|
|
7332
7341
|
value: input.required
|
7333
7342
|
}), (null !== input.additionalProperties || _report(_exceptionable, {
|
7334
7343
|
path: _path + ".additionalProperties",
|
7335
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7344
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7336
7345
|
value: input.additionalProperties
|
7337
7346
|
})) && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || ("object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) || _report(_exceptionable, {
|
7338
7347
|
path: _path + ".additionalProperties",
|
7339
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7348
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7340
7349
|
value: input.additionalProperties
|
7341
7350
|
})) && _vu7(input.additionalProperties, _path + ".additionalProperties", _exceptionable) || _report(_exceptionable, {
|
7342
7351
|
path: _path + ".additionalProperties",
|
7343
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7352
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | boolean | undefined)",
|
7344
7353
|
value: input.additionalProperties
|
7345
7354
|
})), undefined === input.maxProperties || "number" === typeof input.maxProperties || _report(_exceptionable, {
|
7346
7355
|
path: _path + ".maxProperties",
|
@@ -7354,10 +7363,6 @@ class MigrateApplication {
|
|
7354
7363
|
path: _path + ".type",
|
7355
7364
|
expected: '"object"',
|
7356
7365
|
value: input.type
|
7357
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7358
|
-
path: _path + ".nullable",
|
7359
|
-
expected: "(boolean | undefined)",
|
7360
|
-
value: input.nullable
|
7361
7366
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7362
7367
|
path: _path + ".title",
|
7363
7368
|
expected: "(string | undefined)",
|
@@ -7404,47 +7409,10 @@ class MigrateApplication {
|
|
7404
7409
|
expected: "(Record<string, any> | undefined)",
|
7405
7410
|
value: input.examples
|
7406
7411
|
}) ].every((flag => flag));
|
7407
|
-
const _vo168 = (input, _path, _exceptionable = true) => [
|
7408
|
-
path: _path + "
|
7409
|
-
expected: "
|
7410
|
-
value: input
|
7411
|
-
})) && (undefined === input.type || _report(_exceptionable, {
|
7412
|
-
path: _path + ".type",
|
7413
|
-
expected: "undefined",
|
7414
|
-
value: input.type
|
7415
|
-
})), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7416
|
-
path: _path + ".title",
|
7417
|
-
expected: "(string | undefined)",
|
7418
|
-
value: input.title
|
7419
|
-
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
7420
|
-
path: _path + ".description",
|
7421
|
-
expected: "(string | undefined)",
|
7422
|
-
value: input.description
|
7423
|
-
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
7424
|
-
path: _path + ".deprecated",
|
7425
|
-
expected: "(boolean | undefined)",
|
7426
|
-
value: input.deprecated
|
7427
|
-
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
7428
|
-
path: _path + ".examples",
|
7429
|
-
expected: "(Record<string, any> | undefined)",
|
7430
|
-
value: input.examples
|
7431
|
-
})) && _vo10(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
7432
|
-
path: _path + ".examples",
|
7433
|
-
expected: "(Record<string, any> | undefined)",
|
7434
|
-
value: input.examples
|
7435
|
-
}) ].every((flag => flag));
|
7436
|
-
const _vo169 = (input, _path, _exceptionable = true) => [ null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
7437
|
-
path: _path + '["default"]',
|
7438
|
-
expected: "(null | undefined)",
|
7439
|
-
value: input["default"]
|
7440
|
-
}), "null" === input.type || _report(_exceptionable, {
|
7441
|
-
path: _path + ".type",
|
7442
|
-
expected: '"null"',
|
7443
|
-
value: input.type
|
7444
|
-
}), undefined === input.nullable || "boolean" === typeof input.nullable || _report(_exceptionable, {
|
7445
|
-
path: _path + ".nullable",
|
7446
|
-
expected: "(boolean | undefined)",
|
7447
|
-
value: input.nullable
|
7412
|
+
const _vo168 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$recursiveRef || _report(_exceptionable, {
|
7413
|
+
path: _path + ".$recursiveRef",
|
7414
|
+
expected: "string",
|
7415
|
+
value: input.$recursiveRef
|
7448
7416
|
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7449
7417
|
path: _path + ".title",
|
7450
7418
|
expected: "(string | undefined)",
|
@@ -7466,17 +7434,17 @@ class MigrateApplication {
|
|
7466
7434
|
expected: "(Record<string, any> | undefined)",
|
7467
7435
|
value: input.examples
|
7468
7436
|
}) ].every((flag => flag));
|
7469
|
-
const
|
7437
|
+
const _vo169 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.allOf) || _report(_exceptionable, {
|
7470
7438
|
path: _path + ".allOf",
|
7471
7439
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
7472
7440
|
value: input.allOf
|
7473
7441
|
})) && input.allOf.map(((elem, _index155) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
7474
7442
|
path: _path + ".allOf[" + _index155 + "]",
|
7475
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7443
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7476
7444
|
value: elem
|
7477
7445
|
})) && _vu7(elem, _path + ".allOf[" + _index155 + "]", _exceptionable) || _report(_exceptionable, {
|
7478
7446
|
path: _path + ".allOf[" + _index155 + "]",
|
7479
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7447
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7480
7448
|
value: elem
|
7481
7449
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
7482
7450
|
path: _path + ".allOf",
|
@@ -7503,17 +7471,17 @@ class MigrateApplication {
|
|
7503
7471
|
expected: "(Record<string, any> | undefined)",
|
7504
7472
|
value: input.examples
|
7505
7473
|
}) ].every((flag => flag));
|
7506
|
-
const
|
7474
|
+
const _vo170 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.anyOf) || _report(_exceptionable, {
|
7507
7475
|
path: _path + ".anyOf",
|
7508
7476
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
7509
7477
|
value: input.anyOf
|
7510
7478
|
})) && input.anyOf.map(((elem, _index156) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
7511
7479
|
path: _path + ".anyOf[" + _index156 + "]",
|
7512
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7480
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7513
7481
|
value: elem
|
7514
7482
|
})) && _vu7(elem, _path + ".anyOf[" + _index156 + "]", _exceptionable) || _report(_exceptionable, {
|
7515
7483
|
path: _path + ".anyOf[" + _index156 + "]",
|
7516
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7484
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7517
7485
|
value: elem
|
7518
7486
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
7519
7487
|
path: _path + ".anyOf",
|
@@ -7540,17 +7508,17 @@ class MigrateApplication {
|
|
7540
7508
|
expected: "(Record<string, any> | undefined)",
|
7541
7509
|
value: input.examples
|
7542
7510
|
}) ].every((flag => flag));
|
7543
|
-
const
|
7511
|
+
const _vo171 = (input, _path, _exceptionable = true) => [ (Array.isArray(input.oneOf) || _report(_exceptionable, {
|
7544
7512
|
path: _path + ".oneOf",
|
7545
7513
|
expected: "Array<OpenApiV3_1.IJsonSchema>",
|
7546
7514
|
value: input.oneOf
|
7547
7515
|
})) && input.oneOf.map(((elem, _index157) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || _report(_exceptionable, {
|
7548
7516
|
path: _path + ".oneOf[" + _index157 + "]",
|
7549
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7517
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7550
7518
|
value: elem
|
7551
7519
|
})) && _vu7(elem, _path + ".oneOf[" + _index157 + "]", _exceptionable) || _report(_exceptionable, {
|
7552
7520
|
path: _path + ".oneOf[" + _index157 + "]",
|
7553
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7521
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7554
7522
|
value: elem
|
7555
7523
|
}))).every((flag => flag)) || _report(_exceptionable, {
|
7556
7524
|
path: _path + ".oneOf",
|
@@ -7560,7 +7528,7 @@ class MigrateApplication {
|
|
7560
7528
|
path: _path + ".discriminator",
|
7561
7529
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
7562
7530
|
value: input.discriminator
|
7563
|
-
})) &&
|
7531
|
+
})) && _vo172(input.discriminator, _path + ".discriminator", _exceptionable) || _report(_exceptionable, {
|
7564
7532
|
path: _path + ".discriminator",
|
7565
7533
|
expected: "(OpenApiV3_1.IJsonSchema.IOneOf.IDiscriminator | undefined)",
|
7566
7534
|
value: input.discriminator
|
@@ -7585,7 +7553,7 @@ class MigrateApplication {
|
|
7585
7553
|
expected: "(Record<string, any> | undefined)",
|
7586
7554
|
value: input.examples
|
7587
7555
|
}) ].every((flag => flag));
|
7588
|
-
const
|
7556
|
+
const _vo172 = (input, _path, _exceptionable = true) => [ "string" === typeof input.propertyName || _report(_exceptionable, {
|
7589
7557
|
path: _path + ".propertyName",
|
7590
7558
|
expected: "string",
|
7591
7559
|
value: input.propertyName
|
@@ -7598,20 +7566,78 @@ class MigrateApplication {
|
|
7598
7566
|
expected: "(Record<string, string> | undefined)",
|
7599
7567
|
value: input.mapping
|
7600
7568
|
}) ].every((flag => flag));
|
7601
|
-
const
|
7569
|
+
const _vo173 = (input, _path, _exceptionable = true) => [ null === input["default"] || undefined === input["default"] || _report(_exceptionable, {
|
7570
|
+
path: _path + '["default"]',
|
7571
|
+
expected: "(null | undefined)",
|
7572
|
+
value: input["default"]
|
7573
|
+
}), "null" === input.type || _report(_exceptionable, {
|
7574
|
+
path: _path + ".type",
|
7575
|
+
expected: '"null"',
|
7576
|
+
value: input.type
|
7577
|
+
}), undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7578
|
+
path: _path + ".title",
|
7579
|
+
expected: "(string | undefined)",
|
7580
|
+
value: input.title
|
7581
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
7582
|
+
path: _path + ".description",
|
7583
|
+
expected: "(string | undefined)",
|
7584
|
+
value: input.description
|
7585
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
7586
|
+
path: _path + ".deprecated",
|
7587
|
+
expected: "(boolean | undefined)",
|
7588
|
+
value: input.deprecated
|
7589
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
7590
|
+
path: _path + ".examples",
|
7591
|
+
expected: "(Record<string, any> | undefined)",
|
7592
|
+
value: input.examples
|
7593
|
+
})) && _vo10(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
7594
|
+
path: _path + ".examples",
|
7595
|
+
expected: "(Record<string, any> | undefined)",
|
7596
|
+
value: input.examples
|
7597
|
+
}) ].every((flag => flag));
|
7598
|
+
const _vo174 = (input, _path, _exceptionable = true) => [ (null !== input.type || _report(_exceptionable, {
|
7599
|
+
path: _path + ".type",
|
7600
|
+
expected: "undefined",
|
7601
|
+
value: input.type
|
7602
|
+
})) && (undefined === input.type || _report(_exceptionable, {
|
7603
|
+
path: _path + ".type",
|
7604
|
+
expected: "undefined",
|
7605
|
+
value: input.type
|
7606
|
+
})), true, undefined === input.title || "string" === typeof input.title || _report(_exceptionable, {
|
7607
|
+
path: _path + ".title",
|
7608
|
+
expected: "(string | undefined)",
|
7609
|
+
value: input.title
|
7610
|
+
}), undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
7611
|
+
path: _path + ".description",
|
7612
|
+
expected: "(string | undefined)",
|
7613
|
+
value: input.description
|
7614
|
+
}), undefined === input.deprecated || "boolean" === typeof input.deprecated || _report(_exceptionable, {
|
7615
|
+
path: _path + ".deprecated",
|
7616
|
+
expected: "(boolean | undefined)",
|
7617
|
+
value: input.deprecated
|
7618
|
+
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
7619
|
+
path: _path + ".examples",
|
7620
|
+
expected: "(Record<string, any> | undefined)",
|
7621
|
+
value: input.examples
|
7622
|
+
})) && _vo10(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
7623
|
+
path: _path + ".examples",
|
7624
|
+
expected: "(Record<string, any> | undefined)",
|
7625
|
+
value: input.examples
|
7626
|
+
}) ].every((flag => flag));
|
7627
|
+
const _vo175 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
7602
7628
|
const value = input[key];
|
7603
7629
|
if (undefined === value) return true;
|
7604
7630
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
7605
7631
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7606
7632
|
expected: "OpenApiV3_1.IPath",
|
7607
7633
|
value
|
7608
|
-
})) &&
|
7634
|
+
})) && _vo176(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
7609
7635
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7610
7636
|
expected: "OpenApiV3_1.IPath",
|
7611
7637
|
value
|
7612
7638
|
});
|
7613
7639
|
})).every((flag => flag)) ].every((flag => flag));
|
7614
|
-
const
|
7640
|
+
const _vo176 = (input, _path, _exceptionable = true) => [ undefined === input.parameters || (Array.isArray(input.parameters) || _report(_exceptionable, {
|
7615
7641
|
path: _path + ".parameters",
|
7616
7642
|
expected: "(Array<IParameter | IReference<`#/components/headers/${string}`> | IReference<`#/components/parameters/${string}`>>.o1 | undefined)",
|
7617
7643
|
value: input.parameters
|
@@ -7655,7 +7681,7 @@ class MigrateApplication {
|
|
7655
7681
|
path: _path + ".head",
|
7656
7682
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7657
7683
|
value: input.head
|
7658
|
-
})) &&
|
7684
|
+
})) && _vo183(input.head, _path + ".head", _exceptionable) || _report(_exceptionable, {
|
7659
7685
|
path: _path + ".head",
|
7660
7686
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7661
7687
|
value: input.head
|
@@ -7663,7 +7689,7 @@ class MigrateApplication {
|
|
7663
7689
|
path: _path + ".get",
|
7664
7690
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7665
7691
|
value: input.get
|
7666
|
-
})) &&
|
7692
|
+
})) && _vo183(input.get, _path + ".get", _exceptionable) || _report(_exceptionable, {
|
7667
7693
|
path: _path + ".get",
|
7668
7694
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7669
7695
|
value: input.get
|
@@ -7671,7 +7697,7 @@ class MigrateApplication {
|
|
7671
7697
|
path: _path + ".post",
|
7672
7698
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7673
7699
|
value: input.post
|
7674
|
-
})) &&
|
7700
|
+
})) && _vo183(input.post, _path + ".post", _exceptionable) || _report(_exceptionable, {
|
7675
7701
|
path: _path + ".post",
|
7676
7702
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7677
7703
|
value: input.post
|
@@ -7679,7 +7705,7 @@ class MigrateApplication {
|
|
7679
7705
|
path: _path + ".put",
|
7680
7706
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7681
7707
|
value: input.put
|
7682
|
-
})) &&
|
7708
|
+
})) && _vo183(input.put, _path + ".put", _exceptionable) || _report(_exceptionable, {
|
7683
7709
|
path: _path + ".put",
|
7684
7710
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7685
7711
|
value: input.put
|
@@ -7687,7 +7713,7 @@ class MigrateApplication {
|
|
7687
7713
|
path: _path + ".patch",
|
7688
7714
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7689
7715
|
value: input.patch
|
7690
|
-
})) &&
|
7716
|
+
})) && _vo183(input.patch, _path + ".patch", _exceptionable) || _report(_exceptionable, {
|
7691
7717
|
path: _path + ".patch",
|
7692
7718
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7693
7719
|
value: input.patch
|
@@ -7695,7 +7721,7 @@ class MigrateApplication {
|
|
7695
7721
|
path: _path + '["delete"]',
|
7696
7722
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7697
7723
|
value: input["delete"]
|
7698
|
-
})) &&
|
7724
|
+
})) && _vo183(input["delete"], _path + '["delete"]', _exceptionable) || _report(_exceptionable, {
|
7699
7725
|
path: _path + '["delete"]',
|
7700
7726
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7701
7727
|
value: input["delete"]
|
@@ -7703,7 +7729,7 @@ class MigrateApplication {
|
|
7703
7729
|
path: _path + ".options",
|
7704
7730
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7705
7731
|
value: input.options
|
7706
|
-
})) &&
|
7732
|
+
})) && _vo183(input.options, _path + ".options", _exceptionable) || _report(_exceptionable, {
|
7707
7733
|
path: _path + ".options",
|
7708
7734
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7709
7735
|
value: input.options
|
@@ -7711,12 +7737,12 @@ class MigrateApplication {
|
|
7711
7737
|
path: _path + ".trace",
|
7712
7738
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7713
7739
|
value: input.trace
|
7714
|
-
})) &&
|
7740
|
+
})) && _vo183(input.trace, _path + ".trace", _exceptionable) || _report(_exceptionable, {
|
7715
7741
|
path: _path + ".trace",
|
7716
7742
|
expected: "(OpenApiV3_1.IOperation | undefined)",
|
7717
7743
|
value: input.trace
|
7718
7744
|
}) ].every((flag => flag));
|
7719
|
-
const
|
7745
|
+
const _vo177 = (input, _path, _exceptionable = true) => [ undefined === input.name || "string" === typeof input.name || _report(_exceptionable, {
|
7720
7746
|
path: _path + ".name",
|
7721
7747
|
expected: "(string | undefined)",
|
7722
7748
|
value: input.name
|
@@ -7726,11 +7752,11 @@ class MigrateApplication {
|
|
7726
7752
|
value: input["in"]
|
7727
7753
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
7728
7754
|
path: _path + ".schema",
|
7729
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7755
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7730
7756
|
value: input.schema
|
7731
7757
|
})) && _vu7(input.schema, _path + ".schema", _exceptionable) || _report(_exceptionable, {
|
7732
7758
|
path: _path + ".schema",
|
7733
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7759
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
7734
7760
|
value: input.schema
|
7735
7761
|
}), undefined === input.required || "boolean" === typeof input.required || _report(_exceptionable, {
|
7736
7762
|
path: _path + ".required",
|
@@ -7744,12 +7770,12 @@ class MigrateApplication {
|
|
7744
7770
|
path: _path + ".examples",
|
7745
7771
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
7746
7772
|
value: input.examples
|
7747
|
-
})) &&
|
7773
|
+
})) && _vo178(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
7748
7774
|
path: _path + ".examples",
|
7749
7775
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
7750
7776
|
value: input.examples
|
7751
7777
|
}) ].every((flag => flag));
|
7752
|
-
const
|
7778
|
+
const _vo178 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
7753
7779
|
const value = input[key];
|
7754
7780
|
if (undefined === value) return true;
|
7755
7781
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
@@ -7762,7 +7788,7 @@ class MigrateApplication {
|
|
7762
7788
|
value
|
7763
7789
|
});
|
7764
7790
|
})).every((flag => flag)) ].every((flag => flag));
|
7765
|
-
const
|
7791
|
+
const _vo179 = (input, _path, _exceptionable = true) => [ undefined === input.summary || "string" === typeof input.summary || _report(_exceptionable, {
|
7766
7792
|
path: _path + ".summary",
|
7767
7793
|
expected: "(string | undefined)",
|
7768
7794
|
value: input.summary
|
@@ -7775,7 +7801,7 @@ class MigrateApplication {
|
|
7775
7801
|
expected: "(string | undefined)",
|
7776
7802
|
value: input.externalValue
|
7777
7803
|
}) ].every((flag => flag));
|
7778
|
-
const
|
7804
|
+
const _vo180 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/examples\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
7779
7805
|
path: _path + ".$ref",
|
7780
7806
|
expected: "`#/components/examples/${string}`",
|
7781
7807
|
value: input.$ref
|
@@ -7800,7 +7826,7 @@ class MigrateApplication {
|
|
7800
7826
|
expected: "(Record<string, any> | undefined)",
|
7801
7827
|
value: input.examples
|
7802
7828
|
}) ].every((flag => flag));
|
7803
|
-
const
|
7829
|
+
const _vo181 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
7804
7830
|
path: _path + ".$ref",
|
7805
7831
|
expected: "`#/components/headers/${string}`",
|
7806
7832
|
value: input.$ref
|
@@ -7825,7 +7851,7 @@ class MigrateApplication {
|
|
7825
7851
|
expected: "(Record<string, any> | undefined)",
|
7826
7852
|
value: input.examples
|
7827
7853
|
}) ].every((flag => flag));
|
7828
|
-
const
|
7854
|
+
const _vo182 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
7829
7855
|
path: _path + ".$ref",
|
7830
7856
|
expected: "`#/components/parameters/${string}`",
|
7831
7857
|
value: input.$ref
|
@@ -7850,7 +7876,7 @@ class MigrateApplication {
|
|
7850
7876
|
expected: "(Record<string, any> | undefined)",
|
7851
7877
|
value: input.examples
|
7852
7878
|
}) ].every((flag => flag));
|
7853
|
-
const
|
7879
|
+
const _vo183 = (input, _path, _exceptionable = true) => [ undefined === input.operationId || "string" === typeof input.operationId || _report(_exceptionable, {
|
7854
7880
|
path: _path + ".operationId",
|
7855
7881
|
expected: "(string | undefined)",
|
7856
7882
|
value: input.operationId
|
@@ -7882,7 +7908,7 @@ class MigrateApplication {
|
|
7882
7908
|
path: _path + ".responses",
|
7883
7909
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
7884
7910
|
value: input.responses
|
7885
|
-
})) &&
|
7911
|
+
})) && _vo188(input.responses, _path + ".responses", _exceptionable) || _report(_exceptionable, {
|
7886
7912
|
path: _path + ".responses",
|
7887
7913
|
expected: "(Record<string, IResponse | IReference<`#/components/responses/${string}`>>.o1 | undefined)",
|
7888
7914
|
value: input.responses
|
@@ -7943,7 +7969,7 @@ class MigrateApplication {
|
|
7943
7969
|
expected: "(boolean | undefined)",
|
7944
7970
|
value: input.deprecated
|
7945
7971
|
}) ].every((flag => flag));
|
7946
|
-
const
|
7972
|
+
const _vo184 = (input, _path, _exceptionable = true) => [ undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
7947
7973
|
path: _path + ".description",
|
7948
7974
|
expected: "(string | undefined)",
|
7949
7975
|
value: input.description
|
@@ -7955,42 +7981,42 @@ class MigrateApplication {
|
|
7955
7981
|
path: _path + ".content",
|
7956
7982
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
7957
7983
|
value: input.content
|
7958
|
-
})) &&
|
7984
|
+
})) && _vo185(input.content, _path + ".content", _exceptionable) || _report(_exceptionable, {
|
7959
7985
|
path: _path + ".content",
|
7960
7986
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
7961
7987
|
value: input.content
|
7962
7988
|
}) ].every((flag => flag));
|
7963
|
-
const
|
7989
|
+
const _vo185 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
7964
7990
|
const value = input[key];
|
7965
7991
|
if (undefined === value) return true;
|
7966
7992
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
7967
7993
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7968
7994
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
7969
7995
|
value
|
7970
|
-
})) &&
|
7996
|
+
})) && _vo186(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
7971
7997
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
7972
7998
|
expected: "OpenApiV3_1.IOperation.IMediaType",
|
7973
7999
|
value
|
7974
8000
|
});
|
7975
8001
|
})).every((flag => flag)) ].every((flag => flag));
|
7976
|
-
const
|
8002
|
+
const _vo186 = (input, _path, _exceptionable = true) => [ undefined === input.schema || ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
7977
8003
|
path: _path + ".schema",
|
7978
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
8004
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
7979
8005
|
value: input.schema
|
7980
8006
|
})) && _vu7(input.schema, _path + ".schema", _exceptionable) || _report(_exceptionable, {
|
7981
8007
|
path: _path + ".schema",
|
7982
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
8008
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown | undefined)",
|
7983
8009
|
value: input.schema
|
7984
8010
|
}), true, undefined === input.examples || ("object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) || _report(_exceptionable, {
|
7985
8011
|
path: _path + ".examples",
|
7986
8012
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
7987
8013
|
value: input.examples
|
7988
|
-
})) &&
|
8014
|
+
})) && _vo178(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
7989
8015
|
path: _path + ".examples",
|
7990
8016
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
7991
8017
|
value: input.examples
|
7992
8018
|
}) ].every((flag => flag));
|
7993
|
-
const
|
8019
|
+
const _vo187 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/requestBodies\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
7994
8020
|
path: _path + ".$ref",
|
7995
8021
|
expected: "`#/components/requestBodies/${string}`",
|
7996
8022
|
value: input.$ref
|
@@ -8015,7 +8041,7 @@ class MigrateApplication {
|
|
8015
8041
|
expected: "(Record<string, any> | undefined)",
|
8016
8042
|
value: input.examples
|
8017
8043
|
}) ].every((flag => flag));
|
8018
|
-
const
|
8044
|
+
const _vo188 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8019
8045
|
const value = input[key];
|
8020
8046
|
if (undefined === value) return true;
|
8021
8047
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
@@ -8028,11 +8054,11 @@ class MigrateApplication {
|
|
8028
8054
|
value
|
8029
8055
|
});
|
8030
8056
|
})).every((flag => flag)) ].every((flag => flag));
|
8031
|
-
const
|
8057
|
+
const _vo189 = (input, _path, _exceptionable = true) => [ undefined === input.content || ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) || _report(_exceptionable, {
|
8032
8058
|
path: _path + ".content",
|
8033
8059
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
8034
8060
|
value: input.content
|
8035
|
-
})) &&
|
8061
|
+
})) && _vo185(input.content, _path + ".content", _exceptionable) || _report(_exceptionable, {
|
8036
8062
|
path: _path + ".content",
|
8037
8063
|
expected: "(Record<string, OpenApiV3_1.IOperation.IMediaType> | undefined)",
|
8038
8064
|
value: input.content
|
@@ -8040,7 +8066,7 @@ class MigrateApplication {
|
|
8040
8066
|
path: _path + ".headers",
|
8041
8067
|
expected: '(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',
|
8042
8068
|
value: input.headers
|
8043
|
-
})) &&
|
8069
|
+
})) && _vo190(input.headers, _path + ".headers", _exceptionable) || _report(_exceptionable, {
|
8044
8070
|
path: _path + ".headers",
|
8045
8071
|
expected: '(Record<string, IReference<`#/components/headers/${string}`> | Omit<IParameter, "in">> | undefined)',
|
8046
8072
|
value: input.headers
|
@@ -8049,7 +8075,7 @@ class MigrateApplication {
|
|
8049
8075
|
expected: "(string | undefined)",
|
8050
8076
|
value: input.description
|
8051
8077
|
}) ].every((flag => flag));
|
8052
|
-
const
|
8078
|
+
const _vo190 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8053
8079
|
const value = input[key];
|
8054
8080
|
if (undefined === value) return true;
|
8055
8081
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
@@ -8062,7 +8088,7 @@ class MigrateApplication {
|
|
8062
8088
|
value
|
8063
8089
|
});
|
8064
8090
|
})).every((flag => flag)) ].every((flag => flag));
|
8065
|
-
const
|
8091
|
+
const _vo191 = (input, _path, _exceptionable = true) => [ undefined === input.description || "string" === typeof input.description || _report(_exceptionable, {
|
8066
8092
|
path: _path + ".description",
|
8067
8093
|
expected: "(string | undefined)",
|
8068
8094
|
value: input.description
|
@@ -8070,7 +8096,7 @@ class MigrateApplication {
|
|
8070
8096
|
path: _path + ".examples",
|
8071
8097
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
8072
8098
|
value: input.examples
|
8073
|
-
})) &&
|
8099
|
+
})) && _vo178(input.examples, _path + ".examples", _exceptionable) || _report(_exceptionable, {
|
8074
8100
|
path: _path + ".examples",
|
8075
8101
|
expected: "(Record<string, IExample | IReference<`#/components/examples/${string}`>>.o1 | undefined)",
|
8076
8102
|
value: input.examples
|
@@ -8084,14 +8110,14 @@ class MigrateApplication {
|
|
8084
8110
|
value: input.name
|
8085
8111
|
}), ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || _report(_exceptionable, {
|
8086
8112
|
path: _path + ".schema",
|
8087
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
8113
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
8088
8114
|
value: input.schema
|
8089
8115
|
})) && _vu7(input.schema, _path + ".schema", _exceptionable) || _report(_exceptionable, {
|
8090
8116
|
path: _path + ".schema",
|
8091
|
-
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
8117
|
+
expected: "(OpenApiV3_1.IJsonSchema.IAllOf | OpenApiV3_1.IJsonSchema.IAnyOf | OpenApiV3_1.IJsonSchema.IArray | OpenApiV3_1.IJsonSchema.IBoolean | OpenApiV3_1.IJsonSchema.IConstant | OpenApiV3_1.IJsonSchema.IInteger | OpenApiV3_1.IJsonSchema.IMixed | OpenApiV3_1.IJsonSchema.INull | OpenApiV3_1.IJsonSchema.INumber | OpenApiV3_1.IJsonSchema.IObject | OpenApiV3_1.IJsonSchema.IOneOf | OpenApiV3_1.IJsonSchema.IRecursiveReference | OpenApiV3_1.IJsonSchema.IReference<string> | OpenApiV3_1.IJsonSchema.IString | OpenApiV3_1.IJsonSchema.IUnknown)",
|
8092
8118
|
value: input.schema
|
8093
8119
|
}) ].every((flag => flag));
|
8094
|
-
const
|
8120
|
+
const _vo192 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/responses\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
8095
8121
|
path: _path + ".$ref",
|
8096
8122
|
expected: "`#/components/responses/${string}`",
|
8097
8123
|
value: input.$ref
|
@@ -8116,46 +8142,46 @@ class MigrateApplication {
|
|
8116
8142
|
expected: "(Record<string, any> | undefined)",
|
8117
8143
|
value: input.examples
|
8118
8144
|
}) ].every((flag => flag));
|
8119
|
-
const
|
8145
|
+
const _vo193 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8120
8146
|
const value = input[key];
|
8121
8147
|
if (undefined === value) return true;
|
8122
8148
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
8123
8149
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8124
8150
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
8125
8151
|
value
|
8126
|
-
})) &&
|
8152
|
+
})) && _vo189(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
8127
8153
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8128
8154
|
expected: "OpenApiV3_1.IOperation.IResponse",
|
8129
8155
|
value
|
8130
8156
|
});
|
8131
8157
|
})).every((flag => flag)) ].every((flag => flag));
|
8132
|
-
const
|
8158
|
+
const _vo194 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8133
8159
|
const value = input[key];
|
8134
8160
|
if (undefined === value) return true;
|
8135
8161
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
8136
8162
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8137
8163
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
8138
8164
|
value
|
8139
|
-
})) &&
|
8165
|
+
})) && _vo177(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
8140
8166
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8141
8167
|
expected: "OpenApiV3_1.IOperation.IParameter",
|
8142
8168
|
value
|
8143
8169
|
});
|
8144
8170
|
})).every((flag => flag)) ].every((flag => flag));
|
8145
|
-
const
|
8171
|
+
const _vo195 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8146
8172
|
const value = input[key];
|
8147
8173
|
if (undefined === value) return true;
|
8148
8174
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
8149
8175
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8150
8176
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
8151
8177
|
value
|
8152
|
-
})) &&
|
8178
|
+
})) && _vo184(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
8153
8179
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8154
8180
|
expected: "OpenApiV3_1.IOperation.IRequestBody",
|
8155
8181
|
value
|
8156
8182
|
});
|
8157
8183
|
})).every((flag => flag)) ].every((flag => flag));
|
8158
|
-
const
|
8184
|
+
const _vo196 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8159
8185
|
const value = input[key];
|
8160
8186
|
if (undefined === value) return true;
|
8161
8187
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
@@ -8168,7 +8194,7 @@ class MigrateApplication {
|
|
8168
8194
|
value
|
8169
8195
|
});
|
8170
8196
|
})).every((flag => flag)) ].every((flag => flag));
|
8171
|
-
const
|
8197
|
+
const _vo197 = (input, _path, _exceptionable = true) => [ "apiKey" === input.type || _report(_exceptionable, {
|
8172
8198
|
path: _path + ".type",
|
8173
8199
|
expected: '"apiKey"',
|
8174
8200
|
value: input.type
|
@@ -8185,7 +8211,7 @@ class MigrateApplication {
|
|
8185
8211
|
expected: "(string | undefined)",
|
8186
8212
|
value: input.description
|
8187
8213
|
}) ].every((flag => flag));
|
8188
|
-
const
|
8214
|
+
const _vo198 = (input, _path, _exceptionable = true) => [ "http" === input.type || _report(_exceptionable, {
|
8189
8215
|
path: _path + ".type",
|
8190
8216
|
expected: '"http"',
|
8191
8217
|
value: input.type
|
@@ -8198,7 +8224,7 @@ class MigrateApplication {
|
|
8198
8224
|
expected: "(string | undefined)",
|
8199
8225
|
value: input.description
|
8200
8226
|
}) ].every((flag => flag));
|
8201
|
-
const
|
8227
|
+
const _vo199 = (input, _path, _exceptionable = true) => [ "http" === input.type || _report(_exceptionable, {
|
8202
8228
|
path: _path + ".type",
|
8203
8229
|
expected: '"http"',
|
8204
8230
|
value: input.type
|
@@ -8215,7 +8241,7 @@ class MigrateApplication {
|
|
8215
8241
|
expected: "(string | undefined)",
|
8216
8242
|
value: input.description
|
8217
8243
|
}) ].every((flag => flag));
|
8218
|
-
const
|
8244
|
+
const _vo200 = (input, _path, _exceptionable = true) => [ "oauth2" === input.type || _report(_exceptionable, {
|
8219
8245
|
path: _path + ".type",
|
8220
8246
|
expected: '"oauth2"',
|
8221
8247
|
value: input.type
|
@@ -8223,7 +8249,7 @@ class MigrateApplication {
|
|
8223
8249
|
path: _path + ".flows",
|
8224
8250
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
8225
8251
|
value: input.flows
|
8226
|
-
})) &&
|
8252
|
+
})) && _vo201(input.flows, _path + ".flows", _exceptionable) || _report(_exceptionable, {
|
8227
8253
|
path: _path + ".flows",
|
8228
8254
|
expected: "OpenApiV3_1.ISecurityScheme.IOAuth2.IFlowSet",
|
8229
8255
|
value: input.flows
|
@@ -8232,11 +8258,11 @@ class MigrateApplication {
|
|
8232
8258
|
expected: "(string | undefined)",
|
8233
8259
|
value: input.description
|
8234
8260
|
}) ].every((flag => flag));
|
8235
|
-
const
|
8261
|
+
const _vo201 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode && false === Array.isArray(input.authorizationCode) || _report(_exceptionable, {
|
8236
8262
|
path: _path + ".authorizationCode",
|
8237
8263
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
8238
8264
|
value: input.authorizationCode
|
8239
|
-
})) &&
|
8265
|
+
})) && _vo202(input.authorizationCode, _path + ".authorizationCode", _exceptionable) || _report(_exceptionable, {
|
8240
8266
|
path: _path + ".authorizationCode",
|
8241
8267
|
expected: "(OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow | undefined)",
|
8242
8268
|
value: input.authorizationCode
|
@@ -8244,7 +8270,7 @@ class MigrateApplication {
|
|
8244
8270
|
path: _path + ".implicit",
|
8245
8271
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',
|
8246
8272
|
value: input.implicit
|
8247
|
-
})) &&
|
8273
|
+
})) && _vo203(input.implicit, _path + ".implicit", _exceptionable) || _report(_exceptionable, {
|
8248
8274
|
path: _path + ".implicit",
|
8249
8275
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "tokenUrl"> | undefined)',
|
8250
8276
|
value: input.implicit
|
@@ -8252,7 +8278,7 @@ class MigrateApplication {
|
|
8252
8278
|
path: _path + ".password",
|
8253
8279
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
8254
8280
|
value: input.password
|
8255
|
-
})) &&
|
8281
|
+
})) && _vo204(input.password, _path + ".password", _exceptionable) || _report(_exceptionable, {
|
8256
8282
|
path: _path + ".password",
|
8257
8283
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
8258
8284
|
value: input.password
|
@@ -8260,12 +8286,12 @@ class MigrateApplication {
|
|
8260
8286
|
path: _path + ".clientCredentials",
|
8261
8287
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
8262
8288
|
value: input.clientCredentials
|
8263
|
-
})) &&
|
8289
|
+
})) && _vo204(input.clientCredentials, _path + ".clientCredentials", _exceptionable) || _report(_exceptionable, {
|
8264
8290
|
path: _path + ".clientCredentials",
|
8265
8291
|
expected: '(Omit<OpenApiV3_1.ISecurityScheme.IOAuth2.IFlow, "authorizationUrl"> | undefined)',
|
8266
8292
|
value: input.clientCredentials
|
8267
8293
|
}) ].every((flag => flag));
|
8268
|
-
const
|
8294
|
+
const _vo202 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
8269
8295
|
path: _path + ".authorizationUrl",
|
8270
8296
|
expected: "(string | undefined)",
|
8271
8297
|
value: input.authorizationUrl
|
@@ -8286,7 +8312,7 @@ class MigrateApplication {
|
|
8286
8312
|
expected: "(Record<string, string> | undefined)",
|
8287
8313
|
value: input.scopes
|
8288
8314
|
}) ].every((flag => flag));
|
8289
|
-
const
|
8315
|
+
const _vo203 = (input, _path, _exceptionable = true) => [ undefined === input.authorizationUrl || "string" === typeof input.authorizationUrl || _report(_exceptionable, {
|
8290
8316
|
path: _path + ".authorizationUrl",
|
8291
8317
|
expected: "(string | undefined)",
|
8292
8318
|
value: input.authorizationUrl
|
@@ -8303,7 +8329,7 @@ class MigrateApplication {
|
|
8303
8329
|
expected: "(Record<string, string> | undefined)",
|
8304
8330
|
value: input.scopes
|
8305
8331
|
}) ].every((flag => flag));
|
8306
|
-
const
|
8332
|
+
const _vo204 = (input, _path, _exceptionable = true) => [ undefined === input.tokenUrl || "string" === typeof input.tokenUrl || _report(_exceptionable, {
|
8307
8333
|
path: _path + ".tokenUrl",
|
8308
8334
|
expected: "(string | undefined)",
|
8309
8335
|
value: input.tokenUrl
|
@@ -8320,7 +8346,7 @@ class MigrateApplication {
|
|
8320
8346
|
expected: "(Record<string, string> | undefined)",
|
8321
8347
|
value: input.scopes
|
8322
8348
|
}) ].every((flag => flag));
|
8323
|
-
const
|
8349
|
+
const _vo205 = (input, _path, _exceptionable = true) => [ "openIdConnect" === input.type || _report(_exceptionable, {
|
8324
8350
|
path: _path + ".type",
|
8325
8351
|
expected: '"openIdConnect"',
|
8326
8352
|
value: input.type
|
@@ -8333,33 +8359,33 @@ class MigrateApplication {
|
|
8333
8359
|
expected: "(string | undefined)",
|
8334
8360
|
value: input.description
|
8335
8361
|
}) ].every((flag => flag));
|
8336
|
-
const
|
8362
|
+
const _vo206 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8337
8363
|
const value = input[key];
|
8338
8364
|
if (undefined === value) return true;
|
8339
8365
|
return ("object" === typeof value && null !== value || _report(_exceptionable, {
|
8340
8366
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8341
8367
|
expected: 'Omit<OpenApiV3_1.IOperation.IParameter, "in">',
|
8342
8368
|
value
|
8343
|
-
})) &&
|
8369
|
+
})) && _vo191(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
8344
8370
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8345
8371
|
expected: 'Omit<OpenApiV3_1.IOperation.IParameter, "in">',
|
8346
8372
|
value
|
8347
8373
|
});
|
8348
8374
|
})).every((flag => flag)) ].every((flag => flag));
|
8349
|
-
const
|
8375
|
+
const _vo207 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8350
8376
|
const value = input[key];
|
8351
8377
|
if (undefined === value) return true;
|
8352
8378
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
8353
8379
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8354
8380
|
expected: "OpenApiV3_1.IExample",
|
8355
8381
|
value
|
8356
|
-
})) &&
|
8382
|
+
})) && _vo179(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), _exceptionable) || _report(_exceptionable, {
|
8357
8383
|
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
8358
8384
|
expected: "OpenApiV3_1.IExample",
|
8359
8385
|
value
|
8360
8386
|
});
|
8361
8387
|
})).every((flag => flag)) ].every((flag => flag));
|
8362
|
-
const
|
8388
|
+
const _vo208 = (input, _path, _exceptionable = true) => [ false === _exceptionable || Object.keys(input).map((key => {
|
8363
8389
|
const value = input[key];
|
8364
8390
|
if (undefined === value) return true;
|
8365
8391
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || _report(_exceptionable, {
|
@@ -8372,7 +8398,7 @@ class MigrateApplication {
|
|
8372
8398
|
value
|
8373
8399
|
});
|
8374
8400
|
})).every((flag => flag)) ].every((flag => flag));
|
8375
|
-
const
|
8401
|
+
const _vo209 = (input, _path, _exceptionable = true) => [ "string" === typeof input.$ref && RegExp(/^#\/components\/pathItems\/(.*)/).test(input.$ref) || _report(_exceptionable, {
|
8376
8402
|
path: _path + ".$ref",
|
8377
8403
|
expected: "`#/components/pathItems/${string}`",
|
8378
8404
|
value: input.$ref
|
@@ -8397,7 +8423,7 @@ class MigrateApplication {
|
|
8397
8423
|
expected: "(Record<string, any> | undefined)",
|
8398
8424
|
value: input.examples
|
8399
8425
|
}) ].every((flag => flag));
|
8400
|
-
const
|
8426
|
+
const _vo210 = (input, _path, _exceptionable = true) => [ "string" === typeof input.name || _report(_exceptionable, {
|
8401
8427
|
path: _path + ".name",
|
8402
8428
|
expected: "string",
|
8403
8429
|
value: input.name
|
@@ -8413,16 +8439,16 @@ class MigrateApplication {
|
|
8413
8439
|
if (undefined !== input["const"]) return _vo9(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo11(input, _path, _exceptionable); else if ("number" === input.type) return _vo13(input, _path, _exceptionable); else if ("integer" === input.type) return _vo12(input, _path, _exceptionable); else if ("string" === input.type) return _vo14(input, _path, _exceptionable); else if (undefined !== input.items) return _vo15(input, _path, _exceptionable); else if (undefined !== input.prefixItems) return _vo16(input, _path, _exceptionable); else if ("object" === input.type) return _vo17(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo18(input, _path, _exceptionable); else if ("null" === input.type) return _vo20(input, _path, _exceptionable); else return _vo21(input, _path, _exceptionable);
|
8414
8440
|
})();
|
8415
8441
|
const _vu2 = (input, _path, _exceptionable = true) => (() => {
|
8416
|
-
if ("boolean" === input.type) return _vo53(input, _path, _exceptionable); else if ("number" === input.type) return _vo55(input, _path, _exceptionable); else if ("integer" === input.type) return _vo54(input, _path, _exceptionable); else if ("string" === input.type) return _vo56(input, _path, _exceptionable); else if ("array" === input.type) return _vo57(input, _path, _exceptionable); else if ("object" === input.type) return _vo58(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo59(input, _path, _exceptionable); else if (
|
8442
|
+
if ("boolean" === input.type) return _vo53(input, _path, _exceptionable); else if ("number" === input.type) return _vo55(input, _path, _exceptionable); else if ("integer" === input.type) return _vo54(input, _path, _exceptionable); else if ("string" === input.type) return _vo56(input, _path, _exceptionable); else if ("array" === input.type) return _vo57(input, _path, _exceptionable); else if ("object" === input.type) return _vo58(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo59(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo60(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo61(input, _path, _exceptionable); else if ("null" === input.type) return _vo62(input, _path, _exceptionable); else return _vo63(input, _path, _exceptionable);
|
8417
8443
|
})();
|
8418
8444
|
const _vu3 = (input, _path, _exceptionable = true) => (() => {
|
8419
|
-
if ("boolean" === input.type) return _vo65(input, _path, _exceptionable); else if ("number" === input.type) return _vo67(input, _path, _exceptionable); else if ("integer" === input.type) return _vo66(input, _path, _exceptionable); else if ("string" === input.type) return _vo68(input, _path, _exceptionable); else if ("array" === input.type) return _vo69(input, _path, _exceptionable); else if ("object" === input.type) return _vo70(input, _path, _exceptionable); else if (
|
8445
|
+
if ("boolean" === input.type) return _vo65(input, _path, _exceptionable); else if ("number" === input.type) return _vo67(input, _path, _exceptionable); else if ("integer" === input.type) return _vo66(input, _path, _exceptionable); else if ("string" === input.type) return _vo68(input, _path, _exceptionable); else if ("array" === input.type) return _vo69(input, _path, _exceptionable); else if ("object" === input.type) return _vo70(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo72(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo73(input, _path, _exceptionable); else if ("null" === input.type) return _vo74(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo76(input, _path, _exceptionable); else return _vo71(input, _path, false) || _vo75(input, _path, false) || _vo88(input, _path, false);
|
8420
8446
|
})();
|
8421
8447
|
const _vu4 = (input, _path, _exceptionable = true) => (() => {
|
8422
|
-
if ("boolean" === input.type) return _vo65(input, _path, _exceptionable); else if ("number" === input.type) return _vo67(input, _path, _exceptionable); else if ("integer" === input.type) return _vo66(input, _path, _exceptionable); else if ("string" === input.type) return _vo68(input, _path, _exceptionable); else if ("array" === input.type) return _vo69(input, _path, _exceptionable); else if ("object" === input.type) return _vo70(input, _path, _exceptionable); else if (
|
8448
|
+
if ("boolean" === input.type) return _vo65(input, _path, _exceptionable); else if ("number" === input.type) return _vo67(input, _path, _exceptionable); else if ("integer" === input.type) return _vo66(input, _path, _exceptionable); else if ("string" === input.type) return _vo68(input, _path, _exceptionable); else if ("array" === input.type) return _vo69(input, _path, _exceptionable); else if ("object" === input.type) return _vo70(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo72(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo73(input, _path, _exceptionable); else if ("null" === input.type) return _vo74(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo76(input, _path, _exceptionable); else return _vo71(input, _path, false) || _vo75(input, _path, false) || _vo90(input, _path, false);
|
8423
8449
|
})();
|
8424
8450
|
const _vu5 = (input, _path, _exceptionable = true) => (() => {
|
8425
|
-
if ("boolean" === input.type) return _vo103(input, _path, _exceptionable); else if ("number" === input.type) return _vo105(input, _path, _exceptionable); else if ("integer" === input.type) return _vo104(input, _path, _exceptionable); else if ("string" === input.type) return _vo106(input, _path, _exceptionable); else if ("array" === input.type) return _vo107(input, _path, _exceptionable); else if ("object" === input.type) return _vo108(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo109(input, _path, _exceptionable); else if (
|
8451
|
+
if ("boolean" === input.type) return _vo103(input, _path, _exceptionable); else if ("number" === input.type) return _vo105(input, _path, _exceptionable); else if ("integer" === input.type) return _vo104(input, _path, _exceptionable); else if ("string" === input.type) return _vo106(input, _path, _exceptionable); else if ("array" === input.type) return _vo107(input, _path, _exceptionable); else if ("object" === input.type) return _vo108(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo109(input, _path, _exceptionable); else if (undefined !== input.allOf) return _vo110(input, _path, _exceptionable); else if (undefined !== input.anyOf) return _vo111(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _vo112(input, _path, _exceptionable); else if ("null" === input.type) return _vo114(input, _path, _exceptionable); else return _vo115(input, _path, _exceptionable);
|
8426
8452
|
})();
|
8427
8453
|
const _vu6 = (input, _path, _exceptionable = true) => (() => {
|
8428
8454
|
if (undefined !== input["in"]) return _vo127(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _vo144(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _vo125(input, _path, _exceptionable); else return _report(_exceptionable, {
|
@@ -8432,12 +8458,12 @@ class MigrateApplication {
|
|
8432
8458
|
});
|
8433
8459
|
})();
|
8434
8460
|
const _vu7 = (input, _path, _exceptionable = true) => (() => {
|
8435
|
-
if (Array.isArray(input.type) && input.type.map(((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem)).every((flag => flag))) return _vo159(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo161(input, _path, _exceptionable); else if ("number" === input.type) return _vo163(input, _path, _exceptionable); else if ("integer" === input.type) return _vo162(input, _path, _exceptionable); else if ("string" === input.type) return _vo164(input, _path, _exceptionable); else if ("array" === input.type) return _vo165(input, _path, _exceptionable); else if ("object" === input.type) return _vo166(input, _path, _exceptionable); else if ("null" === input.type) return
|
8436
|
-
if (undefined !== input["const"]) return _vo160(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo167(input, _path, _exceptionable); else if (undefined !== input.allOf) return
|
8461
|
+
if (Array.isArray(input.type) && input.type.map(((elem, _index164) => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "null" === elem || "integer" === elem || "array" === elem)).every((flag => flag))) return _vo159(input, _path, _exceptionable); else if ("boolean" === input.type) return _vo161(input, _path, _exceptionable); else if ("number" === input.type) return _vo163(input, _path, _exceptionable); else if ("integer" === input.type) return _vo162(input, _path, _exceptionable); else if ("string" === input.type) return _vo164(input, _path, _exceptionable); else if ("array" === input.type) return _vo165(input, _path, _exceptionable); else if ("object" === input.type) return _vo166(input, _path, _exceptionable); else if (undefined !== input.$recursiveRef) return _vo168(input, _path, _exceptionable); else if ("null" === input.type) return _vo173(input, _path, _exceptionable); else return (() => {
|
8462
|
+
if (undefined !== input["const"]) return _vo160(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo167(input, _path, _exceptionable); else if (undefined !== input.allOf) return _vo169(input, _path, _exceptionable); else if (undefined !== input.anyOf) return _vo170(input, _path, _exceptionable); else if (undefined !== input.oneOf) return _vo171(input, _path, _exceptionable); else return _vo174(input, _path, _exceptionable);
|
8437
8463
|
})();
|
8438
8464
|
})();
|
8439
8465
|
const _vu8 = (input, _path, _exceptionable = true) => (() => {
|
8440
|
-
if (undefined !== input["in"]) return
|
8466
|
+
if (undefined !== input["in"]) return _vo177(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/parameters\/(.*)/).test(input.$ref)) return _vo182(input, _path, _exceptionable); else if ("string" === typeof input.$ref && RegExp(/^#\/components\/headers\/(.*)/).test(input.$ref)) return _vo181(input, _path, _exceptionable); else return _report(_exceptionable, {
|
8441
8467
|
path: _path,
|
8442
8468
|
expected: "(OpenApiV3_1.IOperation.IParameter | OpenApiV3_1.IJsonSchema.IReference<`#/components/parameters/${string}`> | OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`>)",
|
8443
8469
|
value: input
|
@@ -8451,7 +8477,7 @@ class MigrateApplication {
|
|
8451
8477
|
});
|
8452
8478
|
})();
|
8453
8479
|
const _vu10 = (input, _path, _exceptionable = true) => (() => {
|
8454
|
-
if ("boolean" === input.type) return _vo65(input, _path, _exceptionable); else if ("number" === input.type) return _vo67(input, _path, _exceptionable); else if ("integer" === input.type) return _vo66(input, _path, _exceptionable); else if ("string" === input.type) return _vo68(input, _path, _exceptionable); else if ("array" === input.type) return _vo69(input, _path, _exceptionable); else if ("object" === input.type) return _vo70(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo71(input, _path, _exceptionable); else if (
|
8480
|
+
if ("boolean" === input.type) return _vo65(input, _path, _exceptionable); else if ("number" === input.type) return _vo67(input, _path, _exceptionable); else if ("integer" === input.type) return _vo66(input, _path, _exceptionable); else if ("string" === input.type) return _vo68(input, _path, _exceptionable); else if ("array" === input.type) return _vo69(input, _path, _exceptionable); else if ("object" === input.type) return _vo70(input, _path, _exceptionable); else if (undefined !== input.$ref) return _vo71(input, _path, _exceptionable); else if (undefined !== input["x-anyOf"]) return _vo72(input, _path, _exceptionable); else if (undefined !== input["x-oneOf"]) return _vo73(input, _path, _exceptionable); else if ("null" === input.type) return _vo74(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo76(input, _path, _exceptionable); else return _vo75(input, _path, _exceptionable);
|
8455
8481
|
})();
|
8456
8482
|
const _vu11 = (input, _path, _exceptionable = true) => (() => {
|
8457
8483
|
if ("apiKey" === input.type) return _vo80(input, _path, _exceptionable); else if ("basic" === input.type) return _vo81(input, _path, _exceptionable); else if ("implicit" === input.flow) return _vo82(input, _path, _exceptionable); else if ("accessCode" === input.flow) return _vo83(input, _path, _exceptionable); else if ("application" === input.flow) return _vo85(input, _path, _exceptionable); else if ("password" === input.flow) return _vo84(input, _path, _exceptionable); else return _report(_exceptionable, {
|
@@ -8487,30 +8513,30 @@ class MigrateApplication {
|
|
8487
8513
|
if (undefined !== input.$ref) return _vo148(input, _path, _exceptionable); else return _vo117(input, _path, _exceptionable);
|
8488
8514
|
})();
|
8489
8515
|
const _vu18 = (input, _path, _exceptionable = true) => (() => {
|
8490
|
-
if (undefined !== input.$ref) return
|
8516
|
+
if (undefined !== input.$ref) return _vo180(input, _path, _exceptionable); else return _vo179(input, _path, _exceptionable);
|
8491
8517
|
})();
|
8492
8518
|
const _vu19 = (input, _path, _exceptionable = true) => (() => {
|
8493
|
-
if (undefined !== input.$ref) return
|
8519
|
+
if (undefined !== input.$ref) return _vo187(input, _path, _exceptionable); else return _vo184(input, _path, _exceptionable);
|
8494
8520
|
})();
|
8495
8521
|
const _vu20 = (input, _path, _exceptionable = true) => (() => {
|
8496
|
-
if (undefined !== input.$ref) return
|
8522
|
+
if (undefined !== input.$ref) return _vo192(input, _path, _exceptionable); else return _vo189(input, _path, _exceptionable);
|
8497
8523
|
})();
|
8498
8524
|
const _vu21 = (input, _path, _exceptionable = true) => (() => {
|
8499
|
-
if (undefined !== input.$ref) return
|
8525
|
+
if (undefined !== input.$ref) return _vo181(input, _path, _exceptionable); else if (undefined !== input.schema) return _vo191(input, _path, _exceptionable); else return _report(_exceptionable, {
|
8500
8526
|
path: _path,
|
8501
8527
|
expected: '(OpenApiV3_1.IJsonSchema.IReference<`#/components/headers/${string}`> | Omit<OpenApiV3_1.IOperation.IParameter, "in">)',
|
8502
8528
|
value: input
|
8503
8529
|
});
|
8504
8530
|
})();
|
8505
8531
|
const _vu22 = (input, _path, _exceptionable = true) => (() => {
|
8506
|
-
if ("apiKey" === input.type) return
|
8532
|
+
if ("apiKey" === input.type) return _vo197(input, _path, _exceptionable); else if ("basic" === input.scheme) return _vo198(input, _path, _exceptionable); else if ("bearer" === input.scheme) return _vo199(input, _path, _exceptionable); else if ("oauth2" === input.type) return _vo200(input, _path, _exceptionable); else if ("openIdConnect" === input.type) return _vo205(input, _path, _exceptionable); else return _report(_exceptionable, {
|
8507
8533
|
path: _path,
|
8508
8534
|
expected: "(OpenApiV3_1.ISecurityScheme.IApiKey | OpenApiV3_1.ISecurityScheme.IHttpBasic | OpenApiV3_1.ISecurityScheme.IHttpBearer | OpenApiV3_1.ISecurityScheme.IOAuth2 | OpenApiV3_1.ISecurityScheme.IOpenId)",
|
8509
8535
|
value: input
|
8510
8536
|
});
|
8511
8537
|
})();
|
8512
8538
|
const _vu23 = (input, _path, _exceptionable = true) => (() => {
|
8513
|
-
if (undefined !== input.$ref) return
|
8539
|
+
if (undefined !== input.$ref) return _vo209(input, _path, _exceptionable); else return _vo176(input, _path, _exceptionable);
|
8514
8540
|
})();
|
8515
8541
|
const _vu24 = (input, _path, _exceptionable = true) => (() => {
|
8516
8542
|
if (undefined !== input["x-samchon-emended"]) return _vo0(input, _path, _exceptionable); else if (undefined !== input.swagger) return _vo48(input, _path, _exceptionable); else if (null !== input.openapi && undefined !== input.openapi && ("3.0" === input.openapi || "string" === typeof input.openapi && RegExp(/^3\.0\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi))) return _vo94(input, _path, _exceptionable); else if ("string" === typeof input.openapi && RegExp(/^3\.1\.[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(input.openapi)) return _vo150(input, _path, _exceptionable); else return _report(_exceptionable, {
|