Sha256: 896260d22328d0010e5aa9a9d987b3332262ee4fdb65892e93e049609623e032

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

require 'rspec/core/rake_task'

namespace :ropen_pi do
  desc 'Generate OpenAPI JSON files from integration specs'
  RSpec::Core::RakeTask.new('document') do |t|
    t.pattern = 'spec/requests/**/*_spec.rb, spec/api/**/*_spec.rb, spec/integration/**/*_spec.rb'

    t.rspec_opts = ['--format RopenPi::Specs::OpenApiFormatter', '--dry-run', '--order defined']
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ropen_pi-0.5.0 lib/tasks/ropen_pi.rake
ropen_pi-0.4.0 lib/tasks/ropen_pi.rake
ropen_pi-0.3.0 lib/tasks/ropen_pi.rake
ropen_pi-0.2.0 lib/tasks/ropen_pi.rake
ropen_pi-0.1.2 lib/tasks/ropen_pi.rake
ropen_pi-0.1.1 lib/tasks/ropen_pi.rake
ropen_pi-0.1.0 lib/tasks/ropen_pi.rake