We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e61961 commit 0fc9b15Copy full SHA for 0fc9b15
lib/grape-swagger-rails.rb
@@ -15,7 +15,7 @@ def before_filter(&block)
15
16
self.options = Options.new(
17
18
- url: '/swagger_doc.json',
+ url: '/swagger_doc',
19
app_name: 'Swagger',
20
app_url: 'http://swagger.wordnik.com',
21
spec/dummy/config/initializers/swagger.rb
@@ -1,3 +1,3 @@
1
-GrapeSwaggerRails.options.url = '/api/swagger_doc.json'
+GrapeSwaggerRails.options.url = '/api/swagger_doc'
2
GrapeSwaggerRails.options.app_name = 'Swagger'
3
GrapeSwaggerRails.options.app_url = 'http://localhost:3000'
0 commit comments