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

api-schema-builder

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-schema-builder - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "api-schema-builder",
"version": "1.0.7",
"version": "1.0.8",
"description": "build schema with validators for each endpoint",

@@ -5,0 +5,0 @@ "main": "src/index.js",

# api-schema-builder
[![NPM Version](https://img.shields.io/npm/v/api-schema-builder.svg?style=flat)](https://npmjs.org/package/express-ajv-swagger-validation)
[![NPM Version](https://img.shields.io/npm/v/api-schema-builder.svg?style=flat)](https://npmjs.org/package/api-schema-builder)
[![Build Status](https://travis-ci.org/Zooz/api-schema-builder.svg?branch=master)](https://travis-ci.org/Zooz/api-schema-builder)

@@ -5,0 +5,0 @@ [![Coverage Status](https://coveralls.io/repos/github/Zooz/api-schema-builder/badge.svg?branch=master)](https://coveralls.io/github/Zooz/api-schema-builder?branch=master)

@@ -114,2 +114,3 @@ const Validators = require('../validators/index'),

const newSchema = cloneDeep(currentDereferencedSchema);
newSchema.required = newSchema.required || [];
newSchema.required.push(...(propertiesAcc.required || []));

@@ -116,0 +117,0 @@ newSchema.properties = Object.assign(newSchema.properties, propertiesAcc.properties);

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