This is an example of an rails app that uses Grape and Swagger to create a beautifull api in Rails.
For details read my blog post about it.
To start this app:
bundle
bundle exec rake db:migrate
bundle exec rails sNow you can play with the api documentation with this link.