Simple autogenerated live API documentation for Rails applications.
Add this line to your application's Gemfile:
gem 'try_api'
And then execute:
$ bundle
This will generate config file example:
$ rails generate try_api:install
Mount try_api engine to your routes. Add this to routes.rb
mount TryApi::Engine => '/developers'
Modify config/try_api/base.yml
Bug reports and pull requests are welcome:
- Fork it
- Create your feature branch(git checkout -b my-new-feature)
- Commit your changes(git commit -am 'Add some feature')
- Push to the branch(git push origin my-new-feature)
- Create new Pull Request
The gem is available as open source under the terms of the MIT License.