mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
Modifies parameters and body request/responses to output 3.0 syntax for basic operations.
SwaggerEditor passes basic output
This commit is contained in:
@@ -4,4 +4,12 @@
|
||||
|
||||
require File.expand_path('../config/application', __FILE__)
|
||||
|
||||
|
||||
|
||||
TestApp::Application.load_tasks
|
||||
|
||||
|
||||
RSpec::Core::RakeTask.new('swaggerize') do |t|
|
||||
t.pattern = 'spec/requests/**/*_spec.rb, spec/api/**/*_spec.rb, spec/integration/**/*_spec.rb'
|
||||
t.rspec_opts = [ '--format Rswag::Specs::SwaggerFormatter', '--order defined' ]
|
||||
end
|
||||
Reference in New Issue
Block a user