File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ Or install it yourself as:
22
22
23
23
Create ` ./config/initializer/swagger.rb ` with lines:
24
24
25
- GrapeSwaggerRails.discoveryUrl = "/swagger_doc.json"
26
- GrapeSwaggerRails.appName = 'Swagger'
27
- GrapeSwaggerRails.appUrl = 'http://swagger.wordnik.com'
25
+ GrapeSwaggerRails.options.url = "/swagger_doc.json"
26
+ GrapeSwaggerRails.options.app_name = 'Swagger'
27
+ GrapeSwaggerRails.options.app_url = 'http://swagger.wordnik.com'
28
28
29
-
30
- ## Нюансы
29
+ ## Known problems
31
30
32
- Чтобы избежать проблемы с валидацией параметров в ` POST ` запросах, используе этот gem:
31
+ To avoid problems with the validation parameters in ` POST ` request using this gem,
32
+ please use the head version:
33
33
34
34
gem 'grape-swagger', :git=>'git://github.com/jhecking/grape-swagger.git'
35
35
You can’t perform that action at this time.
0 commit comments