Add a 'rake rswag' that runs swaggerize as the default

This commit is contained in:
Rich Daley 2019-01-07 14:09:50 +00:00
parent a50bf616b9
commit bfd3d66ec2
2 changed files with 5 additions and 0 deletions

View File

@ -126,6 +126,8 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
rake rswag:specs:swaggerize
```
This common command is also aliased as `rake rswag`.
5. Spin up your app and check out the awesome, auto-generated docs at _/api-docs_!
## The rspec DSL ##

View File

@ -16,3 +16,6 @@ namespace :rswag do
end
end
end
task :rswag => ['rswag:specs:swaggerize']