You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -505,7 +505,7 @@ Read this doc for more info on Swagger UI.
505
505
506
506
By default, the Swagger UI home page retrieves the api-docs.json documentation file from http://petstore.swagger.wordnik.com/. We can override this behavior by appending a URI parameter url to the URL ie. `/swagger/dist/index.html?url=/apidocs/api-docs.json`.
507
507
508
-
###`config/routes.rb`
508
+
*edit`config/routes.rb`*
509
509
```ruby
510
510
get '/docs' => redirect('/swagger/dist/index.html?url=/apidocs/api-docs.json')
0 commit comments