loopback-jsonschema-generator
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "loopback-jsonschema-generator", | ||
"version": "1.0.0", | ||
"description": "Adds JSON schema endpoints for each Loopback model", | ||
"version": "1.0.1", | ||
"description": "Generates JSON schemas for your Loopback models", | ||
"main": "dist", | ||
@@ -14,3 +14,3 @@ "scripts": { | ||
"lint": "eslint .", | ||
"build": "NODE_ENV=production babel src -d dist", | ||
"build": "NODE_ENV=production babel src -d dist -D", | ||
"prepublish": "npm run clean && npm run build" | ||
@@ -24,2 +24,13 @@ }, | ||
"license": "ISC", | ||
"keywords": [ | ||
"loopback", | ||
"json-schema", | ||
"json", | ||
"schema", | ||
"json schema", | ||
"jsonschema", | ||
"generator", | ||
"strongloop", | ||
"component" | ||
], | ||
"bugs": { | ||
@@ -26,0 +37,0 @@ "url": "https://github.com/chrisandrews7/loopback-jsonschema-generator/issues" |
@@ -20,4 +20,4 @@ # Loopback JSON Schema Generator | ||
{ | ||
"loopback-jsonschema-generator": {} | ||
... | ||
"loopback-jsonschema-generator": {}, | ||
"..." | ||
} | ||
@@ -36,4 +36,4 @@ ``` | ||
"url": "json-schema" | ||
} | ||
... | ||
}, | ||
"..." | ||
} | ||
@@ -44,3 +44,3 @@ ``` | ||
### Define a model inside loopback | ||
### Define a model inside loopback as normal | ||
@@ -66,3 +66,3 @@ ```json | ||
### Access the JSON schema url | ||
### Access the generated JSON schema url | ||
@@ -90,2 +90,2 @@ `http://yourapi.com/api/products/json-schema` | ||
http://json-schema.org/ | ||
http://json-schema.org/ |
34489
31
1083
87