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

@rjgf/swagger2ts

Package Overview
Dependencies
Maintainers
8
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rjgf/swagger2ts - npm Package Compare versions

Comparing version 0.2.2 to 0.2.6

0

dist/index.d.ts

@@ -0,0 +0,0 @@ export interface IOption {

5

dist/index.js

@@ -230,3 +230,4 @@ "use strict";

const formData = instance.requestBody.content['multipart/form-data'];
const json = instance.requestBody.content['application/json'];
const json = instance.requestBody.content['application/json'] ||
instance.requestBody.content['*/*'];
if (formData) {

@@ -249,3 +250,3 @@ body = 'FormData';

else {
const json = successInstance.content['application/json'];
const json = successInstance.content['application/json'] || successInstance.content['*/*'];
if (json) {

@@ -252,0 +253,0 @@ response = generateComponent(void 0, json.schema, 4, json.schema);

@@ -0,0 +0,0 @@ export interface ISwagger {

@@ -0,0 +0,0 @@ "use strict";

@@ -16,3 +16,3 @@ {

],
"gitHead": "4ba43243e1a3e374403ec76522a9f9ed4362a2a0",
"gitHead": "5d951b84d120e643ac59f2ee05b759e8d2c9b1ba",
"license": "Apache-2.0",

@@ -31,3 +31,3 @@ "main": "./dist/index.js",

},
"version": "0.2.2"
"version": "0.2.6"
}

@@ -0,0 +0,0 @@ ### 说明

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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