{"_id":"express-openapi-validate","_rev":"19-defc1ac38048a3f4a2adc005c53c4940","name":"express-openapi-validate","description":"Express middleware to validate request based on an OpenAPI 3 document","dist-tags":{"latest":"0.6.1"},"versions":{"0.1.0":{"name":"express-openapi-validate","version":"0.1.0","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":"^6.5.0 || ^8.7.0 || >=9.0.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rfv dist","format":"prettier --write *.{md,js,json} 'src/**/*.{js,json,ts}'","lint":"yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn build","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.0.1","lodash":"^4.17.4","semver":"^5.5.0"},"devDependencies":{"@types/express":"^4.11.0","@types/lodash":"^4.14.95","@types/semver":"^5.4.0","eslint":"^4.16.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","jest":"^22.1.4","prettier":"1.10.2","tslint":"^5.9.1","tslint-config-prettier":"^1.6.0","typescript":"^2.6.2","typescript-eslint-parser":"^12.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-undef":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true},"prettier":{"trailingComma":"es5","proseWrap":"always"},"gitHead":"6378510bc88607d1b79879113f62d59ceeacbb33","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"6.11.5","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-TDRZyvv93CHzTZViMtTjyC+b+2bkskvvVxfeA2tJ9tjCxIquKB8IO2UllYu/RRco5YWahpW72tjdGc9qXmUV7g==","shasum":"81eb14e6feff865fa8ca589236e5002278128af0","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfO+1tCc2URwf0upmEZdEFEo+AdaF/ors4zv33YGalhwIgGCt+/QRU9bUbYNWl7hIChgxthP2kq/vzNhfiAG6ut4w="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate-0.1.0.tgz_1516871255848_0.8135528808925301"},"directories":{}},"0.1.1":{"name":"express-openapi-validate","version":"0.1.1","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":"^6.5.0 || ^8.7.0 || >=9.0.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rfv dist","format":"prettier --write *.{md,js,json} 'src/**/*.{js,json,ts}'","lint":"yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn build","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.0.1","lodash":"^4.17.4","semver":"^5.5.0"},"devDependencies":{"@types/express":"^4.11.0","@types/lodash":"^4.14.95","@types/semver":"^5.4.0","eslint":"^4.16.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","jest":"^22.1.4","prettier":"1.10.2","tslint":"^5.9.1","tslint-config-prettier":"^1.6.0","typescript":"^2.6.2","typescript-eslint-parser":"^12.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-undef":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true},"prettier":{"trailingComma":"es5","proseWrap":"always"},"gitHead":"e0e01b55131a1a16b806fa0fb1a0dd024e104b0c","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.1.1","_npmVersion":"5.6.0","_nodeVersion":"6.11.5","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-FvrUO4BsI7kCDEhifPsVO0F0CPUbVYmtY7PLjoFuy5K/NGMWIKYjuE7bVVBb9OUgFzlCcB8FHVuiaEhFl8saTw==","shasum":"4bb9be8fa290b961801c054257ab74b30277c7c3","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZA890Mw2OFrpqFNAgcp77Za8J6io/FfygXJuJXm7TPAiAIliAaFsfpwr8wUrthVA0a40CCjMZuauQb5kFBy6gOXw=="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate-0.1.1.tgz_1516871907542_0.533654224127531"},"directories":{}},"0.1.2":{"name":"express-openapi-validate","version":"0.1.2","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":"^6.5.0 || ^8.7.0 || >=9.0.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} 'src/**/*.{js,json,ts}'","lint":"yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn build","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.1.1","lodash":"^4.17.4","semver":"^5.5.0"},"devDependencies":{"@types/express":"^4.11.0","@types/lodash":"^4.14.98","@types/semver":"^5.5.0","eslint":"^4.16.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","jest":"^22.1.4","js-yaml":"^3.10.0","prettier":"1.10.2","tslint":"^5.9.1","tslint-config-prettier":"^1.6.0","typescript":"^2.6.2","typescript-eslint-parser":"^12.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"gitHead":"1c314c643aa7b6b90c52fe9afdfb3c163bbbbda9","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.1.2","_npmVersion":"5.6.0","_nodeVersion":"6.11.5","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-EnRFu89g3owLB6sCkOiNLTzImHJdw1b2wYEHYAH/bjeG8TxcBBWq8ymP3W6F+eLL50LapxwLPnPYhGaw8t6osw==","shasum":"485fd864e4ad055aaf9a46770172e713ef574d7e","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIED2Eg2zMc+eXwDvpc96wDh5mW0LfrMdaS4CUqMjIYwmAiEAiKI4/0X3ZC74BSzqDUTx414Yj/LFzj8oXD6lA5rd6gY="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate-0.1.2.tgz_1517405037628_0.06873880908824503"},"directories":{}},"0.2.0":{"name":"express-openapi-validate","version":"0.2.0","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":"^6.5.0 || ^8.7.0 || >=9.0.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn build","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.1.1","lodash":"^4.17.4","semver":"^5.5.0"},"devDependencies":{"@types/express":"^4.11.1","@types/lodash":"^4.14.100","@types/semver":"^5.5.0","eslint":"^4.17.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","jest":"^22.1.4","js-yaml":"^3.10.0","prettier":"1.10.2","tslint":"^5.9.1","tslint-config-prettier":"^1.7.0","typescript":"^2.7.1","typescript-eslint-parser":"^12.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"gitHead":"dc17a74eb00da5a15343bfc15f327a769d7d950f","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"6.11.5","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-JGgmbs1HPL9HgK3hL5rrXngp5fIg3XMCJqoAtswiSduzf6Es/2ef3Yuu5S0WbdKZrrDKKH4/4Lla7nC156q6kQ==","shasum":"102bd1a02ce05c979b53c497ccc737bb1386154b","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNJbPOwccnl5A2T+0XLAjIDJPsAz1TNXz+Ea/AGrCt3QIgdBgoZBiWKav+Re6TyyKn9sZBjrBO7MMy6m78grameRo="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate-0.2.0.tgz_1517676846458_0.2602561195380986"},"directories":{}},"0.2.1":{"name":"express-openapi-validate","version":"0.2.1","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":"^6.5.0 || ^8.7.0 || >=9.0.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.1.1","lodash":"^4.17.5","semver":"^5.5.0"},"devDependencies":{"@types/express":"^4.11.1","@types/lodash":"^4.14.100","@types/semver":"^5.5.0","eslint":"^4.17.0","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.8.0","jest":"^22.1.4","js-yaml":"^3.10.0","prettier":"1.10.2","tslint":"^5.9.1","tslint-config-prettier":"^1.7.0","typescript":"^2.7.1","typescript-eslint-parser":"^12.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"e54773ecdd2065e3d0d94bec427c92b84e0f70b3","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.2.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-jltjynmZ4a/DOAmc4OzlZjzEUzFzSo+GZBGyDP76bmAWrq4Oy88n1Phm/CwW2tzC5rQ2Uegp4rW9HxTgS3WyLQ==","shasum":"94e323a44f4b1fc4e0f58827798b3c5aa8fdbd67","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbDgV0Vp3cGYw7lAOULvDSd6Q/uest28/awd0PXU/cjgIgNGtU/QHhgpra5mKv+ltM6gU/DueWrHTwytYzCUmoijI="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate-0.2.1.tgz_1517943819513_0.3603480972815305"},"directories":{}},"0.2.2":{"name":"express-openapi-validate","version":"0.2.2","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn clean && yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.2.0","lodash":"^4.17.5","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/express":"^4.11.1","@types/jest":"^22.1.3","@types/js-yaml":"^3.10.1","@types/lodash":"^4.14.104","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.18.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","express":"^4.16.2","jest":"^22.4.2","js-yaml":"^3.10.0","prettier":"1.11.0","supertest":"^3.0.0","ts-jest":"^22.4.0","tslint":"^5.9.1","tslint-config-prettier":"^1.9.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"d0832daf5a507713d3a48834f47b49892bc5eeb9","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.2.2","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-9QQyKTRN43yEGHrRBjzExEyZlWLTC5lM09xQ4pwCNrbvHGKbqsbgmz28hctGkw59ZuRnlf5IRMSZfiKqlyNOSg==","shasum":"87ff7d3f4151c99417f15ef01db4e8b245c19fdc","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.2.2.tgz","fileCount":53,"unpackedSize":306516,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2yQrWnDPvFdqMA5hvwbBjPZG+N+BHgMtRg6QbEOUYAAIhAPVkw92yPnbKgK5u0DQ7PTC2ZlmtUWMEetuGEMELGWhm"}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.2.2_1519845695150_0.10367992480684074"},"_hasShrinkwrap":false},"0.3.0":{"name":"express-openapi-validate","version":"0.3.0","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn clean && yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.2.1","lodash":"^4.17.5","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/express":"^4.11.1","@types/jest":"^22.1.4","@types/js-yaml":"^3.10.1","@types/lodash":"^4.14.104","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.18.2","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","express":"^4.16.2","jest":"^22.4.2","js-yaml":"^3.10.0","prettier":"1.11.1","supertest":"^3.0.0","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-prettier":"^1.9.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"35d137e362123b32db1c21bbc0751999de66c3bc","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.3.0","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-Xsk1Bbvd1whzBUQzmObanvP7jufFsqZPpJXNHZ96NscsaCqACTmPuQ8Fz5ngKK5R0aKci4Gu8Zu7YM/vj51lPA==","shasum":"4888166fb67aef4b51902de1c68a0f3775961b71","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.3.0.tgz","fileCount":54,"unpackedSize":328158,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8OElVBldgB+h552zYnxzknWgI0yqs17LDhdYu0T41awIgA3KE+PSmH7PFe6WLKUVFqmbwSxv9r3Iy4K23gvnF4Mc="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.3.0_1520260539226_0.2890503421289008"},"_hasShrinkwrap":false},"0.3.1":{"name":"express-openapi-validate","version":"0.3.1","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn clean && yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"files":["dist","src","test"],"dependencies":{"ajv":"^6.2.1","lodash":"^4.17.5","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/express":"^4.11.1","@types/jest":"^22.1.4","@types/js-yaml":"^3.10.1","@types/lodash":"^4.14.104","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.18.2","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","express":"^4.16.2","jest":"^22.4.2","js-yaml":"^3.10.0","prettier":"1.11.1","supertest":"^3.0.0","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-prettier":"^1.9.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"af722c74b922b937f9c73b68c9de7f6af66c2326","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.3.1","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-UhsKrCNzRC8AHWzyJyNX6ozqjg9ZAurbJZ3r5hSIKaIRFn8vvjUI8RhyVJ818p+BNOOM8VscsxyYjCXKqLDUVg==","shasum":"d016695f40102c410a5ddd6cdc4f1fa0348b097a","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.3.1.tgz","fileCount":34,"unpackedSize":116971,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFF+f1ZhRGfUUhZX7vjErs0uJyBP7UhiGO94cXhUe1ZAIhAJVHrMnhDtLy5RGiml3g7+N6CbEVgD+v5cQvsh7nu9C/"}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.3.1_1520260958487_0.3958550880370544"},"_hasShrinkwrap":false},"0.3.2":{"name":"express-openapi-validate","version":"0.3.2","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn clean && yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"files":["dist","src","test","resources"],"dependencies":{"ajv":"^6.2.1","lodash":"^4.17.5","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/express":"^4.11.1","@types/jest":"^22.1.4","@types/js-yaml":"^3.10.1","@types/lodash":"^4.14.104","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.18.2","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","express":"^4.16.2","jest":"^22.4.2","js-yaml":"^3.10.0","prettier":"1.11.1","supertest":"^3.0.0","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-prettier":"^1.9.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":["error","global"]}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"94d971c3bd9174ddb9047ac1262297be7392f86d","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.3.2","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-b8b//zWRZP/79vbsMk+aXQBkfjjoEz+/AQgID5VX/FvrBxLHAYPmLHuz6e0+YfGmIVDTa5BDoT+Jkbflcyq6FQ==","shasum":"e15ceadf4778c593199bbc405071f7cd1ab7b2ee","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.3.2.tgz","fileCount":35,"unpackedSize":118133,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDGODSBAciEFLcSG8AFZ5XYC9c+yeuXEgRIQW7XTNUxFgIhAMMoMrM9nWrAGezpDYWJil8bRI4xYNqD2eignuJuTCDu"}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.3.2_1520261926863_0.8669871499106763"},"_hasShrinkwrap":false},"0.4.0":{"name":"express-openapi-validate","version":"0.4.0","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn clean && yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"files":["dist","src","test","resources"],"dependencies":{"ajv":"^6.2.1","debug":"^3.1.0","lodash":"^4.17.5","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/debug":"^0.0.30","@types/express":"^4.11.1","@types/jest":"^22.1.4","@types/js-yaml":"^3.10.1","@types/lodash":"^4.14.104","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.18.2","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","express":"^4.16.2","jest":"^22.4.2","js-yaml":"^3.10.0","prettier":"1.11.1","supertest":"^3.0.0","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-prettier":"^1.9.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":"off"}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"0dcb8653cbda56d37b587b4fbe854acd5c6e5f6a","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.4.0","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-62ZiTOhfRS8l1Vlie/xo2mtV9woOlaquKQ8dYYfI9gYe6LAOLjADm2Dxv96Ya6/DYHo+oyaHWaswCU3Vc07qvw==","shasum":"f4e5da8547160d617c6d7e8eff942ae2931e9f1f","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.4.0.tgz","fileCount":40,"unpackedSize":123699,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDzXJV+j4sPa2G92BUWy9p4CKDilZ9iOkbNBraJx5XJAIgHEInqSQLP3aemb1aaMof1VZ2g0Xr7j8J6jyd0XsnCQA="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.4.0_1520340193345_0.2755281945107002"},"_hasShrinkwrap":false},"0.4.1":{"name":"express-openapi-validate","version":"0.4.1","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"yarn clean && yarn build:ts","build:ts":"tsc","clean":"rm -rf dist","format":"prettier --write *.{md,js,json} '{src,test}/**/*.{js,json,ts}'","lint":"yarn clean && yarn lint:eslint && yarn lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"yarn lint && yarn test:jest","pretest:jest":"yarn build","test:jest":"jest"},"files":["dist","src","test","resources"],"dependencies":{"ajv":"^6.4.0","debug":"^3.1.0","lodash":"^4.17.5","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/debug":"^0.0.30","@types/express":"^4.11.1","@types/jest":"^22.2.2","@types/js-yaml":"^3.11.1","@types/lodash":"^4.14.106","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","express":"^4.16.2","jest":"^22.4.2","js-yaml":"^3.10.0","prettier":"1.11.1","supertest":"^3.0.0","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-prettier":"^1.9.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":"off"}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"16d6c51de2db50f3237666a55a7f474f73658e79","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.4.1","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-gnS0iMxeAjnMNlHCOPyeeX0/RzEtWeT8k15ynlsYiPgLG8vzyL+zE7oy2Y89UU+1SbwXakVSsL+8SXW2z/C6pQ==","shasum":"1d260be92e5f904a2342fe43008ff96b4074e938","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.4.1.tgz","fileCount":40,"unpackedSize":123861,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBrirQ1z5OQYeeQN5TbdNNvjThiDOs1hRnSEbw4wUzYQIhAOvfzIZGk07GdLYiRP0bW1Ol1M4+Ze/n5AAgpDaxwCD9"}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.4.1_1523360212434_0.5359110942673313"},"_hasShrinkwrap":false},"0.4.2":{"name":"express-openapi-validate","version":"0.4.2","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"run-s clean build:ts","build:ts":"tsc","clean":"rimraf dist","format":"prettier --write \"*.{md,js,json}\" \"{src,test}/**/*.{js,json,ts}\"","lint":"run-s clean lint:eslint lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"run-s lint test:jest test:format","test:format":"yarn format --list-different","pretest:jest":"yarn build","test:jest":"jest"},"files":["dist","src","test","resources"],"dependencies":{"ajv":"^6.5.0","debug":"^3.1.0","lodash":"^4.17.10","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/debug":"^0.0.30","@types/express":"^4.11.1","@types/jest":"^22.2.3","@types/js-yaml":"^3.11.1","@types/lodash":"^4.14.109","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.12.0","express":"^4.16.2","jest":"^23.0.1","js-yaml":"^3.10.0","npm-run-all":"^4.1.3","prettier":"1.13.2","rimraf":"^2.6.2","supertest":"^3.1.0","ts-jest":"^22.4.6","tslint":"^5.10.0","tslint-config-prettier":"^1.13.0","typescript":"^2.8.3","typescript-eslint-parser":"^15.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"linebreak-style":"off","no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":"off"}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"744b9475104ddbebc5318da9964fb604f700c551","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.4.2","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-hyUqmxhKyc8fqSr+UKFj1Tvc+qV6rAmrPRgevhlFB34JxzxvePuoOsr/KfpRhQwkL8bBSqnIxaI26qof4nAYKA==","shasum":"5768974bd809338c506886f934124e4861d73983","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.4.2.tgz","fileCount":43,"unpackedSize":132363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDUv0CRA9TVsSAnZWagAAQOEP/217shfcB0BUC1MBYZWV\n9YaPhQiFj6RC+hxIyllpYCfKn46gXzPdsiJ14g+6G0JK+/+6umM9auRwu6kw\nkkN+G6X7zDEZafrmBEMgMaO2y54PMY3RRdAPLug7oBGgRurEdmtfxZr4vaWs\n3agIOI8V6tHfFlSAsnwrsrPX06tTLLbRraUGCCCfcpvghPMe99Az2HtTV/1q\nMUH9cRCCCdC0yqdG/2FmsfdBrY38KLKO4i3JQbXhZglGau9kw8RRxWdib5CR\nLx+hn+OgxEaN1BMVqjidFpDM6wtrKE+CQriAck2Wilgx6YkUJWZ6QF30/aKZ\nCUkKHd7Vfi3sTPv3nCatv/ugtlXlMg+MsILXYQannMqkSNe4ESxw3Gpnyb4Q\nxo0Yqm89kfFKEyRVRdBuulU8qF+LxuW/Aur3uQHrIoLsP/Rie/ewWi1h3SCS\nu/sBJJOxX8C9dEEE5mLKnClmKwdNyVKM1gjp0d9Vmz8sfrhFtMB6letv8jGA\nE4fd/sf59EY6ckNwIsj6BGQWle4il8VLRiRpSZ/e/L9o9ak8632kid4/GTCn\nOsTYtsThWWlZRhnan16448NnZh3hJ7JiIhzp4dBiHJ1Cpkl6XkdgTGC3epSG\nv+fzsHZ/xt40yyWkoolLeT093VHszDB61A4zgUX0OyXPd8p3g8gZF4n2lMCk\nfr/+\r\n=zbRi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9nNS5sp01F023QZkPABdMBhjsg09Ga8dd2Rq1qm4osAiAFl9nDcb0EzlrZezDIPj1hlysarYJ5Z64RYKz83botzg=="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.4.2_1527598066677_0.109520832776417"},"_hasShrinkwrap":false},"0.4.3":{"name":"express-openapi-validate","version":"0.4.3","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"run-s clean build:ts","build:ts":"tsc","clean":"rimraf dist","format":"prettier --write \"*.{md,js,json}\" \"{src,test}/**/*.{js,json,ts}\"","lint":"run-s clean lint:eslint lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint --project tsconfig.json","prepublishOnly":"yarn test","test":"run-s lint test:jest test:format","test:format":"yarn format --list-different","pretest:jest":"yarn build","test:jest":"jest"},"files":["dist","src","test","resources"],"dependencies":{"ajv":"^6.5.0","debug":"^3.1.0","lodash":"^4.17.10","semver":"^5.5.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/debug":"^0.0.30","@types/express":"^4.11.1","@types/jest":"^22.2.3","@types/js-yaml":"^3.11.1","@types/lodash":"^4.14.109","@types/semver":"^5.5.0","@types/supertest":"^2.0.4","cookie-parser":"^1.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.12.0","express":"^4.16.2","jest":"^23.0.1","js-yaml":"^3.10.0","npm-run-all":"^4.1.3","prettier":"1.13.2","rimraf":"^2.6.2","supertest":"^3.1.0","ts-jest":"^22.4.6","tslint":"^5.10.0","tslint-config-prettier":"^1.13.0","typescript":"^2.8.3","typescript-eslint-parser":"^15.0.0"},"eslintConfig":{"extends":["eslint:recommended","airbnb-base","prettier"],"parser":"typescript-eslint-parser","settings":{"import/extensions":[".ts",".js"],"import/resolver":{"node":{"extensions":[".ts",".js",".json"]}}},"env":{"jest":true,"node":true},"rules":{"import/extensions":["error","always",{"ts":"never","js":"never"}],"import/no-unresolved":["error",{"ignore":["\\.\\.?/dist/"]}],"linebreak-style":"off","no-restricted-globals":"off","no-undef":"off","no-underscore-dangle":"off","no-unused-vars":"off","no-useless-constructor":"off","strict":"off"}},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["<rootDir>/dist/","<rootDir>/node_modules/"],"transform":{"^.+\\.ts$":"ts-jest"},"testRegex":"(/__tests__/.*|(\\.|/)(test|spec))\\.(js|ts)$","moduleFileExtensions":["ts","js","json","node"]},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"a7a60cc10e7cc5c78ac099a8ed72123b8f5017a2","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.4.3","_npmVersion":"5.6.0","_nodeVersion":"10.2.1","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-k+WfPSpnNv6UYoQk01FcaEQEB7Uo5h4N8XcrBEb1JgPVSTPrG39ogI9/nLMpBPUtWfUYvMIyGOz1GWx1zhFwsQ==","shasum":"a30558c1cbf97a445590af0a0fc96084b1e3eabe","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.4.3.tgz","fileCount":43,"unpackedSize":132434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDV94CRA9TVsSAnZWagAAEp4P/Akc4yn8uKeaqesC2qVG\n47nzU25N+ZQIeN5X6yREbtWend1SbiZbNjvsBx42X5nBZ3dkh7kFVGj5E5Dd\n3KO0n5WcYckwlORps0CJrZFAolagtVpyIKGYIV5sUwIC4XtF3IwU2CEt1/sn\nTyKUbHJ+BSj8Um1Cd6NzvqXJZOt5lhLKsBnMXajtGoxmxejzK6kYiz4ovfNu\nTjs8nTnhC1ny9FCH9tPzpxI7w8iacapFh5S5Lzn1XNljJT9YKBOcgN2jhPNp\nUb9DYnPPxJ8nodIPCartRhfHPxVPR8hnWwll1pcLvReIzKX1kgyIyel3d3Fw\nHORtDcDp3GSiyMxWhylf8qF4URH9A9iHNdffwbeolMFiJYp8Bsly0N3H0+RI\nyHNohJYnr6EcOP7HQwRrCqw0i2v4YuCEG+wHjZjV7quVoSX8xiThJwAKD9PQ\nYPZsfKuCQlP//qedkjIp6ju7kOSplTc200PiLJ4Eg/XKOTX1fUzQRo4ZKcB8\nKktrWn15qqDZrC4Qfb+DulWjYHxk94I/O7kKXqehzRttMNBFN6cPjWTuVBRO\nzivOl4cGRHN1EnDSU52wDygvVNLNIHlVeU9PPK18vOeXicrox6uLzu9g/JA5\np0ZVdQGHIuO7LNy6p8oYTecfPRI/ciaLjJKCcOOuXulV7KLVBKo87ic9Kt/j\ns4uC\r\n=OiFw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQzqNOi+BBqDdZ7PUTH9Xn19tjrb0X5JfRY3VQvYuOGAiBOgrruHjudMfbYVAbfqvXlEiQDkImMa5em+Jlpi9f+Dg=="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.4.3_1527603063474_0.9765123673376828"},"_hasShrinkwrap":false},"0.4.4":{"name":"express-openapi-validate","version":"0.4.4","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=9.0.0 || ^8.7.0 || ^6.5.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"run-s clean build:ts","build:ts":"tsc","clean":"rimraf dist","format":"yarn format:prettier --write","format:prettier":"prettier \"*.{js,json,md,ts,yaml,yml}\" \"{resources,src,test}/**/*.{js,json,md,ts,yaml,yml}\"","lint":"run-s clean lint:eslint lint:tslint","lint:eslint":"eslint --ext js,ts .","lint:tslint":"tslint -t verbose --project tsconfig.json","prepublishOnly":"yarn test","test":"run-s lint test:jest test:format","test:format":"yarn format:prettier --list-different","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.5.4","debug":"^4.1.0","lodash":"^4.17.11","semver":"^5.6.0"},"devDependencies":{"@types/cookie-parser":"^1.4.1","@types/debug":"^0.0.31","@types/express":"^4.16.0","@types/jest":"^23.3.7","@types/js-yaml":"^3.11.2","@types/lodash":"^4.14.117","@types/semver":"^5.5.0","@types/supertest":"^2.0.6","cookie-parser":"^1.4.3","eslint":"^5.7.0","eslint-config-airbnb-base":"^13.1.0","eslint-config-prettier":"^3.1.0","eslint-plugin-import":"^2.14.0","eslint-plugin-typescript":"^0.12.0","express":"^4.16.4","jest":"^23.6.0","js-yaml":"^3.12.0","npm-run-all":"^4.1.3","prettier":"1.14.3","rimraf":"^2.6.2","supertest":"^3.3.0","ts-jest":"^23.10.4","tslint":"^5.11.0","tslint-config-prettier":"^1.15.0","typescript":"^3.1.3","typescript-eslint-parser":"^20.0.0"},"prettier":{"tabWidth":2,"trailingComma":"es5","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"c647e29ad92402bd3f4b0b1e0a09baadab3093e5","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.4.4","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"dist":{"integrity":"sha512-Zc52uKs7j/kTF/iYpRQjt5lJVOH6mwGJ3Y4V14MN752lqYo3ImRsRYZEORDZZUXfxyGaV8zXOvO9u8AcUTqneQ==","shasum":"753f07ec92a36ef7041a622742215da6a27aeade","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.4.4.tgz","fileCount":60,"unpackedSize":152201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0EXZCRA9TVsSAnZWagAAbnUP/1hZt71ZHq3HcrgQqG6S\nC8NiPqQ9HUXPBg+VKNyC7fKfssN1HtLuEjg8aORAmiBGwNtU6GgVFsRWlWVR\nzYz5L82KoBP+bXtIHZaDMFLjXLLTVrCMjAD328c2d/iAt+otpikNMAfP2aDZ\nQOnvi71OeYZAgtJnwTkX9CdsdlpBEG56LhQe5PVuF/k8Kc/TGw4sEqi/qRWl\npfB1V2evbjjX7WmIANba4HBqqo57eMKXusgzPh2iRiTH2q4SrEJjUJLYY/n1\nDAzS4wL/NDaeOqHWnhFw08MNTXt6C6NCbiZyxgumXqCwAt1uSBSnqx8khLEr\nK1w+icL6/JlTPYNqM1i86eZdUPECYa66wSvxu9jK7y0d5K9IPgCn+U+ifxUm\nGkemo6LKTpuobAnOi9th4d4mSzW5mKRqLqZEi1Y5I2Zwlg3M2shriciiT8Jt\nnQbZH9TzZnqFgnJqHX9Fz1Fh7N7p5Gw8xifQ6Yfmd5zVjnpIgiYOJVQdpua6\nXSPdvij30aPwiTInefUwq9hs9TfuZ/5JUii4XGrBvDlQnvpRBWcB2VSkd0DK\ni5PMxyc+3Ln5RNpFeT7JYPxltbF1Yzfg6D0ovHpqZ5UXS7F+YnkfUOS9ODQN\nvfBSMxWi3LJWHWNOqBYw97Q1X2M1na4Sypp9SOwX6ZwDDEXFGUpZzDF7WbTB\n7gLp\r\n=HaUq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICDiOtqmZT3wHmvkh1Lmyunc3qYP8Eujb8ePvreuK9KgAiAj39tj1se6cx4nljNRjGBG5y4Xwkr5haFWco+ZR2SheA=="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.4.4_1540376025012_0.2956903482543176"},"_hasShrinkwrap":false},"0.5.0":{"name":"express-openapi-validate","version":"0.5.0","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=12.13.0 || ^10.13.0","yarn":"^1.21.1"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"run-s clean build:ts","build:ts":"tsc","clean":"rimraf dist","format":"yarn format:prettier --write","format:prettier":"prettier \"*.{js,json,md,ts,yaml,yml}\" \"{resources,src,test}/**/*.{js,json,md,ts,yaml,yml}\"","lint":"eslint --ext js,ts .","prepublishOnly":"yarn test","test":"run-s lint test:jest test:format","test:format":"yarn format:prettier --check","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.11.0","debug":"^4.1.1","lodash":"^4.17.15","path-to-regexp":"^6.1.0","semver":"^7.1.1"},"devDependencies":{"@types/cookie-parser":"^1.4.2","@types/debug":"^4.1.5","@types/express":"^4.17.2","@types/jest":"^24.9.1","@types/js-yaml":"^3.12.2","@types/lodash":"^4.14.149","@types/semver":"^6.2.0","@types/supertest":"^2.0.8","@typescript-eslint/eslint-plugin":"^2.17.0","@typescript-eslint/parser":"^2.17.0","cookie-parser":"^1.4.4","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.0.0","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.20.0","express":"^4.17.1","jest":"^25.1.0","js-yaml":"^3.13.1","npm-run-all":"^4.1.3","prettier":"1.19.1","rimraf":"^3.0.0","supertest":"^4.0.2","ts-jest":"^25.0.0","typescript":"^3.7.5"},"prettier":{"tabWidth":2,"trailingComma":"all","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"e0d7377f63da1a30fac9bfa78a715803bd165266","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.5.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-XT2By4kQagCGei10klbdpz3ycLLOGYjD8VYuUvVe5xiRLnT7VF0LaVqxVHEQISgEnUX/yaD5LKNH8QRMqN7GjQ==","shasum":"116db7f911b81c0f4b813ba919fe738d0936634d","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.5.0.tgz","fileCount":60,"unpackedSize":158754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLtC7CRA9TVsSAnZWagAALvQP/19612hrTfI71t858T9C\nlP/9PoA+8+vuA2FzxWLBzzLmExqZztjm3GrxpCPG0Pph6OAXCvDwSueWdvG8\nNd8HRlGWLY5hdi+lS2gKCnw7uy6NIX9XBSPECXXoJQ9ZkvhAf2M82QCmze/6\nZ9D3XQOhjeYf4VlEyu4mjhBn2ScBQAUyPx0uaY8egYCaeqV+UJRuG0oa4maL\nfH4OshsE9//nrLJj5qoBinA6pdC/0e2ZOoXH4EnE7j5KKz5mGEZ3wPMtHLoL\nohTArQdAt+06uq4yX2d6i2tSN69/M71dxK8QabLjKmsbGUacVcZuHG/zzN1n\ntXUy4pWV4Fe1SAbEdmNZxSZMMMnhwLrC7Sf8ZWBDpL+NuHhB3e/gSovUEoVI\nBVhNEcsnOiVpCfdPPT7tPruEixPvuQZ/j8ClEvv1QmB500iHeYPPbyKQKqtz\nW7oIIATWXkLDL5aYth+eWN4VCJ8BoJ4DMIyoTddd+QpqsbMX+Iec8Mw/xP1r\nVQJYkwm6ZJApLsFUsw5oYMzPp8es23tC7EgogCu7YmKk1KBV5WuSpFKrpqCX\nV0R3A2mx5O1cBsrjJXEiXAmN6XY79efqAWOM9FmNftmvYMAV7DoZ7gEd15iJ\nut6TZDocvnwpcAV6slXt2tullc/+t+X7g1VPIAig+ww1gdwRMVesjGlOPN2W\ns2or\r\n=tJDW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDijFBnAEVz17Ta94ALCal2R+g9vDGxPXvuR8EyQpwXEAIhAPHXJHh6H/x/jfKlQ9yt8fZWzUwsQRNpr7hZQN7mHXFo"}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.5.0_1580126395253_0.18919073674322018"},"_hasShrinkwrap":false},"0.5.1":{"name":"express-openapi-validate","version":"0.5.1","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=12.13.0 || ^10.13.0"},"keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"run-s clean build:ts","build:ts":"tsc","clean":"rimraf dist","format":"yarn format:prettier --write","format:prettier":"prettier \"*.{js,json,md,ts,yaml,yml}\" \"{resources,src,test}/**/*.{js,json,md,ts,yaml,yml}\"","lint":"eslint --ext js,ts .","prepublishOnly":"yarn test","test":"run-s lint test:jest test:format","test:format":"yarn format:prettier --check","pretest:jest":"yarn build","test:jest":"jest"},"dependencies":{"ajv":"^6.12.0","debug":"^4.1.1","lodash":"^4.17.15","path-to-regexp":"^6.1.0","semver":"^7.1.3"},"devDependencies":{"@types/cookie-parser":"^1.4.2","@types/debug":"^4.1.5","@types/express":"^4.17.3","@types/jest":"^25.1.4","@types/js-yaml":"^3.12.2","@types/lodash":"^4.14.149","@types/semver":"^7.1.0","@types/supertest":"^2.0.8","@typescript-eslint/eslint-plugin":"^2.24.0","@typescript-eslint/parser":"^2.24.0","cookie-parser":"^1.4.5","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-config-prettier":"^6.10.0","eslint-plugin-import":"^2.20.1","express":"^4.17.1","jest":"^25.1.0","js-yaml":"^3.13.1","npm-run-all":"^4.1.3","prettier":"1.19.1","rimraf":"^3.0.2","supertest":"^4.0.2","ts-jest":"^25.2.1","typescript":"^3.8.3"},"prettier":{"tabWidth":2,"trailingComma":"all","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"71b4af06b3c96fa5b38d877c3f623986f17b5945","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.5.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-owWh/G1SPvDTrilbJ2X3U0wsLZ+8EC6/sZNbbhW2F1zPplFy2Io7tnZKve4SmvRATEMqHF2nCyf7hDX9eXzHnQ==","shasum":"dee1f74af1f3df5a089cd85c6aa22118f447c621","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.5.1.tgz","fileCount":60,"unpackedSize":160018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecedXCRA9TVsSAnZWagAA27QP+QBd23C4lu9LwXLMDu51\n47NlVXks2V473rW+wDi3kQHItPMp8u+jj+Fi7SmoycSCGFGuJylyr7HsPlGU\nADv3+G56JIUhc1t5jVMcUBeMwCxIQl8N0pSuJC9P3m6ifoVndvQvgtbijnUA\nFQyOENMmBir2aBCX3V1ezHnc5kGJbexnG5fBnhRdb4TSdag2HFpZeU2ZWzBo\nfip7DLY3hYNK/Q1gY3VA/JxHOriQaMtJglHYP9ERXf/503nEuv94nEm1HDM4\nn0frbcKeAAGlimeOf6Wz+4v0qiqRk9CTwA6H6wgyQH55cqRbqgGb17bKVh+S\nKBktbmRBsfD31v2mmXfWHTUPOxh+VOYFmKTVyoKP30qNEkLFqtDf/GMSN9Gx\nCO3F+fL9R+3Qyiu/v6gfePa7GkXUt2rIF1pRWxXKggYjQhtOca8tKMuvC8nE\nIjoD/a+BQbyjvoz4qcJ/hOaGa9rQMKdBLyE7VQ1DBlM0nRSDHxkeioVE74tQ\n55g2ZPXv38AJgEI+Q/226Nu4WMKvmnzr7V/dw1egVmiD0ZY8UDey5GS/PyN8\nWS4z1EE11l0gVek2zTmqBzQ0+gPvvQo9S/45rIeuNUc6U0bb9H4+17ECnyHK\nTAsStZq9h16gzeVwy6vFwg2vzYBcIN+TsERbezPdep5rqF1ybPHAPEgMjKgx\nWdV2\r\n=8jm6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5kyuvg7F7QQ7gg4PrIlGHxlz+7aXVHFPEAMLfE8bxyAiAYOyr6XaC5IZB9N5ZAGGzZrmg/WdMV7yMYCg0JuGPKIw=="}]},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.5.1_1584523095170_0.5941948193547946"},"_hasShrinkwrap":false},"0.6.0":{"name":"express-openapi-validate","version":"0.6.0","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=12.13.0"},"type":"commonjs","keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"run-s clean build:ts","build:ts":"tsc","clean":"rimraf dist","format":"npm run format:prettier -- --write","format:prettier":"prettier --ignore-path .gitignore .","lint":"eslint .","prepublishOnly":"npm test","test":"run-s lint test:jest test:format","test:format":"npm run format:prettier -- --check","pretest:jest":"npm run build","test:jest":"jest"},"dependencies":{"ajv":"^8.2.0","ajv-formats":"^2.0.2","debug":"^4.3.1","lodash":"^4.17.21","path-to-regexp":"^6.2.0","semver":"^7.3.4"},"devDependencies":{"@types/cookie-parser":"^1.4.2","@types/debug":"^4.1.5","@types/express":"^4.17.11","@types/jest":"^26.0.20","@types/js-yaml":"^4.0.0","@types/lodash":"^4.14.168","@types/semver":"^7.3.4","@types/supertest":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.15.1","@typescript-eslint/parser":"^4.15.1","cookie-parser":"^1.4.5","eslint":"^7.20.0","eslint-config-prettier":"^8.0.0","eslint-plugin-import":"^2.22.1","express":"^4.17.1","jest":"^26.6.3","js-yaml":"^4.0.0","npm-run-all":"^4.1.5","prettier":"2.2.1","rimraf":"^3.0.2","supertest":"^6.1.3","ts-jest":"^26.5.1","typescript":"^4.1.5"},"prettier":{"tabWidth":2,"trailingComma":"all","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"a77af291d68d5da7911c6ab41e6cde886ee681af","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.6.0","_nodeVersion":"16.0.0","_npmVersion":"7.11.1","dist":{"integrity":"sha512-1H4EgbhviQirudTNnoCKS79ByWmiapLnCNJ9sppB3krqZAliMCb1QyJ2imB1iRHK8cvcexMf4UenxDwS+lnSzQ==","shasum":"7dd96fa5dde285597332ee3b11ee3b5a1f267028","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.6.0.tgz","fileCount":55,"unpackedSize":158951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiTx0CRA9TVsSAnZWagAAm0cP+gOV0v+hvEBYK+xJgIjK\neQOJgvNaWv/iFaWnBTNA6JQ6/bvD0fMqhWncAkvxKBbQLCldR6SeM/j0efnO\niJWzy08jqWdJkuDMr1XqPfI2LGLosrfVskAYwPlUViXswrkknX69cn26YjpF\nUnJxETLxaqNqv6oF94ml6E6J0Ni4+t8lAAB+J42HJDAEn9MsyT4WzJf1TYBw\ngISEdB1BID5hpZGuU1b2b43PL5tqE7StxVwJEF5jHv2wVBt3xqsvWSJm/5IH\nmg77dZ071mNm5yAC5BUfr1yVVmcsFLTjYyJ1GG5TgfwRSjR5TTDNnsJ6hkqq\nmw8QZr/bPvWx2XoLKFQnsEs8yIItoXmXMKcZitwNPVOSXTWr7oS/g7UmcB2d\n34P6CVGYUemEsunB9fAX6v/w3ROfbUyQe4xt1hrjsQys7f8dyH+OlPzFN3QQ\nB0hWooulVtou5I0WBRO5bh9ZlLJKXMYy1IhFWsT3EOQdC3rdEh9RxAvQ2BCC\nEvGdjIGd39sb79BZ2Pz8EM/SlsOJIe5VXzNG2uoEsG3XCM/10XHPopUL+r+8\nS7UDqPaEsnx9PQ5qNLkrKfY/L4leBuWA+x9JaAEqxRI/rQdLwr3GbOKaQNIq\n8XuWMobbIIv4ccKMvFY5Dij/xLjpQWH+oqce8cFMoXE66uyCRFbwJqlgc7Nf\n49iu\r\n=S0+a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHpCzlU65xfQRILBQeAXw0Boo01ZDKuo2IqhrrIi7toAiAhOqup0y4InCCfHjL9kYwrRqr3aw3yjJ9Ui1Unymf56g=="}]},"_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"directories":{},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.6.0_1619606644436_0.5158005946080284"},"_hasShrinkwrap":false},"0.6.1":{"name":"express-openapi-validate","version":"0.6.1","description":"Express middleware to validate request based on an OpenAPI 3 document","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"license":"Apache-2.0","private":false,"engines":{"node":">=12.13.0"},"type":"commonjs","keywords":["openapi","openapi3","swagger","express","middleware","validation"],"scripts":{"build":"run-s clean build:ts","build:ts":"tsc","clean":"rimraf dist","format":"npm run format:prettier -- --write","format:prettier":"prettier --ignore-path .gitignore .","lint":"eslint .","prepublishOnly":"npm test","test":"run-s lint test:jest test:format","test:format":"npm run format:prettier -- --check","pretest:jest":"npm run build","test:jest":"jest"},"dependencies":{"ajv":"^8.2.0","ajv-formats":"^2.0.2","debug":"^4.3.1","lodash":"^4.17.21","path-to-regexp":"^6.2.0","semver":"^7.3.4"},"devDependencies":{"@types/cookie-parser":"^1.4.2","@types/debug":"^4.1.5","@types/express":"^4.17.11","@types/jest":"^26.0.20","@types/js-yaml":"^4.0.0","@types/lodash":"^4.14.168","@types/semver":"^7.3.4","@types/supertest":"^2.0.10","@typescript-eslint/eslint-plugin":"^4.15.1","@typescript-eslint/parser":"^4.15.1","cookie-parser":"^1.4.5","eslint":"^7.20.0","eslint-config-prettier":"^8.0.0","eslint-plugin-import":"^2.22.1","express":"^4.17.1","jest":"^26.6.3","js-yaml":"^4.0.0","npm-run-all":"^4.1.5","prettier":"2.2.1","rimraf":"^3.0.2","supertest":"^6.1.3","ts-jest":"^26.5.1","typescript":"^4.1.5"},"prettier":{"tabWidth":2,"trailingComma":"all","printWidth":80,"proseWrap":"always"},"runkitExampleFilename":"resources/runkit-example.js","gitHead":"4c37230fad5dc5bc69f849f8626f9aa9ff17c662","bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","_id":"express-openapi-validate@0.6.1","_nodeVersion":"16.0.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-29sRzV0EajU5unpTBNk9+rD2eintbLa8QpH0Id6ddTYa+aohMvBGosQ+wVcetHwnf7ESQ4dj2Rr7RDxRZxBNBw==","shasum":"534f6ea211e4920ddc99e731da7a30a0222730b2","tarball":"https://registry.npmjs.org/express-openapi-validate/-/express-openapi-validate-0.6.1.tgz","fileCount":55,"unpackedSize":162923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgjV9dCRA9TVsSAnZWagAAa7YP+wXdxOckUVkRimuLu4qx\nQeR0EYRHIgtxLdQxwf1ybVvjZSXfOgOEKw2E1egRF6P9P31MBJDWsmTvbw3h\nZrMnCRWdiLE+QJgiLFwg6k3RjTE7rRpjf+x+lMT1JDT9+zZKFJqXkd6SPY73\nhKGoDWdN8Dw8mgvhOzkXcNlCT5Fb8e0eWL7SeHauJSl7a1/4C9iJNgEz/CsO\n+slymcJmNetNQmXOTDv0TmfsnKcAuRgisn9n1Huje47fPfiIEGpYwmV0E1S2\n2vIc69X6/0QkowHIbITB3RZw1oOVqPvuUK195avIamzIT0XUgdfKOyzrC55W\nK3q3LWrKbKyYU/y/sQPyymZYa9VvZUpVtiN/cxUE3DAjt7mHMZsDs69MpWJ6\nkoGntgcAvEdyvlIHFfUDSY3r17a/1F3ANi9oIQrhhKf+TzmNFSw5wj8bX/89\njQzLxparlIh9eNqR36inMfFgSAsmEFA4P/0w45lhYE8A2pLDGokyoUdt92EF\nwD9mIxrLwwyfGPGVDW5NL1t/VFV9xcCmfA3MQAA3mJI7fHV6xhk3W1Jhn7mi\nJSK1hlN8mOy4uYc28O8XObKkL693aW9qBQPN1Bsnuyp33W3xge3OydMXIaiA\n1S+KcOsj4eJ2tG4fWVz/79Sjd4UOjWhdJg+RWwW8L4n1zs5pq8aCdXaVxDkz\nnbGT\r\n=ePv6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXYQloriVJP11U7GTnLFByc/lEK5Cvr0aX7P3fJuZ9cgIhAMwDwtcQX038zinYmmlRE6lPBxcWmXIZCxMrG/1L9eLh"}]},"_npmUser":{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"},"directories":{},"maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/express-openapi-validate_0.6.1_1619877725260_0.9984120232971911"},"_hasShrinkwrap":false}},"readme":"# express-openapi-validate\n\n[![codecov](https://codecov.io/gh/Hilzu/express-openapi-validate/branch/master/graph/badge.svg?token=4WVa86OfWl)](https://codecov.io/gh/Hilzu/express-openapi-validate)\n[![npm](https://img.shields.io/npm/v/express-openapi-validate)](https://www.npmjs.com/package/express-openapi-validate)\n[![Try on RunKit](https://badge.runkitcdn.com/express-openapi-validate.svg)](https://npm.runkit.com/express-openapi-validate)\n\nExpress middleware to validate requests based on an [OpenAPI 3.0\ndocument][openapi-3]. OpenAPI specification was called the Swagger specification\nbefore version 3.\n\n## Usage\n\nInstall this package with npm or yarn:\n\n```bash\nnpm install --save express-openapi-validate\n# or\nyarn add express-openapi-validate\n```\n\nThen use the validator like this:\n\n### `index.js`\n\n```javascript\nconst fs = require(\"fs\");\nconst express = require(\"express\");\nconst { OpenApiValidator } = require(\"express-openapi-validate\");\nconst jsYaml = require(\"js-yaml\");\n\nconst app = express();\napp.use(express.json());\n\nconst openApiDocument = jsYaml.safeLoad(\n  fs.readFileSync(\"openapi.yaml\", \"utf-8\"),\n);\nconst validator = new OpenApiValidator(openApiDocument);\n\napp.post(\"/echo\", validator.validate(\"post\", \"/echo\"), (req, res, next) => {\n  res.json({ output: req.body.input });\n});\n\napp.use((err, req, res, next) => {\n  const statusCode = err.statusCode || 500;\n  res.status(statusCode).json({\n    error: {\n      name: err.name,\n      message: err.message,\n      data: err.data,\n    },\n  });\n});\n\nconst server = app.listen(3000, () => {\n  console.log(\"Listening on\", server.address());\n});\n```\n\nOr using `match()`:\n\n```javascript\n// Apply to all requests\napp.use(validator.match());\n\n// On each request validator.validate(\"post\", \"/echo\") is called automatically,\n// if it has a matching specification in the OpenAPI schema\napp.post(\"/echo\", (req, res, next) => {\n  res.json({ output: req.body.input });\n});\n```\n\n### `openapi.yaml`\n\n```yaml\nopenapi: 3.0.1\ninfo:\n  title: Example API with a single echo endpoint\n  version: 1.0.0\ncomponents:\n  schemas:\n    Error:\n      type: object\n      properties:\n        error:\n          type: object\n          properties:\n            name:\n              type: string\n            message:\n              type: string\n            data:\n              type: array\n              items:\n                type: object\n          required:\n            - name\n            - message\n      required:\n        - error\n  responses:\n    error:\n      description: Default error response with error object\n      content:\n        application/json:\n          schema:\n            $ref: \"#/components/schemas/Error\"\npaths:\n  /echo:\n    post:\n      description: Echo input back\n      requestBody:\n        content:\n          application/json:\n            schema:\n              type: object\n              properties:\n                input:\n                  type: string\n              required:\n                - input\n      responses:\n        \"200\":\n          description: Echoed input\n          content:\n            application/json:\n              schema:\n                type: object\n                properties:\n                  output:\n                    type: string\n        default:\n          $ref: \"#/components/responses/error\"\n```\n\n## Supported features\n\n- Validating request bodies with a schema (See [Request Body\n  Object][openapi-request-body-object] and [Schema\n  Object][openapi-schema-object])\n  - All schema properties in a Schema Object that are directly supported by\n    [JSON Schema][json-schema] and [Ajv][ajv] are used in validation\n  - Schemas are validated according to [JSON Schema Specification Wright Draft\n    00][json-schema-validation-05] (draft-04/05) as specified in [OpenAPI\n    specification][openapi-data-types]\n  - `nullable` field for handling properties that can be null is supported (See\n    [OpenAPI fixed fields][openapi-fixed-fields])\n  - Validation according to `format` including additional data type formats\n    (like int32 and bytes) defined by OpenAPI (See [OpenAPI data\n    types][openapi-data-types] and [Ajv formats][ajv-formats])\n- Validating parameters: query, header, path and cookies (including signed\n  cookies) (See [Parameter Object][openapi-parameter-object])\n  - The same `schema` features that are supported for request bodies are also\n    supported for parameters\n  - `required` field for marking parameters that must be given is supported\n- Validating response bodies and headers in tests (See [Responses\n  Object][openapi-responses-object] and [Header Object][openapi-header-object])\n- References to [Components Object][openapi-components-object] (See [Reference\n  Object][openapi-reference-object])\n- Typescript definitions are included in the package\n- [Discriminator keyword](ajv-discriminator)\n\n### Currently unsupported features\n\n- Validating request bodies with media type other than `application/json` (See\n  `content` under [Request Body Object][openapi-request-body-object])\n- Some [OpenAPI Schema Object specific fields][openapi-fixed-fields] are\n  unsupported:\n  - `deprecated`\n  - `xml`\n- External references (references to other files and network resources) (See\n  [Reference Object][openapi-reference-object])\n- [Parameter Objects][openapi-parameter-object] (including [Header\n  Objects][openapi-header-object]) that define shape using `content` and `style`\n  (only `schema` is supported)\n- Links and callbacks (See [Callback Object][openapi-callback-object] and [Link\n  Object][openapi-link-object])\n- Encodings (See [Encoding Object][openapi-encoding-object])\n\n## Public API\n\n### `class OpenApiValidator`\n\n```javascript\nconst { OpenApiValidator } = require(\"express-openapi-validate\");\n```\n\nThe main class of this package. Creates [JSON schema][json-schema] validators\nfor the given operations defined in the OpenAPI document. In the background\n[Ajv][ajv] is used to validate the request.\n\n#### `constructor(openApiDocument: OpenApiDocument, options: ValidatorConfig = {}))`\n\nCreates a new validator for the given OpenAPI document.\n\n`options` parameter is optional. It has the following optional fields:\n\n```javascript\n{\n  ajvOptions: Ajv.Options;\n}\n```\n\nYou can find the list of options accepted by Ajv from its\n[documentation][ajv-options]. The `formats` object passed to Ajv will be merged\nwith additional [OpenAPI formats][openapi-formats] supported by this library.\n\n#### `validate(method: Operation, path: string): RequestHandler`\n\nReturns an express middleware function for the given operation. The operation\nmatching the given method and path has to be defined in the OpenAPI document or\nthis method throws.\n\nThe middleware validates the incoming request according to the `parameters` and\n`requestBody` fields defined in the [Operation\nObject][openapi-operation-object]. If the validation fails the `next` express\nfunction is called with an\n[`ValidationError`](#class-validationerror-extends-error).\n\nSee the [Parameter Object][openapi-parameter-object] and [Request Body\nObject][openapi-request-body-object] sections of the OpenAPI specification for\ndetails how to define schemas for operations.\n\n`method` must be one of the valid operations of an [OpenAPI Path Item\nObject][openapi-path-item-object]:\n`\"get\" | \"put\" | \"post\" | \"delete\" | \"options\" | \"head\" | \"patch\" | \"trace\"`.\n\n`RequestHandler` is an express middleware function with the signature\n`(req: Request, res: Response, next: NextFunction): any;`.\n\n#### `match(options: MatchOptions = { allowNoMatch: false }): RequestHandler`\n\nReturns an express middleware function which calls `validate()` based on the\nrequest method and path. Using this function removes the need to specify\n`validate()` middleware for each express endpoint individually.\n\n`match()` throws an error if matching route specification is not found. This\nensures all requests are validated.\n\nUse `match({ allowNoMatch: true})` if you want to skip validation for routes\nthat are not mentioned in the OpenAPI schema. Use with caution: It allows\nrequests to be handled without any validation.\n\nThe following examples achieve the same result:\n\n```javascript\n// Using validate()\napp.post(\"/echo\", validator.validate(\"post\", \"/echo\"), (req, res, next) => {\n  res.json({ output: req.body.input });\n});\n\n// Using match()\napp.use(validator.match());\napp.post(\"/echo\", (req, res, next) => {\n  res.json({ output: req.body.input });\n});\n```\n\n#### `validateResponse(method: Operation, path: string): (res: any) => void`\n\nCreates a function for the given operation that can be used to validate\nresponses. Response validation is meant to be used in tests and not in\nproduction code. See below for example usage.\n\nFor documentation of the `method` and `path` parameters see\n[`validate`](#validatemethod-operation-path-string-requesthandler).\n\n`res` is expected to have the shape\n`{ statusCode: number, body: {}, headers: {}}`. The `statusCode` field can also\nbe called `status` and the `body` field can be called `data`. This means that\nresponse objects from most request libraries should work out of the box.\n\nIf validation fails the validation function throws a\n[`ValidationError`](#class-validationerror-extends-error). Otherwise it returns\n`undefined`.\n\nExample usage when using [Jest][jest] and [SuperTest][supertest]:\n\n```javascript\nimport { OpenApiValidator } from \"express-openapi-validate\";\nimport fs from \"fs\";\nimport jsYaml from \"js-yaml\";\nimport request from \"supertest\";\nimport app from \"./app\";\n\nconst openApiDocument = jsYaml.safeLoad(\n  fs.readFileSync(\"openapi.yaml\", \"utf-8\"),\n);\nconst validator = new OpenApiValidator(openApiDocument);\n\ntest(\"/echo responses\", async () => {\n  const validateResponse = validator.validateResponse(\"post\", \"/echo\");\n  let res = await request(app).post(\"/echo\").send({});\n  expect(validateResponse(res)).toBeUndefined();\n\n  res = await request(app).post(\"/echo\").send({ input: \"Hello!\" });\n  expect(validateResponse(res)).toBeUndefined();\n});\n```\n\n### `class ValidationError extends Error`\n\n```javascript\nconst { ValidationError } = require(\"express-openapi-validate\");\n```\n\nThis error is thrown by `OpenApiValidator#validate` when the request validation\nfails. It contains useful information about why the validation failed in\nhuman-readable format in the `.message` field and in machine-readable format in\nthe `.data` array.\n\nYou can catch this error in your express error handler and handle it specially.\nYou probably want to log the validation error and pass the errors to the client.\n\n#### `message: string`\n\nHuman-readable error message about why the validation failed.\n\n#### `statusCode: number = 400`\n\nThis field is always set to `400`. You can check this field in your express\nerror handler to decide what status code to send to the client when errors\nhappen.\n\n#### `data: ErrorObject[]`\n\nMachine-readable array of validation errors. [Ajv Error\nObjects][ajv-error-objects] documentation contains a list of the fields in\n`ErrorObject`.\n\n[openapi-3]: https://github.com/OAI/OpenAPI-Specification\n[openapi-callback-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#callbackObject\n[openapi-components-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#componentsObject\n[openapi-data-types]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types\n[openapi-encoding-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#encoding-object\n[openapi-fixed-fields]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#fixed-fields-20\n[openapi-formats]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types\n[openapi-header-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#headerObject\n[openapi-link-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#linkObject\n[openapi-operation-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#operationObject\n[openapi-parameter-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#parameterObject\n[openapi-path-item-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#path-item-object\n[openapi-reference-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#referenceObject\n[openapi-request-body-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#request-body-object\n[openapi-responses-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#responsesObject\n[openapi-schema-object]:\n  https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject\n[json-schema]: http://json-schema.org/\n[json-schema-validation-05]:\n  https://tools.ietf.org/html/draft-wright-json-schema-validation-00\n[ajv]: http://epoberezkin.github.io/ajv/\n[ajv-error-objects]: http://epoberezkin.github.io/ajv/#error-objects\n[ajv-formats]: http://epoberezkin.github.io/ajv/#formats\n[ajv-options]: http://epoberezkin.github.io/ajv/#options\n[i8]: https://github.com/Hilzu/express-openapi-validate/issues/8\n[jest]: https://facebook.github.io/jest/\n[supertest]: https://github.com/visionmedia/supertest\n[ajv-discriminator]: https://ajv.js.org/json-schema.html#discriminator\n","maintainers":[{"name":"hilzu","email":"accounts.npm@me.hilzu.moe"}],"time":{"modified":"2022-05-01T23:30:48.591Z","created":"2018-01-25T09:07:36.920Z","0.1.0":"2018-01-25T09:07:36.920Z","0.1.1":"2018-01-25T09:18:28.611Z","0.1.2":"2018-01-31T13:23:57.720Z","0.2.0":"2018-02-03T16:54:06.531Z","0.2.1":"2018-02-06T19:03:40.740Z","0.2.2":"2018-02-28T19:21:35.234Z","0.3.0":"2018-03-05T14:35:39.308Z","0.3.1":"2018-03-05T14:42:38.582Z","0.3.2":"2018-03-05T14:58:46.947Z","0.4.0":"2018-03-06T12:43:13.427Z","0.4.1":"2018-04-10T11:36:52.553Z","0.4.2":"2018-05-29T12:47:46.850Z","0.4.3":"2018-05-29T14:11:03.584Z","0.4.4":"2018-10-24T10:13:45.189Z","0.5.0":"2020-01-27T11:59:55.402Z","0.5.1":"2020-03-18T09:18:15.273Z","0.6.0":"2021-04-28T10:44:04.586Z","0.6.1":"2021-05-01T14:02:05.403Z"},"homepage":"https://github.com/Hilzu/express-openapi-validate#readme","keywords":["openapi","openapi3","swagger","express","middleware","validation"],"repository":{"type":"git","url":"git+ssh://git@github.com/Hilzu/express-openapi-validate.git"},"author":{"name":"Santeri Hiltunen"},"bugs":{"url":"https://github.com/Hilzu/express-openapi-validate/issues"},"license":"Apache-2.0","readmeFilename":"README.md"}