Sha256: c9a38b478171b0fb406b34aeeb346ed355cd013c1303853abe24b9e73337d31d
Contents?: true
Size: 488 Bytes
Versions: 36
Compression:
Stored size: 488 Bytes
Contents
class Qa::ApidocGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) desc """ This generator makes the following changes to your application: 1. Add swagger-docs gem and bundle install 2. Add swagger documentation for the QA linked data API """ def add_to_gemfile gem 'swagger-docs' Bundler.with_clean_env do run "bundle install" end end def copy_api_docs directory "public/qa/apidoc", recursive: false end end
Version data entries
36 entries across 36 versions & 1 rubygems