New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-openapi-validation

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-openapi-validation - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

22

package.json
{
"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
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