api-schema-builder
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"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); |
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
52250
746