Sha256: 83642f766c06a5811b26e02164f119fb9f46c45b3fab1beb9dcff9b1f662b457
Contents?: true
Size: 285 Bytes
Versions: 2
Compression:
Stored size: 285 Bytes
Contents
EasySwaggerUi::Engine.routes.draw do get 'oauth2', to: 'swagger#oauth2', format: false constraints(EasySwaggerUi::RouteMatcher) do get '*doc_path', to: 'swagger#view', format: false, as: 'view' get '*doc_path.json', to: 'swagger#spec', format: false, as: 'spec' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
easy_swagger_ui-0.1.1 | config/routes.rb |
easy_swagger_ui-0.1.0 | config/routes.rb |