Sha256: ff835c86efb9a092e94df9b632bea7698b1d052a287a3d3c9ef58d1bfe85d3ef
Contents?: true
Size: 407 Bytes
Versions: 7
Compression:
Stored size: 407 Bytes
Contents
module Swagger module Generators class LayoutGenerator < ::Rails::Generators::Base desc 'Setup a dedicated layout for the swagger-ui' def self.source_root File.expand_path('../templates', __FILE__) end def create_swagger_layout template 'swagger.html.haml', File.join('app', 'views', 'layouts', 'swagger.html.haml') end end end end
Version data entries
7 entries across 7 versions & 2 rubygems