Open archanamahajan opened 8 years ago
I got the above issue when dealing with non complaint swagger API's. Below is the link, where I have tried to resolve the issue. There is little change in index.js file. https://github.com/archanamahajan/swaggerValidator. Thanks.
I am getting the below error similar to you. What is the issue?
{ message: 'Could not determine version for swagger spec.' }
var specVersion = swaggerRootDoc.swaggerVersion || swaggerRootDoc.swagger; ^ TypeError: Cannot read property 'swaggerVersion' of undefined