Sha256: 353e010ed8cf74d59b65b620c2764bb64b1102036f1215bc938be752e00ad523
Contents?: true
Size: 400 Bytes
Versions: 4
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true namespace :swagger do desc 'Generate Swagger Documentation files' task docs: :environment do puts 'Create Swagger File in public/swagger.json' swag = SwaggerDocsGenerator::Generator.new # Reload all controller before parsing Rails.application.eager_load! # Generates files swag.generate_swagger_file swag.delete_temporary_files end end
Version data entries
4 entries across 4 versions & 1 rubygems