Sha256: 1eb95ab80cbf2cf3af1425f75d05fd2a399d16d0e1356f768fe20af6a4d6be6f
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
SwaggerUiEngine::Engine.routes.draw do scope format: false do resources :swagger_docs, only: [:index, :show] do collection do get 'oauth2', to: 'swagger_docs#oauth2', format: false end end get 'single_swagger_doc', to: 'swagger_docs#single_doc', format: false root to: 'swagger_docs#index' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
swagger_ui_engine-1.1.3 | config/routes.rb |
swagger_ui_engine-1.1.2 | config/routes.rb |
swagger_ui_engine-1.1.1 | config/routes.rb |
swagger_ui_engine-1.1.0 | config/routes.rb |