ruby-grape / grape-swagger-rails

Swagger UI as Rails Engine for grape-swagger gem.
MIT License
252 stars 197 forks source link

Throwing JS error in Rails6 #99

Open siva-wal opened 4 years ago

siva-wal commented 4 years ago

I am trying to integrate swagger in my new rails 6 project. I have added .json files as specified in the documentation. But I facing following error:

Screen Shot 2020-02-06 at 5 47 51 PM

manifest.js

//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
//= link grape_swagger_rails/application.css
//= link grape_swagger_rails/application.js

Could you let me know where I went wrong?