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

openapi-schema-validation

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openapi-schema-validation - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

json-schema-draft-04.json

2

index.js

@@ -5,3 +5,3 @@ var loggingKey = require('./package.json').name;

var v = new Validator();
var jsonSchema = JSON.parse(fs.readFileSync(require.resolve('json-schema/draft-04/schema'), 'utf8'));
var jsonSchema = require('./json-schema-draft-04.json');
var swaggerSchema = require('swagger-schema-official/schema.json');

@@ -8,0 +8,0 @@

{
"name": "openapi-schema-validation",
"version": "0.1.0",
"version": "0.2.0",
"description": "Validate openapi documents.",

@@ -34,3 +34,2 @@ "scripts": {

"dependencies": {
"json-schema": "0.2.2",
"jsonschema": "1.0.2",

@@ -37,0 +36,0 @@ "swagger-schema-official": "2.0.0-bab6bed"

@@ -8,2 +8,11 @@ module.exports = {

},
definitions: {
User: {
properties: {
name: {
type: 'string'
}
}
}
},
paths: {}

@@ -10,0 +19,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