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

swagger-schema

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-schema - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

package.json
{
"name": "swagger-schema",
"version": "0.2.0",
"version": "0.3.0",
"description": "Swagger schema helpers",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -156,2 +156,7 @@ 'use strict';

if (!schema) return;
if (paramType === 'body') {
schema.properties.body = schema.properties.body.properties.body;
}
if (!root.required.length) delete root.required;

@@ -158,0 +163,0 @@

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