README.md in swagger-ui_rails-0.1.7 vs README.md in swagger-ui_rails-2.1.0.alpha.7.1
- old
+ new
@@ -1,23 +1,25 @@
# Swagger::UiRails
A gem that lets you add [swagger-ui](https://github.com/wordnik/swagger-ui) easily to your rails application
+Current version: 2.1.0-alpha.7
+
## Installation
Add this line to your application's Gemfile:
gem 'swagger-ui_rails'
## Usage
Add to your application.js
- //= swagger-ui
+ //= require swagger-ui
Add to your application.css
- *= swagger-ui
+ *= require swagger-ui
Then add to some api_docs/index.html
= render 'swagger_ui/swagger_ui', discovery_url: 'root/to/swagger_doc.json'