{"_id":"jest-openapi","_rev":"17-3c43900b592eafca536d126c4f145d89","name":"jest-openapi","dist-tags":{"latest":"0.14.2"},"versions":{"0.9.0":{"name":"jest-openapi","version":"0.9.0","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","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 {src,__test__}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"Apache-2.0","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/jest-runner":"^3.1.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jest":"^23.8.2","express":"^4.17.1","fs-extra":"^9.0.0","jest":"^25.4.0","rimraf":"^3.0.2"},"dependencies":{"compress-tag":"^2.0.0","jest-matcher-utils":"^25.4.0","openapi-validator":"^0.9.0"},"_id":"jest-openapi@0.9.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-cafS746XtI6zxU1OKAWz4+SikmuXFzCubIFCE+OTq147MtcwD+3dSIUDXYAMAPCtWSnBfzcBuV0Ck8YNbK9ACw==","shasum":"1d1c423268e66ce0e63ccf622c62f3f56c02abee","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.9.0.tgz","fileCount":22,"unpackedSize":39208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqB9sCRA9TVsSAnZWagAApGUP/RoWKiOot32srd/zVD4+\nsr4haeHQngF2avcxOKPUxeZA96vtMUJ7nZM5A6GsxCtAC98B8Cot3CtU4lIH\n7WuVmEtNtZ1TitngY5NwJpncifkXZ5v3JZMErFoZ0KeKvcYwP7wt3buPJww7\nufEQSc9tKJ4S7h0LzfzsMH+Jl8fWdSJmuvzboEZPFbixg9+yTPE7V3CsP72T\niRTrsbdSxzw/S00BrQRYbgTpyAPKoI3JIwdQje77D9Z8mNAc3y1XpzNtpHUh\nh8woNVGEN64/wBuHooHCCqgrl5UOyai54Wi0peJIZVFgqlAvc37wOQXFhqVi\nb7d6uOMGbYM3TZRVOWog6FzLwsD+ypncScAXpRBg5ZlRcdHAyxi4De86qzQ9\nprWI6iyksMkIiqZ8TNkCxbjThDcHbPoAYaKxK8JZGuX1SUmdQgpUqgBEdk2t\nyt33cztZGJuZmg3KfW9TAZvCbuGFyL89JsDPqVlvIEmj81RyMm3b+2yGxR1A\nKD9mUwnJ130YI8K2jAYky9uZCx73r3XSGx5gisFVlW4oDUt5mC7+TBMtE+3g\nP1Lx7KTe7pOYm8NEDRI0cXhVYd8zt42Lg8iHssYaNyJ/L+1Is7lspnhOFSl3\nkHCAQUR6iMe1dji4eAEzULqz/8KbLnihvxDgSeA5icCnwK9xUEBQdknBBy5O\nAKaL\r\n=eNRC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZCsoJLn701a4T1jftKONoO4BqIFi6Z9oLE4kQwE2WNgIgc6jJqidkueHz7GB0/4kGN3/X4glSz8SoRbbgT2b0UzI="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.9.0_1588076396305_0.041021399313847295"},"_hasShrinkwrap":false},"0.9.1":{"name":"jest-openapi","version":"0.9.1","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","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 {src,__test__}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"Apache-2.0","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/jest-runner":"^3.1.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jest":"^23.8.2","express":"^4.17.1","fs-extra":"^9.0.0","jest":"^25.4.0","rimraf":"^3.0.2"},"dependencies":{"compress-tag":"^2.0.0","jest-matcher-utils":"^25.4.0","openapi-validator":"^0.9.0"},"_id":"jest-openapi@0.9.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mZfKpJd5njwZHNfq93mcZ5IM+Q9ainw8DESekBC/H7mvLV+ZAQKPe4OsBbp+oTF/FoI5u/Y/1XPZlwSjtiOAdg==","shasum":"c3607926d63f101d14b8745f90ba55bd37a73d0d","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.9.1.tgz","fileCount":22,"unpackedSize":39208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqCTRCRA9TVsSAnZWagAA8x4P/1rEans/ThuHjhBg9qi1\nQZW5pDlAf2bWPq8+R+v4E1YdeQ8+s9f7cqq/PrFkFxEHoYtIK8qE+YoK1NAV\nhO/S9mabWTmymiPyCzg+rKIENgQJ0WR8C80Wtz7NJupzKygBzYnjctWsxIjx\n+NibsygK4PomgqLzO9CRFOYYz9J0rYafd0pOPorE+CGRYv23YtIqnmZQD0wS\n9A3rL2sMuvmLX3uZLuBsFMfDWYcsU+hL7aHIqyUGSKj9cErxzlaE/GZTVPjJ\nIDPzboJ+Ee3HDD2Zms6sn5a44gvFno4GdMZlLBUkc+jhGMRLF8b36UoXRM89\nUUMe66WIGcuL9obEuXRtWkxGpZJtDgKrMjM/hM/GDO2RlKPbeYECWvg6KiS6\nWDevblPzi7GcZSnj3P88oHScU+vaIoR6Z/tEgXJ1vmOhpQ91eTStuwdrcz2n\nACxrpXutEGORMJSmH8g+uchDYABN2ytIY3NnUygiUvOjvsuobWc+dDTP/MzL\nV1D4Y9O7324Vojg/EDkQbySesZaE3ZbNB57p81DJTcqF3BXCOvXvb4Jgy69H\noapoLyqDRhFMMTwM7/E8ZiC8jLEwebg2v0YgNOrsGuVFAQ4upZ59WDXa+6CS\noBO32ZCexH/VZUoxfcPRmQ80+Omc4DcjW6udiyaLwwRX/4U+k3YY4SZjWz4c\nZlhK\r\n=bOKy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDPH1SMrwamBrKv271HBy9e3zvj/SKJQ5ti+bKK4EmP6AiEAsvhXjL3Rg9FE09ahgHZLCFZv7Rnr892LbPDDdOP35cU="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.9.1_1588077776713_0.7773402658792741"},"_hasShrinkwrap":false},"0.9.2":{"name":"jest-openapi","version":"0.9.2","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","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 {src,__test__}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"Apache-2.0","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/jest-runner":"^3.1.0","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jest":"^23.8.2","express":"^4.17.1","fs-extra":"^9.0.0","jest":"^25.4.0","rimraf":"^3.0.2"},"dependencies":{"compress-tag":"^2.0.0","jest-matcher-utils":"^25.4.0","openapi-validator":"^0.9.0"},"_id":"jest-openapi@0.9.2","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-T9eSPD8cewmgHuUGus7cL/OLq1aVWaQ7BnVRzbdWlh5ZLm0YE3VNfslU95Jf1I5qo3yKE66gPnYSDbLF+onpjg==","shasum":"8f1e99987325c2d764a17d68d8b1254c05579438","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.9.2.tgz","fileCount":22,"unpackedSize":39302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevm7pCRA9TVsSAnZWagAAMnUP/RdT6kbN+vj9M9LhuRSb\nGsLbF1UPDBjrJVlkW92k29wZ91rlzuwwgMNfK+fGL5r4DENf7cx+QVlQ/GNK\nlqLqXNEIuw73rzTdzdvM5eZKQJlqcyXa31tAm7KUR+fhRJppqF+dSGml1kZU\n2cccKK01gz2CUdXSf3zC83xZmn0ZaNgCE9EZDBuXP7OqAGzhB68jn3QqTfrO\n9z/RgSAx+tLGtxghOT6UtLgsK2ovCchpeBsT0/+4OQX+nX64YK5xoH8uEbqO\nqo7nDQeVd9OOEuuCN8PEepgEbzBlDm1OceoPgGF0Q7jrd6lyYmgBJa7p/BiM\nYPhkn+KvGGE0bZRCxYkCLqiGwony5KKFIPQe6+U8E0T0EqGrC0iH+yNUJm2u\nEfhgBjO7BrOinmxhyhZGESU+nJAjGQxwF1NyhHVJ5B83bIPr5d4h00OEGdVg\nRNy7OnstkHjJkCPL9a4hzVCNxQ50HtHV0rRweahWjaIX96epTy6w2C2swPCT\nV0xfz/lAxRHXdlMU48MEYzu0zTxG7X3pS2rtOrkezogNtq06cx4ifs+44kUi\nKCQT4Xnv+JIoSwJgSLWTfhUSrND4sTh4T6bZBIrwa3dTj5jB8arrHa4JKr3J\neogW5YBBTtB+XcA59mZLqNwMHVtQsDeH7WWOYkrVjY05Mmt0iusX9O8aNqZk\nsfkL\r\n=I0Tt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV1xWelQ9px3DtMRgIdvrZGnKwYH1lK0gGNeVscM2JKAIhALPDfbEFjEHYrc8rQhCPqbBvJ+DZd/hLMeVOc4G1/b7x"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.9.2_1589538537445_0.41957515812773893"},"_hasShrinkwrap":false},"0.9.3":{"name":"jest-openapi","version":"0.9.3","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","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 {src,__test__}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"Apache-2.0","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/jest-runner":"^3.1.0","axios":"^0.19.2","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.17.2","eslint-plugin-jest":"^23.8.2","express":"^4.17.1","fs-extra":"^9.0.0","jest":"^25.4.0","request-promise":"^4.2.5","rimraf":"^3.0.2","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","jest-matcher-utils":"^25.4.0","openapi-validator":"^0.9.0"},"_id":"jest-openapi@0.9.3","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-u89bVJfMhtVXDirY9w3yvXcTW5/tDCj2clyKHe0F+YGJoxPgb8zV8t2u5cdyNPxUpB1aGftwjFzjJhAmZ1Gxxw==","shasum":"6fcd1fbaa567639ce33a8827cd23eb84fb4236c8","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.9.3.tgz","fileCount":22,"unpackedSize":39230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe09NOCRA9TVsSAnZWagAAIfsP/RVwiJORljePziHEuY8L\nsv/Z/ulAUcWnclWIj+Png2EEXKFkb521YDOd9Z4i4Ch34JwZXenphm2jxTsV\nZ44HNKNFHx3d64hpD74qrGDiImCynoNXovocBJFBOPdXd4ZHrnvtHT+D5pWH\n4SQRHzahkDhIhmfVZJWp3K6/vSZDoeAojGClodal5Kq7p+9pWVJoYqNPQPay\n9S1DpHe2r5FhCz2i41jXujkJ2vDZMdIDolk+NwjAX7y7eaAWIz9TchfcHbM5\nYsIpeyYtV3DJQwSknByJu53terOq7a1wwdC4AjiRr+UN9U+vapA+EzMbkUJQ\nyq6WcZxbodOq2y3pDKjxqbmI1M11mDveOblookpF83Q8a/s2N0TQVJPKdULN\nUfhIpeFfqXPt6ABr/PZbbovPvW5NGcOdxeuQI89ZHfu6PbEnpEFEcHntQGTI\nNEqfXRiVsOimYZ1Cyx89LeQGXFiiczBoo4ofrVXN4g4Zoea7PAaRxPFgyAUs\nncDtuEjQEd9NdVQvxyaEIIoupBqm8IILFYFBrCPmw8tes/8z2BWOchms7b3D\nOMaNuJyNuV1YBG+AR/KvkWm2DszOMVlEfBsq859SCfvHFa13adh2DAeEpL8I\nNEF7OjTaXnOulJLxKIeGnKX84LuH7d3p2DgDfj61mlLNEl9lI9/xeUK1cUDA\nnw5N\r\n=EjRX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyJnAxSs7dPFWq3sTOmhkufSSPeAWBjW9KXWGDTjY5VAIhAM0RjPjtBG0z/UNHwW2iH++DHdDvwbOZdhJM8jP/91rg"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.9.3_1590940494129_0.47686788606752906"},"_hasShrinkwrap":false},"0.9.4":{"name":"jest-openapi","version":"0.9.4","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","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 {src,__test__}/**/*.js","lint:fix":"npm run lint -- --fix"},"repository":{"type":"git","url":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"Apache-2.0","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/jest-runner":"^3.1.0","axios":"^0.19.2","eslint":"^7.2.0","eslint-config-airbnb-base":"^14.1.0","eslint-plugin-import":"^2.21.1","eslint-plugin-jest":"^23.13.2","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.0.1","request-promise":"^4.2.5","rimraf":"^3.0.2","supertest":"^4.0.2"},"dependencies":{"compress-tag":"^2.0.0","jest-matcher-utils":"^26.0.1","openapi-validator":"^0.9.0"},"_id":"jest-openapi@0.9.4","_nodeVersion":"12.13.0","_npmVersion":"6.12.1","dist":{"integrity":"sha512-taghER4thJB4ElkHElZz4Flq+u56PS9GBKw8NyPZj9Tuh+1XfcQDJ1tAOgiIxGnR//2USWjS/V1U7C1dekvJqw==","shasum":"c7cb96b478d978cd282646004a2a37817b90d2b9","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.9.4.tgz","fileCount":22,"unpackedSize":39248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3imNCRA9TVsSAnZWagAAYiUP/1XpJffsfpN+C0+bUQ0c\nWMBlZrUlobGg+693y8VHjTTrfP3tdBCWAD85Q+zFjdtiBjU4dJIjhftibDh9\n4UzE6rbiDZIxB9OYu81Z6ir9nFIq3qBqDQl9UzlA7Q62yZXVyfNUE6zmddZ9\nC8c0u6dO+YYNkigQsiCqk4B919OoFHOxvTxhApm3OrWcAu2NpmdpPjC4u0hF\nQmFiSvcGWpQeBNROme5cwaF8n7mi7lHIV8PK8zATEMaYo19nikLWaQ6EGmJj\niH8WF46pX0/UnsD3Ybf2M+L3LIV7+OmLFc15eKVN7ckL+aQi2dlMAEgd+lCb\nhB2XaGVFLYL1GBbErZUvr4/NX6OPbYtrArwDI6iA7GZpbY056E6HkzIbprCo\n8IIv1Lkcp6w+jMQFUlXwoqgChOOoIs4fDwRITxYq093b2lwPSuimEgf+VfZE\n/z6kqUFF3Aw9ajZzfgKdFliEuNQgR10W60fZOpT8yBqHgvCBeYCBSJD6bjJu\nwQu+Gegq3GfJo2uO+rRp0vQw0xc7+7fjSCx2KH9iEzQ14MOPwJ0d5gTC7lel\nhKvR3hMtBzZ6GkSaXEV0ttrvL6LzCnZXPw+s7/TYfc0CGf3AbI+BPutKAcTE\nMSYityVYNjhm9nPbSoxNS2+nmDocPf/s/P+o8cxfeG/GHWnFLdtiSrV+92oM\nTR84\r\n=R5jA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIuc6Mu05F+GhYdiLDCEXpPKGR+gGkZtLyqNf/VsngWgIgG7ADZjoNsJhhl4uDqmY71dAhyF0JeyI0OeRaw4+IVJE="}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.9.4_1591617932657_0.24547979947896326"},"_hasShrinkwrap":false},"0.10.0":{"name":"jest-openapi","version":"0.10.0","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --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","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/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"Apache-2.0","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/RuntimeTools/OpenAPIValidators/issues"},"homepage":"https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/jest-runner":"^3.1.0","axios":"^0.20.0","eslint":"^7.11.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.5.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^5.0.0"},"dependencies":{"jest-matcher-utils":"^26.5.2","openapi-validator":"^0.9.0"},"_id":"jest-openapi@0.10.0","dist":{"shasum":"6aa1f71e06f3c3450cd13fb2a0d708e988a5619b","integrity":"sha512-nfkTTuDOBxZKFDmg5E0Ctv30+jOzophUGw1+hnzYg2Srk4/cYORlrecW3dyE43sq2U0mgETkz2dFcA/0iodsbw==","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.10.0.tgz","fileCount":29,"unpackedSize":42497,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgzfPCRA9TVsSAnZWagAAZ1QQAJc+yF4kbIEh4DyuXktL\n3DyW2kairF1p01W0k2MWMqYAA/56VV0PHbUZIhAE1/nPc2567u0HHV/fCW7C\n1w/5WD5CMf9+TPITeu2+84ZPMwqLz2MnnuLcwjTmJ/UlYk4EGfstb4RugyuI\nhBgAaQL4WOyASlesDh6BE2Dh+3UNml3Mf0kDQHvvM0HiAxjroYIMRdvW/tYn\nDCgdD8v1FZoFxkoXDKzvqD+IoUdfof0q8eUtfeVUpb/UFDqmSsfp+LGHrfAG\nWHfoAyeGM9fz2/UZeUEG73LEY+D6YkNFA6N7WC1dNEKHkca+vFPbF7JQ9IS3\n71uZjfCtx/tgMsfCv8JKhrDZ4E5YCGVnHk34G2gr/UFqygayVgPquh7RhJQP\nI2ryLg2WC2lQbCM7kKYLye5aqIbI2om5DgWS0TmHsHlXOIoFKj5gdAhik0hD\nesvNeUOsVOscDk5O8wfWrwY7GMW2WX2fazK4I+9aGtwhZfidmmAWcz/eNAub\nW29rp+T0/dQy3caJrA7agk9M4J5MaPpuKzr6ETEkVxRwfvHMabEx4jymWeW8\nku91Wla4z9ic1wy+v9g8x0KkBnB3cRPTl3G8ZYf3G3cteonMOzY4P6Y6Hyx9\ndyv3p4kq+y1m9o/IzdJ7t+R/715lEaeA6SZD4lI40d4xCyHEugKmFzrh7CkJ\n6Ge0\r\n=K6Gi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZn5sGQjzcarlmGZ6ZmGlHncQ/hr+uMAPXARPOeiMqnwIhAIWOHi2bykq58ctkjJFZTbHjwtONMJPFnztNUSVe0nTv"}]},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.10.0_1602435023282_0.9153942561566906"},"_hasShrinkwrap":false},"0.11.0":{"name":"jest-openapi","version":"0.11.0","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"index.js","types":"index.d.ts","scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --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","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/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@stryker-mutator/core":"^3.1.0","@stryker-mutator/javascript-mutator":"^3.1.0","@stryker-mutator/jest-runner":"^3.1.0","axios":"^0.20.0","eslint":"^7.11.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.5.2","request-promise":"^4.2.6","rimraf":"^3.0.2","supertest":"^5.0.0"},"dependencies":{"jest-matcher-utils":"^26.5.2","openapi-validator":"^0.9.0"},"_id":"jest-openapi@0.11.0","dist":{"shasum":"ea2263d7bbc8e5b369afdfa604abac70de9d345b","integrity":"sha512-8+09NeRRTijnvurwAbzfuxiAEHvA2YX5rLAV3PrM3ukmsA+JEY5p/QwoL3PC7/JHyuaLUhyK2p6FWX7FWYrw0Q==","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.11.0.tgz","fileCount":29,"unpackedSize":41776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfuT/lCRA9TVsSAnZWagAAK+IP/031POurEQ5x9YrDNBb0\nPYKkWOHE89bgLfDbCaBDHYR6OcaSunPpW09+cllBkC3+SdhiRbTUBaJRNfPy\nxEwZwS+M6OmtQ1p7nAweeClD0zpkejlKL1eJ+KqlRHObff+fIglH/TgpU4s2\nXtd2D0VTvWvNhAcUshOHn5v/bPxq6UKod1ORWSNU7mOfyLlu7/ZpgllzC4BA\nYjREiynGLsO2rWUgsYu8lnHCrLDPgPrSbs1ZtVgk3d+xF4apdk35DNfYbyIG\ntylzPPGFcoVEZFMBIYgsqo+z5xsCYKPLfJet2GtUvxJogQwVIT01/lTnL0W5\no4K4RKQLGj3PDiFnQSR7J69uohGHtcVZppZhcfooJ2IZ3s1y7GrstitEukTD\nvlTkgV3jDFpO0gUrwXPIps55I4pyKPY+QIp4qeqViZbDfNnHDsNUtTZViCQp\n1k6reURrltpJ0TRPUURxFVeX86VRPzTJEYWyULyd92fu2LWx3/rAbGfXV8id\nZpJdxP/zDEEWvzXL6q3UzNU/gpmMPZJ8p3laTR9J3BH3X8P/HeZ/cQpVv5KZ\ngVaVCwB5z7cr+pusQkdIAL9/9mGMuexZ2r9+7+FNL+7x3+sZnU1fpyOG1Ien\nGzRWUFwCuCWU23kJweX5WyEVTOXuBF2S5fk95cGmD/GAo6d+Jb+gCJC44e/7\nE2Mc\r\n=qpSM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH6NEPvTegSobPpCYtDrTqJisIB0PGTG7AArUjryXR+OAiEA6THrYTVjsKv+5Ol5GncRjzRdujjICdr+QMpesstll1Q="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.11.0_1605976037007_0.559555814101238"},"_hasShrinkwrap":false},"0.12.0":{"name":"jest-openapi","version":"0.12.0","description":"Jest matchers for asserting 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":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"axios":"^0.21.1","eslint":"^7.11.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.5.2","request-promise":"^4.2.6","supertest":"^6.0.0"},"dependencies":{"jest-matcher-utils":"^26.5.2","openapi-validator":"^0.12.0"},"_id":"jest-openapi@0.12.0","dist":{"shasum":"717c9a21c3150343b2952aa6e86aa69647cbd29a","integrity":"sha512-yea6n20Zf1UJmvIYxdeLSlErKgWTSWbnPESTgo1hsOyTHqrlxpgo2zy1zBJ9VoGLvtV9FLLqADkp9OUa3et78w==","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.12.0.tgz","fileCount":11,"unpackedSize":23890,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO8UrCRA9TVsSAnZWagAAPH4QAJP60Mq1JSgWpkFwg5iQ\nFl2VrY2FEZcNEZdKlKJMQdO6qnEzi7Yr7OIMexF+VK8+xT5CDRBX0ARkdn5L\n36HTkKkOg9cq667fci/iz8Fdwo6Y+1ITHi30QXmcBllgg3VLqmUJai4XNF+p\nFBW97gsbl5bxTombLw9v3wm0caXU3vLjt/qsmQuDByzDoKcvmr7m1WVfwCNY\nDOm87x9Qpz+oFur5zBvIuckRo1d7ll7iZmQpZkIoZCqP1UDhOU1iWGWeIbhI\nqfltyHjCiH5uoEzq+twQTvNmhDHcIRt0QzBJE7YPadx4l3KJ4bgz+MgtRDC3\nIjakMrkQKZx7K2AIdPKx8IAr/m0HjgplC9qku42n63ftfTcPRqiDvle86Pms\nNsEQf4wijl//HMmn5hikUeRMf7v8AW7YWZpZFb2mVOW/f/DVsJ2d6k3/08Qm\nxClbz6Bn5/baPfx4GYS5k99tXMYZ0mhn8GhRJydB8hcYwQuDgk2Kp5DoZe6M\njme/EQJn2QjE7KclnfbtSuZZZpBQFNzoEgajB00ApZZ5NxPWxVMvg5DEjSjs\nePaFmi4RS6sxKXpnXWQ7dQmIBi1N/w887ybUH4tS2e3BXJ1RCM1tUZqTphGe\nNhgMsBTgNK4uqwe0QEzJBT8gr4NcFNH5k5htw06ENZitIzic1UaJZIrhDtF0\n4Ctw\r\n=iDaB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0h6vRI4SmlMhHuGfZ3t0Xg3ssaGDBm9DdrwC2I8DC9AiBNGXcth7F14KPB7bAQKUQlLuIFAgyfaLLTAFtpC7MS5g=="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.12.0_1614529834733_0.06339287960292328"},"_hasShrinkwrap":false},"0.13.0":{"name":"jest-openapi","version":"0.13.0","description":"Jest matchers for asserting 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":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit","publish":"npm publish"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"axios":"^0.21.1","eslint":"^7.11.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.5.2","request-promise":"^4.2.6","supertest":"^6.0.0"},"dependencies":{"jest-matcher-utils":"^26.5.2","openapi-validator":"^0.13.0"},"_id":"jest-openapi@0.13.0","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-T9xVwMg2nbjIfIObTJNDctMYw9m0uffJ7YXge9TfOaUqGLO3Xams7G+nh2L1+QzJ1jwpdXWlUf4YlxfTAAwwXA==","shasum":"e3b6d1e7baaf0813547f47030410a48b28152e82","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.13.0.tgz","fileCount":8,"unpackedSize":23875,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQ8syCRA9TVsSAnZWagAAws0P/RhtviHtP1qh5ebQfTI3\nHv1pXkhc9t6/6KxOuw/FKh8zVNHr46t3///gFb91sChxH0/2SS2kb/8V9psb\n/qO3KKILQTqU+EGAqklUsWUMXNeOyvwL3GV2RpVBzNhoJiulvx5HsbYtaRu9\nqz9xVyr7oGzeU5eSf17zVSy2drnIPTM5zc+HB5AIZluHX+xViCvZlVDgRFY9\n1fSMzF6NYMUkPxUElj3PNKOZiuLiNYKBZd64syLwnDJ52mna8XOk0YUo3+QW\ncQTJ53Do1yVe9A1a/gL8H0POtIFjMZE9IdrLozmXdyRtdeIFoKB4a+hb7bi0\nnU/aDTBcHRa+3KPBalYBLbc3oaYfefwB9hpjyEb6MhXhaYLn2CkxW/EkGe8C\ntJ3oPrnda3e2t015qI7OuOTb7dEN6zLfFabhbFbcv/l/B6fxCaGAnOqj/g3G\nce0rWgI2tRAbCzIBHf/qTn/jvl5BQoBafdUn9WC82ZJy7x/IOjC120uK1A2R\nu9P46VigTEtsTUCuxfvOlyIZkwa4dnFkRtXzaBM7RAfRnkLW6H8zF3QW8s3f\nNX13zRCJ4wqr9yWRhSQu8CPnaNk7+MSvqA647bWTMhFsYthgFSQE5wj2J6qy\nKmwRRWJY64dCY+oo62pQiT/iLZEWWbAXo3nke2n11L+aY4uVJsHVPnd01+CU\nhPns\r\n=Xr8f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIbQLsH6Fh4ybPwrysedtG20smeHXynQ3Mj0i8UyPTZwIhALDvauwN+MmJBmfKD4FzOjRPeaqOhSF0SUMqNuE+Biwo"}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.13.0_1615055666263_0.49962537670962015"},"_hasShrinkwrap":false},"0.13.1-alpha.1":{"name":"jest-openapi","version":"0.13.1-alpha.1","description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"clean":"rimraf dist","format":"prettier --write ../../ --ignore-path ../../.prettierignore","lint":"tsc --noEmit --project tsconfig.eslint.json && eslint .","lint:fix":"yarn lint --fix","build":"tsc","test":"jest","test:watch":"jest --watch","test:coverage":"yarn clean && jest --coverage","test:coverage:browse":"yarn test:coverage; open ../coverage/lcov-report/index.html","test:precommit":"yarn format && yarn lint && yarn test:coverage","test:ci":"yarn test:precommit","prepack":"yarn build"},"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@types/jest":"^26.0.20","axios":"^0.21.1","eslint":"^7.11.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.6.3","request-promise":"^4.2.6","supertest":"^6.0.0","ts-jest":"^26.5.3","ts-node":"^9.1.1","typescript":"^4.2.3"},"dependencies":{"jest-matcher-utils":"^26.6.2","openapi-validator":"0.13.1-alpha.1"},"_id":"jest-openapi@0.13.1-alpha.1","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-ULntCA/7kAs2fZ/rbL+Jgrv0uoSLeyp6e9WBR6SO+Q0c8hDxVBGMsEJ8QPsKLsZ1WFL2AngF8/3EyjGzOqNdPQ==","shasum":"8a0d86169b84455c761e9f62a46a4724761130cc","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.13.1-alpha.1.tgz","fileCount":14,"unpackedSize":32617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgT5fLCRA9TVsSAnZWagAAJiAP/iIG0q33dHrTvG1yHUi9\nYRDiahXtLxeqZdblzZP5O0jA1iFP+UfkJFHO5sOENUEmGYdHihefF+oB/k3J\nN12NXd7KlEQA52jGT47pI5NEThi1op5h5PX8dr6fwyKOMFB/vV/FG3vr3MwC\nXN9np6i1lMKOIzdBbVax3nDmRXVrhvVTQw9TNon5SljsA5NcKG9+xYhcEHam\nWLIu2bK1vXL9gsjyBCBhQ75aOzJRYMmLLwLp5K5Kmp7KO5U8qO4KVup19XOE\nhMwlxEilxen+iNUatBS85vlSRelVMhoKgUn8ipLinTt7xuy7jksqIvlvwmS5\nK6ahtDjS4Oq+bswkvtPPbfsc54Yar65txcCpVi5oqb9TqWk7nWpXgb/np2+Y\nhJ/1zubt0he0l3SppzRecFnhXfYSgjxOr1kICl6hnOpeqKsMR9kuIxbJZ8PP\nWYTJCrvCqzY3vqAd/cEdbsrkY1kFCK/dhdteP6NmXp+cpljVGAFuTKdufhpA\nKd8cmpSJ2h38g2pRfB206baWYm4RT4kLazFv+S+uZ9x2lYzsIs9RKFVLWT8r\n0D2QJLmyaIcZvC/ozmcpCumLHSkS9IiOAN6xKr9yJ9nhbyIcxKSHbu2LxgkK\nLhgZATpo3MjGIEKoTUkcONLeeWuRQT1+V7bLFaM/zYkEAphhjsNN0uH5pu3a\nJoYW\r\n=rjSA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBpqj0PEpGTLQBsvA+VRGHBsYP8vrmw7IEsb0xAgNWziAiEAjp6E6sPcL/+z65c98KYBap4N+5fpzdqByJ8KNTxtPpg="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.13.1-alpha.1_1615828939045_0.3696761196052949"},"_hasShrinkwrap":false},"0.13.1-alpha.2":{"name":"jest-openapi","version":"0.13.1-alpha.2","description":"Jest matchers for asserting 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":"jest","test:watch":"jest --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && jest --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/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@types/jest":"^26.0.20","axios":"^0.21.1","eslint":"^7.11.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.6.3","request-promise":"^4.2.6","supertest":"^6.0.0","ts-jest":"^26.5.3","ts-node":"^9.1.1","typescript":"^4.2.3"},"dependencies":{"jest-matcher-utils":"^26.6.2","openapi-validator":"0.13.1-alpha.2"},"readme":"# jest-openapi\n\n[![downloads](https://img.shields.io/npm/dm/jest-openapi)](https://www.npmjs.com/package/jest-openapi)\n[![npm](https://img.shields.io/npm/v/jest-openapi.svg)](https://www.npmjs.com/package/jest-openapi)\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/jest-openapi)](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/jest-openapi/src/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\nAdditional Jest matchers for asserting 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 adds Jest matchers that support the [OpenAPI standard](https://swagger.io/docs/specification/about/) for documenting REST APIs. In your JavaScript tests, you can simply assert [`expect(responseObject).toSatisfyApiSpec()`](#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 [Jest](#usage), or use our [sister package](https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme) for Mocha and other test runners that support Chai\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 jest-openapi\n```\n\n[yarn](https://yarnpkg.com/)\n\n```bash\nyarn add --dev jest-openapi\n```\n\n## Importing\n\nES6 / TypeScript\n\n```typescript\nimport jestOpenAPI from 'jest-openapi';\n```\n\nCommonJS / JavaScript\n\n```javascript\nconst jestOpenAPI = require('jest-openapi').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// Import this plugin\nimport jestOpenAPI from 'jest-openapi';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\njestOpenAPI('path/to/openapi.yml');\n\n// Write your test\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).toEqual(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).toSatisfyApiSpec();\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\nexpect(received).toSatisfyApiSpec() // Matches 'received' to a response defined in your API spec, then validates 'received' against it\n\nexpected received to satisfy the '200' response defined for endpoint 'GET /example/endpoint' in your API spec\nreceived did not satisfy it because: integerProperty should be integer\n\nreceived 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// Import this plugin and the function you want to test\nimport jestOpenAPI from 'jest-openapi';\nimport { functionToTest } from 'path/to/your/code';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\njestOpenAPI('path/to/openapi.yml');\n\n// Write your test\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()).toSatisfySchemaInApiSpec('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\nexpect(received).not.toSatisfySchemaInApiSpec(schemaName) // Matches 'received' to a schema defined in your API spec, then validates 'received' against it\n\nexpected received to satisfy the 'StringSchema' schema defined in your 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// Import this plugin\nimport jestOpenAPI from 'jest-openapi';\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\njestOpenAPI(openApiSpec);\n\n// Write your test\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).toEqual(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).toSatisfyApiSpec();\n  });\n});\n```\n\n#### 3. From a web endpoint:\n\n```javascript\n// Import this plugin and an HTTP client (e.g. axios)\nimport jestOpenAPI from 'jest-openapi';\nimport axios from 'axios';\n\n// Write your test\ndescribe('GET /example/endpoint', () => {\n  // Load your OpenAPI spec from a web endpoint\n  beforeAll(async () => {\n    const response = await axios.get('url/to/openapi/spec');\n    const openApiSpec = response.data; // e.g. { openapi: '3.0.0', ... };\n    jestOpenAPI(openApiSpec);\n  });\n\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).toEqual(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).toSatisfyApiSpec();\n  });\n});\n```\n","readmeFilename":"README.md","_id":"jest-openapi@0.13.1-alpha.2","_nodeVersion":"10.22.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-9gNo2CuLk3jZ8dSY9aRqrUCOjVuIfBqRTAnpvPr3sAUlYAjdDsQJN+Jn01YzsShJb0pmjh/uMuynGOzLdVF4jg==","shasum":"93dd508ca54dc6da5659da9a3e7672e77f14c342","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.13.1-alpha.2.tgz","fileCount":18,"unpackedSize":33410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVP1dCRA9TVsSAnZWagAAyeIP/jC9b0cRGHGrUz8nbuMT\nj7guF8/MMde2x5sKvb8H3l86Njwvtvadv7jKTvQUQ+OKbmNGKNpk4S9j2Obi\n0XXSBePT0c/ynLCz4io9shSw69pW2K2OrjtghpxBKVPWjPpk58E2arhlPbe/\nVyLsqwTUL/mvE9f6EEdJ3ts1wNLEkiKGW80DGWngywELKCWAphtBOTyvg2qX\nf7V7ToT5BxlMS4QimU5LY2HlMs6GubBKZQdklenDyKiWxbsFpfhrhNA05NVx\nFrw3a0K5xrORA5ZauUWU1IgAYoxKFibqs+TGbSjiYGvub3GoLuBg6aKVoNdz\n3JQpc5dtRpVZFdVaZ2K+6GLkIuu6EOxYOpjsWsBNMVVefGXfliR6MLCFzHDO\nLlhl/6vmgohb5B5BI8AJS8G+eJ3UHnips5OH9GJPpbRITCXruWzQQJidEVrY\ntzlfSilVURa175logY+ZzW6YxaErFmxjeJEA2doYrbf5kny2VkBdPRhMrDMZ\n0WzOae92+znTS6wFRc33VxPJid9/5mVBWiBFgp1VSBd0X1qe913LUjGkiGL2\ngLp3KbK9BUsdIMtAR1ztu5BX5eM82FEpolZtzkjI/tZ25fprldy7lxcAnH+Y\nL2SP67lPF2ZOidZ6Qf3OT7WRXOADlfm2SSOEqy8TtWyfk3SuOj4rADt7l/Sy\np2c7\r\n=8WuW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJWgfsIrrYnnAmjALeOaS2N35qD8xyjPQOJB7bIn2VZAiEAt8p+JRj5jxw3qgWM99LuuyL66aZIObIdodYWfk3Nuns="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.13.1-alpha.2_1616182621313_0.0005208749369158827"},"_hasShrinkwrap":false},"0.14.0":{"name":"jest-openapi","version":"0.14.0","description":"Jest matchers for asserting 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":"jest","test:watch":"jest --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && jest --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/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@types/jest":"^27.0.1","axios":"^0.21.1","eslint":"^7.11.0","eslint-config-airbnb-base":"^14.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.6.3","request-promise":"^4.2.6","supertest":"^6.0.0","ts-jest":"^26.5.3","ts-node":"^9.1.1","typescript":"^4.2.3"},"dependencies":{"jest-matcher-utils":"^26.6.2","openapi-validator":"^0.14.0"},"gitHead":"15ddc6140f83073ee5198f0339a5608b6d28094d","_id":"jest-openapi@0.14.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-W0lhviCPE0znqqkACwkl7+zG1ZT933YTPtnsThEeZJ8Ap6aTVsUao8vwSmXSwWVt/T3et1L+Zfww/UDJy8CD7A==","shasum":"85ec6c9b1a38e9bc44710448d6545324c9771c07","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.14.0.tgz","fileCount":19,"unpackedSize":35343,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPerZCRA9TVsSAnZWagAArWUP/iaWlnHV7kPjLSiCpWVw\noB0wvCxn4nNUa7kv+xnOPbR3e87P9owJpOzYspBPd+PUFfCfqHFKNeIqKo4W\n8sP8IQa289A9VxlVRQRWZZCVWw2OkxXsNurcQAdDZmarHbWdtY9NNGhY/r3t\nywGt/EBrfWvYT02SG9kXsKiYqkzvSuDW4g3iPO38Jg/HDXWWjQnetI1tlIDf\nu+YcnywpYArV88tfm+9GsyRPUyb+4jUyGu38vmMfbwKesv9UlqrMeA66kwWC\n1J0eufZTcWazVhmgNN1iGK2dM6xUfHAx9jXnM/6MNe+HqHtxeI70MVqSiRK/\nMk01sljJgMfMwsDccInIrbiSHRSxTXmZ1YsJ3XPwQf1w1/XQMCSn+sCwz95e\nZBpSe4QcEvN/LIUOQkH6DKxCUEhfUyu/OPWL01skqruhbie42zIVW9On53HA\nSh0PXAxRtkGPrMZoP9Fz9nGVOEl8+JvTWAWV53hhrhPAekoNhTfHkai4f1Ki\nJ3nvjFh0/R0qlvF5f0modnOVqm4Jr5WGIWt+7ZACPW6SG3AeZnqmu/FEHz/I\nnhv3RTQkxw5hkqa6LIDM93mI8KB3lBblaHADXLk/S+Sd93brsPhMZX7D1qaS\nPQ0gD3Vc5J0QdbYGDY/3lxtdGvHrdHk2deNN28qx0ujEwT16UyjzvBaIQ9tb\nHrEK\r\n=hWn+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID0X3UAS2Tlxlx/HKkBPjhVAyUoHhwlDRAzQCGPMaSKJAiEA/khYw4Iymyz9NBFuVHYr1m6mrdAG9OwUPQqshSJvCCA="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.14.0_1631447769119_0.01190752512199178"},"_hasShrinkwrap":false},"0.14.1":{"name":"jest-openapi","version":"0.14.1","description":"Jest matchers for asserting 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":"jest","test:watch":"jest --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && jest --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/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@types/jest":"^27.0.1","@types/request-promise":"^4.1.48","@types/supertest":"^2.0.11","axios":"^0.21.1","eslint":"^7.11.0","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.6.3","request-promise":"^4.2.6","supertest":"^6.0.0","ts-jest":"^26.5.3","ts-node":"^9.1.1"},"dependencies":{"jest-matcher-utils":"^26.6.2","openapi-validator":"^0.14.1"},"gitHead":"c58f4d016a69d080b03c3f5bbc1f5b45a8ef79be","_id":"jest-openapi@0.14.1","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-Fnvd58g5P0xwthotJHJ4hhWTkcj1ENTUmzfykBQHBQV5kGwpoqoqMRlt/K6mZiqrMS3q1NIleEJYiCxtQMQeRw==","shasum":"2cce18c32f923f8c4e70ff1b87c4bc10a024714b","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.14.1.tgz","fileCount":19,"unpackedSize":36187,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFjW7a/7WppVVCbS6SUPuSPgjLnMLHjDRtFKS3UOFFoAIgR5W5lIu34+/ouFKKL1yt0n4B17VWkH4geQ8Jt93V7Js="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.14.1_1634403825886_0.1809324918007118"},"_hasShrinkwrap":false},"0.14.2-alpha.0":{"name":"jest-openapi","version":"0.14.2-alpha.0","description":"Jest matchers for asserting 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":"jest","test:watch":"jest --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && jest --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/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@types/jest":"^27.0.1","@types/request-promise":"^4.1.48","@types/supertest":"^2.0.11","axios":"^0.21.1","eslint":"^7.11.0","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.6.3","request-promise":"^4.2.6","supertest":"^6.0.0","ts-jest":"^26.5.3","ts-node":"^9.1.1"},"dependencies":{"jest-matcher-utils":"^26.6.2","openapi-validator":"^0.14.2-alpha.0"},"gitHead":"bb29f2010c4b82a0d540e81e5ef8d35c97675cd3","_id":"jest-openapi@0.14.2-alpha.0","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-avxo/m3ZtZNVI7uwGr30DjFd+5EO/TGO99dZCEH8jC/xbE20SmQMbKGVnbz7GYCWFVwNoLv2vsVGIT3r8VcSvA==","shasum":"f283d482d7a91a9e3716d6b21f6b74cd2fc1a6c2","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.14.2-alpha.0.tgz","fileCount":19,"unpackedSize":36203,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0wwfCRA9TVsSAnZWagAAJ6gQAIGv4LwfZlUkGmswgHZ/\n7PTjOMQkcTxRvZITJNp2DztauQSgo8DHDCw+E64Ej+oOu7RtcH/FHTL4VKnr\nFMlPyukVMNnIL5nVUIFSLU/YAMTNawYoBWSzGRxvmBQ+0txfHZyKfwp5t7kF\nU6sf6ESMpoVoQXhW80qUzpOHXaKUBT9OO/d+UDUaEbg4bHTahRlIi0N7isHj\nv9Xzbe316U4uVlBW06k9ennO6nCMGN0E6o6r4T/3X9W8q0xnfzvqg+RXp57N\nwgJpqVe8tJW6Kzd3iPYxYXK75+/ykV72/hheA5kb153nk/3BY6C0MgjbDGcd\n0VSb5A3Ri8jUcAUr5CY8l7aP0mEm6yknX8tU/y+QSJD1qVq1zRMPCo3YnBBW\niMZwfpjDuHLhT8ZRZWJqMI7CLPAjvVF8vTXSpM8uOur6oGvkLxLgq2kbQ2Oj\nttTTcIYFu+hABg0XByEZWE/YZ+ngTVGqXbtRHKZwaBQtEkCBdsMTP7Nosqfh\njv7JIh8brssWhtlggfeQhRRfUa2K4y5XgLQxVjIdikwqz2KXGysu6QHW3+KU\na62ZQ3uS47eJeMIpqjMTQDEH6tIeKshDz3hzaj+psve+9aZc6ADmXlhkBDSB\nj0/EozHmfddPfBHO1gnIk9S45S4HAQYw7ubGvEXZ6FHQyw0CyXS1/3pKCE8t\nDYKW\r\n=Yww6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIER/bgWlQT9UCq0w1Q1P18ePhAR8nz4zC4TULe/B+CTSAiEA+BXM7CNKQ+sNLteO6eZNe7E6u7Ss2WQgSfGzTrtyrXs="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.14.2-alpha.0_1641221150927_0.2482013286983089"},"_hasShrinkwrap":false},"0.14.2":{"name":"jest-openapi","version":"0.14.2","description":"Jest matchers for asserting 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":"jest","test:watch":"jest --watch","test:coverage":"yarn clean && yarn clean:openapi-validator && jest --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/jest-openapi"},"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"license":"MIT","keywords":["jest","openapi","testing","response","validate","assertions"],"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","devDependencies":{"@types/jest":"^27.0.1","@types/request-promise":"^4.1.48","@types/supertest":"^2.0.11","axios":"^0.21.1","eslint":"^7.11.0","eslint-plugin-jest":"^24.1.0","express":"^4.17.1","fs-extra":"^9.0.1","jest":"^26.6.3","request-promise":"^4.2.6","supertest":"^6.0.0","ts-jest":"^26.5.3","ts-node":"^9.1.1"},"dependencies":{"jest-matcher-utils":"^26.6.2","openapi-validator":"^0.14.2"},"gitHead":"ecaac34d42e59b02c781d229e4a46dc9c1a5f0f2","_id":"jest-openapi@0.14.2","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-7LNIV2FQrxE2ilhyJfIDQUUjeEn3rYmDmwzH4uXbvMj274ipGOKfajFMXVdY5ktw0WdAPBmXWuCGP/XCfr2Wjg==","shasum":"5a78f4b5c98ae2b7a7c622d368b71d52a75523c4","tarball":"https://registry.npmjs.org/jest-openapi/-/jest-openapi-0.14.2.tgz","fileCount":19,"unpackedSize":36187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0w7vCRA9TVsSAnZWagAAcdYQAICJKHdU0N/HxRkmhqtm\n85EUPwIEink1NxX9hqthp7tUQjG8bit7tPlqczDx51jIsF4IQkuh5XmkrBOb\nb1KjUlWtwGH6ba1gotm2xkkgnKRZFWDejgj9CcPK2qUisLj7zqi+IjURqHp9\nnEwPwg4LTRZH5HJ+TMHp1VjFRxgYQDDhdNwfN7YhRswmhUSDK8zJAgtespBb\n6jEMKWwrwT/959234bouz/phcSZ/+85ie9m1cr4AgBavgRPqKlkkqOV6+Gnu\n22o8mbpzdA+wtWCsXxeTjI96jKkkzFKYh8q4QGTHhnCsrGIMJ7KNFhuLDukp\n3TYbJGVS2PVx5fXtwM615TbpXQbSaDTjPCl30LbH4ClJVJ32KfXVgrFWtRq7\n48lLx/lu/CbNQe+/xEFVGdtwHYbd0OsaZKJsrn2H0AMSic4B3zKTSmQvxD/3\nwBCahBUFepFwsjMfAAAINNfUTyQDoIU9zskvN7ljUd4eg3lObwjhB7ahRDGI\n/cvj707AlFU+VyQyFpbCgMT1LlAQKPKm3aDjFJaZFOdFzxh91qY3fSRtAEMV\nCsLHzx7PmqcP6fCp+1VlOXYWTF6PCUYt01ClQAE+rc93dYi7eNNINviaOxiM\nLuyc7kuUvS5rQGdZTqpjh2AkvG6Vty0+o1Ggg9EqqjxQiRTlGArhUuOFrQLl\nyjg2\r\n=Xwdj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDP09bgcHFE/IIwOIaksILAiSwl7zuoqfl2U4JIdQUOkAIgDSTJlEwbhKi+z+g8uH0hsZsMI3hcSEFRwl8+7EF2ddk="}]},"_npmUser":{"name":"openapichai","email":"openapichai@gmail.com"},"directories":{},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jest-openapi_0.14.2_1641221871391_0.2570403470478775"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-28T12:19:56.305Z","0.9.0":"2020-04-28T12:19:56.403Z","modified":"2022-05-06T12:36:40.858Z","0.9.1":"2020-04-28T12:42:56.863Z","0.9.2":"2020-05-15T10:28:57.604Z","0.9.3":"2020-05-31T15:54:54.268Z","0.9.4":"2020-06-08T12:05:32.751Z","0.10.0":"2020-10-11T16:50:23.418Z","0.11.0":"2020-11-21T16:27:17.140Z","0.12.0":"2021-02-28T16:30:34.843Z","0.13.0":"2021-03-06T18:34:26.460Z","0.13.1-alpha.1":"2021-03-15T17:22:19.182Z","0.13.1-alpha.2":"2021-03-19T19:37:01.495Z","0.14.0":"2021-09-12T11:56:09.310Z","0.14.1":"2021-10-16T17:03:46.070Z","0.14.2-alpha.0":"2022-01-03T14:45:51.064Z","0.14.2":"2022-01-03T14:57:51.556Z"},"maintainers":[{"name":"openapichai","email":"openapichai@gmail.com"}],"description":"Jest matchers for asserting that HTTP responses satisfy an OpenAPI spec","homepage":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme","keywords":["jest","openapi","testing","response","validate","assertions"],"repository":{"type":"git","url":"https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi"},"contributors":[{"name":"Jonny Spruce","email":"jspruce94@gmail.com"}],"author":{"name":"rwalle61","email":"richard.lh.waller@gmail.com"},"bugs":{"url":"https://github.com/openapi-library/OpenAPIValidators/issues"},"license":"MIT","readme":"# jest-openapi\n\n[![downloads](https://img.shields.io/npm/dm/jest-openapi)](https://www.npmjs.com/package/jest-openapi)\n[![npm](https://img.shields.io/npm/v/jest-openapi.svg)](https://www.npmjs.com/package/jest-openapi)\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/jest-openapi)](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/jest-openapi/src/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\nAdditional Jest matchers for asserting 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 adds Jest matchers that support the [OpenAPI standard](https://swagger.io/docs/specification/about/) for documenting REST APIs. In your JavaScript tests, you can simply assert [`expect(responseObject).toSatisfyApiSpec()`](#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 [Jest](#usage), or use our [sister package](https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/chai-openapi-response-validator#readme) for Mocha and other test runners that support Chai\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 jest-openapi\n```\n\n[yarn](https://yarnpkg.com/)\n\n```bash\nyarn add --dev jest-openapi\n```\n\n## Importing\n\nES6 / TypeScript\n\n```typescript\nimport jestOpenAPI from 'jest-openapi';\n```\n\nCommonJS / JavaScript\n\n```javascript\nconst jestOpenAPI = require('jest-openapi').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// Import this plugin\nimport jestOpenAPI from 'jest-openapi';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\njestOpenAPI('path/to/openapi.yml');\n\n// Write your test\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).toEqual(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).toSatisfyApiSpec();\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\nexpect(received).toSatisfyApiSpec() // Matches 'received' to a response defined in your API spec, then validates 'received' against it\n\nexpected received to satisfy the '200' response defined for endpoint 'GET /example/endpoint' in your API spec\nreceived did not satisfy it because: integerProperty should be integer\n\nreceived 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// Import this plugin and the function you want to test\nimport jestOpenAPI from 'jest-openapi';\nimport { functionToTest } from 'path/to/your/code';\n\n// Load an OpenAPI file (YAML or JSON) into this plugin\njestOpenAPI('path/to/openapi.yml');\n\n// Write your test\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()).toSatisfySchemaInApiSpec('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\nexpect(received).not.toSatisfySchemaInApiSpec(schemaName) // Matches 'received' to a schema defined in your API spec, then validates 'received' against it\n\nexpected received to satisfy the 'StringSchema' schema defined in your 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// Import this plugin\nimport jestOpenAPI from 'jest-openapi';\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\njestOpenAPI(openApiSpec);\n\n// Write your test\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).toEqual(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).toSatisfyApiSpec();\n  });\n});\n```\n\n#### 3. From a web endpoint:\n\n```javascript\n// Import this plugin and an HTTP client (e.g. axios)\nimport jestOpenAPI from 'jest-openapi';\nimport axios from 'axios';\n\n// Write your test\ndescribe('GET /example/endpoint', () => {\n  // Load your OpenAPI spec from a web endpoint\n  beforeAll(async () => {\n    const response = await axios.get('url/to/openapi/spec');\n    const openApiSpec = response.data; // e.g. { openapi: '3.0.0', ... };\n    jestOpenAPI(openApiSpec);\n  });\n\n  it('should satisfy OpenAPI spec', async () => {\n    // Get an HTTP response from your server\n    const res = await axios.get('http://localhost:3000/example/endpoint');\n\n    expect(res.status).toEqual(200);\n\n    // Assert that the HTTP response satisfies the OpenAPI spec\n    expect(res).toSatisfyApiSpec();\n  });\n});\n```\n","readmeFilename":"README.md"}