swagger-ui via bower and middleware

This commit is contained in:
domaindrivendev
2015-09-22 15:12:28 -07:00
parent 527bbd1cc3
commit c01edd2ded
66 changed files with 38131 additions and 106 deletions

View File

@@ -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