8 lines
No EOL
226 B
Ruby
8 lines
No EOL
226 B
Ruby
require 'grape-swagger/rake/oapi_tasks'
|
|
namespace :oapi do
|
|
task gen: [:environment] do
|
|
ENV['store'] = 'tmp/openapi.json'
|
|
GrapeSwagger::Rake::OapiTasks.new(Houdini::API)
|
|
Rake::Task['oapi:fetch'].invoke()
|
|
end
|
|
end |