express-openapi-validation
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "express-openapi-validation", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Express middleware for openapi parameter validation.", | ||
"scripts": { | ||
"cover": "istanbul cover _mocha -- ./test/*.js", | ||
"coveralls": "cat ./coverage/lcov.info | coveralls -v", | ||
"test-watch": "mocha -w ./test/*.js ./test/**/*.js", | ||
"test": "mocha ./test/*.js" | ||
"test": "mocha ./test/*.js", | ||
"travis-test": "npm run cover" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/kogosoftwarellc/express-openapi-validation.git" | ||
"url": "git+https://github.com/kogosoftwarellc/open-api.git" | ||
}, | ||
@@ -25,15 +25,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/kogosoftwarellc/express-openapi-validation/issues" | ||
"url": "https://github.com/kogosoftwarellc/open-api/issues" | ||
}, | ||
"homepage": "https://github.com/kogosoftwarellc/express-openapi-validation#readme", | ||
"devDependencies": { | ||
"body-parser": "^1.14.2", | ||
"chai": "^3.4.1", | ||
"coveralls": "^2.11.6", | ||
"express": "^4.13.3", | ||
"glob": "^6.0.3", | ||
"istanbul": "^0.4.1", | ||
"mocha": "^2.3.4", | ||
"supertest": "^1.1.0" | ||
}, | ||
"homepage": "https://github.com/kogosoftwarellc/open-api/tree/master/packages/express-openapi-validation#readme", | ||
"dependencies": { | ||
@@ -40,0 +30,0 @@ "jsonschema": "^1.1.0", |
@@ -11,8 +11,8 @@ # express-openapi-validation [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] | ||
* Small footprint. | ||
* Does not validate parameter input. Converts parameter input to jsonschema using [openapi-jsonschema-parameters](https://github.com/kogosoftwarellc/openapi-jsonschema-parameters). | ||
* Does not validate parameter input. Converts parameter input to jsonschema using [openapi-jsonschema-parameters](https://github.com/kogosoftwarellc/open-api/tree/master/packages/openapi-jsonschema-parameters). | ||
* Leverages [jsonschema](https://www.npmjs.com/package/jsonschema). | ||
* Currently supports openapi 2.0 (a.k.a. swagger 2.0) parameter lists. | ||
* Supports `$ref` in body schemas i.e. `#/definitions/SomeType`. | ||
* Does not supply default values (use [express-openapi-defaults](http://github.com/kogosoftwarellc/express-openapi-defaults)). | ||
* Does not handle type coercion (use [express-openapi-coercion](http://github.com/kogosoftwarellc/express-openapi-coercion)). | ||
* Does not supply default values (use [express-openapi-defaults](https://github.com/kogosoftwarellc/open-api/tree/master/packages/express-openapi-defaults)). | ||
* Does not handle type coercion (use [express-openapi-coercion](https://github.com/kogosoftwarellc/open-api/tree/master/packages/express-openapi-coercion)). | ||
@@ -132,6 +132,6 @@ ## Example | ||
[travis-url]: https://travis-ci.org/kogosoftwarellc/express-openapi-validation | ||
[travis-image]: http://img.shields.io/travis/kogosoftwarellc/express-openapi-validation.svg | ||
[travis-url]: https://travis-ci.org/kogosoftwarellc/open-api | ||
[travis-image]: http://img.shields.io/travis/kogosoftwarellc/open-api.svg | ||
[coveralls-url]: https://coveralls.io/r/kogosoftwarellc/express-openapi-validation | ||
[coveralls-image]: http://img.shields.io/coveralls/kogosoftwarellc/express-openapi-validation/master.svg | ||
[coveralls-url]: https://coveralls.io/r/kogosoftwarellc/open-api | ||
[coveralls-image]: http://img.shields.io/coveralls/kogosoftwarellc/open-api/master.svg |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
42767
44
2