@samchon/openapi
Advanced tools
Comparing version 0.1.15 to 0.1.16
@@ -134,3 +134,3 @@ "use strict"; | ||
const visit = (schema) => { | ||
var _a, _b, _c, _d, _e, _f, _g; | ||
var _a, _b, _c, _d, _e; | ||
// NULLABLE PROPERTY | ||
@@ -229,3 +229,3 @@ if (schema.nullable === | ||
? convertSchema(schema.additionalItems) | ||
: (_f = schema.additionalItems) !== null && _f !== void 0 ? _f : false, | ||
: schema.additionalItems, | ||
})); | ||
@@ -239,3 +239,3 @@ else if (Array.isArray(schema.prefixItems)) | ||
? convertSchema(schema.additionalItems) | ||
: (_g = schema.additionalItems) !== null && _g !== void 0 ? _g : false, | ||
: schema.additionalItems, | ||
})); | ||
@@ -246,3 +246,2 @@ else if (schema.items === undefined) | ||
prefixItems: [], | ||
additionalItems: false, | ||
})); | ||
@@ -249,0 +248,0 @@ else |
@@ -184,3 +184,3 @@ import { OpenApiV3 } from "./OpenApiV3"; | ||
prefixItems: IJsonSchema[]; | ||
additionalItems: boolean | IJsonSchema; | ||
additionalItems?: boolean | IJsonSchema; | ||
/** @type uint64 */ minItems?: number; | ||
@@ -187,0 +187,0 @@ /** @type uint64 */ maxItems?: number; |
{ | ||
"name": "@samchon/openapi", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -393,3 +393,3 @@ import { OpenApi } from "../OpenApi"; | ||
? convertSchema(schema.additionalItems) | ||
: schema.additionalItems ?? false, | ||
: schema.additionalItems, | ||
}, | ||
@@ -407,3 +407,3 @@ } satisfies OpenApi.IJsonSchema.ITuple); | ||
? convertSchema(schema.additionalItems) | ||
: schema.additionalItems ?? false, | ||
: schema.additionalItems, | ||
}, | ||
@@ -417,3 +417,2 @@ }); | ||
prefixItems: [], | ||
additionalItems: false, | ||
}, | ||
@@ -420,0 +419,0 @@ }); |
@@ -270,3 +270,3 @@ import { OpenApiV3 } from "./OpenApiV3"; | ||
prefixItems: IJsonSchema[]; | ||
additionalItems: boolean | IJsonSchema; | ||
additionalItems?: boolean | IJsonSchema; | ||
/** @type uint64 */ minItems?: number; | ||
@@ -273,0 +273,0 @@ /** @type uint64 */ maxItems?: number; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171487
4323