{"_id":"chai-openapi-response-validator","_rev":"36-9fe14d27ce9f9fee532177d7d4f56218","time":{"0.1.0":"2019-06-14T12:49:02.141Z","created":"2019-08-06T08:56:46.797Z","0.2.0":"2019-08-06T08:56:46.922Z","modified":"2022-04-12T05:51:51.970Z","0.2.1":"2019-08-12T10:39:08.052Z","0.2.2":"2019-08-15T16:07:36.128Z","0.2.3":"2019-08-15T19:25:09.021Z","0.2.4":"2019-08-20T08:26:49.752Z","0.2.5":"2019-11-08T15:39:43.458Z","0.3.0":"2019-11-11T14:27:56.222Z","0.4.0":"2019-12-01T11:16:08.817Z","0.5.0":"2019-12-19T11:50:59.519Z","0.5.1":"2019-12-19T13:54:57.509Z","0.6.0":"2019-12-22T16:28:14.603Z","0.7.0":"2019-12-27T15:41:20.277Z","0.7.1":"2020-02-21T18:22:58.446Z","0.7.2":"2020-04-06T14:36:01.815Z","0.8.0":"2020-04-13T11:36:22.017Z","0.9.0":"2020-04-28T11:59:48.403Z","0.9.1":"2020-04-28T12:34:14.371Z","0.9.2":"2020-05-15T10:28:46.898Z","0.9.3":"2020-05-31T15:54:19.514Z","0.9.4":"2020-06-08T12:05:21.550Z","0.10.0":"2020-10-11T16:50:06.254Z","0.11.0":"2020-11-21T16:24:06.129Z","0.11.1":"2021-02-28T10:48:44.336Z","0.11.2":"2021-02-28T10:55:41.769Z","0.12.0":"2021-02-28T16:28:45.456Z","0.13.0":"2021-03-06T18:33:11.138Z","0.13.1-alpha.2":"2021-03-19T19:38:42.117Z","0.14.0":"2021-09-12T11:56:09.351Z","0.14.1":"2021-10-16T17:03:46.631Z","0.14.2-alpha.0":"2022-01-03T14:45:51.534Z","0.14.2":"2022-01-03T14:57:51.502Z"},"name":"chai-openapi-response-validator","dist-tags":{"latest":"0.14.2"},"versions":{"0.2.0":{"name":"chai-openapi-response-validator","version":"0.2.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 95 --branches 95 --functions 95 --lines 95","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","chai":"^4.2.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3"},"husky":{"hooks":{"pre-commit":"npm test","pre-push":"npm run test:full"}},"gitHead":"1eb23ff7930f135f0a653ae484a58de9416df423","_id":"chai-openapi-response-validator@0.2.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-iYYiizCEHndDYxR6pYfUwzixrJ0IpUIbCtGFLkgOVoP4NHENNF+YB2HcCZPyTEyQLEUH+0mMh+QxXqvCkR6N6g==","shasum":"b1fb41aab1035833c401d47c7a2748ef2581e1c6","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.2.0.tgz","fileCount":23,"unpackedSize":50523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSUDPCRA9TVsSAnZWagAA/VIP/23n2r2ZZ7orlqUznyVb\nMN/K/ooFTeNdBJlpcM9G3Svm2y5IJjNFlGiIPlm3xyly9T1RKrcgAPvWvclN\n/q/JqkIDTzypRGjJH+rkWiYIIogV95f8960Fj1w7kWJCWthkWDeH/4DKhadk\nRNcvvZF6ccpExZQX7P+IJ9ONISu+UGCQwOI3hbgqVwKfrv+wi9eaH30zXnCR\nwEgElab6Fb4CtFrerBhynlqGqTe5l6ujQE4tqAP+eFvWQJoGt1+gqbDlVCnW\nGBjaJUuqcod7/lNLoYGAdV438Qy1EhnJzjyv9wmjnWSdCGRv7pMIdjoEU0B+\nB9QIuqdrFQMgdy7tsOqKOr/LgJGhgGeImtWEVRelDqBrX/ydJ/cVd3X24xzn\nO0JK/O/+0T+cXhmzOyyO/ebQoH0k2zqsuPrXYuF4DoWqHyjJh+LKmMHACf3c\njAZWvlpGHbr/zNCuCdzlipXH+zRxNDwlGAoJcDwvjQLQWlu1N+F/DDcgM4Hf\n7L1u3yBZSOArHM1gu+dO5rgr2KyrsRho3HH/WdMWPDncC6ZVzCPA1k2NkddS\n2fgQ2co5DUwGyMv6+ffuOtMlyhyRYluohyXD6n7NmL0UfvV+4nn1pyFbF/zl\nKpP+DpKOnsjE43fprXerqGsXDuOMqFv5rEW2vDMSrEYKBEcKVTYu/8j0ka9w\n1LKz\r\n=ghqy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCywZdvFU3DMEWTEt5gOPciekrUO8moK93usj3r6ImiVAIgNpdbhVkTkn4oM07KBZJFbQON96+DFjc1s5FFWR8rCsI="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.2.0_1565081806797_0.21447378610964507"},"_hasShrinkwrap":false},"0.2.1":{"name":"chai-openapi-response-validator","version":"0.2.1","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 95 --branches 95 --functions 95 --lines 95","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","chai":"^4.2.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3"},"husky":{"hooks":{"pre-commit":"npm test","pre-push":"npm run test:full"}},"gitHead":"bcd11278d6e1bb35e372437ec8c0c2e5a66d178e","_id":"chai-openapi-response-validator@0.2.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7+L2OSsmbFikejcR7+IH/KkHSjZCQQTZ59eiBNe43i464NlzWe2nQljVDVJpupYCcxjrgIa3cMFF9miuub8XFw==","shasum":"52504d81b5021d3a93730bf087b2e7ea12b77c5b","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.2.1.tgz","fileCount":23,"unpackedSize":50971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdUUHMCRA9TVsSAnZWagAACMgP+wfLhbu7dSmvCy+VWtmY\niV0tFwlwO7djN/UuLM/kbgcG76TajO2Ps5LO7mO+dSm9TOrsa1Xn9cML4m9t\nU0fe9fIBIJp0ZX5ufw/X9IACMucb2ExwjVSjPd9dJm84vov1EdBgkAhwGuCr\nPTq52JrNcxNXeWHXBliMyj+BS9NGAM2o+0fvjBMB5+HUHVeAP9tA++VLFYL8\nbGC71VMmqxptBBEuEj871aNIPfYyc8GbcqA0mLY+OGGE8cw+fzRFzqeTuJYG\nzlzg2ouE118lYLUylFQR2COMcLWAKgwfyPS1eB2k8qPUdeiWfpEkdJhffbD/\n/h+rxl2lc9j8iAg8rrRx5dIqE4DWvUKI1UrBqTRMQ9/6KW0RU5szY/oHk27f\nP3/QZM2pskb2GlSqVLVN244YuH29YzMGHbyvLW+0DneYK0rviLVjA5v6Ib8h\nWgxv+K8r8BlDXdZCoVp0yu56ug9rqRqKemjQNMg8lShyskizAxZB1dfeETVK\n5lkCh53w6+CAghAOwDU9/KS6aUnfkK6t1gcyizWWzZbmhanWknUGP1/XPfnk\npMSFucPGyvnkcR9OPb6xZqbcQHsgphkWCDub8n22WSHrUXqsIpyYiynOZxEW\ncgpKosS7oPys8jxfhql+EqIyZdpq97eP8zEe0OpwBQZo+lxeAsKTkIZZ21qt\nBHYQ\r\n=z3oA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGs5RP5/T8tjn/dXFiclr3sMtPFd503n+8xZpA91EBqAAiEAiQN8KCd215gDxiOHRUuJXnaDlTt5NzXmx1xBGoyTPao="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.2.1_1565606347915_0.027607352620630188"},"_hasShrinkwrap":false},"0.2.2":{"name":"chai-openapi-response-validator","version":"0.2.2","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 95 --branches 95 --functions 95 --lines 95","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","chai":"^4.2.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3"},"husky":{"hooks":{"pre-commit":"npm test","pre-push":"npm run test:full"}},"gitHead":"e5a5edac4e2efddd063d8ede97d0757530bb1cdd","_id":"chai-openapi-response-validator@0.2.2","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-NZ2nm/AwZMK4owptnw5RbhCzyn1wFZ7z6d6rQ5D7rI1XJlqlkknQZXCeIFOPSXDdlsuUy6XaS1XMdgyDWahjig==","shasum":"0f9ddf1e7fd65328ec56facf06730f40669e9a23","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.2.2.tgz","fileCount":28,"unpackedSize":55516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVYNICRA9TVsSAnZWagAAWdAP/RkutMqg2k7eghizukLz\nl3zj+/wF+zq/QFy3yHUubTj4eb35hSO9huHBQ2RfPS48mx6/4pNjXHJm89/4\napnkqP+fhuJJzrQqoLS+AkiQTI/8s5imV+dLhDWv5/JjtT5m4PdWfQS0GNe+\nzHldwrwcRvddR7xZafjQ2ADWVfCyBLgOa+XrTXsHi7KXwynoeVYbDiudi4a5\nM9hJ41ucw3ZcbokFRr71DeczY7Qf/L2AGMp53Q+Wnegdv6aW2EhSurI9it34\nGubYczxEpuCzIwTeY/k5jnXbxLcDrNbgOXMztGvQwfwmcVQAvGk+qyWFkykH\n5eDkmVz/SRf2p/16rcMJE2OZ9k2idtAplKeWSz6/0hMRUi0c/73gfEUJniIL\n/rK2jXbtk3KiewodO0nDhVtiPLy8IR5iB66wmpOp7hiSdmHLP/6OnDbfRYPB\n0lTxKEupiVuiJJqAZlbq7WbF/zu9zVEyueGDxP1938xsLCxQHNmLn+2vNfEw\neTJz8dLIeP0Q66322RxPUOLhs4r4XrVW/s8Z55RIskp3uHh//osvKd9ZRBNT\nsGe2L9FlyPO15ECESxpsnmXRdpTAv9H/cGzQxvPLMJgdfDhR+WPN6n7lblMf\nEQPU4TVN2LsVUeyitBMdqQnEGMliXe462i/fkhpmcop/yLk58UsyU1UbwlrD\nqstz\r\n=RjMM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDK4SGoF8sHJ3yPdQoPgLMXzwNbbki4gVzf1X5J9FtPbAiBJ+ogFn0cX3KzIxUh3g1Bpxr+0pyIkKS7RFrlSmPayDw=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.2.2_1565885255946_0.9521381798387074"},"_hasShrinkwrap":false},"0.2.3":{"name":"chai-openapi-response-validator","version":"0.2.3","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 95 --branches 95 --functions 95 --lines 95","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","chai":"^4.2.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3"},"husky":{"hooks":{"pre-commit":"npm test","pre-push":"npm run test:full"}},"gitHead":"f5de60e60be87944f0d3ca1643c9117b1ed0881b","_id":"chai-openapi-response-validator@0.2.3","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Q7r/6qf+lpCixuCI8xIdjgix0TFhO9OpxQnNer0GJuzqBSL56kI3h+RWuLZvODVkGdS1klgn3s+HtcSeHCC9jw==","shasum":"a9cc1659360ed6abe25238ad98e3064a64f2572c","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.2.3.tgz","fileCount":28,"unpackedSize":56403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVbGVCRA9TVsSAnZWagAA7ZIP/0A6FpUJWjZq+9MRAksS\nwZJx/ahlaFO+sqp3ALXvroLKmEP9Xyxt7c1xf9oh9rC8du5SQ2gP/hw1Qv02\njjwwEwIgB67SqNpg3UCuvOmlIO/Bg5Ee8KbihKcvUiyPKQq2FppR53Wqki3U\nrx3CdJ6DtLQN2gT6xkEij9gQnQFiTCmLP6ajxBwu3ppAwI2EiLHXEgpzSrKa\n18beOJH6FRsKxB9ZqRWXjyFr6imuQaQjwg7aiurP6S4eD/GuVi+ee9K+NEnQ\n/GPmffM/G8W4TwhhGwA6kGIW0N197RyIkF5XsZhKgbBqVJ3vTKbNb700rSrH\nJGxYuFMXf9Kr/3UzZmkYWKq8Ytam3ygyC6EzVK6tK3sT174xLWvBSVnW5zHS\nQsjMaVNrUkYX4CflKTdFGv3gj61nowXOuF3k3my6fXN5k4EPxYan76OJ28Cu\no8lLJA2VLMajdJajjQNMRkeTP7eHiJGWHFnxxZhYUbviRV/M2ZWvFJHFJnFY\nyCF2PIEi4h78lvVWb+P8sFSA3hX+jQteneLCDH4D0eGaPV3HCrzZY3Ckqulh\nTVIvC6R/IUiNU7oC3KQN+9FuvdyILoo/MMDzCB009knRLfcNW1tG4+zh3vRM\n/huugv8R+xWXucyE5nR6OogQMACdrjzDANqt5jOhZqbX8t9Bv0TaJo7bFE64\nCRJ8\r\n=JaOy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSCdC+B4faEU8k+XWfZ0umxa0wn33jPbPok3hMxlCcEwIhALzICZzUbCDjSLjPKzmXhoZ9LzP825gJZvNuMbwmK55U"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.2.3_1565897108870_0.25486282445871633"},"_hasShrinkwrap":false},"0.2.4":{"name":"chai-openapi-response-validator","version":"0.2.4","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","chai":"^4.2.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"6fe072101ba8f78c4c1fc94b892e1ed4353be524","_id":"chai-openapi-response-validator@0.2.4","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Th/bMZzF3f4iBx/n4/TktpBshHfm/+8RQ3F2kBHfKcyQTPz+9iqsBkyFp1wrHdo+MKYNTpHaxiIQJBHUhDWSxA==","shasum":"4ac35fca9f251ec79d7d2e4ff4b681561a0f5ab9","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.2.4.tgz","fileCount":29,"unpackedSize":68002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdW67KCRA9TVsSAnZWagAAd1cP/jcMSDWHYRvg52GQvjZw\nuuGTvv3b/sTZrA13/aZ9lysKXM/qFEKuml7A2iCn4v9SdIbNGc8eXNjDtimc\njik2JTEbRNbYb/uBcOce+QaL0RCPrtkbDE0GF1pzEEnkG4TDfW3Ne/rsaTSw\nRVtfZPRG1k7oQo/pIR4R1VpopT4caln1C8Tpji/8ZCasO50kbYAFhpbKqJL5\n4CFaglwz5wFyTSoRmSix4OiYFJ1ipK7+IC+z/U+qBJ77WsDn9Cl+3w26/ImO\nUSq83HXdnmayWNeFFTj3szHPu4eSszeOmq990flL2hgIb9/pFNmNd1SvoiMs\nUgQ6UlO9LFvsMIm/hfxXN5ZWQ4uve53VRbUQY7cChb4srP8bApgnOXN1wVwG\nLR+mGpIPeJIixMWuWKiVS6TkPlePGTsQzI5gwKBS+Gy4HTYnsp6Yc9BFe3L+\nl9fznZD1L/oZrt49k8fc3G1LXQq6dS9RfdHLmJdumbfllhwXjAM9GFIg1Pl3\nN/BIFBJQ9RoHlgIBJ61NJiWQD2D7l0Ng82U4UUNlByWkNNLV5kOA8uM7BU1P\nBH0n7Q5iqP7cLbne5cpzKVX1lxWAYelkRh0JQCbF7hGYVHro3uZtzZscxZbO\nTZA/VAYiPcSk1uXt6RNYdiUaVQ4mQYZtNYihFqj1WuqoyP6aIKmxkbo7VOMV\nM5IQ\r\n=J1EZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+JaYhx1dZz0dYlOwYevOxP+pXxcHKW8NL9EVKRegv2AIgJoEkV3V4GPVTX0gzDS/9rkuKToFx/vh9UnKm62Rm5CI="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.2.4_1566289609574_0.5278506311941071"},"_hasShrinkwrap":false},"0.2.5":{"name":"chai-openapi-response-validator","version":"0.2.5","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","chai":"^4.2.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"234c84c83c2d942b14535d2c78634d21c0927cd0","_id":"chai-openapi-response-validator@0.2.5","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-+L0KGiSaTjJfp2qKw9PjYfcAq158wcwUVosFQspTp1xQfUcWwEfJXsHnVOct/22aNG+8v7h9EEmqzr2opBqwNQ==","shasum":"a011623c99312f285a69bcdebff068105062d64d","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.2.5.tgz","fileCount":30,"unpackedSize":71940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxYw/CRA9TVsSAnZWagAAKpQP/0Eb4Yop4avQPQxplXSd\n1B7NzdJiidkdMzRFP9fGpIWf4fT8hqAcMF9/6uGg2+9q8xAJLkCxlR485U4Y\nFmKXGLM7Qx3/Eyj7keieoTO0uVrWmvnVkL7mRPFBTFb6PD/VbP5b4D1FT86q\nvCXcLIFMkcuJ6sgqsZSIUdt0jWAXO2sOeT/ANJ24m0k4Rd1oz7w9wdALVunU\n3vFfZxAA4MEcYPVnFJoTYXGHQ9dz7+BR5hE6BQva2msTFALuUmICeYQ1OGSn\nMe71eFG9gUIiIhiDozwhjBqhmmQhxNCemcaDwQEtj/5AoI5yPOgZBiAuUauD\nb7dQ+1pO6zmCx9GOPMRfXxGxXzdBGdb8X7S4NXoDCDb3DKegCwQAiKJTwrZi\nFAtbE4q6YS8SsA3nG3vh6sovIppAzscUHD27barbTcAdF8RJ9lop4Lt7lkD6\nrmEazX0Izn1sPLMNuYFzI/Uh+2xFmA9m53Oh4KlMTKrtpnBAuL4R9TUZBG48\nAg0E6wNW9X+I+6/iISQWdCehDAPMZeGQy3Z/PQot9X9K239b1cbU8A408Mk+\n9fbGqsvo7ePkNx3kEsiWUIb6+TvXcxUA0zQh6eocxqQeEv81/csti41qpZqx\nRT3HdIvD0wQb1ZinPe4SDl04D7LoK63sqjpoUHUSD8EWNPywr/EVpX5wNLFP\nqdRp\r\n=Uj6r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3oiGcXYGEfL+4eMYWoXVdkDSFwC880EeumQ+tA4O03gIgBUy+SDfmJ5kScUUJITPGrAoE45EB95k99c3OcwFfqEg="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.2.5_1573227583324_0.03785783114253527"},"_hasShrinkwrap":false},"0.3.0":{"name":"chai-openapi-response-validator","version":"0.3.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"11ff4d1d93ee6fd1a1f23153270dd0406edacc35","_id":"chai-openapi-response-validator@0.3.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-+pjRJyk/ixX0CIbA/vZzncThoTwTgxuKr0nPF3Qvs9UjRjrIqn+RFzAleRVnAKwhcgryHTyjLaW6JXU+Vb1s4w==","shasum":"d7a8b70990a71b76011f34c3769634f3158e795b","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.3.0.tgz","fileCount":36,"unpackedSize":82134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyW/sCRA9TVsSAnZWagAAbRcP/0icGOvLyF+mCdCzPLKO\ndy0DD/b08Q7OhpEDHiNSYCpuVTKwzlrf9vZK2xkBK5Q0apORHobXyKXQPRRR\nSUqZTx9YZTyLK4ES2UKEWRIKoDPBJxmqi01iQZQcJK07TTp6OblbpoZj0mdi\nGa4cV9FiAsGNBgavTeid3yNlaNsvqA1yb+yHhGLbc4/gkZvjK3ZSIMQPCc3O\nzm6hvhru0ex6YO9Og8j/mu0FAx81jjHTFaTLBd/HX0LQinYsLdYL3YUDo1E+\n/2I8M9TKCNC0hS6gC/2qCwm0m9e4YEXK4e/maAIL5N5kQbT/vU/sDEv7SXT7\n+h3sfDslmegIbZcVfz96dFguJENncldhJPtZlUsAAtOfbNIkO3IIs3UuPrWI\noFPeYw7mafoyNUk0A/WgyBWiA4gtAvPB7kfwrf5RBXZpsS3KgCtViw6rg6Ys\nV+H8mS9JtSeapSiY0gUlxPhaC/jjQXhYgNMWehST3/wU8nLH3ps8WB5OltT9\nSnesmehMt96deGlR5+eJ1Au1XNa8pus4rHFd3hkWZmntM3r3J/y30fiYOz5j\nYgm/Y0L32Vj6d7dM2IlnJdnqKC6xwW2cPWUYKVsMLcmrrQ/+vfip9GKv2Adt\nCVouh6rAkfLut1RZWk+6+6bAzbMZWPEgJoXjKlOCK1TRh9DiEvuZQN7QVnIw\nSSW4\r\n=WTUW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDGjzECgpLNviqzC67QUjaW0KOEigoJb5+wJNe9Lgvi9AiAmCmp9iAFWDMoFpWHp9N7Twm1sUomKkCRgWzOHutoxDg=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.3.0_1573482476129_0.5119915435256064"},"_hasShrinkwrap":false},"0.4.0":{"name":"chai-openapi-response-validator","version":"0.4.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"^14.1.1","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"a27e1a6fe0a55068763b6db786266a9c1b88dfb7","_id":"chai-openapi-response-validator@0.4.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-5Sf3+lb45cc0yv2kAeIwU48zz4Zu9F5I5rxm1I6HWUf3WnNEOwLiNmji1PMl+/9N2pS0ix1QRGAHYUFzYeP+UA==","shasum":"ce6fe453d3700016615ac2a2ae52483f1ce2935d","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.4.0.tgz","fileCount":35,"unpackedSize":84943,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd46D5CRA9TVsSAnZWagAArooP/3DVw8iPoSKokVjR9B9p\nfjyYq4r7WOZ5zBRd7FfJTWROB3e2/77aYYzYZj7+utrAMOALkTRfW0E5bjFX\nJJLhKUh5AOFVF9z/+NyQXAj1zYRnsSG3Zp9UeyaIJTqPx4W5xXF9ExxKytsp\nacQt1sOAHVSSEGpmEiuwQcZ33mNdyNq8ZdOCLPSX4NwqhFywWOyi87ENJ+IM\nwrKjd0TWTMuhfaxPNM/pU1zShSFiCgtZ+niZwiXiHxZYnf0If3yRnm+ub1zE\n1zog0F3qF35p5pOLLJzClDJ8+ZHLyADYAJF4KuEqq/8YNKaSeai5y6dMGwXi\nwQ+FtgoBv70jXNU1rq1vj6xAg67QrII4IjI9BZWexe/0m2a3G9teLkSYS9i7\ni+ZKm1/EjPt9uPjR+lhqIV8lh1bV2do7JRShY5yMEIXAY+NVdmZYTPnABtuG\n4wBhl3lx1jbBhBGKdkw+ZEpJGjbQvP50UVm+mtif0vpHrWn8DpNMOBHTxquW\n/rHMn60m/UHOKrx4M21QGm3eev306D3RCvjcMJSDNqjxZ2brrO5/0hcI9IyT\n9EtalSZCeD+AHKbmZlnRboYkh+YHhgaGGggTSWRxkmidyBpnVVghyPBjerlH\nZV0KKwLPlYOBR3FBLwZZlHvra85z5fxRagbjkPFbyK+OOohLOSg+dUbKnoKC\nhVFR\r\n=nqAq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfBi3d37101GdcKE5TQMdCbg4izeVnYoqP9K4pINX11AiEA3KxjGJn7164FeHL0jUadnVJBJMCMawFekaNqsPHagJo="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.4.0_1575198968668_0.34200123492790846"},"_hasShrinkwrap":false},"0.5.0":{"name":"chai-openapi-response-validator","version":"0.5.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"=15.0.0-beta.3","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"2cd52a09f1b57fb51d07814df986ef170071ef71","_id":"chai-openapi-response-validator@0.5.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-688dlxUut5BvH/w3ImaDhNN9KNMrrwvlynoOgg8MTw7CFJBx7h8Ah0n/G8s+m80KdLnkXJ7+CsRTDpfHhnKKDQ==","shasum":"674e36aee0a421c8ca538684f9cdce9f7f396cce","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.5.0.tgz","fileCount":44,"unpackedSize":106970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+2QjCRA9TVsSAnZWagAA2NcP/AwbDtsr/lzfmMNrCOKV\niz8F6pZnEgsx5/5+xBNHIHzkU7mcAOV4GaBxEZOfNZcW2mUBwRU83KXPTjxi\n44A7roSHndLZvle7h+n3aTBEZffvpimscJsf+/hvWYl3kcXFcMEoQNsoS7bT\n2JVwJRoxKHfPxRsyeVsYrXVTR62UxusrceYY/PzmcRxmRSr7RzrFjytKZVe2\nElMW3DnubQLj3swMKd+5iUQ+8x8V6H7jN/G8rbx4Q9II3iTBC1HNKSOaSn/y\ndOtZwvYDQ1IMc+bMPXvx8eec4AwD1nSJ2If9jQmgtWBzeFpbbAjq4BpngX6P\nwC7MZx7VtH/M7tl+AePyJho9zEp0XvO0qCjcX226GghGnwGey4E2Wc2BlQJX\nLVZdqqiZHYpKfZH5EGSTRXFFMjEv0ZwaXkNge4XwfdLggsQ1NesyJot7ASM8\nuNgUNTn/uAPcD6QpmTUd8ygLGu3h5GV9QDFumSNJeldxlCQY71xhnm0TJWOn\nKSX2PJzthUl0dbiE7iJLK7um9Sqq/xCJR7OfThdfkwRnaGBZXq+6T8duehMW\nN/ndY+g5QEqkfRiTiTi3GZLNMuK3QWECgol3WUw70MlZzyCFE/9RyKxoly0x\n7Qh5TrZnpaH2ugfELLPh/zBMHQoZpaaBugCNycFWe0nofsWhkiUshR27DaM9\nqC+L\r\n=6O3T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeW6mq0BUc+f9ddt90lAIpYF84aktoaCJWxndV+t9fdgIhAObbPE7Lj8nY7eF/kLK8JRD4MyezqKqpPs79pultxDHy"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.5.0_1576756259355_0.13965082991650513"},"_hasShrinkwrap":false},"0.5.1":{"name":"chai-openapi-response-validator","version":"0.5.1","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublish":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"=15.0.0-beta.3","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"5699bfb737019465f4859b4126eb8c15c0852bbe","_id":"chai-openapi-response-validator@0.5.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-RBJlNkZAvhIAg/LT34+shWVReJWAvDL04187bquJF72Yx0VaTXo4f9ptxVJn1HRBnyTLNkaOqxY8Y/9qJeXOAw==","shasum":"0555785b81ad1f93d270417c8b3878bdd960bb68","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.5.1.tgz","fileCount":44,"unpackedSize":114190,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+4ExCRA9TVsSAnZWagAALH4P/0ooja6Er4MSMqx7gbTm\ndlxBUfuHOfFit34Dg8A/LeBhLbx+ZfW65KaPDPKSl57rkZSGwWR6IXESwZ54\nOggRqOv6mvKSrcT6MODDxqgCqZ4GuindFIl8KZ1AdaJfft5i1C7yqWbhTLnn\nECcmn6+1oBxqIG3axXFfBsQ+q+wqqTeCV1TYECvhFBj7m666nvkVgIGhX6gA\nwUe8rOm9dpvUl0u5cMzCz4kuHiqzrhQn4OM2A81+T2SKACZUXEBudCXoH4M4\nOafyb/gEz6JekLSIOTr7WN/hOazM9rMbDfYvMPN1fq9ZC1Q7AqabxPR+C+fu\nQJ3zqfBwe1Xmso2MFMP9ya2dogYHzOhxkLDPctDFt+MBjWFnGkt92vSDqgiu\n3disxfDFXJDiqA8OnZu/75SBr6wZPkhSSplkEyXezY4WhNz7B0Tb8S2AvidV\n6WfU9mFbr1MqLbB40SVLOt4BKYJ32RXhg3ClKe+/GHitxOU5MjiGdK2s+aVf\nKEJfPgH83GMKlxct8mshbevPZihuaeSCmHM4ji/XSQMbChCOr6eZJNc07XWO\nBSlcY2683kr4HtfdEUcAqGAOtBkcvJH9/aCnKJ4v0ZRAK3zpztPUD3ydMnBP\nGV3KUyF1Sq04evWEWURoVvcJWjGSYwxkWIo0EKKDcuUY3Y2VR0V2rDHXv0+R\nxulB\r\n=K+YX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9mwRFghVz76tMGrypQAZupb+3YrEMnyLBoMCKgCNE9gIgfa3o4H/WKrZnWQ/otfCU6+MVqxfgO/KMU/i7WwOmPyw="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.5.1_1576763697387_0.7572126895523057"},"_hasShrinkwrap":false},"0.6.0":{"name":"chai-openapi-response-validator","version":"0.6.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublishOnly":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"=15.0.0-beta.3","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0","typeof":"^1.0.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"9ca21c5ad32bb70f8ae5c940dad25c43c80eca69","_id":"chai-openapi-response-validator@0.6.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-fpH18vzfhEsl/dcZzCwwv6hImlaQbfXWJyasTyJPXTRaq647657mLXesyOinDLBO49nzyGHbgMTY9lCQLggkLQ==","shasum":"731e2c0041fdf5fe40584d7369c7064b0418dd2b","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.6.0.tgz","fileCount":44,"unpackedSize":118008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/5mfCRA9TVsSAnZWagAAOQ8P/1ZPdN9KfEHZ//T4HQog\nvEenoXintc35LYUTntwh5DzeBZaurcXx5d8KYysT5cc+Uc93vN30PRtUcqTJ\nwxL5pLhTQvnlERk/ue3WIST2D1cdTSDBuoTuxCrXKdqLtScNDBIEPtjcW8dw\nbDRbaEHInu57x67uVM7wM2WjRSiKMP/idsGep/kIzwFYCOEZjYWFiA64TMYu\nsjZM+6IomyqKDoWc/laZhOK1OowL5xAYVyIoAomt9smID3Y8K9d8nT87rdDJ\nnvykfKxmUmSpCiX0puPAF+iGFvzIEYdma2XjhtqQVFvoG3QcgCl8R7TlcTIw\nLxnbGmqoaBxLv5S++errwjyG5nRWztK01V1GfpFvjZ1RrfmStARgXDaN3Wq1\negjvKYrwFnDyBRsSnm1awFI6geS1LMOJtI+9HsGP8UrjzH104HnO1+GenDBU\nMoyomZp+EXXf2NbdkZJrAkHc6+ddR59hLHSrs5BV2jzPKAXcOsFX+AUIP2O4\ngz8+fZrs5yOqhmRuKROIFCaXKBoiAFj1zsAoyQLX1HpkwmyV0r29d1EIzJtP\np9gq1YbcfyKKyF5WFrN4itUwsK9jqrsX9CGL7ffcd5+ADHx8/nJKxpqn+ma4\nGONweZeF91pgNJzk9Ai/Hvejt3hsYUZCfXhIKj4WhK3vzvjbrZo2RkMwZOIM\nbexa\r\n=MpoG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiozlnFwXq74lfSY0CeUtp7shnfj0/ZxZhYGL8tiaRQAIgGZYQZw+Pa+1ERDFNOqn44i0D83LiSGiVfXJ3UJRpN3Y="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.6.0_1577032094442_0.7726089863311174"},"_hasShrinkwrap":false},"0.7.0":{"name":"chai-openapi-response-validator","version":"0.7.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublishOnly":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"=15.0.0-beta.3","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0","typeof":"^1.0.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"f69436f70f65acdb5fb87235be943d982c830606","_id":"chai-openapi-response-validator@0.7.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-USvrffv9x/GHBZ7AzrcuhaohWUcw/DNOvs9Ekn9XN8OSZvmb4jtB2fcB8vFFW3DPN1+V12duV6W/9DjblvDYhg==","shasum":"82d3108d3da7009ff18525e6330b35a7014c0f36","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.7.0.tgz","fileCount":48,"unpackedSize":140309,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBiYgCRA9TVsSAnZWagAAJZwQAJjs9+/4IWRnddq2L5R9\nXed4ORhMWnBaf07JEBAtj2PauPqDjQhx8/IJ2BjFcr4KDf6Qx40zZhls39gp\nX9NlZlP+8LVnx8K9Wnk3qn9gj7sCJscto9P4UWx8pBCw1pX6/UxfYnBdFJUK\nmsPLf8N2TXKI0lYRsbE4b52bS9Ooh74Z4zgSSJgFJoRi0XMr0NHSR9aD9zQ0\nILsEajdD+U4H2OEMgn1RhvcptseBkGUFLvQzZSYZrR7DWGHbF5zWFEbSKJMg\nL3EX64yKE30/c8rSyzu/q97boJoyRiMJujnsDblwcFQGi79ehnh4CZLwWNw/\nNxIsOTBJJwrugC1h3+4mj4E1uHReqGMtSABeiZJ/d6t+bpxupSfwTWN79ZZr\nnxld3ukpOlt3okf/gw+a66zGxv57z25AA6moTNF2drvZZ7KuI0AMEL0BSfv9\n6KI4Dweyn4+MyF2oYtQW/SWVzJOFmHULvZIs9x4FD4rpb89UOX5lMnnuQhuQ\nNCbmrW39xw4J6Q/HrohrE86lALertpTVzsKHcjPWVUAyYM3MpouST+271YR7\nDXFJN1B+21S2HGCUHRN85JzrMUszXdJQufw+YDrWFJKnVvYEahGRnB+lZeJD\nmJtSUgJst/4hGKGrpr1FYxMfRLTOl1gPU/tb/NkqpwC0fewzl5e2svMxhH0i\nQ0/Q\r\n=7kgB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFg4KAX5fREuZkxHyHIxqnsmFl9HlIjflaJL3KDijuFgIhAI1IhaKPI5HMDEwflvwe+kX0opaqInMLus+zZFGEmhpP"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.7.0_1577461280119_0.8511021854466789"},"_hasShrinkwrap":false},"0.7.1":{"name":"chai-openapi-response-validator","version":"0.7.1","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublishOnly":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"=15.0.0-beta.3","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0","typeof":"^1.0.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"4afe9d2bd7a4a29b354a65c7acd4f72803c18f54","_id":"chai-openapi-response-validator@0.7.1","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-KyBd186BOmJ8ktOfjUh0U8XiQAT9DFDk5vp4VlR6riQ+nGBtvRyUkOqc3nQrxBM3uem0dTtkCL7e+tz1DLwOFA==","shasum":"2a3b20329e585b1379dfcab51711c54ad68f3938","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.7.1.tgz","fileCount":50,"unpackedSize":146504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUCACCRA9TVsSAnZWagAAvQcP/0xyo2HVikWaevug3GWI\nfZYVpuCAgzMSt1OdIMaJu4C8lk4GRm4ioihKIMa8O0ECHuIsnPyqwbRwsxpd\nVNlFCDDKFOMTXcI03VlbCpO08s6FpjK5AbcU6DeL3wXqEX8f5O94gzr3oVfo\nO42teA3THaoujG24gIXna3OjpTHGo/PXZvT0znQOUvRPL4KP5lQcHNiRMwLk\nBjetSROvbMp9Pdhapu9EGnqOPg2ZGtAY9CcRPohYXjNoij6uOTuVwd/arc8w\n9Jln38NkX13VFiH+B6vowOPdeOL58/mGuy+QF5JjKDBqeSxP78gazmHhptA9\nA3ub3WVMV1nBxpS+OBzOOGbsJdscJTl2BrezZlwFSi2A2FyTojho+qbgjoe+\nCde6nLAJaFt+6LAmA4P0qMczKLLVpheDWIJf/RZs+L+L4mFUU1sOz822/4YA\nnxSWVhsVD6USR858WabIeB1zRgZQ+0ylL3GwtPaFLIZEKvyL5N4Yuuos/uVN\nFGLNQasQpAj9yrKywzfu1DFWoOTbETWPjJpxsvckGUtLPE+4cVXznPhDBLQs\nAPAe7nMdPrsMuqrylNQQlO5IALdZrPtlkk0EySVfAkAQvX7723Gy3kMy/sJq\nV8Xig8OzBU11bkWcGC/BCWriRQ4skYtxvEA/O8LuZjvdBveYOKewR4hy7n3q\n2ggW\r\n=tMnP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWxu78gB1TXcQROMrSbysWkrdJc+/BsHSmsaKJUw1FyAiBxeWQnhM4o7JvYHOnsaoqVkB6kplbKPQWcSmcqRQMNoQ=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.7.1_1582309378266_0.02345159342847114"},"_hasShrinkwrap":false},"0.7.2":{"name":"chai-openapi-response-validator","version":"0.7.2","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=html && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublishOnly":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"=15.0.0-beta.3","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0","typeof":"^1.0.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"9ad7636641ed54e7bfa889b7fab77e575823d466","_id":"chai-openapi-response-validator@0.7.2","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-l68dGOrxa6ARhb1O0gA6AvcvvmT4ZyYYpKP0dxV+IkxOlzoEggwG/pgXbhaLE63YJHGGBpnfJPpH4a9dobNqLw==","shasum":"8f127740413a8b820ec8a58eeac3bf69d6b99c20","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.7.2.tgz","fileCount":54,"unpackedSize":152986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeiz5SCRA9TVsSAnZWagAAWaIP/0EbmPAMxvn3EjAZ0B6c\nziLdzCBw6QGS9NqkZSo4gPvoGY8IirlWu6o+gZBib2/893NfH7dvgdV+5RLx\na9zNb6CMkvmlVqTBgoYzOmgZyrpY95h1JOq4+x5jCXj2GyjCkEYe/WsEXUF2\nLbhP/dUCbaxZJOrGcv/Mb/3zQBytTez7Fri4RhbBYPet8/G7ViezMMBEaqMN\nTs5MJXPBXfezNtHojgGAuZOQdoAMi9cRvoopMG9jBnL7wWYMgDKyvOJAcpME\noau4K8EuMyrmiM+ZCTuTdoj9Qk4eS3p3mRT0tMiqWwOFQoyknvVCBZbqh9Hk\nZxzgVNrHTC0N8Ylhsw/C9YJJnXaTORZHs2h3Ji5s3wNo4umLKcH3Ur4lAiMM\nKgQpoDJTqOlneQdKXrTAXzXtBJ+M8IFPdnAYWBM8a1tDMUZAVJtR6cVkBEXj\nbVujGMbsiI+n0pgqYRk4hk8R6P2Xw5HWFjzZ9hNJmpFRreQY66UhG82FkXwv\nbxcVCzuI8z9/Hg7DB/znNS8Wl8uE+IjF4JCsMk1BLiYBZej7BJ7v5F8Aowlc\nILzmtIpyNHBKC5kspH576nOC7Nv9JQNWm2sw4C8p5BozF8ZrWZ8Wvm4qxBDF\nr0sE8r4eetBPtS+4Ld1RKuPuEl4XEwL7sUygrsZm21ZSXOkWQ9OkYd72OmYD\na7w9\r\n=/54P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICMcZhrG+nQqsxckvJtnOk1rWeuWexhOii2gDrjRm713AiAFuzaCF+D1s1iqV5ao1Uzl/l6tBrrIuVxfrIAXA6r4rQ=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.7.2_1586183761652_0.4085293247270718"},"_hasShrinkwrap":false},"0.8.0":{"name":"chai-openapi-response-validator","version":"0.8.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha test --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","test:full":"npm run lint && npm run test:coverage && npm run test:mutation","lint":"eslint .","lint:fix":"eslint --fix .","prepublishOnly":"npm run test:full"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/chai-openapi-response-validator.git"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"Apache-2.0","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/chai-openapi-response-validator/issues"},"homepage":"https://github.com/RuntimeTools/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^2.0.0","@stryker-mutator/javascript-mutator":"^2.0.0","@stryker-mutator/mocha-framework":"^2.0.0","@stryker-mutator/mocha-runner":"^2.0.0","axios":"^0.19.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^5.3.0","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-mocha":"^5.3.0","eslint-plugin-react":"^7.13.0","express":"^4.17.1","husky":"^2.3.0","mocha":"^6.1.4","nyc":"=15.0.0-beta.3","request":"^2.88.0","request-promise":"^4.2.5","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","fs-extra":"^8.0.1","js-yaml":"^3.13.1","openapi-response-validator":"^3.8.1","openapi-schema-validator":"^3.0.3","path-parser":"^4.2.0","typeof":"^1.0.0"},"husky":{"hooks":{"pre-commit":"npm run test:full"}},"gitHead":"892260495ca3481be199ca8370088ae11bd7aa99","_id":"chai-openapi-response-validator@0.8.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-DETLk+tYHiGOSGxXw6EwnU5ESrFaW+fbsqvH6gPuUHF/qf2rRJ+QOLSDon7axQWsRHRiPSSQuMJi5Xv28e+xkw==","shasum":"963a2e4d8f329e4fce29c11dcbedc6aa421051d0","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.8.0.tgz","fileCount":63,"unpackedSize":178525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelE62CRA9TVsSAnZWagAAjYYP/29S1TN3Bthnm5MarpB6\n0SXU4cGXucwWwMN21ABDSkn1TwjyNZC8z6+cj+GNXdtdftHs6ETTmT/sWhS7\nu86qs5AU9Hq8U9YuW0sv2IAcrBt0/mmKdw06XnBuGWDzBKu4AUtBLTm1OiPW\ngOi+sBXQ0R7XKTBlruBXTcn8Bk6Do4aHNbpwc/iCRHt80DGr0hYkE/zn3xj6\n8cgf3iNsD93o/K+overjgCOhzv0W/NLlNelyYuvYmCGsV/3xU8jdP2yax29q\nwdIcl200d+Z02OMCYZCRgrqAdV8nrjicLrK7Bfacy1ZgVWJ0FT+5hdCZHVZl\n2rqve8GboUgQ7k27kKNyvX3UTL+cXRaq8ZrXV6HBJeRMArLqjsLU+z6kk9qK\nMMr9mQcHthdBO37jEMzONly2yA1Sa9PlT/8BNxReYrqA04M5xezDQyebSeyr\nsqIOcLlLddwZtX2wFrlliS2ONhWsnkzeeWMqQbtY8u5Mymf2JNAigfqC80Di\nBvjMC12slOsh2WM6ex6ER0jAiQcRwkTZJlrAj93abMW22OCGXUtkxEHDPoO2\nfBAvdyM5M7HK0GtbBfP64HLat6Flbm5So/c4Sk0xrFlhOH8qjQPHwJE0RK8Z\n/9pAbGrXM+rFbpVux6XJ58AdfHY8OqpB3onjNxnAk5v/8QloJU9QZqMSCV+P\nAgsL\r\n=9b1T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGAnPgP/ScCm+CC3XVj9W9QrzD0kA+vz2DBj/A4v2xFIAiAaMKew6jt8ekpXtJtf1am1h0U8lhM4xcE1gXjtxnky8A=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.8.0_1586777781871_0.07787887150778228"},"_hasShrinkwrap":false},"0.9.0":{"name":"chai-openapi-response-validator","version":"0.9.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"npm run lint && npm run test:coverage","test:ci":"npm run test:precommit","lint":"eslint {lib,test}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"git+https://github.com/RuntimeTools/OpenAPIValidators.git","directory":"packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"Apache-2.0","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.19.2","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.20.2","eslint-plugin-mocha":"^6.3.0","express":"^4.17.1","fs-extra":"^9.0.0","mocha":"^7.1.1","nyc":"15.0.1","request":"^2.88.2","request-promise":"^4.2.5","rimraf":"^3.0.2","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","openapi-validator":"^0.9.0"},"_id":"chai-openapi-response-validator@0.9.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-taDvb20jLXHvhwjmcjrEI9mqlpkOM3lgyNG9tc7Cj9/etwloeVPWHDkINEFgpmOvCE2yFpMyyLwFMlwQY5Poiw==","shasum":"ab0b626be36f539cf0b19f57988cc80e6ed1beee","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.9.0.tgz","fileCount":23,"unpackedSize":39850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqBq0CRA9TVsSAnZWagAAs7cP/iWS3/B8gGf+c6PdRVqM\nIzF3Xchy5PLRw4jQPgz8iGxk1AdnE4/V5sLPzSQn2hCZy8r+iVnz3L2PVuPQ\naLdV9+0Bar5VsbmkpSwijIc3x48nwzEsJOYsom5iMc5SeIDgtYsIomHShaJF\nBbjLsq/H4loTvRWiuVtRZjvkZOMWn89jjKB6znOIO/1E0dK2/ATECmTSZm9q\nLduPyKVhhHJOBsrAKBZEcBKtX+YP7JqhGYb1eZZc5E91vSXVVwdtmYYPr1gP\n567r5Rad+AU918kGYeFNL/nX1SdseBjlcXX7RqIP5mwIcsG5dRBHUECSqSzR\nj/N3LX0XqOMGcFkyr/OPlArv8Ls/LX7ZDtrofsXixYFKzBtPyeI5l3y6hmKN\n5mVn4a7t6Abi24l3KU2s7w0vSzxsMhn7QiULynP0kV9hSCo/RuRDZne36PcA\nZc/ObN/fy46rBPtUnj2v2y6keflBSHZuF7O94a01HLyF1W1yPMmIKLDzgBSX\nKUwtdNP8+Cudhb+o4+FujHNUoKe6NEix7eqHjkr/xjs/AixJf3eurONLcoZv\nzVaH81LnUfYs6zFs7HLF2ykXoiqoX8fBOc9bvlvb7r/l+tJy6LK+ORJy+W+H\nlKhFVQ//z5QgmVcwI5DTguA1vzxMIJwJKHVQrgDHNvSUFt2uaYqhKLP4Jclq\niP0q\r\n=eyXw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFILMj5+gmaRXP2HiSazpCDIpbX8+3ActJhctJPcgoWkAiBbAPpHglx36MVxmhZ7k1LqdSqAOxMtceejzMhJNqaFqA=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.9.0_1588075188285_0.41889413536086795"},"_hasShrinkwrap":false},"0.9.1":{"name":"chai-openapi-response-validator","version":"0.9.1","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"npm run lint && npm run test:coverage","test:ci":"npm run test:precommit","lint":"eslint {lib,test}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"Apache-2.0","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.19.2","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.20.2","eslint-plugin-mocha":"^6.3.0","express":"^4.17.1","fs-extra":"^9.0.0","mocha":"^7.1.1","nyc":"15.0.1","request":"^2.88.2","request-promise":"^4.2.5","rimraf":"^3.0.2","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","openapi-validator":"^0.9.0"},"_id":"chai-openapi-response-validator@0.9.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-z4mkeA3Nuydd0h74fHWkv9uZdS71CbTnqQUsmOOYgoKcnUa3LcRLEwY8+Idy5bmqrTlZRozZThFIe7pUR2SuZA==","shasum":"987bf5bc92dea81e5f57e7f9c911b93afb8c7ae8","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.9.1.tgz","fileCount":22,"unpackedSize":39485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqCLGCRA9TVsSAnZWagAAgAEP/0aMLFKTM+Mlrf0dJH5k\n4+tZUvAspwslSxQdNLQ/F9JQxB9/PixiNjdOKH1/v4Pncfa0wSgTH6V0p0GR\nFgEWFIeavlrvUM/1Ddp3DU1mMerT4hpDPwks10NaKwUiB8c48NlkNzcAaiDZ\nFKetdM4Bu4zb6CyX2Xwspy/GDKFRG1X4vZIIC7BWZdnxneU3MtbBC+ln2eba\nbmmmJlaK7H/BqEYRyHW85tmgF8Y3zfbC+cYfSrVN+EZBiqQbY7eIq1EmpalV\nOZS+tchKbae69ROYUnhENrno9x7m1/TZBj3cyEBeSznpSjFzGXovffXjHfqU\nSJr4b53mRqnaoHey35ffWTK7fkcAwd053cz6k87PTijsj9WpSiZ5dcp4Gmrr\n9YJcR1MD2+rbKQTRfZRUMCkNldRblDobkHrxB+sk/0g3ITvnEDrF/rjvWd9v\n3hsQdYFWZvQsev8lp6Pfj8P2R5ziq2GF7TbbQsIwzOYBkKLwURhsEMYcfk1a\nhdfRUuJM8Jx5QvuAk5M6cCbNAwV+qBCF++nla5LBha32whksWQQXQ4qJNxwa\n59lgOPik0jIRr+h0MTMER8+a/21YnyJRewi9RHTxQKDhot2P/cJcy+RzyaLm\nDMHRAI3WNlw5Jl14f8t7qcIECOeBXw5Sm4DbywIjG9q3+l+FfMYUszyaJCCk\n80hl\r\n=Gt4+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFI+SAmNc7neoC8NjrKZiRoYqNWJgRF8LcwUmZRW76psAiB81oNPGsq14EX9rhdhkegpOfikzBJsS0ucmNSyRsud0Q=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.9.1_1588077254263_0.35494579646893776"},"_hasShrinkwrap":false},"0.9.2":{"name":"chai-openapi-response-validator","version":"0.9.2","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"npm run lint && npm run test:coverage","test:ci":"npm run test:precommit","lint":"eslint {lib,test}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"Apache-2.0","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.19.2","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.20.2","eslint-plugin-mocha":"^6.3.0","express":"^4.17.1","fs-extra":"^9.0.0","mocha":"^7.1.1","nyc":"15.0.1","request":"^2.88.2","request-promise":"^4.2.5","rimraf":"^3.0.2","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","openapi-validator":"^0.9.0"},"_id":"chai-openapi-response-validator@0.9.2","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-FQQKR9+j/EQavCgawczl8qAq1CTnJlNFA86gZhxUEMHzCvboMshZJanBfGR6+OpC3HyswaT1Q/T3l+Cmcvm/sg==","shasum":"6ab0c631363d4b7a2bf3f024c87020805172294e","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.9.2.tgz","fileCount":22,"unpackedSize":39485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevm7fCRA9TVsSAnZWagAAbC8P/0xdOOKSmFwj4P6nxNkS\n7RszNsy7a1s60h9OQQWZr9BsCKkc2JyibCNj9eR/M2UNrfEbdE4TYGDVHkwl\nMtD7hgE80W/oYtanMMcdsu6BG6wtqYYrEqQbc4x7IrPGZqPZnXqBFAbeGFAS\nSeyMsmRa5mxo3VjLR4N+2jLDGOfQ71cPNNlq0c/+6CXlMPdGcL0y1me/M8ql\nO9g0luxttITZVL0eNw6RuOZMIT0XxGGzCQDP0aX8mZwgFupmHc70vCY1fHqb\nrnus9QsaAKftWMUoFWX5xVzpUIHTyVx+7dsbqfCEIZ5AEHWybtMW57sSKvrr\nmvnjvs+AWtpD+SLBzFUMjzw4bBPs60FQrkQWEoe8YX7svYyWekvAnvSSOdYx\njY0BYBVfubiwQgWPJ1UI6RIucLFQ29RC0dLzh6Jx+9mrrHWA54Q3J1eNm1hf\ninGO4MqpnsuVUFjQUMaz2hlI25A3xj+wOXK9mEWnoa+NZ7PIXkwXpiE7ua0I\nkrQcvgTEtxfKIhw+get8HBuuDRb41XFB3Ty95LhL9RwR/rdAFixqNwmLWsze\nBgzhPVPFFtENygtBYKejYgZIgREBhna3xTMMFOxI9KtAglUjnyKjVBo3WwDU\nAJ6UlgoGgXweb0hfHMvnM1astjGGfAjuMgzMnWuOKQNduVM/LqdsUsu5vqWl\nhYRS\r\n=t/dJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgG5n7IozwhIl+yLKpNUiUvuoTDJ/o9U7uZz0Jc06tlQIhAJR1DLYduT/GzvGr48cYTP8lOoOHBWvR3UCvsinvtBaj"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.9.2_1589538526739_0.4112050076667215"},"_hasShrinkwrap":false},"0.9.3":{"name":"chai-openapi-response-validator","version":"0.9.3","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"npm run lint && npm run test:coverage && npm run test:mutation","test:ci":"npm run test:precommit","lint":"eslint {lib,test}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"Apache-2.0","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.19.2","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.20.2","eslint-plugin-mocha":"^6.3.0","express":"^4.17.1","fs-extra":"^9.0.0","mocha":"^7.1.1","nyc":"15.0.1","request":"^2.88.2","request-promise":"^4.2.5","rimraf":"^3.0.2","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","openapi-validator":"^0.9.0"},"_id":"chai-openapi-response-validator@0.9.3","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-HGIWTTJIdrBl290SoxRDUqlzokZhzmm9O/HHrnla5cSGWWf1Tlv+231+bNe+ExSOWfQOGBuMmrVM3f5PZ2P/fw==","shasum":"a0a35a1c78386433a2e5c248eafa1a56f2259c3c","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.9.3.tgz","fileCount":22,"unpackedSize":39354,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe09MsCRA9TVsSAnZWagAAuM0P+wU6EdE3aoHCO27g6fqZ\nq8htQsqVvelBCe/mWvvkxt6LrtReX7BJoQLjcYYbNOfnPmfgSpy8zKk9rxcT\nOFK3RiOuAkPqYJFNOgzRN7VShlLsnskBnDkSD/IUANb/q3xl4y9DZpTPYA1J\n8Gv9V98ZtXExVUhIM/GIrD541qPAvhMulYxjRAHKNssjEXWKVE0uXE5ZXXKa\nMdM8MwgfHWOpVt2RLSiHaoCTeXZ2JjRF0O6zyEjxWB3YP2nGGeVwlNRJERBq\nC5GlOdSgV9K0XvY9eA1mE9tr719M60kJ5XyJjdChbLfIfZJoF9B8Vo5nrGtl\nSU7W1VVg2RRQl/UrPLfgrPjDldhYTn3FT0/Otw98NiHA3nawYQpzM6radPs2\nKf+ptbejkBZpjFNCsSShLUaXKWD1IFQJvJNGDF1zFpgYP7LmcW4zMEMuO2EL\n5fWrQ8/jZHpvnG4l9PwB2+ISsJ5GwWfB7UFBJH7X/+JdbttWOxqkfhmw8G+l\nrIi6KdiPOo8yHNiumY6yjCcVdjlnGycNJ4oTyhkI6Zbj+kiYdbpHU/H6aNUo\nfPWciCkeAsiPyI4UPjlg7kIcWiDRKc4+nItcZEoOwjLFKcZ4X+CZCASd9bgg\nt5gSTHO2TNl3yoSGtD7Tm9AUI3NB+6/n67xyhsG2xDb+PZAB2Po1ok7Dta5v\nTpw2\r\n=4ncp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/VoeTF1fruEqLBzO/l/fpSgBc/xTJpRypejrEZsBv+AIhAK0e/JCda53vYf/Df45AMsPxQw/Mn2sDJJ83RYBQNPwl"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.9.3_1590940459310_0.7334956828006871"},"_hasShrinkwrap":false},"0.9.4":{"name":"chai-openapi-response-validator","version":"0.9.4","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --recursive --exit","test:coverage":"nyc npm test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"npm run test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"npm run lint && npm run test:coverage","test:ci":"npm run test:precommit && npm run test:mutation","lint":"eslint {lib,test}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"Apache-2.0","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.19.2","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.2.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.21.1","eslint-plugin-mocha":"^7.0.1","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^7.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.5","rimraf":"^3.0.2","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","openapi-validator":"^0.9.0"},"_id":"chai-openapi-response-validator@0.9.4","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-5fU7TW2GXTV6fvqatLsLjCJcZIP6bYmiCfFz9NJUD8N9PwrNkabpah95ERGBnL1mLKnKZVt6VKMajgPL6t7nLg==","shasum":"5965e09295101150754368e8755a6625804119fd","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.9.4.tgz","fileCount":22,"unpackedSize":39371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3imBCRA9TVsSAnZWagAA9JwQAJ86NJ7T+tibMUbUZfgK\ny6xriolU7FitadypiR6UTA1hTiQ7Gh9WrgiTce4kJBLpN5dKoWgugKm+iq36\nNP/+Yn7DMsBMMQB9LDRAP7zvoEo6vNlKWsWkqjotizoj4H7BCyA1JpFiQa66\nPfVO8VTJ3kT4v7R4/NHnM9Cyjw0VDj9dhV8/76MkNGtUghjKpTpkR2iBd48i\nqjeKiP1J4QL5bmopUa3EI0qhagIJy92EG0vIj0Ql5B1cZDe6Mdjj92mwZ9e8\n9aJIjO/TzBx64+L0A4WlqgsY//37HwMGe7VM9B5cEIjHxz3SsoO4SfXs6UzM\n7ryvVyWclYQBF5WEYSV8tmBc/iFm9scRgZNTHwG9PNZFKiro1filtuTRNF8R\n4e8nVtgfTCnfYlA5SNKWI7EHCnASWkUVAkXcA1HINPzjmC++pTwi1xBoUu1I\n79zetZEdEDT3ZCq5IEUPVymuKXlQVG9zwF/bfcVe8uuS0h0j8z//iPx6Sz0/\nacB2JX4+S+M3rzFD/vp3ZZL41V+zA8WHzkCAMZP5EM2pNU3Uo2Qvn/xaslug\n3wuq9mVdts05dOBqRfbL2N55hCJBJd0j7zmHOuyxV5QdsU+PU/pgGCf4g4Oh\nCamVFuKZMMPTA8xSH0fZ0SRraz/mBmZhekx0bht9HJ/h473NQZYrdg1qIrhu\nNO+p\r\n=wvOj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICu8/HRRrGgLgjWo8AoF4MM/BCbWmjbbVEUYoJr+zPk/AiAxdmjzARd/ek0URHv4vr/ekpqRI7g9YoMUf0EGJ0bjCQ=="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.9.4_1591617921428_0.7427782974379904"},"_hasShrinkwrap":false},"0.10.0":{"name":"chai-openapi-response-validator","version":"0.10.0","description":"Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --recursive --exit","test:watch":"yarn test --watch","test:coverage":"nyc yarn test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"yarn test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit && yarn test:mutation","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"eslint .","lint:fix":"yarn lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"Apache-2.0","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.20.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-config-airbnb":"^18.2.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.1.3","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^5.0.0"},"dependencies":{"openapi-validator":"^0.9.0"},"_id":"chai-openapi-response-validator@0.10.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.6","dist":{"integrity":"sha512-2Tvt/vGgpwdePZBS5ZDYmtaCziaOAjnj2LWEHLjvZzLvxB5TXKje6O7WA7yhv++lCUgh508RjCYgsykOSs1rWQ==","shasum":"5c180a3a2ab1cb441508bcc05c067c72c077f9e6","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.10.0.tgz","fileCount":22,"unpackedSize":42109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgze+CRA9TVsSAnZWagAAu8UP/2onRx2qPy2bWgkazqaV\nJp8oz2v1o0/G7yBKVm2sLEYrMDHV+Sl97ikU+a3gdLM49KUPn16Jur2qHCDC\nIqK2XotJeZYbfbT+GEHZVwmXE8cGpfhbp4g3buFjc+PTflGhOGx9y5tfGb4B\nZj0kbiZPQ7maJG0VQlcAczuledMpiMhBEDLogQHepzbvVM4MbGeduKF98Yf1\nZt/1OIxyvg4+dxJgKBw7ao3bupk0gEtGxvzhli3HqWtKdY5msAUWF5lJTT9h\nIk5A5lBYQ/XjkijvHZW3cd2S7LJRtLyX/L741nw3kdgRxtJ35nmZKUXGPQAR\nv/XfFd1I5a/xZzDgIqMBxzsthacbnlMNtABuqyN4z+O5FiIW/fuIj6nc8ZH7\ntfQ1u5qVSsi9CM9JBu7AFk80DIWAKyH+13XIURYzwo9djz79hTU4+D9S4FEs\nUm3tJH/xSNWaI9dW2wMImLhID1KHddWLGGBxnafq3SD+C5sHOV+cHgU9VaNM\nekbH8ToETjuRioybT+XG6ws5tGbqYzHmVCOpPixym1XltiC5w41h5peloHmS\nwbydTU6lTu6CNUQ98jzcyomw08TSjIsq83f9Y3jC6BxV+N4QxG78L5oI+w9+\nMZnx/WiwafJIsR2t/gJAG48hQfWdIsXIZL5gbGzA+Z6mJnMcS/IXz/GVOkwx\n32IW\r\n=XVYC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC0G+t1E5VLvFF6dL7UrdFCz4ZN+u/lGZAn7gDINUInKgIgH6Xp8mKLKkMpedkhhkEmA1XkIwcKEUqkBtaJgrLXaxI="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.10.0_1602435006124_0.9100502578604968"},"_hasShrinkwrap":false},"0.11.0":{"name":"chai-openapi-response-validator","version":"0.11.0","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"mocha --recursive --exit","test:watch":"yarn test --watch","test:coverage":"nyc yarn test && nyc report --reporter=lcov && nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","test:coverage:browse":"yarn test:coverage; open coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit && yarn test:mutation","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"eslint .","lint:fix":"yarn lint -- --fix"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.20.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-config-airbnb":"^18.2.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.1.3","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^5.0.0"},"dependencies":{"openapi-validator":"^0.9.0"},"_id":"chai-openapi-response-validator@0.11.0","dist":{"shasum":"fe81feeefcaf46b7a5df33d85a3474f71f6aa18f","integrity":"sha512-wrJxjs6dimDPZL5QohBm4QHuaNXKGWaadlAcdApoajC/ZwelYs/pLrZqfqAMiAc4k6p2SjVKrrJ1onDt+I4aFA==","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.11.0.tgz","fileCount":29,"unpackedSize":40693,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuT8mCRA9TVsSAnZWagAA3KUP/RdvS9LPkhCKvpDM+vjV\n9ruqDDxoQrVO27wmMzrcu4R5zzoZV6RXXyAhGAe8Tg/UuvJLxP5uTeIjgzUu\nx6ct+3EuK/wTxgXR7aijsFihqT6rBIoC8Ej2jtD9TUQJUjaZEkjfXkF5fV/6\nRuX3qw4umqJdI6e5rqCNM7dkJub6lXaDj8mwFLipkrn4ek1K2dFenak/DReL\n0341XWf/AM2KZWcT36pfPHWAnvgWiBtyLO9TvWaB4cbFnEvQonHhHOJXE/7B\nXlT+mv0AeZux4v2vZZjJpu7lteuZn0/z28Z4gHjyLm+QHtz7bF3EnAFXcgeE\nungqFlwUcl/PagPMbWTKb9atLEdwQaNOzJsBzsj3xVs9SBPYnkE1AcKE8yw8\nFYizBtEAbB6qiCcl/eKD+T0F00PbeJ34FFDeulN0pL/NR32OipuSWYgJM8SH\nmixExVxe8HsQZJZW2koXkvk7ugCtu5F7XtV8IqqlWrzrBUiZf/hseSIZ327c\n9Q2gexpINagk1/G8FoqEbO5dS0pj14BJviyh6WdmwOLtOMUogNikJ7+v1Atg\nPTd/LSvg7UTzaG0+XlYA5sm0sXrjSr1SWJrSrd+idLL8mjdGf1uN91vMnrWZ\nsCwYFKUgZYMjeMOtOedlN/+ZwaukzzSAPAItQzoIftg1Xb9ezQczRm6nOYjA\nY9Fs\r\n=RWrS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqu3sw2FM0Bn62LuvDhNElu4FJ7dQi3O+uEPbVbvSm+gIhAJkemaw6LpcWnXpPBw1N5fAx81Ec6J4yn6vdUsFrKb77"}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.11.0_1605975845908_0.9874960719443118"},"_hasShrinkwrap":false},"0.11.1":{"name":"chai-openapi-response-validator","version":"0.11.1","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"eslint .","lint:fix":"yarn lint --fix","test":"mocha --recursive --exit","test:watch":"yarn test --watch","test:coverage":"nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit && yarn test:mutation"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.21.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-config-airbnb":"^18.2.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0"},"dependencies":{"openapi-validator":"^0.11.1"},"readmeFilename":"README.md","readme":"# Chai OpenAPI Response Validator\n\n[![downloads](https://img.shields.io/npm/dm/chai-openapi-response-validator)](https://www.npmjs.com/package/chai-openapi-response-validator)\n[![npm](https://img.shields.io/npm/v/chai-openapi-response-validator.svg)](https://www.npmjs.com/package/chai-openapi-response-validator)\n[![Build Status](https://travis-ci.com/openapi-library/OpenAPIValidators.svg?branch=master)](https://travis-ci.com/openapi-library/OpenAPIValidators)\n![style](https://img.shields.io/badge/code%20style-airbnb-ff5a5f.svg)\n[![codecov](https://codecov.io/gh/openapi-library/OpenAPIValidators/branch/master/graph/badge.svg)](https://codecov.io/gh/openapi-library/OpenAPIValidators)\n[![included](https://badgen.net/npm/types/jest-openapi)](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/index.d.ts)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md)\n\nUse Chai to assert that HTTP responses satisfy an OpenAPI spec.\n\n## Problem 😕\n\nIf your server's behaviour doesn't match your API documentation, then you need to correct your server, your documentation, or both. The sooner you know the better.\n\n## Solution 😄\n\nThis plugin lets you automatically test whether your server's behaviour and documentation match. It extends the [Chai Assertion Library](https://www.chaijs.com/) to support the [OpenAPI standard](https://swagger.io/docs/specification/about/) for documenting REST APIs. In your JavaScript tests, you can simply assert [`expect(responseObject).to.satisfyApiSpec`](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n\nFeatures:\n\n- Validates the status and body of HTTP responses against your OpenAPI spec [(see example)](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n- Validates objects against schemas defined in your OpenAPI spec [(see example)](#in-unit-tests-validate-objects-against-schemas-defined-in-your-OpenAPI-spec)\n- Load your OpenAPI spec just once in your tests (load from a filepath or object)\n- Supports OpenAPI [2](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) and [3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md)\n- Supports OpenAPI specs in YAML and JSON formats\n- Supports `$ref` in response definitions (i.e. `$ref: '#/definitions/ComponentType/ComponentName'`)\n- Informs you if your OpenAPI spec is invalid\n- Supports responses from `axios`, `request-promise`, `supertest`, `superagent`, and `chai-http`\n- Bundled with a TypeScript Declaration File for [use in TypeScript projects](#using-this-plugin-in-a-typescript-project)\n- Use in [Mocha](#usage), [Jest](https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme) and other test runners\n\n## Contributing ✨\n\nIf you've come here to help contribute - thanks! Take a look at the [contributing](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md) docs to get started.\n\n## Installation\n\nThis is an addon plugin for the [Chai Assertion Library](http://chaijs.com). Install via [npm](http://npmjs.org).\n\n```bash\nnpm install --save-dev chai-openapi-response-validator\n```\n\n## Usage\n\n### In API tests, validate the status and body of HTTP responses against your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an object with fields 'stringProperty' and 'integerProperty'\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - stringProperty\n                  - integerProperty\n                properties:\n                  stringProperty:\n                    type: string\n                  integerProperty:\n                    type: integer\n```\n\n#### 3. Run your test to validate your server's response against your OpenAPI spec:\n\n##### The assertion passes if the response status and body satisfy `openapi.yml`:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 123,\n  },\n};\n```\n\n##### The assertion fails if the response body is invalid:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 'invalid (should be an integer)',\n  },\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected res to satisfy API spec\n\nexpected res to satisfy the '200' response defined for endpoint 'GET /example/endpoint' in your API spec\nres did not satisfy it because: integerProperty should be integer\n\nres contained: {\n  body: {\n      stringProperty: 'string',\n      integerProperty: 'invalid (should be an integer)'\n    }\n  }\n}\n\nThe '200' response defined for endpoint 'GET /example/endpoint' in API spec: {\n  '200': {\n    description: 'Response body should be a string',\n    content: {\n      'application/json': {\n        schema: {\n          type: 'string'\n        }\n      }\n    }\n  },\n}\n```\n\n### In unit tests, validate objects against schemas defined in your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('myModule.getObject()', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Run the function you want to test\n    const myModule = require('path/to/your/module.js');\n    const output = myModule.getObject();\n\n    // Assert that the output satisfies a schema defined in your OpenAPI spec\n    expect(output).to.satisfySchemaInApiSpec('ExampleSchemaObject');\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an ExampleSchemaObject\n          content:\n            application/json:\n              schema: '#/components/schemas/ExampleSchemaObject'\ncomponents:\n  schemas:\n    ExampleSchemaObject:\n      type: object\n      required:\n        - stringProperty\n        - integerProperty\n      properties:\n        stringProperty:\n          type: string\n        integerProperty:\n          type: integer\n```\n\n#### 3. Run your test to validate your object against your OpenAPI spec:\n\n##### The assertion passes if the object satisfies the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 'string',\n  integerProperty: 123,\n};\n```\n\n##### The assertion fails if the object does not satisfy the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 123,\n  integerProperty: 123,\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected object to satisfy schema 'ExampleSchemaObject' defined in API spec:\nobject did not satisfy it because: stringProperty should be string\n\nobject was: {\n    {\n      stringProperty: 123,\n      integerProperty: 123\n    }\n  }\n}\n\nThe 'ExampleSchemaObject' schema in API spec: {\n  type: 'object',\n  required: [\n    'stringProperty'\n    'integerProperty'\n  ],\n  properties: {\n    stringProperty: {\n      type: 'string'\n    },\n    integerProperty: {\n      type: 'integer'\n    }\n  }\n}\n```\n\n### Loading your OpenAPI spec (3 different ways):\n\n#### 1. From an absolute filepath ([see above](#usage))\n\n#### 2. From an object:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Get an object representing your OpenAPI spec\nconst openApiSpec = {\n  openapi: '3.0.0',\n  info: {\n    title: 'Example API',\n    version: '0.1.0',\n  },\n  paths: {\n    '/example/endpoint': {\n      get: {\n        responses: {\n          200: {\n            description: 'Response body should be a string',\n            content: {\n              'application/json': {\n                schema: {\n                  type: 'string',\n                },\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n};\n\n// Load that OpenAPI object into this plugin\nchai.use(chaiResponseValidator(openApiSpec));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 3. From a web endpoint:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  // Load your OpenAPI spec from a web endpoint\n  before(async () => {\n    const axios = require('axios');\n    const response = await axios.get('url/to/openapi/spec');\n    const openApiSpec = response.data; // e.g. { openapi: '3.0.0', <etc> };\n    chai.use(chaiResponseValidator(openApiSpec));\n  });\n\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n### Using this plugin in a TypeScript project\n\n#### Installation\n\nYou don't need to `npm install --save-dev @types/chai-openapi-response-validator` because we [bundle our TypeScript Definition file into this package](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/index.d.ts).\n\nBut make sure you `npm install --save-dev @types/chai` because Chai does not bundle their TypeScript definition files like this.\n\n#### Importing\n\n1. Make sure your `tsconfig.json` includes:\n\n```javascript\n{\n  \"compilerOptions\": {\n    esModuleInterop: true,\n  }\n}\n```\n\n2. Import like this:\n\n```javascript\nimport chai from 'chai';\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n```\n","_id":"chai-openapi-response-validator@0.11.1","dist":{"shasum":"b5a0b927f48dd652180f358bbc991c8e2a917042","integrity":"sha512-qL479y79YxrgtH1P37GMsaLaJfN4h51F+maWY81KtC/sVIOQ5182EfZYZI28tYYD9Yvs/0177PQB5HRONa8EdQ==","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.11.1.tgz","fileCount":11,"unpackedSize":23000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO3UMCRA9TVsSAnZWagAAOMoP/3YSpyahF8U4z0VOhx0X\ndpZj56rEXReVoWTagKqUm+styCGlqr1RiBGvQCv7zfD0qpHSxpQrekNeEpdA\n0CWAvZSBvK6HRRX/Zts4JkGJNr1Cg4ISYz9k7qQ/7EqZLJ2+MhauegoIF5ED\nFQZRe4PFbrgodb3dGvpAW/jV9nWd2FcTvk5mIff0WwBDmeJHZpPyGDM7Aolm\n7pekfKqk7YgsLPgtK2Her4d2dLj5TfL/aOW/sHw3O/pjXheX61IraN3cHbJo\njmQN4BL8Z/7564gN9p0nlg62kcq31e58gGRVE6ojMigs6cbQyWCgO6HfDyhO\nM+Nl9p+nUy6eZmIxrb0Hd/wo+83msE4Y9zz4TVjnP0CHmSd1uSvGht3Dlu6T\nZMpKix7U93q2LPmstOSDGteTKtEmENOM+WNTyyXzRxiF3hlmHaTnt9sLBfGa\nPMIIdkHuSDSpobvpQj1naK8DUsoVoj06V6KHi+g+RWzPEr2WKB0TJI2TkgA7\nozZzcX51mPVpoxNKIVbfwnJ/tQAwicIoorULTIzDZJsZRJ3VtDsXltAJ+cKU\nTvbQtMnUz8ahaBxFNWonKbaUJu/QL7VILGtMmEfrBpCOT8CwNBuj458IiLcA\n7FFsWYjME4G1CEgyOzi57/S1jH6Kj8sfRmwWBh5W2t5ReWI3M0e8Cf0Rbld5\nj4uz\r\n=5Ucm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDFvpHRP9JjYqqiIRjluBxJk7/voRFuipX4NmRaxekSKAiAiu3zbIP8x9AAW34A/0DEZ5sLwgjrgbQk012FqedU6CA=="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.11.1_1614509324192_0.07546304142659421"},"_hasShrinkwrap":false},"0.11.2":{"name":"chai-openapi-response-validator","version":"0.11.2","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"eslint .","lint:fix":"yarn lint --fix","test":"mocha --recursive --exit","test:watch":"yarn test --watch","test:coverage":"nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit && yarn test:mutation"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.21.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-config-airbnb":"^18.2.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0"},"dependencies":{"chai-openapi-response-validator":"^0.11.1","openapi-validator":"^0.11.1@test-1"},"readmeFilename":"README.md","readme":"# Chai OpenAPI Response Validator\n\n[![downloads](https://img.shields.io/npm/dm/chai-openapi-response-validator)](https://www.npmjs.com/package/chai-openapi-response-validator)\n[![npm](https://img.shields.io/npm/v/chai-openapi-response-validator.svg)](https://www.npmjs.com/package/chai-openapi-response-validator)\n[![Build Status](https://travis-ci.com/openapi-library/OpenAPIValidators.svg?branch=master)](https://travis-ci.com/openapi-library/OpenAPIValidators)\n![style](https://img.shields.io/badge/code%20style-airbnb-ff5a5f.svg)\n[![codecov](https://codecov.io/gh/openapi-library/OpenAPIValidators/branch/master/graph/badge.svg)](https://codecov.io/gh/openapi-library/OpenAPIValidators)\n[![included](https://badgen.net/npm/types/jest-openapi)](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/index.d.ts)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md)\n\nUse Chai to assert that HTTP responses satisfy an OpenAPI spec.\n\n## Problem 😕\n\nIf your server's behaviour doesn't match your API documentation, then you need to correct your server, your documentation, or both. The sooner you know the better.\n\n## Solution 😄\n\nThis plugin lets you automatically test whether your server's behaviour and documentation match. It extends the [Chai Assertion Library](https://www.chaijs.com/) to support the [OpenAPI standard](https://swagger.io/docs/specification/about/) for documenting REST APIs. In your JavaScript tests, you can simply assert [`expect(responseObject).to.satisfyApiSpec`](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n\nFeatures:\n\n- Validates the status and body of HTTP responses against your OpenAPI spec [(see example)](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n- Validates objects against schemas defined in your OpenAPI spec [(see example)](#in-unit-tests-validate-objects-against-schemas-defined-in-your-OpenAPI-spec)\n- Load your OpenAPI spec just once in your tests (load from a filepath or object)\n- Supports OpenAPI [2](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) and [3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md)\n- Supports OpenAPI specs in YAML and JSON formats\n- Supports `$ref` in response definitions (i.e. `$ref: '#/definitions/ComponentType/ComponentName'`)\n- Informs you if your OpenAPI spec is invalid\n- Supports responses from `axios`, `request-promise`, `supertest`, `superagent`, and `chai-http`\n- Bundled with a TypeScript Declaration File for [use in TypeScript projects](#using-this-plugin-in-a-typescript-project)\n- Use in [Mocha](#usage), [Jest](https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme) and other test runners\n\n## Contributing ✨\n\nIf you've come here to help contribute - thanks! Take a look at the [contributing](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md) docs to get started.\n\n## Installation\n\nThis is an addon plugin for the [Chai Assertion Library](http://chaijs.com). Install via [npm](http://npmjs.org).\n\n```bash\nnpm install --save-dev chai-openapi-response-validator\n```\n\n## Usage\n\n### In API tests, validate the status and body of HTTP responses against your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an object with fields 'stringProperty' and 'integerProperty'\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - stringProperty\n                  - integerProperty\n                properties:\n                  stringProperty:\n                    type: string\n                  integerProperty:\n                    type: integer\n```\n\n#### 3. Run your test to validate your server's response against your OpenAPI spec:\n\n##### The assertion passes if the response status and body satisfy `openapi.yml`:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 123,\n  },\n};\n```\n\n##### The assertion fails if the response body is invalid:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 'invalid (should be an integer)',\n  },\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected res to satisfy API spec\n\nexpected res to satisfy the '200' response defined for endpoint 'GET /example/endpoint' in your API spec\nres did not satisfy it because: integerProperty should be integer\n\nres contained: {\n  body: {\n      stringProperty: 'string',\n      integerProperty: 'invalid (should be an integer)'\n    }\n  }\n}\n\nThe '200' response defined for endpoint 'GET /example/endpoint' in API spec: {\n  '200': {\n    description: 'Response body should be a string',\n    content: {\n      'application/json': {\n        schema: {\n          type: 'string'\n        }\n      }\n    }\n  },\n}\n```\n\n### In unit tests, validate objects against schemas defined in your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('myModule.getObject()', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Run the function you want to test\n    const myModule = require('path/to/your/module.js');\n    const output = myModule.getObject();\n\n    // Assert that the output satisfies a schema defined in your OpenAPI spec\n    expect(output).to.satisfySchemaInApiSpec('ExampleSchemaObject');\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an ExampleSchemaObject\n          content:\n            application/json:\n              schema: '#/components/schemas/ExampleSchemaObject'\ncomponents:\n  schemas:\n    ExampleSchemaObject:\n      type: object\n      required:\n        - stringProperty\n        - integerProperty\n      properties:\n        stringProperty:\n          type: string\n        integerProperty:\n          type: integer\n```\n\n#### 3. Run your test to validate your object against your OpenAPI spec:\n\n##### The assertion passes if the object satisfies the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 'string',\n  integerProperty: 123,\n};\n```\n\n##### The assertion fails if the object does not satisfy the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 123,\n  integerProperty: 123,\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected object to satisfy schema 'ExampleSchemaObject' defined in API spec:\nobject did not satisfy it because: stringProperty should be string\n\nobject was: {\n    {\n      stringProperty: 123,\n      integerProperty: 123\n    }\n  }\n}\n\nThe 'ExampleSchemaObject' schema in API spec: {\n  type: 'object',\n  required: [\n    'stringProperty'\n    'integerProperty'\n  ],\n  properties: {\n    stringProperty: {\n      type: 'string'\n    },\n    integerProperty: {\n      type: 'integer'\n    }\n  }\n}\n```\n\n### Loading your OpenAPI spec (3 different ways):\n\n#### 1. From an absolute filepath ([see above](#usage))\n\n#### 2. From an object:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Get an object representing your OpenAPI spec\nconst openApiSpec = {\n  openapi: '3.0.0',\n  info: {\n    title: 'Example API',\n    version: '0.1.0',\n  },\n  paths: {\n    '/example/endpoint': {\n      get: {\n        responses: {\n          200: {\n            description: 'Response body should be a string',\n            content: {\n              'application/json': {\n                schema: {\n                  type: 'string',\n                },\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n};\n\n// Load that OpenAPI object into this plugin\nchai.use(chaiResponseValidator(openApiSpec));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 3. From a web endpoint:\n\n```javascript\n// Set up Chai\nconst chai = require('chai');\nconst expect = chai.expect;\n\n// Import this plugin\nconst chaiResponseValidator = require('chai-openapi-response-validator');\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  // Load your OpenAPI spec from a web endpoint\n  before(async () => {\n    const axios = require('axios');\n    const response = await axios.get('url/to/openapi/spec');\n    const openApiSpec = response.data; // e.g. { openapi: '3.0.0', <etc> };\n    chai.use(chaiResponseValidator(openApiSpec));\n  });\n\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n### Using this plugin in a TypeScript project\n\n#### Installation\n\nYou don't need to `npm install --save-dev @types/chai-openapi-response-validator` because we [bundle our TypeScript Definition file into this package](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/index.d.ts).\n\nBut make sure you `npm install --save-dev @types/chai` because Chai does not bundle their TypeScript definition files like this.\n\n#### Importing\n\n1. Make sure your `tsconfig.json` includes:\n\n```javascript\n{\n  \"compilerOptions\": {\n    esModuleInterop: true,\n  }\n}\n```\n\n2. Import like this:\n\n```javascript\nimport chai from 'chai';\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n```\n","_id":"chai-openapi-response-validator@0.11.2","dist":{"shasum":"4161945770f1e1f20f1aa803841695e74dc820fc","integrity":"sha512-BImM2OYjhgnPk02aoVBiIsLkhP979Z6to9BNf58n8MVPWwqWXLGE1kdh1YxHI7QosmVlxNKmBFyFjYbLZw0OBQ==","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.11.2.tgz","fileCount":11,"unpackedSize":23057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO3auCRA9TVsSAnZWagAAaFEP/0dB0iU0rRNB1/viahHV\nFlovDXCMgNOfOPJQlDMmz4tcQ9JfE9yeIYhZguwK65TevwXQThfGSFhC+qD3\nNvlkjzylltDCViDRJy8lRqDlzEGMfOA2KyTWWeX/trnZ9j7RlCzN1RZbWph5\ngP2vYeywoaeI5avRFh0ZFudfBvrpLA5qmh3NvIIcvTjYV+nC2eGVIaMr+abN\nLDqpR2dS0ao5YAB2H/7hZegDuLeqw62O8Kb6cWAlRNY9jUSpl+kG8uxxe6TD\nVC6Sn8qlnwnZ8iUYCMpo5EFGdXGLCbLCmns8JzsrfBQnJPn5fKT8eV61W2Tl\nhyhRfulSKJK3J4RWoaH9VIQHdmPixwz19EGeWIi1aSCt+AgoAY4wd9kG8hfC\n9Zzz8akK2vksvSqmO4nOm5puHFsdsw5UTncL5Q0naxC/xPPkw1nhX0k6QfoB\nObiIykPFnRhSA1IvX17Ln5P27CrMP1JpQjfSMzF/nq6S3cF19Jr4+DgoE/uL\nIz4uHOjEnQpUtqkoQ7sSb4sMCaBDqrkD9XaFKpbBR63w7mJEB8gNZgWO7zmp\nXPreOfNziNaJBLNC+Hu9il57Hzx/otBCCWA8EWZR5QXvwhcvT7EnyMc86Mop\ngY/6nX2FuUXIpEt4DVoxfeldl/9FpFMvGMrjrN5Dgu5Mbu/7GpndoenJIZbZ\nwoZj\r\n=8WiV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDapscU+J7s0uhap6Qa+pXJiLmtE4W58FHlSD39FG1flQIhANfCMHZtJWNlgtgfkFxBKHAFp2GY0Kb//gEaRENAq2VR"}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.11.2_1614509741635_0.6894617594243944"},"_hasShrinkwrap":false},"0.12.0":{"name":"chai-openapi-response-validator","version":"0.12.0","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"eslint .","lint:fix":"yarn lint --fix","test":"mocha --recursive --exit","test:watch":"yarn test --watch","test:coverage":"nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit && yarn test:mutation"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.21.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-config-airbnb":"^18.2.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0"},"dependencies":{"openapi-validator":"^0.12.0"},"_id":"chai-openapi-response-validator@0.12.0","dist":{"shasum":"e998c1fc4cb6ac3d7b3ac53197bddc3c2f8e698e","integrity":"sha512-2kOjbcLYr2RqTAelol4r/TNuRSz0o/XvZQ2rMbj64VgiEH4G4GrjSNtnxE21f5RuaoKEdW6tXVRLXM+0q7W/zw==","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.12.0.tgz","fileCount":11,"unpackedSize":23000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO8S9CRA9TVsSAnZWagAAOhkP/i+bqz+ZX3Q9xl+VjtE3\nI5k0qsyO7xksFQgUjDrEFyx3nRbop8vGGBKfWNDGz3Hl0furm0307gM6q1y+\nAvyHUK1ogFCJpl4/+1mEHDQlFWdZ6Rol1d48nUsWRIsTFPCZ2rCYPKFoYD6H\nMki7Fregkx3eTF7ndapVKDTV3jK5M8J7H8Pn8ygC3j9xQ2pZNO1oxEG+qOZU\nHf8LQjrUgQU23jfd8oX66jWry5pnv5D8hre+vK/nZXSY2+SWn2G5+SgYR4Q9\nD5a59ja8+szU6Keu3y9ezN/RlWN99j0GjnhkV11LUwBwr9jIH/l5Zclm+t4f\nJTx6H5a+IEeEOI4kiUvZer0BBEuRtGffvDCH4/D2bPl0Sh9Qnruk86MNTxIv\n0U1sqVFZqalfX7uBzygAujYW4eHTeadosiC4e7i/yseKvlWDWW+IePoblSPl\nm0eUbYxYDfsF0O3HKYXBC8suM4rd6U9N7RPCrEmDDCzGI6D6ltGpgbeaoVKC\nda6+1RO9vura9oBEMAD5/xNFBMNf2WFyqTa/sxggIPg8sIl5DHzpIInhYSrc\nmDRcc1frBkVCH/wlKzmQ24ZKnK3G6s2FN355t9uhU7vclSqsYvoVWFoQmV6r\n5/YTx4Y6gMMNRjUZryW/iMu0kWvss+vOc+EP8yOtEOCmGnLOKNES/c+mfhzy\n7ZC8\r\n=xHsZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuDKTqAcdu0G+CTdQdWKteGhd+dvk7O7YjPvmtAOarNgIhAM+CdU97SK8omWvJu3yLy8nvTLb9cV3F+fPRXQ6+kbvf"}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.12.0_1614529725319_0.4811063943773277"},"_hasShrinkwrap":false},"0.13.0":{"name":"chai-openapi-response-validator","version":"0.13.0","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"eslint .","lint:fix":"yarn lint --fix","test":"mocha --recursive --exit","test:watch":"yarn test --watch","test:coverage":"nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:mutation":"stryker run","posttest:mutation":"rimraf commonTestResources","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit && yarn test:mutation"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/mocha-framework":"^3.1.0","@stryker-mutator/mocha-runner":"^3.1.0","axios":"^0.21.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-config-airbnb":"^18.2.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0"},"dependencies":{"openapi-validator":"^0.13.0"},"_id":"chai-openapi-response-validator@0.13.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-YnlUec1uYuOQ1ikWI5t4J+HIsULf2+NLYLi+YJUVbDllZw8Hk5kXIpyxzLeOcwL+G7tdtxyGlf8GBY3wGNNd6g==","shasum":"81b51d4c47b9cfb64146ad89bbade7f719242b57","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.13.0.tgz","fileCount":8,"unpackedSize":22955,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQ8rnCRA9TVsSAnZWagAALEsP/i/DkDTNtqxyBWiHGEPx\nQ34/K9lRxsKkUZU7+RXNoEzlXYXKb3bT9mM8NQIdmGHKuC9yB7paPRaibQQp\n8C5gZDQpMSCTcMbTJ0oFhvyuxyFsbNg/B2c/29raKxAhOEPTACaLJ/SZNdMi\nBxsry9pv+wss4TrbvtgckEiSjIZRnYwMHT+blQ9UVE+ABaNl2o8/Dc18d8Hs\nrCAXwrgBwuBIqfWHM8JOD21QS4ByNR1dV6C8yTBLuuEf9y3rOiVOpnHM1S3z\nf9MX64MXR9yzhiz+yp1lsTL3NlTxVSgKkdBNNK3WksMMgZnr/tR5TzWaHHip\n/JKCf/58K+DrdJnm5p+Fampnl6neWpYliUQkbxuwwMFUxi7ub2IfQg5pQpiG\nf7gv++2aTin4Xa4y3j5MvUL143JWZqHix44F31vHAmuTqON1MAtVXGRqOvib\njoKegF39lkcvMHypKGPmrkv7XYDIJwfDrPx4zUszfM8KNgpAYWihmhH7hoCv\nrvWdE4EvsnONsTmIY51wbTR5EbMevurmTO1KxsO6bOurzKTP3rbVNMo75m3n\n3A9p5qEMrmQWJcioiArLJcWuCFVg36DRy+ZVGayUuThezTVswBcG9aFaFFdq\njFFTb2MCn1osDwkRvhF0wtXQXABKfVYbASYV5oQpVQJvpP7hZCPtvogIIiWh\nnWLE\r\n=tHVj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBohvMb6/GBb0T9QCaB7SVZFVLU2x1cMaLpZZ9raLe1QAiEAjDZjb/T5akR33fVDNmKujwfF4Iyu1mj0rrxvrkOxOUs="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.13.0_1615055591004_0.3789451833811215"},"_hasShrinkwrap":false},"0.13.1-alpha.2":{"name":"chai-openapi-response-validator","version":"0.13.1-alpha.2","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","clean:openapi-validator":"cd ../openapi-validator && yarn clean","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"tsc --noEmit --project tsconfig.eslint.json && eslint .","lint:fix":"yarn lint --fix","build":"tsc","test":"ts-mocha --extension ts --recursive","test:watch":"yarn test --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:ci":"yarn format && yarn lint && yarn test:coverage","prepack":"yarn build"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@types/chai":"^4.2.15","@types/mocha":"^8.2.1","axios":"^0.21.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0","ts-mocha":"^8.0.0"},"dependencies":{"openapi-validator":"0.13.1-alpha.2"},"readme":"# Chai OpenAPI Response Validator\n\n[![downloads](https://img.shields.io/npm/dm/chai-openapi-response-validator)](https://www.npmjs.com/package/chai-openapi-response-validator)\n[![npm](https://img.shields.io/npm/v/chai-openapi-response-validator.svg)](https://www.npmjs.com/package/chai-openapi-response-validator)\n![build status](https://github.com/openapi-library/OpenAPIValidators/actions/workflows/ci.yml/badge.svg)\n![style](https://img.shields.io/badge/code%20style-airbnb-ff5a5f.svg)\n[![codecov](https://codecov.io/gh/openapi-library/OpenAPIValidators/branch/master/graph/badge.svg)](https://codecov.io/gh/openapi-library/OpenAPIValidators)\n[![included](https://badgen.net/npm/types/chai-openapi-response-validator)](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/lib/index.ts)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md)\n\nUse Chai to assert that HTTP responses satisfy an OpenAPI spec.\n\n## Problem 😕\n\nIf your server's behaviour doesn't match your API documentation, then you need to correct your server, your documentation, or both. The sooner you know the better.\n\n## Solution 😄\n\nThis plugin lets you automatically test whether your server's behaviour and documentation match. It extends the [Chai Assertion Library](https://www.chaijs.com/) to support the [OpenAPI standard](https://swagger.io/docs/specification/about/) for documenting REST APIs. In your JavaScript tests, you can simply assert [`expect(responseObject).to.satisfyApiSpec`](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n\nFeatures:\n\n- Validates the status and body of HTTP responses against your OpenAPI spec [(see example)](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n- Validates objects against schemas defined in your OpenAPI spec [(see example)](#in-unit-tests-validate-objects-against-schemas-defined-in-your-OpenAPI-spec)\n- Load your OpenAPI spec just once in your tests (load from a filepath or object)\n- Supports OpenAPI [2](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) and [3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md)\n- Supports OpenAPI specs in YAML and JSON formats\n- Supports `$ref` in response definitions (i.e. `$ref: '#/definitions/ComponentType/ComponentName'`)\n- Informs you if your OpenAPI spec is invalid\n- Supports responses from `axios`, `request-promise`, `supertest`, `superagent`, and `chai-http`\n- Use in [Mocha](#usage) and other test runners\n\n## Contributing ✨\n\nIf you've come here to help contribute - thanks! Take a look at the [contributing](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md) docs to get started.\n\n## Installation\n\n[npm](http://npmjs.org)\n\n```bash\nnpm install --save-dev chai-openapi-response-validator\n```\n\n[yarn](https://yarnpkg.com/)\n\n```bash\nyarn add --dev chai-openapi-response-validator\n```\n\n## Importing\n\nES6 / TypeScript\n\n```typescript\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n```\n\nCommonJS / JavaScript\n\n<!-- prettier-ignore -->\n```javascript\nconst chaiResponseValidator = require('chai-openapi-response-validator').default;\n```\n\n## Usage\n\n### In API tests, validate the status and body of HTTP responses against your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an object with fields 'stringProperty' and 'integerProperty'\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - stringProperty\n                  - integerProperty\n                properties:\n                  stringProperty:\n                    type: string\n                  integerProperty:\n                    type: integer\n```\n\n#### 3. Run your test to validate your server's response against your OpenAPI spec:\n\n##### The assertion passes if the response status and body satisfy `openapi.yml`:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 123,\n  },\n};\n```\n\n##### The assertion fails if the response body is invalid:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 'invalid (should be an integer)',\n  },\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected res to satisfy API spec\n\nexpected res to satisfy the '200' response defined for endpoint 'GET /example/endpoint' in your API spec\nres did not satisfy it because: integerProperty should be integer\n\nres contained: {\n  body: {\n      stringProperty: 'string',\n      integerProperty: 'invalid (should be an integer)'\n    }\n  }\n}\n\nThe '200' response defined for endpoint 'GET /example/endpoint' in API spec: {\n  '200': {\n    description: 'Response body should be a string',\n    content: {\n      'application/json': {\n        schema: {\n          type: 'string'\n        }\n      }\n    }\n  },\n}\n```\n\n### In unit tests, validate objects against schemas defined in your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin and the function you want to test\nimport chaiResponseValidator from 'chai-openapi-response-validator';\nimport { functionToTest } from 'path/to/your/code';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('functionToTest()', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Assert that the function returns a value satisfying a schema defined in your OpenAPI spec\n    expect(functionToTest()).to.satisfySchemaInApiSpec('ExampleSchemaObject');\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an ExampleSchemaObject\n          content:\n            application/json:\n              schema: '#/components/schemas/ExampleSchemaObject'\ncomponents:\n  schemas:\n    ExampleSchemaObject:\n      type: object\n      required:\n        - stringProperty\n        - integerProperty\n      properties:\n        stringProperty:\n          type: string\n        integerProperty:\n          type: integer\n```\n\n#### 3. Run your test to validate your object against your OpenAPI spec:\n\n##### The assertion passes if the object satisfies the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 'string',\n  integerProperty: 123,\n};\n```\n\n##### The assertion fails if the object does not satisfy the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 123,\n  integerProperty: 123,\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected object to satisfy schema 'ExampleSchemaObject' defined in API spec:\nobject did not satisfy it because: stringProperty should be string\n\nobject was: {\n    {\n      stringProperty: 123,\n      integerProperty: 123\n    }\n  }\n}\n\nThe 'ExampleSchemaObject' schema in API spec: {\n  type: 'object',\n  required: [\n    'stringProperty'\n    'integerProperty'\n  ],\n  properties: {\n    stringProperty: {\n      type: 'string'\n    },\n    integerProperty: {\n      type: 'integer'\n    }\n  }\n}\n```\n\n### Loading your OpenAPI spec (3 different ways):\n\n#### 1. From an absolute filepath ([see above](#usage))\n\n#### 2. From an object:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n\n// Get an object representing your OpenAPI spec\nconst openApiSpec = {\n  openapi: '3.0.0',\n  info: {\n    title: 'Example API',\n    version: '0.1.0',\n  },\n  paths: {\n    '/example/endpoint': {\n      get: {\n        responses: {\n          200: {\n            description: 'Response body should be a string',\n            content: {\n              'application/json': {\n                schema: {\n                  type: 'string',\n                },\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n};\n\n// Load that OpenAPI object into this plugin\nchai.use(chaiResponseValidator(openApiSpec));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 3. From a web endpoint:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin and an HTTP client (e.g. axios)\nimport chaiResponseValidator from 'chai-openapi-response-validator';\nimport axios from 'axios';\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  // Load your OpenAPI spec from a web endpoint\n  before(async () => {\n    const response = await axios.get('url/to/openapi/spec');\n    const openApiSpec = response.data; // e.g. { openapi: '3.0.0', <etc> };\n    chai.use(chaiResponseValidator(openApiSpec));\n  });\n\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n","readmeFilename":"README.md","_id":"chai-openapi-response-validator@0.13.1-alpha.2","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-2B8NKKMbugp6dntT9ME42HmgFVHE43plxRXrwKuQdz7l3ryWxvk34yiWUQLqaXVRXkJNuNrf2vQB8941m+d2mQ==","shasum":"611d12ba5b5256f434c19d8e3a67600596345505","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.13.1-alpha.2.tgz","fileCount":18,"unpackedSize":29186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVP3CCRA9TVsSAnZWagAAO9kP/1GAWgjFwfezqOCQeMXr\nWFIUTdUSes5atrCXQ4XI15b2Nk8tSEY1I3LsLRYfvVzrqXHj+9OkB6wTkZ+I\nLxC3tbiRejrpxDikQWX0S7p82vDHoNbRgikVqIWqSLfqkU/tUEkiA53sIVYw\nc7mf+DDwaJ2GI6g/nTbxGQ1FJ8VP7p8Sa6aN85KIKrhjAZ86sbHG+Xd6N0oc\n6jqPel4fOcVO098WLJXCeLNUdzprGCtlt3ZXpddTSwXYEQYBKH2C1a5jhQCP\n/c8JI+4T7MZd2Y3MUzX9f+gRj+IFKZDhYovKgtLbHl4H6to55/53baJ2v8Yv\n9KUk5dyUUZRYFkL8PlJ0uJ+f/d3ZXaJXoh4mishRKYHK/jzK8q4X7WqmDXh1\nERFUueduI8XwxhHlHwVM+lZat0RXVLVJpCca5cq5cMTNQRg33vnKj+8X1o0J\ndab+yNtvd7j1uxWY8vWKONecwO0fqyH6HQYn1ZO74zS3G7uUgMtJGJ/um1hA\n6L4Q5nOFVavz2zz62K99R0SmaVamf2tXqE+GfhvzrM2adkUbC6jHYD34BgIm\n1ygjKeBqIOcrV92wiwKCy4iXrBb0aK2ggAEYRgVWtz2aFrFZBUVSZKrYeYHO\nEKL4SaAHN9g43urYhuGi/N21yd+w/BNgBKcj7AcBQ9Kbv1QjbURkYwg8tgNP\nu1rz\r\n=Au4v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGlgFZjMOjFBp1E1RzxT/o7tWflG7vIBf2te3Vb8gw0xAiAFxd4U+b7iBad548B0J6eBqF1LrIZDyc/+wxWc3R3uYw=="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.13.1-alpha.2_1616182721973_0.6734054618082603"},"_hasShrinkwrap":false},"0.14.0":{"name":"chai-openapi-response-validator","version":"0.14.0","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","clean:openapi-validator":"cd ../openapi-validator && yarn clean","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"tsc --noEmit --project tsconfig.eslint.json && eslint .","lint:fix":"yarn lint --fix","build":"tsc","test":"ts-mocha --extension ts --recursive","test:watch":"yarn test --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:ci":"yarn format && yarn lint && yarn test:coverage","prepack":"yarn build"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@types/chai":"^4.2.15","@types/mocha":"^8.2.1","axios":"^0.21.1","chai":"^4.2.0","chai-as-promised":"^7.1.1","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0","ts-mocha":"^8.0.0"},"dependencies":{"openapi-validator":"^0.14.0"},"gitHead":"15ddc6140f83073ee5198f0339a5608b6d28094d","_id":"chai-openapi-response-validator@0.14.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-Flg9GMONL4eEzs3AH+a34XtWHU9i8d8sUIuwEcAeBfbNvvrr18/HF9ea2B+TZFjXkew1a9KEPNE734XpV2tFEw==","shasum":"bb92ae525931bd84626b9dab37a9f26f0d29f13b","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.14.0.tgz","fileCount":19,"unpackedSize":31301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPerZCRA9TVsSAnZWagAAiWsP/2BBor0Ray6HWjwatFae\nCFpwbMU6cLI9uczeHQSTMU2sJlPgiuNg1kGAFsmp3HmD9TArytWuAX1nDVy+\nJ7ZFQE6Tc978aNLGUjJMYktYgLBLQvyO3iatVVNybKzt83htrHwTNXpU/Rl3\nEYg5Hc5MbhZvTP5A/VcHAmG4+EHCbmOCHSxhbSULamqlWIuv+81rRAYtQIwY\nRnLx+olz9yTAL/T7aikWsNDc2Z8MwDRLj039laWhiCPbjs76q/Bni7hzu6sR\n4wLtka+u54CWEwUaCEwi60ed7FJT5FwjE+kB5IkGdRnktxNJiEAU7tKZrwdf\nge026kOKFO9DiGsXZp2vwL/LuRZRx/xVLQuSL4bpxJhUNpthRsIqQaj6VJ5k\n0Ngkl3Xc3t9UqChH/qaqTdKmV0TZhfq/Zqvb9LCBSmflY6MfKapdAwacu5qM\n4Pau4KCZnARbXjRME3aZ9a/dPLSUJJGACUvrAdv9L+RgpBMqv711KVIuHCJz\nWPYIPZBrKFhIesTzhsRA3lxHEK6MIIWImouGbWBXrTr/JH8CT2s8H4O3ZMne\nezmvsG0dLN+Ivxa6rFYfi+rT3kviKejRSwSRmEEO53ZZWFaxk1seAvxZUMu8\nkinZ6WmDhNCvNLXks65QPuz2Nqc75LKwhJ/z8Te/ZP4MC3lxd0DiLTj9LY4g\nZRF5\r\n=t33r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6890EZiMKuDJYmst77w/BG1a9x2fvCMmcPcU2WvfgxAiEA2SrO7db7PmjG1H1A7hmXVjXvXERXrTNUxK7CePWzx6U="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.14.0_1631447769193_0.3072406296333172"},"_hasShrinkwrap":false},"0.14.1":{"name":"chai-openapi-response-validator","version":"0.14.1","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","clean:openapi-validator":"cd ../openapi-validator && yarn clean","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"tsc --noEmit --project tsconfig.eslint.json && eslint .","lint:fix":"yarn lint --fix","build":"tsc","test":"ts-mocha --extension ts --recursive","test:watch":"yarn test --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:ci":"yarn format && yarn lint && yarn test:coverage","prepack":"yarn build"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@types/chai":"^4.2.15","@types/mocha":"^8.2.1","@types/request-promise":"^4.1.48","@types/supertest":"^2.0.11","axios":"^0.21.1","chai":"^4.2.0","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0","ts-mocha":"^8.0.0"},"dependencies":{"openapi-validator":"^0.14.1"},"gitHead":"c58f4d016a69d080b03c3f5bbc1f5b45a8ef79be","_id":"chai-openapi-response-validator@0.14.1","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-FhFv2BJnrb0Q2/alfaD3SRdQxF4wc7j3SlPI479arrTb0BH29NayHGZWB/SM/7KcrY3yFrAFJmE/GfoD6SPvyg==","shasum":"29457e3050244e30ad2f3802ae42ca546bd4d1dc","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.14.1.tgz","fileCount":19,"unpackedSize":31620,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhJW2QkkvRyH/vY+4aiVy88v1gnLadSfJzUXe6sKEiNAiAugHt+VqK6BtJt33PVtwC7y4W5s0bal5tZxN+R4UsNqw=="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.14.1_1634403826462_0.7180707413480509"},"_hasShrinkwrap":false},"0.14.2-alpha.0":{"name":"chai-openapi-response-validator","version":"0.14.2-alpha.0","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","clean:openapi-validator":"cd ../openapi-validator && yarn clean","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"tsc --noEmit --project tsconfig.eslint.json && eslint .","lint:fix":"yarn lint --fix","build":"tsc","test":"ts-mocha --extension ts --recursive","test:watch":"yarn test --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:ci":"yarn format && yarn lint && yarn test:coverage","prepack":"yarn build"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@types/chai":"^4.2.15","@types/mocha":"^8.2.1","@types/request-promise":"^4.1.48","@types/supertest":"^2.0.11","axios":"^0.21.1","chai":"^4.2.0","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0","ts-mocha":"^8.0.0"},"dependencies":{"openapi-validator":"^0.14.2-alpha.0"},"gitHead":"bb29f2010c4b82a0d540e81e5ef8d35c97675cd3","_id":"chai-openapi-response-validator@0.14.2-alpha.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-6OBmhZVy3p8DqC0JsHQw7l09yZPJIQ/WP4j+Qxdi5IeEBJ5uLL58WJA+nJEbXSxAtLJK5s0YRu7yGpOSNFez9A==","shasum":"a7fbb1c9774f7618959e18a5ab3469f9cd184d03","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.14.2-alpha.0.tgz","fileCount":19,"unpackedSize":31636,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0wwfCRA9TVsSAnZWagAAumgP/382Wg2HaOC7Z0kz1+Jp\nL/dCkCZkuyJ6InO1SAgtcBd3bSitE7pBO+7y/rOrYTbPPxoK6u/IH1x2qBNA\nwbGoqJMEaQAd1DemXEfFKpm1qmBSkMNTek0ij+0S5m9Wtgzmx1/3KDw6o+cf\nutEBzdYNGG6DWmN/LUcKNclrGQ9q+JNYGtVomdzef7nMKVjqAqFYEqVJU84/\nCeVWPSU1uOv+10CvT/kfEgJPclEdZULVVm2y8343UR+3NqAUhB7HsK3Ve3PA\nrV13CA635w5VL0TXEvmEa1eLm/zrLJ+CUZRJ0aPpNom+FyzBBO72ZebaTIFC\nwq350c8LmwVmTAHWiarS5IPJxzhR061p9rNvHIKfjMfG5Y2mGYq3fYzVgzIQ\nCOTi0K8QcylSuEk6ncJDzhjV7LGCmAvNmfMfLdhM9MgG/DQoBBCRrjLMe0/j\nj93BHNvBeQZneJzyI4wSkefjP73KbSlXMPcG+FSoAn0R6UPIJKJXhqv1siW3\n6WKa/V1VfyMQudjaBIPy2O/0FgJoTe2SsZyFsgNcTB7BYP7yQ+yiaaZLXjNR\nVSSiKbZ2ll9mICFHvP9M0LowpYZeDvU3CUVHNlyyls7U0eTvZYUPOfimTEHY\no5ilsexw/K0S4BQvowzwuidBLTN7ujfR0seImeKvaJrXglBa+Acheou1vhMK\nrNW8\r\n=f3xD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGzuZG8wPkIffAZTItbmfkpnifWp+kR90mtYf0tKgT+5AiBNh7dvPPgH1JVEosNMQcHzz9uZC4iJjD1wyZyYGpIb2w=="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.14.2-alpha.0_1641221151383_0.653461954513483"},"_hasShrinkwrap":false},"0.14.2":{"name":"chai-openapi-response-validator","version":"0.14.2","description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","clean:openapi-validator":"cd ../openapi-validator && yarn clean","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"tsc --noEmit --project tsconfig.eslint.json && eslint .","lint:fix":"yarn lint --fix","build":"tsc","test":"ts-mocha --extension ts --recursive","test:watch":"yarn test --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && nyc yarn test && nyc report --reporter=lcov && nyc check-coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:ci":"yarn format && yarn lint && yarn test:coverage","prepack":"yarn build"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"license":"MIT","keywords":["chai","chai-plugin","http","response","openapi","validate"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","devDependencies":{"@types/chai":"^4.2.15","@types/mocha":"^8.2.1","@types/request-promise":"^4.1.48","@types/supertest":"^2.0.11","axios":"^0.21.1","chai":"^4.2.0","chai-http":"^4.3.0","eslint":"^7.11.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-mocha":"^8.0.0","express":"^4.17.1","fs-extra":"^9.0.1","mocha":"^8.2.0","nyc":"15.1.0","request":"^2.88.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^6.0.0","ts-mocha":"^8.0.0"},"dependencies":{"openapi-validator":"^0.14.2"},"gitHead":"ecaac34d42e59b02c781d229e4a46dc9c1a5f0f2","_id":"chai-openapi-response-validator@0.14.2","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-x9E4ak+AOm1mKioF838sAHcZBGGur0jRPGa/svEQjmiPUjC1Q+hjv6Wn1m/XL0+ha3jzr/GgktMEl+3W7ioqZA==","shasum":"ff4478d7315e7bf0d1ca246a29407abbc93e9662","tarball":"https://registry.npmjs.org/chai-openapi-response-validator/-/chai-openapi-response-validator-0.14.2.tgz","fileCount":19,"unpackedSize":31620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0w7vCRA9TVsSAnZWagAACAgP/1TpcqYgZfDmDpHXsq5v\nJAC9DF1iGcly3jvJ7aaHR7nKeRmipJRpjYGVr2KFhYwSa3tccX0eVyL6xQa9\nQTDuGVjB62lRBmfovd+EhpeZlASaJahLScdxZy4x7JPvCbNgBRXo8xWrdaQ+\nsH5xEvsp0mD4VIkl5DFpWkEZVv+tq3xxjE/i1km3gG8dpMPcrtQJSly30OTJ\nRFBrdtDTHP8hW+P9NYT3Jq6mhuDMPK4x9cdra3xDU6h9KYGi4ytrIf5rFyXm\n1ZTpPyD2fs5If3QYEwk1UTSvtjrJfPvjDahs34NfFHUOa4zKyAUSbfuDcHQ4\nCdU8wLuVpmwXzZ6JoWMjfpBSI1ylSr/o5ozUM/NA0db28ZeHw19Bj//UMdmn\nubCwbDOICN5woKnGURUN9qHd2oKfpwJkFjC9FW70RnBuGFZBUuGJw+k/sios\nODj9TDG9Dtowc1K+CSVlFZRnpuCz0WWKmhheFoMG57SIGd+G5rBwhgQZVC/r\nPPrnHpokXekclwrNT29Y55kja10BuKothblnK2VJCQjATOnW+ms2sVFi2Fxg\ne4pGsqffLJ0+l1cVuPKg2pH4D+jPFjzU73LFginpe2BCKQQqKr8/j7j7AAYW\nyKgkiY+PK1aU3HOnHJsPv2+2cQiWdYKrM6jZDvzO2mKOipUjYVMMqniXeA03\nmC2E\r\n=IYoK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1Eoj3GJNBxa/ziY+v5Xh69OPZJlirdDyfB1cKbtRA0QIhAOoYDLkFB+PtIKaYDYLGXhkQVcFPDtxeVzm6ks2mj7Vx"}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chai-openapi-response-validator_0.14.2_1641221871314_0.08805678938022377"},"_hasShrinkwrap":false}},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"description":"Use Chai to assert that HTTP responses satisfy an OpenAPI spec","homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme","keywords":["chai","chai-plugin","http","response","openapi","validate"],"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"},{"name":"rwalle61","email":"richard.lh.waller@gmail.com"}],"author":{"name":"OpenApiChai","email":"openapichai@gmail.com"},"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"license":"MIT","readme":"# Chai OpenAPI Response Validator\n\n[![downloads](https://img.shields.io/npm/dm/chai-openapi-response-validator)](https://www.npmjs.com/package/chai-openapi-response-validator)\n[![npm](https://img.shields.io/npm/v/chai-openapi-response-validator.svg)](https://www.npmjs.com/package/chai-openapi-response-validator)\n![build status](https://github.com/openapi-library/OpenAPIValidators/actions/workflows/ci.yml/badge.svg)\n![style](https://img.shields.io/badge/code%20style-airbnb-ff5a5f.svg)\n[![codecov](https://codecov.io/gh/openapi-library/OpenAPIValidators/branch/master/graph/badge.svg)](https://codecov.io/gh/openapi-library/OpenAPIValidators)\n[![included](https://badgen.net/npm/types/chai-openapi-response-validator)](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/lib/index.ts)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md)\n\nUse Chai to assert that HTTP responses satisfy an OpenAPI spec.\n\n## Problem 😕\n\nIf your server's behaviour doesn't match your API documentation, then you need to correct your server, your documentation, or both. The sooner you know the better.\n\n## Solution 😄\n\nThis plugin lets you automatically test whether your server's behaviour and documentation match. It extends the [Chai Assertion Library](https://www.chaijs.com/) to support the [OpenAPI standard](https://swagger.io/docs/specification/about/) for documenting REST APIs. In your JavaScript tests, you can simply assert [`expect(responseObject).to.satisfyApiSpec`](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n\nFeatures:\n\n- Validates the status and body of HTTP responses against your OpenAPI spec [(see example)](#in-api-tests-validate-the-status-and-body-of-http-responses-against-your-openapi-spec)\n- Validates objects against schemas defined in your OpenAPI spec [(see example)](#in-unit-tests-validate-objects-against-schemas-defined-in-your-OpenAPI-spec)\n- Load your OpenAPI spec just once in your tests (load from a filepath or object)\n- Supports OpenAPI [2](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) and [3](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md)\n- Supports OpenAPI specs in YAML and JSON formats\n- Supports `$ref` in response definitions (i.e. `$ref: '#/definitions/ComponentType/ComponentName'`)\n- Informs you if your OpenAPI spec is invalid\n- Supports responses from `axios`, `request-promise`, `supertest`, `superagent`, and `chai-http`\n- Use in [Mocha](#usage) and other test runners\n\n## Contributing ✨\n\nIf you've come here to help contribute - thanks! Take a look at the [contributing](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md) docs to get started.\n\n## Installation\n\n[npm](http://npmjs.org)\n\n```bash\nnpm install --save-dev chai-openapi-response-validator\n```\n\n[yarn](https://yarnpkg.com/)\n\n```bash\nyarn add --dev chai-openapi-response-validator\n```\n\n## Importing\n\nES6 / TypeScript\n\n```typescript\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n```\n\nCommonJS / JavaScript\n\n<!-- prettier-ignore -->\n```javascript\nconst chaiResponseValidator = require('chai-openapi-response-validator').default;\n```\n\n## Usage\n\n### In API tests, validate the status and body of HTTP responses against your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an object with fields 'stringProperty' and 'integerProperty'\n          content:\n            application/json:\n              schema:\n                type: object\n                required:\n                  - stringProperty\n                  - integerProperty\n                properties:\n                  stringProperty:\n                    type: string\n                  integerProperty:\n                    type: integer\n```\n\n#### 3. Run your test to validate your server's response against your OpenAPI spec:\n\n##### The assertion passes if the response status and body satisfy `openapi.yml`:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 123,\n  },\n};\n```\n\n##### The assertion fails if the response body is invalid:\n\n```javascript\n// Response includes:\n{\n  status: 200,\n  body: {\n    stringProperty: 'string',\n    integerProperty: 'invalid (should be an integer)',\n  },\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected res to satisfy API spec\n\nexpected res to satisfy the '200' response defined for endpoint 'GET /example/endpoint' in your API spec\nres did not satisfy it because: integerProperty should be integer\n\nres contained: {\n  body: {\n      stringProperty: 'string',\n      integerProperty: 'invalid (should be an integer)'\n    }\n  }\n}\n\nThe '200' response defined for endpoint 'GET /example/endpoint' in API spec: {\n  '200': {\n    description: 'Response body should be a string',\n    content: {\n      'application/json': {\n        schema: {\n          type: 'string'\n        }\n      }\n    }\n  },\n}\n```\n\n### In unit tests, validate objects against schemas defined in your OpenAPI spec:\n\n#### 1. Write a test:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin and the function you want to test\nimport chaiResponseValidator from 'chai-openapi-response-validator';\nimport { functionToTest } from 'path/to/your/code';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\nchai.use(chaiResponseValidator('path/to/openapi.yml'));\n\n// Write your test (e.g. using Mocha)\ndescribe('functionToTest()', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Assert that the function returns a value satisfying a schema defined in your OpenAPI spec\n    expect(functionToTest()).to.satisfySchemaInApiSpec('ExampleSchemaObject');\n  });\n});\n```\n\n#### 2. Write an OpenAPI Spec (and save to `path/to/openapi.yml`):\n\n```yaml\nopenapi: 3.0.0\ninfo:\n  title: Example API\n  version: 1.0.0\npaths:\n  /example:\n    get:\n      responses:\n        200:\n          description: Response body should be an ExampleSchemaObject\n          content:\n            application/json:\n              schema: '#/components/schemas/ExampleSchemaObject'\ncomponents:\n  schemas:\n    ExampleSchemaObject:\n      type: object\n      required:\n        - stringProperty\n        - integerProperty\n      properties:\n        stringProperty:\n          type: string\n        integerProperty:\n          type: integer\n```\n\n#### 3. Run your test to validate your object against your OpenAPI spec:\n\n##### The assertion passes if the object satisfies the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 'string',\n  integerProperty: 123,\n};\n```\n\n##### The assertion fails if the object does not satisfy the schema `ExampleSchemaObject`:\n\n```javascript\n// object includes:\n{\n  stringProperty: 123,\n  integerProperty: 123,\n};\n```\n\n###### Output from test failure:\n\n```javascript\nAssertionError: expected object to satisfy schema 'ExampleSchemaObject' defined in API spec:\nobject did not satisfy it because: stringProperty should be string\n\nobject was: {\n    {\n      stringProperty: 123,\n      integerProperty: 123\n    }\n  }\n}\n\nThe 'ExampleSchemaObject' schema in API spec: {\n  type: 'object',\n  required: [\n    'stringProperty'\n    'integerProperty'\n  ],\n  properties: {\n    stringProperty: {\n      type: 'string'\n    },\n    integerProperty: {\n      type: 'integer'\n    }\n  }\n}\n```\n\n### Loading your OpenAPI spec (3 different ways):\n\n#### 1. From an absolute filepath ([see above](#usage))\n\n#### 2. From an object:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin\nimport chaiResponseValidator from 'chai-openapi-response-validator';\n\n// Get an object representing your OpenAPI spec\nconst openApiSpec = {\n  openapi: '3.0.0',\n  info: {\n    title: 'Example API',\n    version: '0.1.0',\n  },\n  paths: {\n    '/example/endpoint': {\n      get: {\n        responses: {\n          200: {\n            description: 'Response body should be a string',\n            content: {\n              'application/json': {\n                schema: {\n                  type: 'string',\n                },\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n};\n\n// Load that OpenAPI object into this plugin\nchai.use(chaiResponseValidator(openApiSpec));\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n\n#### 3. From a web endpoint:\n\n```javascript\n// Set up Chai\nimport chai from 'chai';\nconst expect = chai.expect;\n\n// Import this plugin and an HTTP client (e.g. axios)\nimport chaiResponseValidator from 'chai-openapi-response-validator';\nimport axios from 'axios';\n\n// Write your test (e.g. using Mocha)\ndescribe('GET /example/endpoint', () => {\n  // Load your OpenAPI spec from a web endpoint\n  before(async () => {\n    const response = await axios.get('url/to/openapi/spec');\n    const openApiSpec = response.data; // e.g. { openapi: '3.0.0', <etc> };\n    chai.use(chaiResponseValidator(openApiSpec));\n  });\n\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server (e.g. using axios)\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).to.equal(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).to.satisfyApiSpec;\n  });\n});\n```\n","readmeFilename":"README.md"}