mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
rename to rswag plus major refactor - almost a rewrite
This commit is contained in:
10
test-app/config/routes.rb
Normal file
10
test-app/config/routes.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
TestApp::Application.routes.draw do
|
||||
mount Rswag::Ui::Engine => '/api-docs'
|
||||
|
||||
mount Rswag::Api::Engine => '/api-docs'
|
||||
|
||||
resources :blogs, defaults: { :format => :json }
|
||||
|
||||
mount Rswag::Api::Engine => 'api-docs'
|
||||
mount Rswag::Ui::Engine => 'api-docs'
|
||||
end
|
||||
Reference in New Issue
Block a user