Swaggervel icon indicating copy to clipboard operation
Swaggervel copied to clipboard

Getting API Spec mismatch error

Open vivex opened this issue 9 years ago • 2 comments

On swagger-ui page i am getting following error-

"This API is using a deprecated version of Swagger! Please see http://github.com/wordnik/swagger-core/wiki for more info"

and swagger-ui page is not displaying any api, even there are 2 resources in swagger.json file.

vivex avatar Nov 17 '15 03:11 vivex

It seems that swagger-ui is outdated here, i tried the generated json file with latest swagger-ui and it worked, So i replaced public/vendor/swaggervel with latest js & css files, and modified vendor/jlapp/swaggervel/src/views/index.blade.php file according to new index.html in swagger-ui , but still if i visit /api-docs it is giving me old html code even after clearing the cache. Any thoughts?

vivex avatar Nov 17 '15 18:11 vivex

maybe publish your vendor assets again?

MarcusFulbright avatar Dec 29 '15 00:12 MarcusFulbright