Sha256: 71219703c9a7dd9fc73a34b36c5fb34f9482f4284b245d3ba1b91a0d52f23521
Contents?: true
Size: 306 Bytes
Versions: 4
Compression:
Stored size: 306 Bytes
Contents
namespace :docs do desc 'Generate api documentation' task generate: :environment do filename = 'swagger_v1.json' path = Rails.application.config.api[:v1_doc_path] FileUtils.mkdir_p(File.dirname(path)) Apress::Api::Swagger::Generator.new(path).generate_file puts 'Done.' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
apress-api-1.24.0 | lib/tasks/docs.rake |
apress-api-1.23.0 | lib/tasks/docs.rake |
apress-api-1.22.1 | lib/tasks/docs.rake |
apress-api-1.22.0 | lib/tasks/docs.rake |