openapi-schema-validation
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -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 @@ }, |
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
11673
2
9
228
- Removedjson-schema@0.2.2
- Removedjson-schema@0.2.2(transitive)