Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@samchon/openapi

Package Overview
Dependencies
Maintainers
1
Versions
147
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.14-dev.20240415 to 0.1.14-dev.20240415-2

12

lib/internal/OpenApiV3Converter.d.ts

@@ -7,2 +7,14 @@ import { OpenApi } from "../OpenApi";

const convertSchema: (input: OpenApiV3.IJsonSchema) => OpenApi.IJsonSchema;
namespace TypeChecker {
const isBoolean: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IBoolean;
const isInteger: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IInteger;
const isNumber: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.INumber;
const isString: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IString;
const isArray: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IArray;
const isObject: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IObject;
const isReference: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IReference<string>;
const isOneOf: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IOneOf;
const isAnyOf: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.IAnyOf;
const isNullOnly: (schema: OpenApiV3.IJsonSchema) => schema is OpenApiV3.IJsonSchema.INullOnly;
}
}

2

lib/internal/OpenApiV3Converter.js

@@ -181,3 +181,3 @@ "use strict";

TypeChecker.isNullOnly = (schema) => schema.type === "null";
})(TypeChecker || (TypeChecker = {}));
})(TypeChecker = OpenApiV3Converter.TypeChecker || (OpenApiV3Converter.TypeChecker = {}));
})(OpenApiV3Converter || (exports.OpenApiV3Converter = OpenApiV3Converter = {}));
{
"name": "@samchon/openapi",
"version": "0.1.14-dev.20240415",
"version": "0.1.14-dev.20240415-2",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -283,3 +283,3 @@ import { OpenApi } from "../OpenApi";

namespace TypeChecker {
export namespace TypeChecker {
export const isBoolean = (

@@ -286,0 +286,0 @@ schema: OpenApiV3.IJsonSchema,

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