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

swagger-enforcer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-enforcer - npm Package Compare versions

Comparing version 1.0.0-alpha.4 to 1.0.0

2

package.json
{
"name": "swagger-enforcer",
"version": "1.0.0-alpha.4",
"version": "1.0.0",
"description": "Automatically validate a value against the swagger schema while you build it. Alternatively you can validate the final value.",

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

@@ -129,2 +129,4 @@ [![Build Status](https://travis-ci.org/byu-oit-appdev/swagger-enforcer.svg?branch=master)](https://travis-ci.org/byu-oit-appdev/swagger-enforcer)

* *schema* - The swagger schema to use for enforcement of values.
* *definitions* - An object containing definitions by name. Definitions are only necessary if using discriminators.

@@ -205,2 +207,4 @@

This method requires that your running a version of JavaScript that supports the [native Proxy interface](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy).
**Signature:** `.enforce ( [ initial ]) : *`

@@ -207,0 +211,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