You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.
assert.js:89
throw new assert.AssertionError({
^
AssertionError: Can not find schema reference: #/definitions/newPet.
at refresolver (/swaggerize-examples/petstore-simple-express/node_modules/enjoi/lib/enjoi.js:42:16)
at resolve (/swaggerize-examples/petstore-simple-express/node_modules/enjoi/lib/enjoi.js:17:28)
at enjoi (/swaggerize-examples/petstore-simple-express/node_modules/enjoi/lib/enjoi.js:152:12)
at Object.make (/swaggerize-examples/petstore-simple-express/node_modules/swaggerize-routes/lib/validator.js:83:26)
at /swaggerize-examples/petstore-simple-express/node_modules/swaggerize-routes/lib/validator.js:54:29
at Array.map (native)
at Object.makeAll (/swaggerize-examples/petstore-simple-express/node_modules/swaggerize-routes/lib/validator.js:51:44)
at /swaggerize-examples/petstore-simple-express/node_modules/swaggerize-routes/lib/buildroutes.js:65:42
at Array.forEach (native)
at /swaggerize-examples/petstore-simple-express/node_modules/swaggerize-routes/lib/buildroutes.js:26:21
swaggerize-express@^4 brings in "enjoi": "^1.0.0"
https://github.com/krakenjs/generator-swaggerize/blob/master/app/templates/_package.json#L21
However the generated app's dev dependency on enjoi is stuck at an older version making the unit test fail.
https://github.com/krakenjs/generator-swaggerize/blob/master/app/templates/_test_express.js#L59
Generated APP: https://github.com/subii/swaggerize-examples/tree/master/petstore-simple-express
The text was updated successfully, but these errors were encountered: