swagger-routes-express
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "swagger-routes-express", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Connect your Express route controllers to restful paths using your Swagger definition file", | ||
"main": "src/index.js", | ||
"engines": { | ||
"node": "10.9.0", | ||
"npm": "6.4.0" | ||
"node": ">8.12.0" | ||
}, | ||
@@ -23,3 +22,2 @@ "repository": { | ||
"lint": "eslint .", | ||
"precommit": "lint-staged", | ||
"prettier": "prettier --single-quote --no-semi --write '**/*.{js,json}'", | ||
@@ -61,23 +59,28 @@ "test": "find ./test/unit -name '*spec.js' | NODE_ENV=test xargs mocha --require ./test/unit/test_helper.js", | ||
"devDependencies": { | ||
"ajv": "^6.5.3", | ||
"chai": "^4.1.2", | ||
"ajv": "^6.5.4", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^5.4.0", | ||
"eslint-config-prettier": "^3.0.0", | ||
"eslint-config-standard": "^11.0.0", | ||
"eslint": "^5.6.1", | ||
"eslint-config-prettier": "^3.1.0", | ||
"eslint-config-standard": "^12.0.0", | ||
"eslint-plugin-import": "^2.14.0", | ||
"eslint-plugin-mocha": "^5.2.0", | ||
"eslint-plugin-node": "^7.0.1", | ||
"eslint-plugin-prettier": "^2.6.2", | ||
"eslint-plugin-promise": "^4.0.0", | ||
"eslint-plugin-standard": "^3.1.0", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^7.2.2", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"eslint-plugin-promise": "^4.0.1", | ||
"eslint-plugin-standard": "^4.0.0", | ||
"husky": "^1.1.1", | ||
"lint-staged": "^7.3.0", | ||
"mocha": "^5.2.0", | ||
"nyc": "^12.0.2", | ||
"prettier": "^1.14.2", | ||
"proxyquire": "^2.0.0", | ||
"sinon": "^6.1.5", | ||
"nyc": "^13.0.1", | ||
"prettier": "^1.14.3", | ||
"proxyquire": "^2.1.0", | ||
"sinon": "^6.3.5", | ||
"sinon-chai": "^3.1.0" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
} | ||
} |
@@ -19,3 +19,3 @@ # swagger-routes-express | ||
1. You are using [`expressjs`](http://www.expressjs.com) | ||
2. You are using [`swagger`](http://swagger.io) | ||
2. You are using [`swagger`](http://swagger.io) _version 2_ | ||
@@ -32,3 +32,3 @@ ## Install | ||
Given a swagger YAML file `my-api.yml` along the lines of: | ||
Given a Swagger (v2) YAML file `my-api.yml` along the lines of: | ||
@@ -212,4 +212,8 @@ swagger: "2.0" | ||
## What about Swagger Version 3? | ||
Support for Swagger Version 3 is [currently being considered](https://github.com/davesag/swagger-routes-express/milestone/1). | ||
## Contributing | ||
Please see the [contributing notes](CONTRIBUTING.md). |
24728
217