Skip to content

Commit beeaf0a

Browse files
authored
Update swagger validate to use correct cli command (#835)
1 parent 07381e0 commit beeaf0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape-swagger/rake/oapi_tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def validate
6464
::Rake::Task['oapi:fetch'].invoke
6565
exit if error?
6666

67-
output = system "swagger validate #{file}"
67+
output = system "swagger-cli validate #{file}"
6868

6969
$stdout.puts 'install swagger-cli with `npm install swagger-cli -g`' if output.nil?
7070
FileUtils.rm(file)

0 commit comments

Comments
 (0)