@samchon/openapi
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -21,3 +21,2 @@ /** | ||
tags?: IDocument.ITag[]; | ||
"x-samchon-emended"?: boolean; | ||
} | ||
@@ -24,0 +23,0 @@ namespace IDocument { |
{ | ||
"name": "@samchon/openapi", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -6,3 +6,4 @@ import { OpenApi } from "../OpenApi"; | ||
export const convert = (input: OpenApiV3_1.IDocument): OpenApi.IDocument => { | ||
if (input["x-samchon-emended"] === true) return input as OpenApi.IDocument; | ||
if ((input as OpenApi.IDocument)["x-samchon-emended"] === true) | ||
return input as OpenApi.IDocument; | ||
return { | ||
@@ -9,0 +10,0 @@ ...input, |
@@ -41,3 +41,2 @@ /** | ||
tags?: IDocument.ITag[]; | ||
"x-samchon-emended"?: boolean; | ||
} | ||
@@ -44,0 +43,0 @@ export namespace IDocument { |
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
168735
4274