Sha256: 0efd3757691b70ce5e6f75fb780b8a87e0fa0dd66c0e53c9fea56126ab46a85f
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
# GrapeSwaggerRails Swagger UI as Rails Engine for grape-swagger gem ## Installation Add this line to your application's Gemfile: gem 'grape-swagger-rails' And then execute: $ bundle Or install it yourself as: $ gem install grape-swagger-rails ## Usage: add this line to your routes.rb mount GrapeSwaggerRails::Engine => '/swagger' Create `./config/initializer/swagger.rb` with lines: GrapeSwaggerRails.options.url = "/swagger_doc.json" GrapeSwaggerRails.options.app_name = 'Swagger' GrapeSwaggerRails.options.app_url = 'http://swagger.wordnik.com' ## Known problems To avoid problems with the validation parameters in `POST` request using this gem, please use the head version: gem 'grape-swagger', :git=>'git://github.com/jhecking/grape-swagger.git' ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grape-swagger-rails-0.0.7 | README.md |