Example of Grape using Roar with Versioning by Header (and Swagger).
There are two Ressources with very basic routes to show a possible usage of an possible Grape Hypermedia HAL API, so it could be used as a template.
Start
bundle install
bundle execute puma
Curently broken |
---|
and enter http://localhost:9292/swagger_doc.json