mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
Support mount-specific swagger_root and add swagger_filter setting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
SwaggerRails::Engine.routes.draw do
|
||||
root to: 'application#redirect_to_swagger_ui'
|
||||
get '/index.html', to: 'swagger_ui#index', as: :swagger_ui
|
||||
root to: 'swagger_ui#root'
|
||||
get '/index.html', to: 'swagger_ui#index'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user