mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +00:00
swagger-ui via bower and middleware
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
SwaggerRails::Engine.routes.draw do
|
||||
|
||||
get '/ui', to: 'swagger_ui#show'
|
||||
get '/index.html', to: 'swagger_ui#index', as: :swagger_ui
|
||||
get '/:api_version/swagger.json', to: 'swagger_docs#show', as: :swagger
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user