Code42ApiRails
A gem to enable API spec compliance to rails projects
Installation
Add this line to your application's Gemfile:
gem 'code42_api_rails'
And then execute:
$ bundle install
Usage
Subclass your controllers from RailsApi::BaseController.
class ApplicationController < RailsApi::BaseController
end
Subclass your models from RailsApi::Model.
class MyModel < RailsApi::Model
end