@nestia/migrate 0.17.5 → 0.18.1

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.
Files changed (100) hide show
  1. package/lib/MigrateApplication.d.ts +5 -5
  2. package/lib/MigrateApplication.js +90 -98
  3. package/lib/MigrateApplication.js.map +1 -1
  4. package/lib/analyzers/MigrateAnalyzer.d.ts +2 -2
  5. package/lib/analyzers/MigrateAnalyzer.js +2 -2
  6. package/lib/analyzers/MigrateAnalyzer.js.map +1 -1
  7. package/lib/analyzers/MigrateControllerAnalyzer.d.ts +3 -3
  8. package/lib/analyzers/MigrateControllerAnalyzer.js.map +1 -1
  9. package/lib/archivers/MigrateFileArchiver.d.ts +2 -2
  10. package/lib/archivers/MigrateFileArchiver.js.map +1 -1
  11. package/lib/bundles/NEST_TEMPLATE.js +2 -2
  12. package/lib/bundles/NEST_TEMPLATE.js.map +1 -1
  13. package/lib/bundles/SDK_TEMPLATE.js +1 -1
  14. package/lib/bundles/SDK_TEMPLATE.js.map +1 -1
  15. package/lib/executable/bundle.js.map +1 -1
  16. package/lib/module.d.ts +2 -2
  17. package/lib/module.js +2 -2
  18. package/lib/module.js.map +1 -1
  19. package/lib/programmers/MigrateApiFileProgrammer.d.ts +4 -4
  20. package/lib/programmers/MigrateApiFileProgrammer.js.map +1 -1
  21. package/lib/programmers/MigrateApiFunctionProgrammer.d.ts +4 -4
  22. package/lib/programmers/MigrateApiFunctionProgrammer.js.map +1 -1
  23. package/lib/programmers/MigrateApiNamespaceProgrammer.d.ts +4 -4
  24. package/lib/programmers/MigrateApiNamespaceProgrammer.js.map +1 -1
  25. package/lib/programmers/MigrateApiProgrammer.d.ts +3 -3
  26. package/lib/programmers/MigrateApiProgrammer.js.map +1 -1
  27. package/lib/programmers/MigrateApiSimulatationProgrammer.d.ts +3 -3
  28. package/lib/programmers/MigrateApiSimulatationProgrammer.js.map +1 -1
  29. package/lib/programmers/MigrateApiStartProgrammer.d.ts +3 -3
  30. package/lib/programmers/MigrateApiStartProgrammer.js.map +1 -1
  31. package/lib/programmers/MigrateE2eFileProgrammer.d.ts +3 -3
  32. package/lib/programmers/MigrateE2eFileProgrammer.js.map +1 -1
  33. package/lib/programmers/MigrateE2eProgrammer.d.ts +3 -3
  34. package/lib/programmers/MigrateE2eProgrammer.js.map +1 -1
  35. package/lib/programmers/MigrateNestControllerProgrammer.d.ts +2 -2
  36. package/lib/programmers/MigrateNestControllerProgrammer.js.map +1 -1
  37. package/lib/programmers/MigrateNestMethodProgrammer.d.ts +2 -2
  38. package/lib/programmers/MigrateNestMethodProgrammer.js.map +1 -1
  39. package/lib/programmers/MigrateNestModuleProgrammer.d.ts +2 -2
  40. package/lib/programmers/MigrateNestModuleProgrammer.js.map +1 -1
  41. package/lib/programmers/MigrateNestProgrammer.d.ts +3 -3
  42. package/lib/programmers/MigrateNestProgrammer.js.map +1 -1
  43. package/lib/structures/IHttpMigrateController.d.ts +7 -0
  44. package/lib/structures/IHttpMigrateController.js +3 -0
  45. package/lib/structures/IHttpMigrateController.js.map +1 -0
  46. package/lib/structures/{IMigrateDto.d.ts → IHttpMigrateDto.d.ts} +2 -2
  47. package/lib/structures/{IMigrateDto.js → IHttpMigrateDto.js} +1 -1
  48. package/lib/structures/IHttpMigrateDto.js.map +1 -0
  49. package/lib/structures/{IMigrateFile.d.ts → IHttpMigrateFile.d.ts} +1 -1
  50. package/lib/structures/{IMigrateRoute.js → IHttpMigrateFile.js} +1 -1
  51. package/lib/structures/IHttpMigrateFile.js.map +1 -0
  52. package/lib/structures/{IMigrateProgram.d.ts → IHttpMigrateProgram.d.ts} +5 -5
  53. package/lib/structures/{IMigrateProgram.js → IHttpMigrateProgram.js} +1 -1
  54. package/lib/structures/IHttpMigrateProgram.js.map +1 -0
  55. package/lib/structures/IHttpMigrateRoute.d.ts +1 -0
  56. package/lib/structures/{IMigrateFile.js → IHttpMigrateRoute.js} +1 -1
  57. package/lib/structures/IHttpMigrateRoute.js.map +1 -0
  58. package/lib/structures/IHttpMigrateSchema.d.ts +4 -0
  59. package/lib/structures/{IMigrateController.js → IHttpMigrateSchema.js} +1 -1
  60. package/lib/structures/IHttpMigrateSchema.js.map +1 -0
  61. package/package.json +5 -5
  62. package/src/MigrateApplication.ts +7 -7
  63. package/src/analyzers/MigrateAnalyzer.ts +10 -6
  64. package/src/analyzers/MigrateControllerAnalyzer.ts +7 -5
  65. package/src/archivers/MigrateFileArchiver.ts +2 -2
  66. package/src/bundles/NEST_TEMPLATE.ts +2 -2
  67. package/src/bundles/SDK_TEMPLATE.ts +1 -1
  68. package/src/executable/bundle.ts +22 -21
  69. package/src/module.ts +2 -2
  70. package/src/programmers/MigrateApiFileProgrammer.ts +4 -4
  71. package/src/programmers/MigrateApiFunctionProgrammer.ts +8 -8
  72. package/src/programmers/MigrateApiNamespaceProgrammer.ts +9 -9
  73. package/src/programmers/MigrateApiProgrammer.ts +4 -4
  74. package/src/programmers/MigrateApiSimulatationProgrammer.ts +4 -4
  75. package/src/programmers/MigrateApiStartProgrammer.ts +7 -7
  76. package/src/programmers/MigrateE2eFileProgrammer.ts +4 -4
  77. package/src/programmers/MigrateE2eProgrammer.ts +5 -5
  78. package/src/programmers/MigrateNestControllerProgrammer.ts +2 -2
  79. package/src/programmers/MigrateNestMethodProgrammer.ts +5 -5
  80. package/src/programmers/MigrateNestModuleProgrammer.ts +4 -2
  81. package/src/programmers/MigrateNestProgrammer.ts +6 -7
  82. package/src/structures/IHttpMigrateController.ts +8 -0
  83. package/src/structures/{IMigrateDto.ts → IHttpMigrateDto.ts} +2 -2
  84. package/src/structures/{IMigrateFile.ts → IHttpMigrateFile.ts} +1 -1
  85. package/src/structures/{IMigrateProgram.ts → IHttpMigrateProgram.ts} +5 -5
  86. package/src/structures/IHttpMigrateRoute.ts +1 -0
  87. package/src/structures/IHttpMigrateSchema.ts +4 -0
  88. package/lib/structures/IMigrateController.d.ts +0 -7
  89. package/lib/structures/IMigrateController.js.map +0 -1
  90. package/lib/structures/IMigrateDto.js.map +0 -1
  91. package/lib/structures/IMigrateFile.js.map +0 -1
  92. package/lib/structures/IMigrateProgram.js.map +0 -1
  93. package/lib/structures/IMigrateRoute.d.ts +0 -1
  94. package/lib/structures/IMigrateRoute.js.map +0 -1
  95. package/lib/structures/IMigrateSchema.d.ts +0 -4
  96. package/lib/structures/IMigrateSchema.js +0 -3
  97. package/lib/structures/IMigrateSchema.js.map +0 -1
  98. package/src/structures/IMigrateController.ts +0 -8
  99. package/src/structures/IMigrateRoute.ts +0 -1
  100. package/src/structures/IMigrateSchema.ts +0 -4
@@ -1,7 +1,7 @@
1
1
  import { OpenApi, OpenApiV3, OpenApiV3_1, SwaggerV2 } from "@samchon/openapi";
2
2
  import { IValidation } from "typia";
3
- import { IMigrateFile } from "./structures/IMigrateFile";
4
- import { IMigrateProgram } from "./structures/IMigrateProgram";
3
+ import { IHttpMigrateFile } from "./structures/IHttpMigrateFile";
4
+ import { IHttpMigrateProgram } from "./structures/IHttpMigrateProgram";
5
5
  export declare class MigrateApplication {
6
6
  readonly document: OpenApi.IDocument;
7
7
  private constructor();
@@ -11,9 +11,9 @@ export declare class MigrateApplication {
11
11
  }
12
12
  export declare namespace MigrateApplication {
13
13
  interface IOutput {
14
- program: IMigrateProgram;
15
- files: IMigrateFile[];
16
- errors: IMigrateProgram.IError[];
14
+ program: IHttpMigrateProgram;
15
+ files: IHttpMigrateFile[];
16
+ errors: IHttpMigrateProgram.IError[];
17
17
  }
18
18
  interface IConfig {
19
19
  simulate: boolean;
@@ -53,13 +53,13 @@ class MigrateApplication {
53
53
  if (undefined === value)
54
54
  return true;
55
55
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io34(value);
56
- }); const $io34 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io35(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io35(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io35(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io35(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io35(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && $io35(input.head)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io35(input.patch)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io35(input.trace)); const $io35 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $io36(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && $io39(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io42(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io1(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io36 = 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) && $iu0(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && $io37(input.examples)); const $io37 = input => Object.keys(input).every(key => {
56
+ }); const $io34 = input => (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io1(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) && $io35(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io35(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io35(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io35(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io35(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io35(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io35(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io35(input.trace)); const $io35 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $io36(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && $io39(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io42(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io1(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io36 = 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) && $iu0(input.schema)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.examples || "object" === typeof input.examples && null !== input.examples && false === Array.isArray(input.examples) && $io37(input.examples)); const $io37 = input => Object.keys(input).every(key => {
57
57
  const value = input[key];
58
58
  if (undefined === value)
59
59
  return true;
60
60
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io38(value);
61
- }); const $io38 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const $io39 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && $io40(input.content)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]); const $io40 = input => (undefined === input["text/plain"] || "object" === typeof input["text/plain"] && null !== input["text/plain"] && false === Array.isArray(input["text/plain"]) && $io41(input["text/plain"])) && (undefined === input["application/json"] || "object" === typeof input["application/json"] && null !== input["application/json"] && false === Array.isArray(input["application/json"]) && $io41(input["application/json"])) && (undefined === input["application/x-www-form-url-encoded"] || "object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) && $io41(input["application/x-www-form-url-encoded"])) && (undefined === input["multipart/form-data"] || "object" === typeof input["multipart/form-data"] && null !== input["multipart/form-data"] && false === Array.isArray(input["multipart/form-data"]) && $io41(input["multipart/form-data"])) && (undefined === input["*/*"] || "object" === typeof input["*/*"] && null !== input["*/*"] && false === Array.isArray(input["*/*"]) && $io41(input["*/*"])) && Object.keys(input).every(key => {
62
- if (["text/plain", "application/json", "application/x-www-form-url-encoded", "multipart/form-data", "*/*"].some(prop => key === prop))
61
+ }); const $io38 = input => (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && true && (undefined === input.externalValue || "string" === typeof input.externalValue); const $io39 = input => (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && $io40(input.content)) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]); const $io40 = input => (undefined === input["text/plain"] || "object" === typeof input["text/plain"] && null !== input["text/plain"] && false === Array.isArray(input["text/plain"]) && $io41(input["text/plain"])) && (undefined === input["application/json"] || "object" === typeof input["application/json"] && null !== input["application/json"] && false === Array.isArray(input["application/json"]) && $io41(input["application/json"])) && (undefined === input["multipart/form-data"] || "object" === typeof input["multipart/form-data"] && null !== input["multipart/form-data"] && false === Array.isArray(input["multipart/form-data"]) && $io41(input["multipart/form-data"])) && (undefined === input["application/x-www-form-url-encoded"] || "object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) && $io41(input["application/x-www-form-url-encoded"])) && (undefined === input["*/*"] || "object" === typeof input["*/*"] && null !== input["*/*"] && false === Array.isArray(input["*/*"]) && $io41(input["*/*"])) && Object.keys(input).every(key => {
62
+ if (["text/plain", "application/json", "multipart/form-data", "application/x-www-form-url-encoded", "*/*"].some(prop => key === prop))
63
63
  return true;
64
64
  const value = input[key];
65
65
  if (undefined === value)
@@ -105,7 +105,7 @@ class MigrateApplication {
105
105
  if (undefined === value)
106
106
  return true;
107
107
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io86(value);
108
- }); const $io86 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu3(elem))) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io88(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io88(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io88(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io88(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io88(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && $io88(input.head)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io88(input.patch)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io88(input.trace)); const $io87 = 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); const $io88 = 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) && $io90(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io89 = 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); const $io90 = input => Object.keys(input).every(key => {
108
+ }); const $io86 = 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) && $io88(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io88(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io88(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io88(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io88(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io88(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io88(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io88(input.trace)); const $io87 = 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); const $io88 = 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) && $io90(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io89 = 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); const $io90 = input => Object.keys(input).every(key => {
109
109
  const value = input[key];
110
110
  if (undefined === value)
111
111
  return true;
@@ -170,7 +170,7 @@ class MigrateApplication {
170
170
  if (undefined === value)
171
171
  return true;
172
172
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io142(value);
173
- }); const $io142 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io94(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io144(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io144(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io144(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io144(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io144(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && $io144(input.head)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io144(input.patch)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io144(input.trace)); const $io143 = 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); const $io144 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu6(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && $iu16(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io146(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io94(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io145 = 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); const $io146 = input => Object.keys(input).every(key => {
173
+ }); const $io142 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu6(elem))) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io94(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) && $io144(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io144(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io144(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io144(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io144(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io144(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io144(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io144(input.trace)); const $io143 = 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); const $io144 = input => (undefined === input.operationId || "string" === typeof input.operationId) && (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $iu6(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && false === Array.isArray(input.requestBody) && $iu16(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io146(input.responses)) && (undefined === input.servers || Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io94(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) && $io45(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.deprecated || "boolean" === typeof input.deprecated); const $io145 = 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); const $io146 = input => Object.keys(input).every(key => {
174
174
  const value = input[key];
175
175
  if (undefined === value)
176
176
  return true;
@@ -185,12 +185,12 @@ class MigrateApplication {
185
185
  if (undefined === value)
186
186
  return true;
187
187
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu7(value);
188
- }); const $io158 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && undefined !== input.items && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (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) && $io157(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; const $io159 = 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); const $io160 = 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.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); const $io161 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.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); const $io162 = 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.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); const $io163 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.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); const $io164 = 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.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); const $io165 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io157(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.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); const $io166 = 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); const $io167 = 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); const $io168 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (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); 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); 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); 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); const $io172 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && $io22(input.mapping)); const $io173 = input => Object.keys(input).every(key => {
188
+ }); const $io158 = input => Array.isArray(input.type) && input.type.every(elem => "string" === elem || "number" === elem || "boolean" === elem || "object" === elem || "integer" === elem || "array" === elem || "null" === elem) && (null === input["default"] || undefined === input["default"] || Array.isArray(input["default"])) && (undefined === input["enum"] || Array.isArray(input["enum"])) && ("string" === typeof input["const"] || "number" === typeof input["const"] || "boolean" === typeof input["const"]) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.nullable || "boolean" === typeof input.nullable) && (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 <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && (null !== input.items && (undefined === input.items || (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && (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) && $io157(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; const $io159 = 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); const $io160 = 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.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); const $io161 = input => (null === input["default"] || undefined === input["default"] || "number" === typeof input["default"] && (Math.floor(input["default"]) === input["default"] && -9223372036854776000 <= input["default"] && input["default"] <= 9223372036854776000)) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum && (Math.floor(input.minimum) === input.minimum && -9223372036854776000 <= input.minimum && input.minimum <= 9223372036854776000)) && (undefined === input.maximum || "number" === typeof input.maximum && (Math.floor(input.maximum) === input.maximum && -9223372036854776000 <= input.maximum && input.maximum <= 9223372036854776000)) && (undefined === input.exclusiveMinimum || "number" === typeof input.exclusiveMinimum && (Math.floor(input.exclusiveMinimum) === input.exclusiveMinimum && -9223372036854776000 <= input.exclusiveMinimum && input.exclusiveMinimum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "number" === typeof input.exclusiveMaximum && (Math.floor(input.exclusiveMaximum) === input.exclusiveMaximum && -9223372036854776000 <= input.exclusiveMaximum && input.exclusiveMaximum <= 9223372036854776000) || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && (Math.floor(input.multipleOf) === input.multipleOf && 0 <= input.multipleOf && input.multipleOf <= 18446744073709552000 && 0 < input.multipleOf)) && "integer" === input.type && (undefined === input.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); const $io162 = 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.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); const $io163 = input => (undefined === input.contentMediaType || "string" === typeof input.contentMediaType) && (null === input["default"] || undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => null === elem || "string" === typeof elem)) && (undefined === input.format || "string" === typeof input.format) && (undefined === input.pattern || "string" === typeof input.pattern) && (undefined === input.minLength || "number" === typeof input.minLength && (Math.floor(input.minLength) === input.minLength && 0 <= input.minLength && input.minLength <= 18446744073709552000)) && (undefined === input.maxLength || "number" === typeof input.maxLength && (Math.floor(input.maxLength) === input.maxLength && 0 <= input.maxLength && input.maxLength <= 18446744073709552000)) && "string" === input.type && (undefined === input.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); const $io164 = 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 <= 18446744073709552000)) && (undefined === input.maxItems || "number" === typeof input.maxItems && (Math.floor(input.maxItems) === input.maxItems && 0 <= input.maxItems && input.maxItems <= 18446744073709552000)) && "array" === input.type && (undefined === input.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); const $io165 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io157(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.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); const $io166 = 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); const $io167 = 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); const $io168 = input => (null === input["default"] || undefined === input["default"]) && "null" === input.type && (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); 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); 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); 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); const $io172 = input => "string" === typeof input.propertyName && (undefined === input.mapping || "object" === typeof input.mapping && null !== input.mapping && false === Array.isArray(input.mapping) && $io22(input.mapping)); const $io173 = input => Object.keys(input).every(key => {
189
189
  const value = input[key];
190
190
  if (undefined === value)
191
191
  return true;
192
192
  return "object" === typeof value && null !== value && false === Array.isArray(value) && $io174(value);
193
- }); const $io174 = 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 && $io150(elem))) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io181(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io181(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io181(input.put)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io181(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io181(input.options)) && (undefined === input.head || "object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) && $io181(input.head)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io181(input.patch)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io181(input.trace)); const $io175 = 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) && $io176(input.examples)); const $io176 = input => Object.keys(input).every(key => {
193
+ }); const $io174 = 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 && $io150(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) && $io181(input.head)) && (undefined === input.get || "object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) && $io181(input.get)) && (undefined === input.post || "object" === typeof input.post && null !== input.post && false === Array.isArray(input.post) && $io181(input.post)) && (undefined === input.put || "object" === typeof input.put && null !== input.put && false === Array.isArray(input.put) && $io181(input.put)) && (undefined === input.patch || "object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) && $io181(input.patch)) && (undefined === input["delete"] || "object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) && $io181(input["delete"])) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io181(input.options)) && (undefined === input.trace || "object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) && $io181(input.trace)); const $io175 = 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) && $io176(input.examples)); const $io176 = input => Object.keys(input).every(key => {
194
194
  const value = input[key];
195
195
  if (undefined === value)
196
196
  return true;
@@ -1490,6 +1490,14 @@ class MigrateApplication {
1490
1490
  path: _path + ".description",
1491
1491
  expected: "(string | undefined)",
1492
1492
  value: input.description
1493
+ }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
1494
+ path: _path + ".head",
1495
+ expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1496
+ value: input.head
1497
+ })) && $vo35(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
1498
+ path: _path + ".head",
1499
+ expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1500
+ value: input.head
1493
1501
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
1494
1502
  path: _path + ".get",
1495
1503
  expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
@@ -1514,6 +1522,14 @@ class MigrateApplication {
1514
1522
  path: _path + ".put",
1515
1523
  expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1516
1524
  value: input.put
1525
+ }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
1526
+ path: _path + ".patch",
1527
+ expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1528
+ value: input.patch
1529
+ })) && $vo35(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
1530
+ path: _path + ".patch",
1531
+ expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1532
+ value: input.patch
1517
1533
  }), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
1518
1534
  path: _path + "[\"delete\"]",
1519
1535
  expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
@@ -1530,22 +1546,6 @@ class MigrateApplication {
1530
1546
  path: _path + ".options",
1531
1547
  expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1532
1548
  value: input.options
1533
- }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
1534
- path: _path + ".head",
1535
- expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1536
- value: input.head
1537
- })) && $vo35(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
1538
- path: _path + ".head",
1539
- expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1540
- value: input.head
1541
- }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
1542
- path: _path + ".patch",
1543
- expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1544
- value: input.patch
1545
- })) && $vo35(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
1546
- path: _path + ".patch",
1547
- expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
1548
- value: input.patch
1549
1549
  }), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
1550
1550
  path: _path + ".trace",
1551
1551
  expected: "(OpenApi.IOperation<OpenApi.IJsonSchema> | undefined)",
@@ -1743,14 +1743,6 @@ class MigrateApplication {
1743
1743
  path: _path + "[\"application/json\"]",
1744
1744
  expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
1745
1745
  value: input["application/json"]
1746
- }), undefined === input["application/x-www-form-url-encoded"] || ("object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) || $report(_exceptionable, {
1747
- path: _path + "[\"application/x-www-form-url-encoded\"]",
1748
- expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
1749
- value: input["application/x-www-form-url-encoded"]
1750
- })) && $vo41(input["application/x-www-form-url-encoded"], _path + "[\"application/x-www-form-url-encoded\"]", true && _exceptionable) || $report(_exceptionable, {
1751
- path: _path + "[\"application/x-www-form-url-encoded\"]",
1752
- expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
1753
- value: input["application/x-www-form-url-encoded"]
1754
1746
  }), undefined === input["multipart/form-data"] || ("object" === typeof input["multipart/form-data"] && null !== input["multipart/form-data"] && false === Array.isArray(input["multipart/form-data"]) || $report(_exceptionable, {
1755
1747
  path: _path + "[\"multipart/form-data\"]",
1756
1748
  expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
@@ -1759,6 +1751,14 @@ class MigrateApplication {
1759
1751
  path: _path + "[\"multipart/form-data\"]",
1760
1752
  expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
1761
1753
  value: input["multipart/form-data"]
1754
+ }), undefined === input["application/x-www-form-url-encoded"] || ("object" === typeof input["application/x-www-form-url-encoded"] && null !== input["application/x-www-form-url-encoded"] && false === Array.isArray(input["application/x-www-form-url-encoded"]) || $report(_exceptionable, {
1755
+ path: _path + "[\"application/x-www-form-url-encoded\"]",
1756
+ expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
1757
+ value: input["application/x-www-form-url-encoded"]
1758
+ })) && $vo41(input["application/x-www-form-url-encoded"], _path + "[\"application/x-www-form-url-encoded\"]", true && _exceptionable) || $report(_exceptionable, {
1759
+ path: _path + "[\"application/x-www-form-url-encoded\"]",
1760
+ expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
1761
+ value: input["application/x-www-form-url-encoded"]
1762
1762
  }), undefined === input["*/*"] || ("object" === typeof input["*/*"] && null !== input["*/*"] && false === Array.isArray(input["*/*"]) || $report(_exceptionable, {
1763
1763
  path: _path + "[\"*/*\"]",
1764
1764
  expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
@@ -1768,7 +1768,7 @@ class MigrateApplication {
1768
1768
  expected: "(OpenApi.IOperation.IMediaType<OpenApi.IJsonSchema> | undefined)",
1769
1769
  value: input["*/*"]
1770
1770
  }), false === _exceptionable || Object.keys(input).map(key => {
1771
- if (["text/plain", "application/json", "application/x-www-form-url-encoded", "multipart/form-data", "*/*"].some(prop => key === prop))
1771
+ if (["text/plain", "application/json", "multipart/form-data", "application/x-www-form-url-encoded", "*/*"].some(prop => key === prop))
1772
1772
  return true;
1773
1773
  const value = input[key];
1774
1774
  if (undefined === value)
@@ -3294,6 +3294,14 @@ class MigrateApplication {
3294
3294
  path: _path + ".parameters",
3295
3295
  expected: "(Array<IParameter | IReference<`#/parameters/${string}`>> | undefined)",
3296
3296
  value: input.parameters
3297
+ }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
3298
+ path: _path + ".head",
3299
+ expected: "(SwaggerV2.IOperation | undefined)",
3300
+ value: input.head
3301
+ })) && $vo88(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
3302
+ path: _path + ".head",
3303
+ expected: "(SwaggerV2.IOperation | undefined)",
3304
+ value: input.head
3297
3305
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
3298
3306
  path: _path + ".get",
3299
3307
  expected: "(SwaggerV2.IOperation | undefined)",
@@ -3318,6 +3326,14 @@ class MigrateApplication {
3318
3326
  path: _path + ".put",
3319
3327
  expected: "(SwaggerV2.IOperation | undefined)",
3320
3328
  value: input.put
3329
+ }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
3330
+ path: _path + ".patch",
3331
+ expected: "(SwaggerV2.IOperation | undefined)",
3332
+ value: input.patch
3333
+ })) && $vo88(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
3334
+ path: _path + ".patch",
3335
+ expected: "(SwaggerV2.IOperation | undefined)",
3336
+ value: input.patch
3321
3337
  }), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
3322
3338
  path: _path + "[\"delete\"]",
3323
3339
  expected: "(SwaggerV2.IOperation | undefined)",
@@ -3334,22 +3350,6 @@ class MigrateApplication {
3334
3350
  path: _path + ".options",
3335
3351
  expected: "(SwaggerV2.IOperation | undefined)",
3336
3352
  value: input.options
3337
- }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
3338
- path: _path + ".head",
3339
- expected: "(SwaggerV2.IOperation | undefined)",
3340
- value: input.head
3341
- })) && $vo88(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
3342
- path: _path + ".head",
3343
- expected: "(SwaggerV2.IOperation | undefined)",
3344
- value: input.head
3345
- }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
3346
- path: _path + ".patch",
3347
- expected: "(SwaggerV2.IOperation | undefined)",
3348
- value: input.patch
3349
- })) && $vo88(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
3350
- path: _path + ".patch",
3351
- expected: "(SwaggerV2.IOperation | undefined)",
3352
- value: input.patch
3353
3353
  }), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
3354
3354
  path: _path + ".trace",
3355
3355
  expected: "(SwaggerV2.IOperation | undefined)",
@@ -4731,6 +4731,14 @@ class MigrateApplication {
4731
4731
  path: _path + ".description",
4732
4732
  expected: "(string | undefined)",
4733
4733
  value: input.description
4734
+ }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
4735
+ path: _path + ".head",
4736
+ expected: "(OpenApiV3.IOperation | undefined)",
4737
+ value: input.head
4738
+ })) && $vo144(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
4739
+ path: _path + ".head",
4740
+ expected: "(OpenApiV3.IOperation | undefined)",
4741
+ value: input.head
4734
4742
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
4735
4743
  path: _path + ".get",
4736
4744
  expected: "(OpenApiV3.IOperation | undefined)",
@@ -4755,6 +4763,14 @@ class MigrateApplication {
4755
4763
  path: _path + ".put",
4756
4764
  expected: "(OpenApiV3.IOperation | undefined)",
4757
4765
  value: input.put
4766
+ }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
4767
+ path: _path + ".patch",
4768
+ expected: "(OpenApiV3.IOperation | undefined)",
4769
+ value: input.patch
4770
+ })) && $vo144(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
4771
+ path: _path + ".patch",
4772
+ expected: "(OpenApiV3.IOperation | undefined)",
4773
+ value: input.patch
4758
4774
  }), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
4759
4775
  path: _path + "[\"delete\"]",
4760
4776
  expected: "(OpenApiV3.IOperation | undefined)",
@@ -4771,22 +4787,6 @@ class MigrateApplication {
4771
4787
  path: _path + ".options",
4772
4788
  expected: "(OpenApiV3.IOperation | undefined)",
4773
4789
  value: input.options
4774
- }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
4775
- path: _path + ".head",
4776
- expected: "(OpenApiV3.IOperation | undefined)",
4777
- value: input.head
4778
- })) && $vo144(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
4779
- path: _path + ".head",
4780
- expected: "(OpenApiV3.IOperation | undefined)",
4781
- value: input.head
4782
- }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
4783
- path: _path + ".patch",
4784
- expected: "(OpenApiV3.IOperation | undefined)",
4785
- value: input.patch
4786
- })) && $vo144(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
4787
- path: _path + ".patch",
4788
- expected: "(OpenApiV3.IOperation | undefined)",
4789
- value: input.patch
4790
4790
  }), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
4791
4791
  path: _path + ".trace",
4792
4792
  expected: "(OpenApiV3.IOperation | undefined)",
@@ -5324,13 +5324,9 @@ class MigrateApplication {
5324
5324
  value: input.maxLength
5325
5325
  }), (null !== input.items || $report(_exceptionable, {
5326
5326
  path: _path + ".items",
5327
- 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)",
5327
+ 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)",
5328
5328
  value: input.items
5329
- })) && (undefined !== input.items || $report(_exceptionable, {
5330
- path: _path + ".items",
5331
- 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)",
5332
- value: input.items
5333
- })) && (Array.isArray(input.items) && input.items.map((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
5329
+ })) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index140) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
5334
5330
  path: _path + ".items[" + _index140 + "]",
5335
5331
  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)",
5336
5332
  value: elem
@@ -5340,11 +5336,11 @@ class MigrateApplication {
5340
5336
  value: elem
5341
5337
  })).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $vu7(input.items, _path + ".items", true && _exceptionable) || $report(_exceptionable, {
5342
5338
  path: _path + ".items",
5343
- 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)",
5339
+ 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)",
5344
5340
  value: input.items
5345
- }) || $report(_exceptionable, {
5341
+ })) || $report(_exceptionable, {
5346
5342
  path: _path + ".items",
5347
- 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)",
5343
+ 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)",
5348
5344
  value: input.items
5349
5345
  })), undefined === input.uniqueItems || "boolean" === typeof input.uniqueItems || $report(_exceptionable, {
5350
5346
  path: _path + ".uniqueItems",
@@ -5756,13 +5752,9 @@ class MigrateApplication {
5756
5752
  value: input.deprecated
5757
5753
  })].every(flag => flag); const $vo164 = (input, _path, _exceptionable = true) => [(null !== input.items || $report(_exceptionable, {
5758
5754
  path: _path + ".items",
5759
- 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)",
5755
+ 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)",
5760
5756
  value: input.items
5761
- })) && (undefined !== input.items || $report(_exceptionable, {
5762
- path: _path + ".items",
5763
- 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)",
5764
- value: input.items
5765
- })) && (Array.isArray(input.items) && input.items.map((elem, _index150) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
5757
+ })) && (undefined === input.items || (Array.isArray(input.items) && input.items.map((elem, _index150) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable, {
5766
5758
  path: _path + ".items[" + _index150 + "]",
5767
5759
  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)",
5768
5760
  value: elem
@@ -5772,11 +5764,11 @@ class MigrateApplication {
5772
5764
  value: elem
5773
5765
  })).every(flag => flag) || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $vu7(input.items, _path + ".items", true && _exceptionable) || $report(_exceptionable, {
5774
5766
  path: _path + ".items",
5775
- 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)",
5767
+ 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)",
5776
5768
  value: input.items
5777
- }) || $report(_exceptionable, {
5769
+ })) || $report(_exceptionable, {
5778
5770
  path: _path + ".items",
5779
- 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)",
5771
+ 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)",
5780
5772
  value: input.items
5781
5773
  })), undefined === input.prefixItems || (Array.isArray(input.prefixItems) || $report(_exceptionable, {
5782
5774
  path: _path + ".prefixItems",
@@ -6123,6 +6115,14 @@ class MigrateApplication {
6123
6115
  path: _path + ".description",
6124
6116
  expected: "(string | undefined)",
6125
6117
  value: input.description
6118
+ }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
6119
+ path: _path + ".head",
6120
+ expected: "(OpenApiV3_1.IOperation | undefined)",
6121
+ value: input.head
6122
+ })) && $vo181(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
6123
+ path: _path + ".head",
6124
+ expected: "(OpenApiV3_1.IOperation | undefined)",
6125
+ value: input.head
6126
6126
  }), undefined === input.get || ("object" === typeof input.get && null !== input.get && false === Array.isArray(input.get) || $report(_exceptionable, {
6127
6127
  path: _path + ".get",
6128
6128
  expected: "(OpenApiV3_1.IOperation | undefined)",
@@ -6147,6 +6147,14 @@ class MigrateApplication {
6147
6147
  path: _path + ".put",
6148
6148
  expected: "(OpenApiV3_1.IOperation | undefined)",
6149
6149
  value: input.put
6150
+ }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
6151
+ path: _path + ".patch",
6152
+ expected: "(OpenApiV3_1.IOperation | undefined)",
6153
+ value: input.patch
6154
+ })) && $vo181(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
6155
+ path: _path + ".patch",
6156
+ expected: "(OpenApiV3_1.IOperation | undefined)",
6157
+ value: input.patch
6150
6158
  }), undefined === input["delete"] || ("object" === typeof input["delete"] && null !== input["delete"] && false === Array.isArray(input["delete"]) || $report(_exceptionable, {
6151
6159
  path: _path + "[\"delete\"]",
6152
6160
  expected: "(OpenApiV3_1.IOperation | undefined)",
@@ -6163,22 +6171,6 @@ class MigrateApplication {
6163
6171
  path: _path + ".options",
6164
6172
  expected: "(OpenApiV3_1.IOperation | undefined)",
6165
6173
  value: input.options
6166
- }), undefined === input.head || ("object" === typeof input.head && null !== input.head && false === Array.isArray(input.head) || $report(_exceptionable, {
6167
- path: _path + ".head",
6168
- expected: "(OpenApiV3_1.IOperation | undefined)",
6169
- value: input.head
6170
- })) && $vo181(input.head, _path + ".head", true && _exceptionable) || $report(_exceptionable, {
6171
- path: _path + ".head",
6172
- expected: "(OpenApiV3_1.IOperation | undefined)",
6173
- value: input.head
6174
- }), undefined === input.patch || ("object" === typeof input.patch && null !== input.patch && false === Array.isArray(input.patch) || $report(_exceptionable, {
6175
- path: _path + ".patch",
6176
- expected: "(OpenApiV3_1.IOperation | undefined)",
6177
- value: input.patch
6178
- })) && $vo181(input.patch, _path + ".patch", true && _exceptionable) || $report(_exceptionable, {
6179
- path: _path + ".patch",
6180
- expected: "(OpenApiV3_1.IOperation | undefined)",
6181
- value: input.patch
6182
6174
  }), undefined === input.trace || ("object" === typeof input.trace && null !== input.trace && false === Array.isArray(input.trace) || $report(_exceptionable, {
6183
6175
  path: _path + ".trace",
6184
6176
  expected: "(OpenApiV3_1.IOperation | undefined)",