@samchon/openapi
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -43,3 +43,3 @@ import { OpenApiV3 } from "./OpenApiV3"; | ||
*/ | ||
const convert: (input: SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument) => IDocument; | ||
const convert: (input: SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument | OpenApi.IDocument) => IDocument; | ||
type Method = "get" | "post" | "put" | "delete" | "options" | "head" | "patch" | "trace"; | ||
@@ -46,0 +46,0 @@ interface IDocument { |
{ | ||
"name": "@samchon/openapi", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -53,3 +53,4 @@ # `@samchon/openapi` | ||
| OpenApiV3.IDocument | ||
| OpenApiV3_1.IDocument = { ... }; | ||
| OpenApiV3_1.IDocument | ||
| OpenApi.IDocument = { ... }; | ||
@@ -56,0 +57,0 @@ // you can convert it to emended OpenAPI v3.1 |
@@ -48,3 +48,7 @@ import { OpenApiV3 } from "./OpenApiV3"; | ||
export const convert = ( | ||
input: SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument, | ||
input: | ||
| SwaggerV2.IDocument | ||
| OpenApiV3.IDocument | ||
| OpenApiV3_1.IDocument | ||
| OpenApi.IDocument, | ||
): IDocument => { | ||
@@ -51,0 +55,0 @@ if (OpenApiV3_1.is(input)) return OpenApiV3_1Converter.convert(input); |
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
167528
4240
65