Socket
Socket
Sign inDemoInstall

@samchon/openapi

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samchon/openapi - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

7

lib/internal/OpenApiV3_1Converter.js

@@ -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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc