Added note related to #187.

This commit is contained in:
Daniel Doubrovkine (dB.) @dblockdotorg 2015-01-13 09:04:16 -05:00
parent ca3702c068
commit 29e9afefaf
1 changed files with 20 additions and 0 deletions

View File

@ -1,6 +1,26 @@
Upgrading Grape-swagger
=======================
### Upgrading to >= 0.9.0
#### Changes in Configuration
Remove the `.json` extension from `GrapeSwaggerRails.options.url`.
For example, change
```ruby
GrapeSwaggerRails.options.url = '/api/v1/swagger_doc.json'
```
to
```ruby
GrapeSwaggerRails.options.url = '/api/v1/swagger_doc'
```
See [#187](https://github.com/tim-vandecasteele/grape-swagger/issues/187) for more information.
### Upgrading to >= 0.8.0
#### Changes in Configuration