grape-swagger-rails icon indicating copy to clipboard operation
grape-swagger-rails copied to clipboard

Taking swagger-ui from rails-assets

Open ktimothy opened this issue 8 years ago • 4 comments

Hey, this is a very nice project, but keeping swagger-ui dist files in the repository among with rake-task for downloading them makes me sad. I have an idea to add swagger-ui dist as a dependency in Gemfile. I can even make a PR with that. What do you think?

ktimothy avatar Jun 07 '17 11:06 ktimothy

Yes! Making swagger-ui a dist gem and making it a dependency is something we'd take here.

dblock avatar Jun 27 '17 18:06 dblock

The newer swagger-ui-dist makes this easier. We should be doing something like https://github.com/artsy/doppler/pull/139. Maybe someone wants to take a stab?

dblock avatar Oct 26 '18 14:10 dblock

Yeah. Update task doesn't seem to work anymore

$ bundle exec rake swagger_ui:dist:update
Cloning into /tmp/swagger-ui20190806-10968-xymd0x ...
Removing files from /home/user/apps/some_app ...
Copying Javascripts ...
rake aborted!
Errno::ENOENT: No such file or directory @ apply2files - /home/user/apps/some_app/app/assets/javascripts/grape_swagger_rails

Would be great to be able to update swagger_ui....

mleszcz avatar Aug 06 '19 13:08 mleszcz

Yeah. Update task doesn't seem to work anymore

$ bundle exec rake swagger_ui:dist:update
Cloning into /tmp/swagger-ui20190806-10968-xymd0x ...
Removing files from /home/user/apps/some_app ...
Copying Javascripts ...
rake aborted!
Errno::ENOENT: No such file or directory @ apply2files - /home/user/apps/some_app/app/assets/javascripts/grape_swagger_rails

Would be great to be able to update swagger_ui....

Feel free to debug and PR! Thank you.

dblock avatar Aug 07 '19 16:08 dblock