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.6 to 0.1.7

2

lib/OpenApi.d.ts

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

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