@nestia/migrate 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/NestiaMigrateApplication.js +217 -153
 - package/lib/NestiaMigrateApplication.js.map +1 -1
 - package/lib/bundles/TEMPLATE.js +8 -3
 - package/lib/bundles/TEMPLATE.js.map +1 -1
 - package/lib/executable/bundle.js +0 -1
 - package/lib/executable/bundle.js.map +1 -1
 - package/lib/programmers/ControllerProgrammer.js +1 -1
 - package/lib/programmers/ControllerProgrammer.js.map +1 -1
 - package/lib/programmers/RouteProgrammer.js +13 -6
 - package/lib/programmers/RouteProgrammer.js.map +1 -1
 - package/lib/structures/ISwagger.d.ts +2 -6
 - package/lib/structures/ISwaggerInfo.d.ts +71 -0
 - package/lib/structures/ISwaggerInfo.js +3 -0
 - package/lib/structures/ISwaggerInfo.js.map +1 -0
 - package/lib/structures/ISwaggerRoute.d.ts +2 -2
 - package/lib/structures/ISwaggerSecurity.d.ts +1 -1
 - package/package.json +3 -3
 - package/src/bundles/TEMPLATE.ts +8 -3
 - package/src/executable/bundle.ts +0 -1
 - package/src/programmers/ControllerProgrammer.ts +1 -1
 - package/src/programmers/RouteProgrammer.ts +24 -9
 - package/src/structures/ISwagger.ts +3 -7
 - package/src/structures/ISwaggerInfo.ts +80 -0
 - package/src/structures/ISwaggerRoute.ts +2 -2
 - package/src/structures/ISwaggerSecurity.ts +3 -3
 
| 
         @@ -17,12 +17,16 @@ class NestiaMigrateApplication { 
     | 
|
| 
       17 
17 
     | 
    
         
             
                    };
         
     | 
| 
       18 
18 
     | 
    
         
             
                    this.swagger = (input => {
         
     | 
| 
       19 
19 
     | 
    
         
             
                        const __is = input => {
         
     | 
| 
      
 20 
     | 
    
         
            +
                            const $is_url = typia_1.default.assert.is_url;
         
     | 
| 
      
 21 
     | 
    
         
            +
                            const $is_email = typia_1.default.assert.is_email;
         
     | 
| 
       20 
22 
     | 
    
         
             
                            const $join = typia_1.default.assert.join;
         
     | 
| 
       21 
     | 
    
         
            -
                            const $io0 = input => "string" === typeof input.openapi && RegExp(/^3\.0\.-?\d+\.?\d*$/).test(input.openapi) && ("object" === typeof input.info && null !== input.info && $io1(input.info)) && (Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $ 
     | 
| 
       22 
     | 
    
         
            -
                            const $io1 = input => "string" === typeof input. 
     | 
| 
       23 
     | 
    
         
            -
                            const $io2 = input => "string" === typeof input.url && (undefined === input. 
     | 
| 
       24 
     | 
    
         
            -
                            const $io3 = input =>  
     | 
| 
       25 
     | 
    
         
            -
                            const $io4 = input =>  
     | 
| 
      
 23 
     | 
    
         
            +
                            const $io0 = input => "string" === typeof input.openapi && RegExp(/^3\.0\.-?\d+\.?\d*$/).test(input.openapi) && ("object" === typeof input.info && null !== input.info && $io1(input.info)) && (Array.isArray(input.servers) && input.servers.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && ("object" === typeof input.components && null !== input.components && false === Array.isArray(input.components) && $io5(input.components)) && ("object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) && $io29(input.paths)) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io39(elem)));
         
     | 
| 
      
 24 
     | 
    
         
            +
                            const $io1 = input => "string" === typeof input.title && (undefined === input.description || "string" === typeof input.description) && (undefined === input.termsOfService || "string" === typeof input.termsOfService && $is_url(input.termsOfService)) && (undefined === input.contact || "object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) && $io2(input.contact)) && (undefined === input.license || "object" === typeof input.license && null !== input.license && $io3(input.license)) && "string" === typeof input.version;
         
     | 
| 
      
 25 
     | 
    
         
            +
                            const $io2 = input => (undefined === input.name || "string" === typeof input.name) && (undefined === input.url || "string" === typeof input.url && $is_url(input.url)) && (undefined === input.email || "string" === typeof input.email && $is_email(input.email));
         
     | 
| 
      
 26 
     | 
    
         
            +
                            const $io3 = input => "string" === typeof input.name && (undefined === input.url || "string" === typeof input.url && $is_url(input.url));
         
     | 
| 
      
 27 
     | 
    
         
            +
                            const $io4 = input => "string" === typeof input.url && (undefined === input.description || "string" === typeof input.description);
         
     | 
| 
      
 28 
     | 
    
         
            +
                            const $io5 = input => (undefined === input.schemas || "object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) && $io6(input.schemas)) && (undefined === input.securitySchemes || "object" === typeof input.securitySchemes && null !== input.securitySchemes && false === Array.isArray(input.securitySchemes) && $io18(input.securitySchemes));
         
     | 
| 
      
 29 
     | 
    
         
            +
                            const $io6 = input => Object.keys(input).every(key => {
         
     | 
| 
       26 
30 
     | 
    
         
             
                                const value = input[key];
         
     | 
| 
       27 
31 
     | 
    
         
             
                                if (undefined === value)
         
     | 
| 
       28 
32 
     | 
    
         
             
                                    return true;
         
     | 
| 
         @@ -30,18 +34,18 @@ class NestiaMigrateApplication { 
     | 
|
| 
       30 
34 
     | 
    
         
             
                                    return "object" === typeof value && null !== value && false === Array.isArray(value) && $iu0(value);
         
     | 
| 
       31 
35 
     | 
    
         
             
                                return true;
         
     | 
| 
       32 
36 
     | 
    
         
             
                            });
         
     | 
| 
       33 
     | 
    
         
            -
                            const $ 
     | 
| 
       34 
     | 
    
         
            -
                            const $ 
     | 
| 
       35 
     | 
    
         
            -
                            const $ 
     | 
| 
       36 
     | 
    
         
            -
                            const $ 
     | 
| 
       37 
     | 
    
         
            -
                            const $ 
     | 
| 
       38 
     | 
    
         
            -
                            const $ 
     | 
| 
       39 
     | 
    
         
            -
                            const $ 
     | 
| 
       40 
     | 
    
         
            -
                            const $ 
     | 
| 
       41 
     | 
    
         
            -
                            const $ 
     | 
| 
       42 
     | 
    
         
            -
                            const $ 
     | 
| 
       43 
     | 
    
         
            -
                            const $ 
     | 
| 
       44 
     | 
    
         
            -
                            const $ 
     | 
| 
      
 37 
     | 
    
         
            +
                            const $io7 = 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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 38 
     | 
    
         
            +
                            const $io8 = input => Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 39 
     | 
    
         
            +
                            const $io9 = input => Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 40 
     | 
    
         
            +
                            const $io10 = input => (undefined === input["default"] || "boolean" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 41 
     | 
    
         
            +
                            const $io11 = input => (undefined === input["default"] || "number" === typeof input["default"] && parseInt(input["default"]) === input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem && parseInt(elem) === elem)) && (undefined === input.minimum || "number" === typeof input.minimum && parseInt(input.minimum) === input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum && parseInt(input.maximum) === input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf && parseInt(input.multipleOf) === input.multipleOf && 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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 42 
     | 
    
         
            +
                            const $io12 = input => (undefined === input["default"] || "number" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(elem => "number" === typeof elem)) && (undefined === input.minimum || "number" === typeof input.minimum) && (undefined === input.maximum || "number" === typeof input.maximum) && (undefined === input.exclusiveMinimum || "boolean" === typeof input.exclusiveMinimum) && (undefined === input.exclusiveMaximum || "boolean" === typeof input.exclusiveMaximum) && (undefined === input.multipleOf || "number" === typeof input.multipleOf) && "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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 43 
     | 
    
         
            +
                            const $io13 = input => (undefined === input["default"] || "string" === typeof input["default"]) && (undefined === input["enum"] || Array.isArray(input["enum"]) && input["enum"].every(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 && parseInt(input.minLength) === input.minLength && 0 <= input.minLength) && (undefined === input.maxLength || "number" === typeof input.maxLength && parseInt(input.maxLength) === input.maxLength && 0 <= input.maxLength) && "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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 44 
     | 
    
         
            +
                            const $io14 = input => "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && $iu0(input.items) && (undefined === input.minItems || "number" === typeof input.minItems && parseInt(input.minItems) === input.minItems && 0 <= input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems && parseInt(input.maxItems) === input.maxItems && 0 <= input.maxItems) && (undefined === input["x-typia-tuple"] || "object" === typeof input["x-typia-tuple"] && null !== input["x-typia-tuple"] && $io17(input["x-typia-tuple"])) && "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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 45 
     | 
    
         
            +
                            const $io15 = input => (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && $io6(input.properties)) && (undefined === input.required || Array.isArray(input.required) && input.required.every(elem => "string" === typeof elem)) && (null !== input.additionalProperties && (undefined === input.additionalProperties || "boolean" === typeof input.additionalProperties || "object" === typeof input.additionalProperties && null !== input.additionalProperties && false === Array.isArray(input.additionalProperties) && $iu0(input.additionalProperties))) && (undefined === input["x-typia-patternProperties"] || "object" === typeof input["x-typia-patternProperties"] && null !== input["x-typia-patternProperties"] && false === Array.isArray(input["x-typia-patternProperties"]) && $io6(input["x-typia-patternProperties"])) && "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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 46 
     | 
    
         
            +
                            const $io16 = 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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 47 
     | 
    
         
            +
                            const $io17 = input => Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $iu0(elem)) && "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) && (undefined === input["x-typia-optional"] || "boolean" === typeof input["x-typia-optional"]) && (undefined === input["x-typia-rest"] || "boolean" === typeof input["x-typia-rest"]);
         
     | 
| 
      
 48 
     | 
    
         
            +
                            const $io18 = input => Object.keys(input).every(key => {
         
     | 
| 
       45 
49 
     | 
    
         
             
                                const value = input[key];
         
     | 
| 
       46 
50 
     | 
    
         
             
                                if (undefined === value)
         
     | 
| 
       47 
51 
     | 
    
         
             
                                    return true;
         
     | 
| 
         @@ -49,14 +53,14 @@ class NestiaMigrateApplication { 
     | 
|
| 
       49 
53 
     | 
    
         
             
                                    return "object" === typeof value && null !== value && $iu1(value);
         
     | 
| 
       50 
54 
     | 
    
         
             
                                return true;
         
     | 
| 
       51 
55 
     | 
    
         
             
                            });
         
     | 
| 
       52 
     | 
    
         
            -
                            const $ 
     | 
| 
       53 
     | 
    
         
            -
                            const $ 
     | 
| 
       54 
     | 
    
         
            -
                            const $ 
     | 
| 
       55 
     | 
    
         
            -
                            const $ 
     | 
| 
       56 
     | 
    
         
            -
                            const $ 
     | 
| 
       57 
     | 
    
         
            -
                            const $ 
     | 
| 
       58 
     | 
    
         
            -
                            const $ 
     | 
| 
       59 
     | 
    
         
            -
                            const $ 
     | 
| 
      
 56 
     | 
    
         
            +
                            const $io19 = input => "http" === input.type && "basic" === input.scheme;
         
     | 
| 
      
 57 
     | 
    
         
            +
                            const $io20 = input => "http" === input.type && "bearer" === input.scheme && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat);
         
     | 
| 
      
 58 
     | 
    
         
            +
                            const $io21 = input => "apiKey" === input.type && ("header" === input["in"] || "query" === input["in"] || "cookie" === input["in"]) && "string" === typeof input.name;
         
     | 
| 
      
 59 
     | 
    
         
            +
                            const $io22 = input => "openIdConnect" === input.type && "string" === typeof input.openIdConnectUrl;
         
     | 
| 
      
 60 
     | 
    
         
            +
                            const $io23 = input => "oauth2" === input.type && ("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) && $io24(input.flows)) && (undefined === input.description || "string" === typeof input.description);
         
     | 
| 
      
 61 
     | 
    
         
            +
                            const $io24 = input => (undefined === input.authorizationCode || "object" === typeof input.authorizationCode && null !== input.authorizationCode && $io25(input.authorizationCode)) && (undefined === input.implicit || "object" === typeof input.implicit && null !== input.implicit && $io27(input.implicit)) && (undefined === input.password || "object" === typeof input.password && null !== input.password && $io28(input.password)) && (undefined === input.clientCredentials || "object" === typeof input.clientCredentials && null !== input.clientCredentials && $io28(input.clientCredentials));
         
     | 
| 
      
 62 
     | 
    
         
            +
                            const $io25 = input => "string" === typeof input.authorizationUrl && "string" === typeof input.tokenUrl && "string" === typeof input.refreshUrl && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && $io26(input.scopes));
         
     | 
| 
      
 63 
     | 
    
         
            +
                            const $io26 = input => Object.keys(input).every(key => {
         
     | 
| 
       60 
64 
     | 
    
         
             
                                const value = input[key];
         
     | 
| 
       61 
65 
     | 
    
         
             
                                if (undefined === value)
         
     | 
| 
       62 
66 
     | 
    
         
             
                                    return true;
         
     | 
| 
         @@ -64,40 +68,40 @@ class NestiaMigrateApplication { 
     | 
|
| 
       64 
68 
     | 
    
         
             
                                    return "string" === typeof value;
         
     | 
| 
       65 
69 
     | 
    
         
             
                                return true;
         
     | 
| 
       66 
70 
     | 
    
         
             
                            });
         
     | 
| 
       67 
     | 
    
         
            -
                            const $ 
     | 
| 
       68 
     | 
    
         
            -
                            const $ 
     | 
| 
       69 
     | 
    
         
            -
                            const $ 
     | 
| 
      
 71 
     | 
    
         
            +
                            const $io27 = input => "string" === typeof input.authorizationUrl && "string" === typeof input.refreshUrl && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && $io26(input.scopes));
         
     | 
| 
      
 72 
     | 
    
         
            +
                            const $io28 = input => "string" === typeof input.tokenUrl && "string" === typeof input.refreshUrl && (undefined === input.scopes || "object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) && $io26(input.scopes));
         
     | 
| 
      
 73 
     | 
    
         
            +
                            const $io29 = input => Object.keys(input).every(key => {
         
     | 
| 
       70 
74 
     | 
    
         
             
                                const value = input[key];
         
     | 
| 
       71 
75 
     | 
    
         
             
                                if (undefined === value)
         
     | 
| 
       72 
76 
     | 
    
         
             
                                    return true;
         
     | 
| 
       73 
77 
     | 
    
         
             
                                if (RegExp(/(.*)/).test(key))
         
     | 
| 
       74 
     | 
    
         
            -
                                    return "object" === typeof value && null !== value && false === Array.isArray(value) && $ 
     | 
| 
      
 78 
     | 
    
         
            +
                                    return "object" === typeof value && null !== value && false === Array.isArray(value) && $io30(value);
         
     | 
| 
       75 
79 
     | 
    
         
             
                                return true;
         
     | 
| 
       76 
80 
     | 
    
         
             
                            });
         
     | 
| 
       77 
     | 
    
         
            -
                            const $ 
     | 
| 
      
 81 
     | 
    
         
            +
                            const $io30 = input => Object.keys(input).every(key => {
         
     | 
| 
       78 
82 
     | 
    
         
             
                                const value = input[key];
         
     | 
| 
       79 
83 
     | 
    
         
             
                                if (undefined === value)
         
     | 
| 
       80 
84 
     | 
    
         
             
                                    return true;
         
     | 
| 
       81 
85 
     | 
    
         
             
                                if (RegExp(/(.*)/).test(key))
         
     | 
| 
       82 
     | 
    
         
            -
                                    return "object" === typeof value && null !== value && false === Array.isArray(value) && $ 
     | 
| 
      
 86 
     | 
    
         
            +
                                    return "object" === typeof value && null !== value && false === Array.isArray(value) && $io31(value);
         
     | 
| 
       83 
87 
     | 
    
         
             
                                return true;
         
     | 
| 
       84 
88 
     | 
    
         
             
                            });
         
     | 
| 
       85 
     | 
    
         
            -
                            const $ 
     | 
| 
       86 
     | 
    
         
            -
                            const $ 
     | 
| 
       87 
     | 
    
         
            -
                            const $ 
     | 
| 
       88 
     | 
    
         
            -
                            const $ 
     | 
| 
       89 
     | 
    
         
            -
                            const $ 
     | 
| 
       90 
     | 
    
         
            -
                            const $ 
     | 
| 
       91 
     | 
    
         
            -
                            const $ 
     | 
| 
      
 89 
     | 
    
         
            +
                            const $io31 = input => (undefined === input.parameters || Array.isArray(input.parameters) && input.parameters.every(elem => "object" === typeof elem && null !== elem && $io32(elem))) && (undefined === input.requestBody || "object" === typeof input.requestBody && null !== input.requestBody && $io33(input.requestBody)) && (undefined === input.responses || "object" === typeof input.responses && null !== input.responses && false === Array.isArray(input.responses) && $io37(input.responses)) && (undefined === input.summary || "string" === typeof input.summary) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.deprecated || "boolean" === typeof input.deprecated) && (undefined === input.security || Array.isArray(input.security) && input.security.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io39(elem))) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem));
         
     | 
| 
      
 90 
     | 
    
         
            +
                            const $io32 = input => (undefined === input.name || "string" === typeof input.name) && ("header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || "path" === 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.description || "string" === typeof input.description);
         
     | 
| 
      
 91 
     | 
    
         
            +
                            const $io33 = input => (undefined === input.description || "string" === typeof input.description) && ("object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && $io34(input.content)) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]);
         
     | 
| 
      
 92 
     | 
    
         
            +
                            const $io34 = input => (undefined === input["text/plain"] || "object" === typeof input["text/plain"] && null !== input["text/plain"] && $io35(input["text/plain"])) && (undefined === input["application/json"] || "object" === typeof input["application/json"] && null !== input["application/json"] && $io36(input["application/json"]));
         
     | 
| 
      
 93 
     | 
    
         
            +
                            const $io35 = input => "object" === typeof input.schema && null !== input.schema && $io13(input.schema);
         
     | 
| 
      
 94 
     | 
    
         
            +
                            const $io36 = input => "object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) && $iu0(input.schema);
         
     | 
| 
      
 95 
     | 
    
         
            +
                            const $io37 = input => Object.keys(input).every(key => {
         
     | 
| 
       92 
96 
     | 
    
         
             
                                const value = input[key];
         
     | 
| 
       93 
97 
     | 
    
         
             
                                if (undefined === value)
         
     | 
| 
       94 
98 
     | 
    
         
             
                                    return true;
         
     | 
| 
       95 
99 
     | 
    
         
             
                                if (RegExp(/(.*)/).test(key))
         
     | 
| 
       96 
     | 
    
         
            -
                                    return "object" === typeof value && null !== value && false === Array.isArray(value) && $ 
     | 
| 
      
 100 
     | 
    
         
            +
                                    return "object" === typeof value && null !== value && false === Array.isArray(value) && $io38(value);
         
     | 
| 
       97 
101 
     | 
    
         
             
                                return true;
         
     | 
| 
       98 
102 
     | 
    
         
             
                            });
         
     | 
| 
       99 
     | 
    
         
            -
                            const $ 
     | 
| 
       100 
     | 
    
         
            -
                            const $ 
     | 
| 
      
 103 
     | 
    
         
            +
                            const $io38 = input => (undefined === input.description || "string" === typeof input.description) && (undefined === input.content || "object" === typeof input.content && null !== input.content && false === Array.isArray(input.content) && $io34(input.content)) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"]);
         
     | 
| 
      
 104 
     | 
    
         
            +
                            const $io39 = input => Object.keys(input).every(key => {
         
     | 
| 
       101 
105 
     | 
    
         
             
                                const value = input[key];
         
     | 
| 
       102 
106 
     | 
    
         
             
                                if (undefined === value)
         
     | 
| 
       103 
107 
     | 
    
         
             
                                    return true;
         
     | 
| 
         @@ -107,36 +111,36 @@ class NestiaMigrateApplication { 
     | 
|
| 
       107 
111 
     | 
    
         
             
                            });
         
     | 
| 
       108 
112 
     | 
    
         
             
                            const $iu0 = input => (() => {
         
     | 
| 
       109 
113 
     | 
    
         
             
                                if (undefined !== input.anyOf)
         
     | 
| 
       110 
     | 
    
         
            -
                                    return $ 
     | 
| 
      
 114 
     | 
    
         
            +
                                    return $io8(input);
         
     | 
| 
       111 
115 
     | 
    
         
             
                                if (undefined !== input.oneOf)
         
     | 
| 
       112 
     | 
    
         
            -
                                    return $ 
     | 
| 
      
 116 
     | 
    
         
            +
                                    return $io9(input);
         
     | 
| 
       113 
117 
     | 
    
         
             
                                if ("boolean" === input.type)
         
     | 
| 
       114 
     | 
    
         
            -
                                    return $io8(input);
         
     | 
| 
       115 
     | 
    
         
            -
                                if ("number" === input.type)
         
     | 
| 
       116 
118 
     | 
    
         
             
                                    return $io10(input);
         
     | 
| 
      
 119 
     | 
    
         
            +
                                if ("number" === input.type)
         
     | 
| 
      
 120 
     | 
    
         
            +
                                    return $io12(input);
         
     | 
| 
       117 
121 
     | 
    
         
             
                                if ("integer" === input.type)
         
     | 
| 
       118 
     | 
    
         
            -
                                    return $io9(input);
         
     | 
| 
       119 
     | 
    
         
            -
                                if ("string" === input.type)
         
     | 
| 
       120 
122 
     | 
    
         
             
                                    return $io11(input);
         
     | 
| 
      
 123 
     | 
    
         
            +
                                if ("string" === input.type)
         
     | 
| 
      
 124 
     | 
    
         
            +
                                    return $io13(input);
         
     | 
| 
       121 
125 
     | 
    
         
             
                                if ("array" === input.type)
         
     | 
| 
       122 
     | 
    
         
            -
                                    return $ 
     | 
| 
      
 126 
     | 
    
         
            +
                                    return $io14(input);
         
     | 
| 
       123 
127 
     | 
    
         
             
                                if ("object" === input.type)
         
     | 
| 
       124 
     | 
    
         
            -
                                    return $ 
     | 
| 
      
 128 
     | 
    
         
            +
                                    return $io15(input);
         
     | 
| 
       125 
129 
     | 
    
         
             
                                if (undefined !== input.$ref)
         
     | 
| 
       126 
     | 
    
         
            -
                                    return $ 
     | 
| 
       127 
     | 
    
         
            -
                                return $ 
     | 
| 
      
 130 
     | 
    
         
            +
                                    return $io16(input);
         
     | 
| 
      
 131 
     | 
    
         
            +
                                return $io7(input);
         
     | 
| 
       128 
132 
     | 
    
         
             
                            })();
         
     | 
| 
       129 
133 
     | 
    
         
             
                            const $iu1 = input => (() => {
         
     | 
| 
       130 
     | 
    
         
            -
                                if ( 
     | 
| 
       131 
     | 
    
         
            -
                                    return $io17(input);
         
     | 
| 
       132 
     | 
    
         
            -
                                if (undefined !== input.scheme)
         
     | 
| 
       133 
     | 
    
         
            -
                                    return $io18(input);
         
     | 
| 
       134 
     | 
    
         
            -
                                if ("apiKey" === input.type)
         
     | 
| 
      
 134 
     | 
    
         
            +
                                if ("basic" === input.scheme)
         
     | 
| 
       135 
135 
     | 
    
         
             
                                    return $io19(input);
         
     | 
| 
       136 
     | 
    
         
            -
                                if (" 
     | 
| 
      
 136 
     | 
    
         
            +
                                if ("bearer" === input.scheme)
         
     | 
| 
       137 
137 
     | 
    
         
             
                                    return $io20(input);
         
     | 
| 
       138 
     | 
    
         
            -
                                if (" 
     | 
| 
      
 138 
     | 
    
         
            +
                                if ("apiKey" === input.type)
         
     | 
| 
       139 
139 
     | 
    
         
             
                                    return $io21(input);
         
     | 
| 
      
 140 
     | 
    
         
            +
                                if ("openIdConnect" === input.type)
         
     | 
| 
      
 141 
     | 
    
         
            +
                                    return $io22(input);
         
     | 
| 
      
 142 
     | 
    
         
            +
                                if ("oauth2" === input.type)
         
     | 
| 
      
 143 
     | 
    
         
            +
                                    return $io23(input);
         
     | 
| 
       140 
144 
     | 
    
         
             
                                return false;
         
     | 
| 
       141 
145 
     | 
    
         
             
                            })();
         
     | 
| 
       142 
146 
     | 
    
         
             
                            return "object" === typeof input && null !== input && $io0(input);
         
     | 
| 
         @@ -144,6 +148,8 @@ class NestiaMigrateApplication { 
     | 
|
| 
       144 
148 
     | 
    
         
             
                        if (false === __is(input))
         
     | 
| 
       145 
149 
     | 
    
         
             
                            ((input, _path, _exceptionable = true) => {
         
     | 
| 
       146 
150 
     | 
    
         
             
                                const $guard = typia_1.default.assert.guard;
         
     | 
| 
      
 151 
     | 
    
         
            +
                                const $is_url = typia_1.default.assert.is_url;
         
     | 
| 
      
 152 
     | 
    
         
            +
                                const $is_email = typia_1.default.assert.is_email;
         
     | 
| 
       147 
153 
     | 
    
         
             
                                const $join = typia_1.default.assert.join;
         
     | 
| 
       148 
154 
     | 
    
         
             
                                const $ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.openapi && RegExp(/^3\.0\.-?\d+\.?\d*$/).test(input.openapi) || $guard(_exceptionable, {
         
     | 
| 
       149 
155 
     | 
    
         
             
                                    path: _path + ".openapi",
         
     | 
| 
         @@ -151,11 +157,11 @@ class NestiaMigrateApplication { 
     | 
|
| 
       151 
157 
     | 
    
         
             
                                    value: input.openapi
         
     | 
| 
       152 
158 
     | 
    
         
             
                                })) && (("object" === typeof input.info && null !== input.info || $guard(_exceptionable, {
         
     | 
| 
       153 
159 
     | 
    
         
             
                                    path: _path + ".info",
         
     | 
| 
       154 
     | 
    
         
            -
                                    expected: " 
     | 
| 
      
 160 
     | 
    
         
            +
                                    expected: "ISwaggerInfo",
         
     | 
| 
       155 
161 
     | 
    
         
             
                                    value: input.info
         
     | 
| 
       156 
162 
     | 
    
         
             
                                })) && $ao1(input.info, _path + ".info", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       157 
163 
     | 
    
         
             
                                    path: _path + ".info",
         
     | 
| 
       158 
     | 
    
         
            -
                                    expected: " 
     | 
| 
      
 164 
     | 
    
         
            +
                                    expected: "ISwaggerInfo",
         
     | 
| 
       159 
165 
     | 
    
         
             
                                    value: input.info
         
     | 
| 
       160 
166 
     | 
    
         
             
                                })) && ((Array.isArray(input.servers) || $guard(_exceptionable, {
         
     | 
| 
       161 
167 
     | 
    
         
             
                                    path: _path + ".servers",
         
     | 
| 
         @@ -165,7 +171,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       165 
171 
     | 
    
         
             
                                    path: _path + ".servers[" + _index1 + "]",
         
     | 
| 
       166 
172 
     | 
    
         
             
                                    expected: "ISwagger.IServer",
         
     | 
| 
       167 
173 
     | 
    
         
             
                                    value: elem
         
     | 
| 
       168 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 174 
     | 
    
         
            +
                                })) && $ao4(elem, _path + ".servers[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       169 
175 
     | 
    
         
             
                                    path: _path + ".servers[" + _index1 + "]",
         
     | 
| 
       170 
176 
     | 
    
         
             
                                    expected: "ISwagger.IServer",
         
     | 
| 
       171 
177 
     | 
    
         
             
                                    value: elem
         
     | 
| 
         @@ -177,7 +183,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       177 
183 
     | 
    
         
             
                                    path: _path + ".components",
         
     | 
| 
       178 
184 
     | 
    
         
             
                                    expected: "ISwaggerComponents",
         
     | 
| 
       179 
185 
     | 
    
         
             
                                    value: input.components
         
     | 
| 
       180 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 186 
     | 
    
         
            +
                                })) && $ao5(input.components, _path + ".components", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       181 
187 
     | 
    
         
             
                                    path: _path + ".components",
         
     | 
| 
       182 
188 
     | 
    
         
             
                                    expected: "ISwaggerComponents",
         
     | 
| 
       183 
189 
     | 
    
         
             
                                    value: input.components
         
     | 
| 
         @@ -185,7 +191,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       185 
191 
     | 
    
         
             
                                    path: _path + ".paths",
         
     | 
| 
       186 
192 
     | 
    
         
             
                                    expected: "Record<string, ISwagger.IPath>",
         
     | 
| 
       187 
193 
     | 
    
         
             
                                    value: input.paths
         
     | 
| 
       188 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 194 
     | 
    
         
            +
                                })) && $ao29(input.paths, _path + ".paths", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       189 
195 
     | 
    
         
             
                                    path: _path + ".paths",
         
     | 
| 
       190 
196 
     | 
    
         
             
                                    expected: "Record<string, ISwagger.IPath>",
         
     | 
| 
       191 
197 
     | 
    
         
             
                                    value: input.paths
         
     | 
| 
         @@ -197,7 +203,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       197 
203 
     | 
    
         
             
                                    path: _path + ".security[" + _index2 + "]",
         
     | 
| 
       198 
204 
     | 
    
         
             
                                    expected: "Record<string, Array<string>>",
         
     | 
| 
       199 
205 
     | 
    
         
             
                                    value: elem
         
     | 
| 
       200 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 206 
     | 
    
         
            +
                                })) && $ao39(elem, _path + ".security[" + _index2 + "]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       201 
207 
     | 
    
         
             
                                    path: _path + ".security[" + _index2 + "]",
         
     | 
| 
       202 
208 
     | 
    
         
             
                                    expected: "Record<string, Array<string>>",
         
     | 
| 
       203 
209 
     | 
    
         
             
                                    value: elem
         
     | 
| 
         @@ -206,11 +212,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       206 
212 
     | 
    
         
             
                                    expected: "(Array<Record<string, Array<string>>> | undefined)",
         
     | 
| 
       207 
213 
     | 
    
         
             
                                    value: input.security
         
     | 
| 
       208 
214 
     | 
    
         
             
                                }));
         
     | 
| 
       209 
     | 
    
         
            -
                                const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input. 
     | 
| 
       210 
     | 
    
         
            -
                                    path: _path + ".version",
         
     | 
| 
       211 
     | 
    
         
            -
                                    expected: "string",
         
     | 
| 
       212 
     | 
    
         
            -
                                    value: input.version
         
     | 
| 
       213 
     | 
    
         
            -
                                })) && ("string" === typeof input.title || $guard(_exceptionable, {
         
     | 
| 
      
 215 
     | 
    
         
            +
                                const $ao1 = (input, _path, _exceptionable = true) => ("string" === typeof input.title || $guard(_exceptionable, {
         
     | 
| 
       214 
216 
     | 
    
         
             
                                    path: _path + ".title",
         
     | 
| 
       215 
217 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       216 
218 
     | 
    
         
             
                                    value: input.title
         
     | 
| 
         @@ -218,8 +220,70 @@ class NestiaMigrateApplication { 
     | 
|
| 
       218 
220 
     | 
    
         
             
                                    path: _path + ".description",
         
     | 
| 
       219 
221 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       220 
222 
     | 
    
         
             
                                    value: input.description
         
     | 
| 
      
 223 
     | 
    
         
            +
                                })) && (undefined === input.termsOfService || "string" === typeof input.termsOfService && ($is_url(input.termsOfService) || $guard(_exceptionable, {
         
     | 
| 
      
 224 
     | 
    
         
            +
                                    path: _path + ".termsOfService",
         
     | 
| 
      
 225 
     | 
    
         
            +
                                    expected: "string (@format url)",
         
     | 
| 
      
 226 
     | 
    
         
            +
                                    value: input.termsOfService
         
     | 
| 
      
 227 
     | 
    
         
            +
                                })) || $guard(_exceptionable, {
         
     | 
| 
      
 228 
     | 
    
         
            +
                                    path: _path + ".termsOfService",
         
     | 
| 
      
 229 
     | 
    
         
            +
                                    expected: "(string | undefined)",
         
     | 
| 
      
 230 
     | 
    
         
            +
                                    value: input.termsOfService
         
     | 
| 
      
 231 
     | 
    
         
            +
                                })) && (undefined === input.contact || ("object" === typeof input.contact && null !== input.contact && false === Array.isArray(input.contact) || $guard(_exceptionable, {
         
     | 
| 
      
 232 
     | 
    
         
            +
                                    path: _path + ".contact",
         
     | 
| 
      
 233 
     | 
    
         
            +
                                    expected: "(ISwaggerInfo.IContact | undefined)",
         
     | 
| 
      
 234 
     | 
    
         
            +
                                    value: input.contact
         
     | 
| 
      
 235 
     | 
    
         
            +
                                })) && $ao2(input.contact, _path + ".contact", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
      
 236 
     | 
    
         
            +
                                    path: _path + ".contact",
         
     | 
| 
      
 237 
     | 
    
         
            +
                                    expected: "(ISwaggerInfo.IContact | undefined)",
         
     | 
| 
      
 238 
     | 
    
         
            +
                                    value: input.contact
         
     | 
| 
      
 239 
     | 
    
         
            +
                                })) && (undefined === input.license || ("object" === typeof input.license && null !== input.license || $guard(_exceptionable, {
         
     | 
| 
      
 240 
     | 
    
         
            +
                                    path: _path + ".license",
         
     | 
| 
      
 241 
     | 
    
         
            +
                                    expected: "(ISwaggerInfo.ILicense | undefined)",
         
     | 
| 
      
 242 
     | 
    
         
            +
                                    value: input.license
         
     | 
| 
      
 243 
     | 
    
         
            +
                                })) && $ao3(input.license, _path + ".license", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
      
 244 
     | 
    
         
            +
                                    path: _path + ".license",
         
     | 
| 
      
 245 
     | 
    
         
            +
                                    expected: "(ISwaggerInfo.ILicense | undefined)",
         
     | 
| 
      
 246 
     | 
    
         
            +
                                    value: input.license
         
     | 
| 
      
 247 
     | 
    
         
            +
                                })) && ("string" === typeof input.version || $guard(_exceptionable, {
         
     | 
| 
      
 248 
     | 
    
         
            +
                                    path: _path + ".version",
         
     | 
| 
      
 249 
     | 
    
         
            +
                                    expected: "string",
         
     | 
| 
      
 250 
     | 
    
         
            +
                                    value: input.version
         
     | 
| 
      
 251 
     | 
    
         
            +
                                }));
         
     | 
| 
      
 252 
     | 
    
         
            +
                                const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
         
     | 
| 
      
 253 
     | 
    
         
            +
                                    path: _path + ".name",
         
     | 
| 
      
 254 
     | 
    
         
            +
                                    expected: "(string | undefined)",
         
     | 
| 
      
 255 
     | 
    
         
            +
                                    value: input.name
         
     | 
| 
      
 256 
     | 
    
         
            +
                                })) && (undefined === input.url || "string" === typeof input.url && ($is_url(input.url) || $guard(_exceptionable, {
         
     | 
| 
      
 257 
     | 
    
         
            +
                                    path: _path + ".url",
         
     | 
| 
      
 258 
     | 
    
         
            +
                                    expected: "string (@format url)",
         
     | 
| 
      
 259 
     | 
    
         
            +
                                    value: input.url
         
     | 
| 
      
 260 
     | 
    
         
            +
                                })) || $guard(_exceptionable, {
         
     | 
| 
      
 261 
     | 
    
         
            +
                                    path: _path + ".url",
         
     | 
| 
      
 262 
     | 
    
         
            +
                                    expected: "(string | undefined)",
         
     | 
| 
      
 263 
     | 
    
         
            +
                                    value: input.url
         
     | 
| 
      
 264 
     | 
    
         
            +
                                })) && (undefined === input.email || "string" === typeof input.email && ($is_email(input.email) || $guard(_exceptionable, {
         
     | 
| 
      
 265 
     | 
    
         
            +
                                    path: _path + ".email",
         
     | 
| 
      
 266 
     | 
    
         
            +
                                    expected: "string (@format email)",
         
     | 
| 
      
 267 
     | 
    
         
            +
                                    value: input.email
         
     | 
| 
      
 268 
     | 
    
         
            +
                                })) || $guard(_exceptionable, {
         
     | 
| 
      
 269 
     | 
    
         
            +
                                    path: _path + ".email",
         
     | 
| 
      
 270 
     | 
    
         
            +
                                    expected: "(string | undefined)",
         
     | 
| 
      
 271 
     | 
    
         
            +
                                    value: input.email
         
     | 
| 
       221 
272 
     | 
    
         
             
                                }));
         
     | 
| 
       222 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 273 
     | 
    
         
            +
                                const $ao3 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || $guard(_exceptionable, {
         
     | 
| 
      
 274 
     | 
    
         
            +
                                    path: _path + ".name",
         
     | 
| 
      
 275 
     | 
    
         
            +
                                    expected: "string",
         
     | 
| 
      
 276 
     | 
    
         
            +
                                    value: input.name
         
     | 
| 
      
 277 
     | 
    
         
            +
                                })) && (undefined === input.url || "string" === typeof input.url && ($is_url(input.url) || $guard(_exceptionable, {
         
     | 
| 
      
 278 
     | 
    
         
            +
                                    path: _path + ".url",
         
     | 
| 
      
 279 
     | 
    
         
            +
                                    expected: "string (@format url)",
         
     | 
| 
      
 280 
     | 
    
         
            +
                                    value: input.url
         
     | 
| 
      
 281 
     | 
    
         
            +
                                })) || $guard(_exceptionable, {
         
     | 
| 
      
 282 
     | 
    
         
            +
                                    path: _path + ".url",
         
     | 
| 
      
 283 
     | 
    
         
            +
                                    expected: "(string | undefined)",
         
     | 
| 
      
 284 
     | 
    
         
            +
                                    value: input.url
         
     | 
| 
      
 285 
     | 
    
         
            +
                                }));
         
     | 
| 
      
 286 
     | 
    
         
            +
                                const $ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.url || $guard(_exceptionable, {
         
     | 
| 
       223 
287 
     | 
    
         
             
                                    path: _path + ".url",
         
     | 
| 
       224 
288 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       225 
289 
     | 
    
         
             
                                    value: input.url
         
     | 
| 
         @@ -228,11 +292,11 @@ class NestiaMigrateApplication { 
     | 
|
| 
       228 
292 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       229 
293 
     | 
    
         
             
                                    value: input.description
         
     | 
| 
       230 
294 
     | 
    
         
             
                                }));
         
     | 
| 
       231 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 295 
     | 
    
         
            +
                                const $ao5 = (input, _path, _exceptionable = true) => (undefined === input.schemas || ("object" === typeof input.schemas && null !== input.schemas && false === Array.isArray(input.schemas) || $guard(_exceptionable, {
         
     | 
| 
       232 
296 
     | 
    
         
             
                                    path: _path + ".schemas",
         
     | 
| 
       233 
297 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSchema> | undefined)",
         
     | 
| 
       234 
298 
     | 
    
         
             
                                    value: input.schemas
         
     | 
| 
       235 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 299 
     | 
    
         
            +
                                })) && $ao6(input.schemas, _path + ".schemas", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       236 
300 
     | 
    
         
             
                                    path: _path + ".schemas",
         
     | 
| 
       237 
301 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSchema> | undefined)",
         
     | 
| 
       238 
302 
     | 
    
         
             
                                    value: input.schemas
         
     | 
| 
         @@ -240,12 +304,12 @@ class NestiaMigrateApplication { 
     | 
|
| 
       240 
304 
     | 
    
         
             
                                    path: _path + ".securitySchemes",
         
     | 
| 
       241 
305 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSecurity> | undefined)",
         
     | 
| 
       242 
306 
     | 
    
         
             
                                    value: input.securitySchemes
         
     | 
| 
       243 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 307 
     | 
    
         
            +
                                })) && $ao18(input.securitySchemes, _path + ".securitySchemes", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       244 
308 
     | 
    
         
             
                                    path: _path + ".securitySchemes",
         
     | 
| 
       245 
309 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSecurity> | undefined)",
         
     | 
| 
       246 
310 
     | 
    
         
             
                                    value: input.securitySchemes
         
     | 
| 
       247 
311 
     | 
    
         
             
                                }));
         
     | 
| 
       248 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 312 
     | 
    
         
            +
                                const $ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
         
     | 
| 
       249 
313 
     | 
    
         
             
                                    const value = input[key];
         
     | 
| 
       250 
314 
     | 
    
         
             
                                    if (undefined === value)
         
     | 
| 
       251 
315 
     | 
    
         
             
                                        return true;
         
     | 
| 
         @@ -261,7 +325,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       261 
325 
     | 
    
         
             
                                        });
         
     | 
| 
       262 
326 
     | 
    
         
             
                                    return true;
         
     | 
| 
       263 
327 
     | 
    
         
             
                                });
         
     | 
| 
       264 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 328 
     | 
    
         
            +
                                const $ao7 = (input, _path, _exceptionable = true) => (null !== input.type || $guard(_exceptionable, {
         
     | 
| 
       265 
329 
     | 
    
         
             
                                    path: _path + ".type",
         
     | 
| 
       266 
330 
     | 
    
         
             
                                    expected: "undefined",
         
     | 
| 
       267 
331 
     | 
    
         
             
                                    value: input.type
         
     | 
| 
         @@ -290,7 +354,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       290 
354 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       291 
355 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       292 
356 
     | 
    
         
             
                                }));
         
     | 
| 
       293 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 357 
     | 
    
         
            +
                                const $ao8 = (input, _path, _exceptionable = true) => ((Array.isArray(input.anyOf) || $guard(_exceptionable, {
         
     | 
| 
       294 
358 
     | 
    
         
             
                                    path: _path + ".anyOf",
         
     | 
| 
       295 
359 
     | 
    
         
             
                                    expected: "Array<ISwaggerSchema>",
         
     | 
| 
       296 
360 
     | 
    
         
             
                                    value: input.anyOf
         
     | 
| 
         @@ -327,7 +391,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       327 
391 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       328 
392 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       329 
393 
     | 
    
         
             
                                }));
         
     | 
| 
       330 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 394 
     | 
    
         
            +
                                const $ao9 = (input, _path, _exceptionable = true) => ((Array.isArray(input.oneOf) || $guard(_exceptionable, {
         
     | 
| 
       331 
395 
     | 
    
         
             
                                    path: _path + ".oneOf",
         
     | 
| 
       332 
396 
     | 
    
         
             
                                    expected: "Array<ISwaggerSchema>",
         
     | 
| 
       333 
397 
     | 
    
         
             
                                    value: input.oneOf
         
     | 
| 
         @@ -364,7 +428,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       364 
428 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       365 
429 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       366 
430 
     | 
    
         
             
                                }));
         
     | 
| 
       367 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 431 
     | 
    
         
            +
                                const $ao10 = (input, _path, _exceptionable = true) => (undefined === input["default"] || "boolean" === typeof input["default"] || $guard(_exceptionable, {
         
     | 
| 
       368 
432 
     | 
    
         
             
                                    path: _path + "[\"default\"]",
         
     | 
| 
       369 
433 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       370 
434 
     | 
    
         
             
                                    value: input["default"]
         
     | 
| 
         @@ -409,7 +473,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       409 
473 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       410 
474 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       411 
475 
     | 
    
         
             
                                }));
         
     | 
| 
       412 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 476 
     | 
    
         
            +
                                const $ao11 = (input, _path, _exceptionable = true) => (undefined === input["default"] || "number" === typeof input["default"] && (parseInt(input["default"]) === input["default"] || $guard(_exceptionable, {
         
     | 
| 
       413 
477 
     | 
    
         
             
                                    path: _path + "[\"default\"]",
         
     | 
| 
       414 
478 
     | 
    
         
             
                                    expected: "number (@type int)",
         
     | 
| 
       415 
479 
     | 
    
         
             
                                    value: input["default"]
         
     | 
| 
         @@ -498,7 +562,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       498 
562 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       499 
563 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       500 
564 
     | 
    
         
             
                                }));
         
     | 
| 
       501 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 565 
     | 
    
         
            +
                                const $ao12 = (input, _path, _exceptionable = true) => (undefined === input["default"] || "number" === typeof input["default"] || $guard(_exceptionable, {
         
     | 
| 
       502 
566 
     | 
    
         
             
                                    path: _path + "[\"default\"]",
         
     | 
| 
       503 
567 
     | 
    
         
             
                                    expected: "(number | undefined)",
         
     | 
| 
       504 
568 
     | 
    
         
             
                                    value: input["default"]
         
     | 
| 
         @@ -563,7 +627,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       563 
627 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       564 
628 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       565 
629 
     | 
    
         
             
                                }));
         
     | 
| 
       566 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 630 
     | 
    
         
            +
                                const $ao13 = (input, _path, _exceptionable = true) => (undefined === input["default"] || "string" === typeof input["default"] || $guard(_exceptionable, {
         
     | 
| 
       567 
631 
     | 
    
         
             
                                    path: _path + "[\"default\"]",
         
     | 
| 
       568 
632 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       569 
633 
     | 
    
         
             
                                    value: input["default"]
         
     | 
| 
         @@ -640,7 +704,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       640 
704 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       641 
705 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       642 
706 
     | 
    
         
             
                                }));
         
     | 
| 
       643 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 707 
     | 
    
         
            +
                                const $ao14 = (input, _path, _exceptionable = true) => (("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || $guard(_exceptionable, {
         
     | 
| 
       644 
708 
     | 
    
         
             
                                    path: _path + ".items",
         
     | 
| 
       645 
709 
     | 
    
         
             
                                    expected: "(ISwaggerSchema.IAnyOf | ISwaggerSchema.IArray | ISwaggerSchema.IBoolean | ISwaggerSchema.IInteger | ISwaggerSchema.INumber | ISwaggerSchema.IObject | ISwaggerSchema.IOneOf | ISwaggerSchema.IReference | ISwaggerSchema.IString | ISwaggerSchema.IUnknown)",
         
     | 
| 
       646 
710 
     | 
    
         
             
                                    value: input.items
         
     | 
| 
         @@ -676,7 +740,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       676 
740 
     | 
    
         
             
                                    path: _path + "[\"x-typia-tuple\"]",
         
     | 
| 
       677 
741 
     | 
    
         
             
                                    expected: "(ISwaggerSchema.ITuple | undefined)",
         
     | 
| 
       678 
742 
     | 
    
         
             
                                    value: input["x-typia-tuple"]
         
     | 
| 
       679 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 743 
     | 
    
         
            +
                                })) && $ao17(input["x-typia-tuple"], _path + "[\"x-typia-tuple\"]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       680 
744 
     | 
    
         
             
                                    path: _path + "[\"x-typia-tuple\"]",
         
     | 
| 
       681 
745 
     | 
    
         
             
                                    expected: "(ISwaggerSchema.ITuple | undefined)",
         
     | 
| 
       682 
746 
     | 
    
         
             
                                    value: input["x-typia-tuple"]
         
     | 
| 
         @@ -709,11 +773,11 @@ class NestiaMigrateApplication { 
     | 
|
| 
       709 
773 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       710 
774 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       711 
775 
     | 
    
         
             
                                }));
         
     | 
| 
       712 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 776 
     | 
    
         
            +
                                const $ao15 = (input, _path, _exceptionable = true) => (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || $guard(_exceptionable, {
         
     | 
| 
       713 
777 
     | 
    
         
             
                                    path: _path + ".properties",
         
     | 
| 
       714 
778 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSchema> | undefined)",
         
     | 
| 
       715 
779 
     | 
    
         
             
                                    value: input.properties
         
     | 
| 
       716 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 780 
     | 
    
         
            +
                                })) && $ao6(input.properties, _path + ".properties", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       717 
781 
     | 
    
         
             
                                    path: _path + ".properties",
         
     | 
| 
       718 
782 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSchema> | undefined)",
         
     | 
| 
       719 
783 
     | 
    
         
             
                                    value: input.properties
         
     | 
| 
         @@ -745,7 +809,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       745 
809 
     | 
    
         
             
                                    path: _path + "[\"x-typia-patternProperties\"]",
         
     | 
| 
       746 
810 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSchema> | undefined)",
         
     | 
| 
       747 
811 
     | 
    
         
             
                                    value: input["x-typia-patternProperties"]
         
     | 
| 
       748 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 812 
     | 
    
         
            +
                                })) && $ao6(input["x-typia-patternProperties"], _path + "[\"x-typia-patternProperties\"]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       749 
813 
     | 
    
         
             
                                    path: _path + "[\"x-typia-patternProperties\"]",
         
     | 
| 
       750 
814 
     | 
    
         
             
                                    expected: "(Record<string, ISwaggerSchema> | undefined)",
         
     | 
| 
       751 
815 
     | 
    
         
             
                                    value: input["x-typia-patternProperties"]
         
     | 
| 
         @@ -778,7 +842,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       778 
842 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       779 
843 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       780 
844 
     | 
    
         
             
                                }));
         
     | 
| 
       781 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 845 
     | 
    
         
            +
                                const $ao16 = (input, _path, _exceptionable = true) => ("string" === typeof input.$ref || $guard(_exceptionable, {
         
     | 
| 
       782 
846 
     | 
    
         
             
                                    path: _path + ".$ref",
         
     | 
| 
       783 
847 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       784 
848 
     | 
    
         
             
                                    value: input.$ref
         
     | 
| 
         @@ -803,7 +867,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       803 
867 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       804 
868 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       805 
869 
     | 
    
         
             
                                }));
         
     | 
| 
       806 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 870 
     | 
    
         
            +
                                const $ao17 = (input, _path, _exceptionable = true) => ((Array.isArray(input.items) || $guard(_exceptionable, {
         
     | 
| 
       807 
871 
     | 
    
         
             
                                    path: _path + ".items",
         
     | 
| 
       808 
872 
     | 
    
         
             
                                    expected: "Array<ISwaggerSchema>",
         
     | 
| 
       809 
873 
     | 
    
         
             
                                    value: input.items
         
     | 
| 
         @@ -848,7 +912,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       848 
912 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       849 
913 
     | 
    
         
             
                                    value: input["x-typia-rest"]
         
     | 
| 
       850 
914 
     | 
    
         
             
                                }));
         
     | 
| 
       851 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 915 
     | 
    
         
            +
                                const $ao18 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
         
     | 
| 
       852 
916 
     | 
    
         
             
                                    const value = input[key];
         
     | 
| 
       853 
917 
     | 
    
         
             
                                    if (undefined === value)
         
     | 
| 
       854 
918 
     | 
    
         
             
                                        return true;
         
     | 
| 
         @@ -864,16 +928,16 @@ class NestiaMigrateApplication { 
     | 
|
| 
       864 
928 
     | 
    
         
             
                                        });
         
     | 
| 
       865 
929 
     | 
    
         
             
                                    return true;
         
     | 
| 
       866 
930 
     | 
    
         
             
                                });
         
     | 
| 
       867 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 931 
     | 
    
         
            +
                                const $ao19 = (input, _path, _exceptionable = true) => ("http" === input.type || $guard(_exceptionable, {
         
     | 
| 
       868 
932 
     | 
    
         
             
                                    path: _path + ".type",
         
     | 
| 
       869 
933 
     | 
    
         
             
                                    expected: "\"http\"",
         
     | 
| 
       870 
934 
     | 
    
         
             
                                    value: input.type
         
     | 
| 
       871 
     | 
    
         
            -
                                })) && ("basic" === input. 
     | 
| 
       872 
     | 
    
         
            -
                                    path: _path + ". 
     | 
| 
      
 935 
     | 
    
         
            +
                                })) && ("basic" === input.scheme || $guard(_exceptionable, {
         
     | 
| 
      
 936 
     | 
    
         
            +
                                    path: _path + ".scheme",
         
     | 
| 
       873 
937 
     | 
    
         
             
                                    expected: "\"basic\"",
         
     | 
| 
       874 
     | 
    
         
            -
                                    value: input. 
     | 
| 
      
 938 
     | 
    
         
            +
                                    value: input.scheme
         
     | 
| 
       875 
939 
     | 
    
         
             
                                }));
         
     | 
| 
       876 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 940 
     | 
    
         
            +
                                const $ao20 = (input, _path, _exceptionable = true) => ("http" === input.type || $guard(_exceptionable, {
         
     | 
| 
       877 
941 
     | 
    
         
             
                                    path: _path + ".type",
         
     | 
| 
       878 
942 
     | 
    
         
             
                                    expected: "\"http\"",
         
     | 
| 
       879 
943 
     | 
    
         
             
                                    value: input.type
         
     | 
| 
         @@ -886,7 +950,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       886 
950 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       887 
951 
     | 
    
         
             
                                    value: input.bearerFormat
         
     | 
| 
       888 
952 
     | 
    
         
             
                                }));
         
     | 
| 
       889 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 953 
     | 
    
         
            +
                                const $ao21 = (input, _path, _exceptionable = true) => ("apiKey" === input.type || $guard(_exceptionable, {
         
     | 
| 
       890 
954 
     | 
    
         
             
                                    path: _path + ".type",
         
     | 
| 
       891 
955 
     | 
    
         
             
                                    expected: "\"apiKey\"",
         
     | 
| 
       892 
956 
     | 
    
         
             
                                    value: input.type
         
     | 
| 
         @@ -899,7 +963,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       899 
963 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       900 
964 
     | 
    
         
             
                                    value: input.name
         
     | 
| 
       901 
965 
     | 
    
         
             
                                }));
         
     | 
| 
       902 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 966 
     | 
    
         
            +
                                const $ao22 = (input, _path, _exceptionable = true) => ("openIdConnect" === input.type || $guard(_exceptionable, {
         
     | 
| 
       903 
967 
     | 
    
         
             
                                    path: _path + ".type",
         
     | 
| 
       904 
968 
     | 
    
         
             
                                    expected: "\"openIdConnect\"",
         
     | 
| 
       905 
969 
     | 
    
         
             
                                    value: input.type
         
     | 
| 
         @@ -908,7 +972,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       908 
972 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       909 
973 
     | 
    
         
             
                                    value: input.openIdConnectUrl
         
     | 
| 
       910 
974 
     | 
    
         
             
                                }));
         
     | 
| 
       911 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 975 
     | 
    
         
            +
                                const $ao23 = (input, _path, _exceptionable = true) => ("oauth2" === input.type || $guard(_exceptionable, {
         
     | 
| 
       912 
976 
     | 
    
         
             
                                    path: _path + ".type",
         
     | 
| 
       913 
977 
     | 
    
         
             
                                    expected: "\"oauth2\"",
         
     | 
| 
       914 
978 
     | 
    
         
             
                                    value: input.type
         
     | 
| 
         @@ -916,7 +980,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       916 
980 
     | 
    
         
             
                                    path: _path + ".flows",
         
     | 
| 
       917 
981 
     | 
    
         
             
                                    expected: "ISwaggerSecurity.IOAuth2.IFlowSet",
         
     | 
| 
       918 
982 
     | 
    
         
             
                                    value: input.flows
         
     | 
| 
       919 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 983 
     | 
    
         
            +
                                })) && $ao24(input.flows, _path + ".flows", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       920 
984 
     | 
    
         
             
                                    path: _path + ".flows",
         
     | 
| 
       921 
985 
     | 
    
         
             
                                    expected: "ISwaggerSecurity.IOAuth2.IFlowSet",
         
     | 
| 
       922 
986 
     | 
    
         
             
                                    value: input.flows
         
     | 
| 
         @@ -925,11 +989,11 @@ class NestiaMigrateApplication { 
     | 
|
| 
       925 
989 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       926 
990 
     | 
    
         
             
                                    value: input.description
         
     | 
| 
       927 
991 
     | 
    
         
             
                                }));
         
     | 
| 
       928 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 992 
     | 
    
         
            +
                                const $ao24 = (input, _path, _exceptionable = true) => (undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode || $guard(_exceptionable, {
         
     | 
| 
       929 
993 
     | 
    
         
             
                                    path: _path + ".authorizationCode",
         
     | 
| 
       930 
994 
     | 
    
         
             
                                    expected: "(ISwaggerSecurity.IOAuth2.IFlow | undefined)",
         
     | 
| 
       931 
995 
     | 
    
         
             
                                    value: input.authorizationCode
         
     | 
| 
       932 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 996 
     | 
    
         
            +
                                })) && $ao25(input.authorizationCode, _path + ".authorizationCode", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       933 
997 
     | 
    
         
             
                                    path: _path + ".authorizationCode",
         
     | 
| 
       934 
998 
     | 
    
         
             
                                    expected: "(ISwaggerSecurity.IOAuth2.IFlow | undefined)",
         
     | 
| 
       935 
999 
     | 
    
         
             
                                    value: input.authorizationCode
         
     | 
| 
         @@ -937,7 +1001,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       937 
1001 
     | 
    
         
             
                                    path: _path + ".implicit",
         
     | 
| 
       938 
1002 
     | 
    
         
             
                                    expected: "(Omit<ISwaggerSecurity.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
         
     | 
| 
       939 
1003 
     | 
    
         
             
                                    value: input.implicit
         
     | 
| 
       940 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1004 
     | 
    
         
            +
                                })) && $ao27(input.implicit, _path + ".implicit", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       941 
1005 
     | 
    
         
             
                                    path: _path + ".implicit",
         
     | 
| 
       942 
1006 
     | 
    
         
             
                                    expected: "(Omit<ISwaggerSecurity.IOAuth2.IFlow, \"tokenUrl\"> | undefined)",
         
     | 
| 
       943 
1007 
     | 
    
         
             
                                    value: input.implicit
         
     | 
| 
         @@ -945,7 +1009,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       945 
1009 
     | 
    
         
             
                                    path: _path + ".password",
         
     | 
| 
       946 
1010 
     | 
    
         
             
                                    expected: "(Omit<ISwaggerSecurity.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
         
     | 
| 
       947 
1011 
     | 
    
         
             
                                    value: input.password
         
     | 
| 
       948 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1012 
     | 
    
         
            +
                                })) && $ao28(input.password, _path + ".password", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       949 
1013 
     | 
    
         
             
                                    path: _path + ".password",
         
     | 
| 
       950 
1014 
     | 
    
         
             
                                    expected: "(Omit<ISwaggerSecurity.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
         
     | 
| 
       951 
1015 
     | 
    
         
             
                                    value: input.password
         
     | 
| 
         @@ -953,12 +1017,12 @@ class NestiaMigrateApplication { 
     | 
|
| 
       953 
1017 
     | 
    
         
             
                                    path: _path + ".clientCredentials",
         
     | 
| 
       954 
1018 
     | 
    
         
             
                                    expected: "(Omit<ISwaggerSecurity.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
         
     | 
| 
       955 
1019 
     | 
    
         
             
                                    value: input.clientCredentials
         
     | 
| 
       956 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1020 
     | 
    
         
            +
                                })) && $ao28(input.clientCredentials, _path + ".clientCredentials", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       957 
1021 
     | 
    
         
             
                                    path: _path + ".clientCredentials",
         
     | 
| 
       958 
1022 
     | 
    
         
             
                                    expected: "(Omit<ISwaggerSecurity.IOAuth2.IFlow, \"authorizationUrl\"> | undefined)",
         
     | 
| 
       959 
1023 
     | 
    
         
             
                                    value: input.clientCredentials
         
     | 
| 
       960 
1024 
     | 
    
         
             
                                }));
         
     | 
| 
       961 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1025 
     | 
    
         
            +
                                const $ao25 = (input, _path, _exceptionable = true) => ("string" === typeof input.authorizationUrl || $guard(_exceptionable, {
         
     | 
| 
       962 
1026 
     | 
    
         
             
                                    path: _path + ".authorizationUrl",
         
     | 
| 
       963 
1027 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       964 
1028 
     | 
    
         
             
                                    value: input.authorizationUrl
         
     | 
| 
         @@ -974,12 +1038,12 @@ class NestiaMigrateApplication { 
     | 
|
| 
       974 
1038 
     | 
    
         
             
                                    path: _path + ".scopes",
         
     | 
| 
       975 
1039 
     | 
    
         
             
                                    expected: "(Record<string, string> | undefined)",
         
     | 
| 
       976 
1040 
     | 
    
         
             
                                    value: input.scopes
         
     | 
| 
       977 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1041 
     | 
    
         
            +
                                })) && $ao26(input.scopes, _path + ".scopes", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       978 
1042 
     | 
    
         
             
                                    path: _path + ".scopes",
         
     | 
| 
       979 
1043 
     | 
    
         
             
                                    expected: "(Record<string, string> | undefined)",
         
     | 
| 
       980 
1044 
     | 
    
         
             
                                    value: input.scopes
         
     | 
| 
       981 
1045 
     | 
    
         
             
                                }));
         
     | 
| 
       982 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1046 
     | 
    
         
            +
                                const $ao26 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
         
     | 
| 
       983 
1047 
     | 
    
         
             
                                    const value = input[key];
         
     | 
| 
       984 
1048 
     | 
    
         
             
                                    if (undefined === value)
         
     | 
| 
       985 
1049 
     | 
    
         
             
                                        return true;
         
     | 
| 
         @@ -991,7 +1055,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       991 
1055 
     | 
    
         
             
                                        });
         
     | 
| 
       992 
1056 
     | 
    
         
             
                                    return true;
         
     | 
| 
       993 
1057 
     | 
    
         
             
                                });
         
     | 
| 
       994 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1058 
     | 
    
         
            +
                                const $ao27 = (input, _path, _exceptionable = true) => ("string" === typeof input.authorizationUrl || $guard(_exceptionable, {
         
     | 
| 
       995 
1059 
     | 
    
         
             
                                    path: _path + ".authorizationUrl",
         
     | 
| 
       996 
1060 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       997 
1061 
     | 
    
         
             
                                    value: input.authorizationUrl
         
     | 
| 
         @@ -1003,12 +1067,12 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1003 
1067 
     | 
    
         
             
                                    path: _path + ".scopes",
         
     | 
| 
       1004 
1068 
     | 
    
         
             
                                    expected: "(Record<string, string> | undefined)",
         
     | 
| 
       1005 
1069 
     | 
    
         
             
                                    value: input.scopes
         
     | 
| 
       1006 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1070 
     | 
    
         
            +
                                })) && $ao26(input.scopes, _path + ".scopes", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1007 
1071 
     | 
    
         
             
                                    path: _path + ".scopes",
         
     | 
| 
       1008 
1072 
     | 
    
         
             
                                    expected: "(Record<string, string> | undefined)",
         
     | 
| 
       1009 
1073 
     | 
    
         
             
                                    value: input.scopes
         
     | 
| 
       1010 
1074 
     | 
    
         
             
                                }));
         
     | 
| 
       1011 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1075 
     | 
    
         
            +
                                const $ao28 = (input, _path, _exceptionable = true) => ("string" === typeof input.tokenUrl || $guard(_exceptionable, {
         
     | 
| 
       1012 
1076 
     | 
    
         
             
                                    path: _path + ".tokenUrl",
         
     | 
| 
       1013 
1077 
     | 
    
         
             
                                    expected: "string",
         
     | 
| 
       1014 
1078 
     | 
    
         
             
                                    value: input.tokenUrl
         
     | 
| 
         @@ -1020,12 +1084,12 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1020 
1084 
     | 
    
         
             
                                    path: _path + ".scopes",
         
     | 
| 
       1021 
1085 
     | 
    
         
             
                                    expected: "(Record<string, string> | undefined)",
         
     | 
| 
       1022 
1086 
     | 
    
         
             
                                    value: input.scopes
         
     | 
| 
       1023 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1087 
     | 
    
         
            +
                                })) && $ao26(input.scopes, _path + ".scopes", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1024 
1088 
     | 
    
         
             
                                    path: _path + ".scopes",
         
     | 
| 
       1025 
1089 
     | 
    
         
             
                                    expected: "(Record<string, string> | undefined)",
         
     | 
| 
       1026 
1090 
     | 
    
         
             
                                    value: input.scopes
         
     | 
| 
       1027 
1091 
     | 
    
         
             
                                }));
         
     | 
| 
       1028 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1092 
     | 
    
         
            +
                                const $ao29 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
         
     | 
| 
       1029 
1093 
     | 
    
         
             
                                    const value = input[key];
         
     | 
| 
       1030 
1094 
     | 
    
         
             
                                    if (undefined === value)
         
     | 
| 
       1031 
1095 
     | 
    
         
             
                                        return true;
         
     | 
| 
         @@ -1034,14 +1098,14 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1034 
1098 
     | 
    
         
             
                                            path: _path + $join(key),
         
     | 
| 
       1035 
1099 
     | 
    
         
             
                                            expected: "ISwagger.IPath",
         
     | 
| 
       1036 
1100 
     | 
    
         
             
                                            value: value
         
     | 
| 
       1037 
     | 
    
         
            -
                                        })) && $ 
     | 
| 
      
 1101 
     | 
    
         
            +
                                        })) && $ao30(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1038 
1102 
     | 
    
         
             
                                            path: _path + $join(key),
         
     | 
| 
       1039 
1103 
     | 
    
         
             
                                            expected: "ISwagger.IPath",
         
     | 
| 
       1040 
1104 
     | 
    
         
             
                                            value: value
         
     | 
| 
       1041 
1105 
     | 
    
         
             
                                        });
         
     | 
| 
       1042 
1106 
     | 
    
         
             
                                    return true;
         
     | 
| 
       1043 
1107 
     | 
    
         
             
                                });
         
     | 
| 
       1044 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1108 
     | 
    
         
            +
                                const $ao30 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
         
     | 
| 
       1045 
1109 
     | 
    
         
             
                                    const value = input[key];
         
     | 
| 
       1046 
1110 
     | 
    
         
             
                                    if (undefined === value)
         
     | 
| 
       1047 
1111 
     | 
    
         
             
                                        return true;
         
     | 
| 
         @@ -1050,14 +1114,14 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1050 
1114 
     | 
    
         
             
                                            path: _path + $join(key),
         
     | 
| 
       1051 
1115 
     | 
    
         
             
                                            expected: "ISwaggerRoute",
         
     | 
| 
       1052 
1116 
     | 
    
         
             
                                            value: value
         
     | 
| 
       1053 
     | 
    
         
            -
                                        })) && $ 
     | 
| 
      
 1117 
     | 
    
         
            +
                                        })) && $ao31(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1054 
1118 
     | 
    
         
             
                                            path: _path + $join(key),
         
     | 
| 
       1055 
1119 
     | 
    
         
             
                                            expected: "ISwaggerRoute",
         
     | 
| 
       1056 
1120 
     | 
    
         
             
                                            value: value
         
     | 
| 
       1057 
1121 
     | 
    
         
             
                                        });
         
     | 
| 
       1058 
1122 
     | 
    
         
             
                                    return true;
         
     | 
| 
       1059 
1123 
     | 
    
         
             
                                });
         
     | 
| 
       1060 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1124 
     | 
    
         
            +
                                const $ao31 = (input, _path, _exceptionable = true) => (undefined === input.parameters || (Array.isArray(input.parameters) || $guard(_exceptionable, {
         
     | 
| 
       1061 
1125 
     | 
    
         
             
                                    path: _path + ".parameters",
         
     | 
| 
       1062 
1126 
     | 
    
         
             
                                    expected: "(Array<ISwaggerRoute.IParameter> | undefined)",
         
     | 
| 
       1063 
1127 
     | 
    
         
             
                                    value: input.parameters
         
     | 
| 
         @@ -1065,7 +1129,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1065 
1129 
     | 
    
         
             
                                    path: _path + ".parameters[" + _index11 + "]",
         
     | 
| 
       1066 
1130 
     | 
    
         
             
                                    expected: "ISwaggerRoute.IParameter",
         
     | 
| 
       1067 
1131 
     | 
    
         
             
                                    value: elem
         
     | 
| 
       1068 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1132 
     | 
    
         
            +
                                })) && $ao32(elem, _path + ".parameters[" + _index11 + "]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1069 
1133 
     | 
    
         
             
                                    path: _path + ".parameters[" + _index11 + "]",
         
     | 
| 
       1070 
1134 
     | 
    
         
             
                                    expected: "ISwaggerRoute.IParameter",
         
     | 
| 
       1071 
1135 
     | 
    
         
             
                                    value: elem
         
     | 
| 
         @@ -1077,7 +1141,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1077 
1141 
     | 
    
         
             
                                    path: _path + ".requestBody",
         
     | 
| 
       1078 
1142 
     | 
    
         
             
                                    expected: "(ISwaggerRoute.IRequestBody | undefined)",
         
     | 
| 
       1079 
1143 
     | 
    
         
             
                                    value: input.requestBody
         
     | 
| 
       1080 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1144 
     | 
    
         
            +
                                })) && $ao33(input.requestBody, _path + ".requestBody", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1081 
1145 
     | 
    
         
             
                                    path: _path + ".requestBody",
         
     | 
| 
       1082 
1146 
     | 
    
         
             
                                    expected: "(ISwaggerRoute.IRequestBody | undefined)",
         
     | 
| 
       1083 
1147 
     | 
    
         
             
                                    value: input.requestBody
         
     | 
| 
         @@ -1085,7 +1149,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1085 
1149 
     | 
    
         
             
                                    path: _path + ".responses",
         
     | 
| 
       1086 
1150 
     | 
    
         
             
                                    expected: "(ISwaggerRoute.IResponseBody | undefined)",
         
     | 
| 
       1087 
1151 
     | 
    
         
             
                                    value: input.responses
         
     | 
| 
       1088 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1152 
     | 
    
         
            +
                                })) && $ao37(input.responses, _path + ".responses", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1089 
1153 
     | 
    
         
             
                                    path: _path + ".responses",
         
     | 
| 
       1090 
1154 
     | 
    
         
             
                                    expected: "(ISwaggerRoute.IResponseBody | undefined)",
         
     | 
| 
       1091 
1155 
     | 
    
         
             
                                    value: input.responses
         
     | 
| 
         @@ -1109,7 +1173,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1109 
1173 
     | 
    
         
             
                                    path: _path + ".security[" + _index12 + "]",
         
     | 
| 
       1110 
1174 
     | 
    
         
             
                                    expected: "Record<string, Array<string>>",
         
     | 
| 
       1111 
1175 
     | 
    
         
             
                                    value: elem
         
     | 
| 
       1112 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1176 
     | 
    
         
            +
                                })) && $ao39(elem, _path + ".security[" + _index12 + "]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1113 
1177 
     | 
    
         
             
                                    path: _path + ".security[" + _index12 + "]",
         
     | 
| 
       1114 
1178 
     | 
    
         
             
                                    expected: "Record<string, Array<string>>",
         
     | 
| 
       1115 
1179 
     | 
    
         
             
                                    value: elem
         
     | 
| 
         @@ -1130,9 +1194,9 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1130 
1194 
     | 
    
         
             
                                    expected: "(Array<string> | undefined)",
         
     | 
| 
       1131 
1195 
     | 
    
         
             
                                    value: input.tags
         
     | 
| 
       1132 
1196 
     | 
    
         
             
                                }));
         
     | 
| 
       1133 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1197 
     | 
    
         
            +
                                const $ao32 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
         
     | 
| 
       1134 
1198 
     | 
    
         
             
                                    path: _path + ".name",
         
     | 
| 
       1135 
     | 
    
         
            -
                                    expected: "string",
         
     | 
| 
      
 1199 
     | 
    
         
            +
                                    expected: "(string | undefined)",
         
     | 
| 
       1136 
1200 
     | 
    
         
             
                                    value: input.name
         
     | 
| 
       1137 
1201 
     | 
    
         
             
                                })) && ("header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || "path" === input["in"] || $guard(_exceptionable, {
         
     | 
| 
       1138 
1202 
     | 
    
         
             
                                    path: _path + "[\"in\"]",
         
     | 
| 
         @@ -1155,7 +1219,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1155 
1219 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       1156 
1220 
     | 
    
         
             
                                    value: input.description
         
     | 
| 
       1157 
1221 
     | 
    
         
             
                                }));
         
     | 
| 
       1158 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1222 
     | 
    
         
            +
                                const $ao33 = (input, _path, _exceptionable = true) => (undefined === input.description || "string" === typeof input.description || $guard(_exceptionable, {
         
     | 
| 
       1159 
1223 
     | 
    
         
             
                                    path: _path + ".description",
         
     | 
| 
       1160 
1224 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       1161 
1225 
     | 
    
         
             
                                    value: input.description
         
     | 
| 
         @@ -1163,24 +1227,24 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1163 
1227 
     | 
    
         
             
                                    path: _path + ".content",
         
     | 
| 
       1164 
1228 
     | 
    
         
             
                                    expected: "ISwaggerRoute.IContent",
         
     | 
| 
       1165 
1229 
     | 
    
         
             
                                    value: input.content
         
     | 
| 
       1166 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1230 
     | 
    
         
            +
                                })) && $ao34(input.content, _path + ".content", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1167 
1231 
     | 
    
         
             
                                    path: _path + ".content",
         
     | 
| 
       1168 
1232 
     | 
    
         
             
                                    expected: "ISwaggerRoute.IContent",
         
     | 
| 
       1169 
1233 
     | 
    
         
             
                                    value: input.content
         
     | 
| 
       1170 
     | 
    
         
            -
                                })) && (undefined === input.required ||  
     | 
| 
      
 1234 
     | 
    
         
            +
                                })) && (undefined === input.required || "boolean" === typeof input.required || $guard(_exceptionable, {
         
     | 
| 
       1171 
1235 
     | 
    
         
             
                                    path: _path + ".required",
         
     | 
| 
       1172 
     | 
    
         
            -
                                    expected: "( 
     | 
| 
      
 1236 
     | 
    
         
            +
                                    expected: "(boolean | undefined)",
         
     | 
| 
       1173 
1237 
     | 
    
         
             
                                    value: input.required
         
     | 
| 
       1174 
1238 
     | 
    
         
             
                                })) && (undefined === input["x-nestia-encrypted"] || "boolean" === typeof input["x-nestia-encrypted"] || $guard(_exceptionable, {
         
     | 
| 
       1175 
1239 
     | 
    
         
             
                                    path: _path + "[\"x-nestia-encrypted\"]",
         
     | 
| 
       1176 
1240 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       1177 
1241 
     | 
    
         
             
                                    value: input["x-nestia-encrypted"]
         
     | 
| 
       1178 
1242 
     | 
    
         
             
                                }));
         
     | 
| 
       1179 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1243 
     | 
    
         
            +
                                const $ao34 = (input, _path, _exceptionable = true) => (undefined === input["text/plain"] || ("object" === typeof input["text/plain"] && null !== input["text/plain"] || $guard(_exceptionable, {
         
     | 
| 
       1180 
1244 
     | 
    
         
             
                                    path: _path + "[\"text/plain\"]",
         
     | 
| 
       1181 
1245 
     | 
    
         
             
                                    expected: "(__type | undefined)",
         
     | 
| 
       1182 
1246 
     | 
    
         
             
                                    value: input["text/plain"]
         
     | 
| 
       1183 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1247 
     | 
    
         
            +
                                })) && $ao35(input["text/plain"], _path + "[\"text/plain\"]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1184 
1248 
     | 
    
         
             
                                    path: _path + "[\"text/plain\"]",
         
     | 
| 
       1185 
1249 
     | 
    
         
             
                                    expected: "(__type | undefined)",
         
     | 
| 
       1186 
1250 
     | 
    
         
             
                                    value: input["text/plain"]
         
     | 
| 
         @@ -1188,21 +1252,21 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1188 
1252 
     | 
    
         
             
                                    path: _path + "[\"application/json\"]",
         
     | 
| 
       1189 
1253 
     | 
    
         
             
                                    expected: "(__type.o1 | undefined)",
         
     | 
| 
       1190 
1254 
     | 
    
         
             
                                    value: input["application/json"]
         
     | 
| 
       1191 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1255 
     | 
    
         
            +
                                })) && $ao36(input["application/json"], _path + "[\"application/json\"]", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1192 
1256 
     | 
    
         
             
                                    path: _path + "[\"application/json\"]",
         
     | 
| 
       1193 
1257 
     | 
    
         
             
                                    expected: "(__type.o1 | undefined)",
         
     | 
| 
       1194 
1258 
     | 
    
         
             
                                    value: input["application/json"]
         
     | 
| 
       1195 
1259 
     | 
    
         
             
                                }));
         
     | 
| 
       1196 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1260 
     | 
    
         
            +
                                const $ao35 = (input, _path, _exceptionable = true) => ("object" === typeof input.schema && null !== input.schema || $guard(_exceptionable, {
         
     | 
| 
       1197 
1261 
     | 
    
         
             
                                    path: _path + ".schema",
         
     | 
| 
       1198 
1262 
     | 
    
         
             
                                    expected: "ISwaggerSchema.IString",
         
     | 
| 
       1199 
1263 
     | 
    
         
             
                                    value: input.schema
         
     | 
| 
       1200 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1264 
     | 
    
         
            +
                                })) && $ao13(input.schema, _path + ".schema", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1201 
1265 
     | 
    
         
             
                                    path: _path + ".schema",
         
     | 
| 
       1202 
1266 
     | 
    
         
             
                                    expected: "ISwaggerSchema.IString",
         
     | 
| 
       1203 
1267 
     | 
    
         
             
                                    value: input.schema
         
     | 
| 
       1204 
1268 
     | 
    
         
             
                                });
         
     | 
| 
       1205 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1269 
     | 
    
         
            +
                                const $ao36 = (input, _path, _exceptionable = true) => ("object" === typeof input.schema && null !== input.schema && false === Array.isArray(input.schema) || $guard(_exceptionable, {
         
     | 
| 
       1206 
1270 
     | 
    
         
             
                                    path: _path + ".schema",
         
     | 
| 
       1207 
1271 
     | 
    
         
             
                                    expected: "(ISwaggerSchema.IAnyOf | ISwaggerSchema.IArray | ISwaggerSchema.IBoolean | ISwaggerSchema.IInteger | ISwaggerSchema.INumber | ISwaggerSchema.IObject | ISwaggerSchema.IOneOf | ISwaggerSchema.IReference | ISwaggerSchema.IString | ISwaggerSchema.IUnknown)",
         
     | 
| 
       1208 
1272 
     | 
    
         
             
                                    value: input.schema
         
     | 
| 
         @@ -1211,7 +1275,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1211 
1275 
     | 
    
         
             
                                    expected: "(ISwaggerSchema.IAnyOf | ISwaggerSchema.IArray | ISwaggerSchema.IBoolean | ISwaggerSchema.IInteger | ISwaggerSchema.INumber | ISwaggerSchema.IObject | ISwaggerSchema.IOneOf | ISwaggerSchema.IReference | ISwaggerSchema.IString | ISwaggerSchema.IUnknown)",
         
     | 
| 
       1212 
1276 
     | 
    
         
             
                                    value: input.schema
         
     | 
| 
       1213 
1277 
     | 
    
         
             
                                });
         
     | 
| 
       1214 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1278 
     | 
    
         
            +
                                const $ao37 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
         
     | 
| 
       1215 
1279 
     | 
    
         
             
                                    const value = input[key];
         
     | 
| 
       1216 
1280 
     | 
    
         
             
                                    if (undefined === value)
         
     | 
| 
       1217 
1281 
     | 
    
         
             
                                        return true;
         
     | 
| 
         @@ -1220,14 +1284,14 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1220 
1284 
     | 
    
         
             
                                            path: _path + $join(key),
         
     | 
| 
       1221 
1285 
     | 
    
         
             
                                            expected: "__type.o2",
         
     | 
| 
       1222 
1286 
     | 
    
         
             
                                            value: value
         
     | 
| 
       1223 
     | 
    
         
            -
                                        })) && $ 
     | 
| 
      
 1287 
     | 
    
         
            +
                                        })) && $ao38(value, _path + $join(key), true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1224 
1288 
     | 
    
         
             
                                            path: _path + $join(key),
         
     | 
| 
       1225 
1289 
     | 
    
         
             
                                            expected: "__type.o2",
         
     | 
| 
       1226 
1290 
     | 
    
         
             
                                            value: value
         
     | 
| 
       1227 
1291 
     | 
    
         
             
                                        });
         
     | 
| 
       1228 
1292 
     | 
    
         
             
                                    return true;
         
     | 
| 
       1229 
1293 
     | 
    
         
             
                                });
         
     | 
| 
       1230 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1294 
     | 
    
         
            +
                                const $ao38 = (input, _path, _exceptionable = true) => (undefined === input.description || "string" === typeof input.description || $guard(_exceptionable, {
         
     | 
| 
       1231 
1295 
     | 
    
         
             
                                    path: _path + ".description",
         
     | 
| 
       1232 
1296 
     | 
    
         
             
                                    expected: "(string | undefined)",
         
     | 
| 
       1233 
1297 
     | 
    
         
             
                                    value: input.description
         
     | 
| 
         @@ -1235,7 +1299,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1235 
1299 
     | 
    
         
             
                                    path: _path + ".content",
         
     | 
| 
       1236 
1300 
     | 
    
         
             
                                    expected: "(ISwaggerRoute.IContent | undefined)",
         
     | 
| 
       1237 
1301 
     | 
    
         
             
                                    value: input.content
         
     | 
| 
       1238 
     | 
    
         
            -
                                })) && $ 
     | 
| 
      
 1302 
     | 
    
         
            +
                                })) && $ao34(input.content, _path + ".content", true && _exceptionable) || $guard(_exceptionable, {
         
     | 
| 
       1239 
1303 
     | 
    
         
             
                                    path: _path + ".content",
         
     | 
| 
       1240 
1304 
     | 
    
         
             
                                    expected: "(ISwaggerRoute.IContent | undefined)",
         
     | 
| 
       1241 
1305 
     | 
    
         
             
                                    value: input.content
         
     | 
| 
         @@ -1244,7 +1308,7 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1244 
1308 
     | 
    
         
             
                                    expected: "(boolean | undefined)",
         
     | 
| 
       1245 
1309 
     | 
    
         
             
                                    value: input["x-nestia-encrypted"]
         
     | 
| 
       1246 
1310 
     | 
    
         
             
                                }));
         
     | 
| 
       1247 
     | 
    
         
            -
                                const $ 
     | 
| 
      
 1311 
     | 
    
         
            +
                                const $ao39 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
         
     | 
| 
       1248 
1312 
     | 
    
         
             
                                    const value = input[key];
         
     | 
| 
       1249 
1313 
     | 
    
         
             
                                    if (undefined === value)
         
     | 
| 
       1250 
1314 
     | 
    
         
             
                                        return true;
         
     | 
| 
         @@ -1266,36 +1330,36 @@ class NestiaMigrateApplication { 
     | 
|
| 
       1266 
1330 
     | 
    
         
             
                                });
         
     | 
| 
       1267 
1331 
     | 
    
         
             
                                const $au0 = (input, _path, _exceptionable = true) => (() => {
         
     | 
| 
       1268 
1332 
     | 
    
         
             
                                    if (undefined !== input.anyOf)
         
     | 
| 
       1269 
     | 
    
         
            -
                                        return $ 
     | 
| 
      
 1333 
     | 
    
         
            +
                                        return $ao8(input, _path, true && _exceptionable);
         
     | 
| 
       1270 
1334 
     | 
    
         
             
                                    if (undefined !== input.oneOf)
         
     | 
| 
       1271 
     | 
    
         
            -
                                        return $ 
     | 
| 
      
 1335 
     | 
    
         
            +
                                        return $ao9(input, _path, true && _exceptionable);
         
     | 
| 
       1272 
1336 
     | 
    
         
             
                                    if ("boolean" === input.type)
         
     | 
| 
       1273 
     | 
    
         
            -
                                        return $ao8(input, _path, true && _exceptionable);
         
     | 
| 
       1274 
     | 
    
         
            -
                                    if ("number" === input.type)
         
     | 
| 
       1275 
1337 
     | 
    
         
             
                                        return $ao10(input, _path, true && _exceptionable);
         
     | 
| 
      
 1338 
     | 
    
         
            +
                                    if ("number" === input.type)
         
     | 
| 
      
 1339 
     | 
    
         
            +
                                        return $ao12(input, _path, true && _exceptionable);
         
     | 
| 
       1276 
1340 
     | 
    
         
             
                                    if ("integer" === input.type)
         
     | 
| 
       1277 
     | 
    
         
            -
                                        return $ao9(input, _path, true && _exceptionable);
         
     | 
| 
       1278 
     | 
    
         
            -
                                    if ("string" === input.type)
         
     | 
| 
       1279 
1341 
     | 
    
         
             
                                        return $ao11(input, _path, true && _exceptionable);
         
     | 
| 
      
 1342 
     | 
    
         
            +
                                    if ("string" === input.type)
         
     | 
| 
      
 1343 
     | 
    
         
            +
                                        return $ao13(input, _path, true && _exceptionable);
         
     | 
| 
       1280 
1344 
     | 
    
         
             
                                    if ("array" === input.type)
         
     | 
| 
       1281 
     | 
    
         
            -
                                        return $ 
     | 
| 
      
 1345 
     | 
    
         
            +
                                        return $ao14(input, _path, true && _exceptionable);
         
     | 
| 
       1282 
1346 
     | 
    
         
             
                                    if ("object" === input.type)
         
     | 
| 
       1283 
     | 
    
         
            -
                                        return $ 
     | 
| 
      
 1347 
     | 
    
         
            +
                                        return $ao15(input, _path, true && _exceptionable);
         
     | 
| 
       1284 
1348 
     | 
    
         
             
                                    if (undefined !== input.$ref)
         
     | 
| 
       1285 
     | 
    
         
            -
                                        return $ 
     | 
| 
       1286 
     | 
    
         
            -
                                    return $ 
     | 
| 
      
 1349 
     | 
    
         
            +
                                        return $ao16(input, _path, true && _exceptionable);
         
     | 
| 
      
 1350 
     | 
    
         
            +
                                    return $ao7(input, _path, true && _exceptionable);
         
     | 
| 
       1287 
1351 
     | 
    
         
             
                                })();
         
     | 
| 
       1288 
1352 
     | 
    
         
             
                                const $au1 = (input, _path, _exceptionable = true) => (() => {
         
     | 
| 
       1289 
     | 
    
         
            -
                                    if ( 
     | 
| 
       1290 
     | 
    
         
            -
                                        return $ao17(input, _path, true && _exceptionable);
         
     | 
| 
       1291 
     | 
    
         
            -
                                    if (undefined !== input.scheme)
         
     | 
| 
       1292 
     | 
    
         
            -
                                        return $ao18(input, _path, true && _exceptionable);
         
     | 
| 
       1293 
     | 
    
         
            -
                                    if ("apiKey" === input.type)
         
     | 
| 
      
 1353 
     | 
    
         
            +
                                    if ("basic" === input.scheme)
         
     | 
| 
       1294 
1354 
     | 
    
         
             
                                        return $ao19(input, _path, true && _exceptionable);
         
     | 
| 
       1295 
     | 
    
         
            -
                                    if (" 
     | 
| 
      
 1355 
     | 
    
         
            +
                                    if ("bearer" === input.scheme)
         
     | 
| 
       1296 
1356 
     | 
    
         
             
                                        return $ao20(input, _path, true && _exceptionable);
         
     | 
| 
       1297 
     | 
    
         
            -
                                    if (" 
     | 
| 
      
 1357 
     | 
    
         
            +
                                    if ("apiKey" === input.type)
         
     | 
| 
       1298 
1358 
     | 
    
         
             
                                        return $ao21(input, _path, true && _exceptionable);
         
     | 
| 
      
 1359 
     | 
    
         
            +
                                    if ("openIdConnect" === input.type)
         
     | 
| 
      
 1360 
     | 
    
         
            +
                                        return $ao22(input, _path, true && _exceptionable);
         
     | 
| 
      
 1361 
     | 
    
         
            +
                                    if ("oauth2" === input.type)
         
     | 
| 
      
 1362 
     | 
    
         
            +
                                        return $ao23(input, _path, true && _exceptionable);
         
     | 
| 
       1299 
1363 
     | 
    
         
             
                                    return $guard(_exceptionable, {
         
     | 
| 
       1300 
1364 
     | 
    
         
             
                                        path: _path,
         
     | 
| 
       1301 
1365 
     | 
    
         
             
                                        expected: "(ISwaggerSecurity.IHttpBasic | ISwaggerSecurity.IHttpBearer | ISwaggerSecurity.IApiKey | ISwaggerSecurity.IOpenId | ISwaggerSecurity.IOAuth2)",
         
     |