Sha256: f971bd2278c92016d82206063bbb2dc904e844d763775a10c2b1fd3788bd2610
Contents?: true
Size: 540 Bytes
Versions: 5
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true namespace :swagger do desc 'Generate Swagger Documentation files' task docs: :environment do swag = SwaggerDocsGenerator::Generator.new puts 'Create Swagger File in :' puts swag.info_swagger_file # Reload all controller before parsing Rails.application.eager_load! # Generates files puts puts 'Generate doc file :' swag.generate_swagger_file puts puts 'Delete temporary file :' puts swag.info_swagger_temporary swag.delete_temporary_files end end
Version data entries
5 entries across 5 versions & 1 rubygems