Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If an object's reference has already been resolved, or if the object is not a reference, the code will abort with an error like: node_modules/express-openapi-validator/dist/middlewares/parsers/schema.preprocessor.js:366 return ref.split('/components/schemas/')[1]; ^ TypeError: Cannot read property 'split' of undefined at SchemaPreprocessor.getKeyFromRef (node_modules/express-openapi-validator/dist/middlewares/parsers/schema.preprocessor.js:366:20) at node_modules/express-openapi-validator/dist/middlewares/parsers/schema.preprocessor.js:194:34 at Array.flatMap (<anonymous>)
- Loading branch information