@samchon/openapi
Advanced tools
Comparing version 0.1.14-dev.20240415 to 0.1.14-dev.20240415-2
@@ -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; | ||
} | ||
} |
@@ -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, |
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
170154
4288