mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Merge pull request #180 from fishpercolator/default_swaggerize
Add a 'rake rswag' that runs swaggerize as the default
This commit is contained in:
commit
9722419647
@ -128,6 +128,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 ##
|
||||
|
||||
@ -16,3 +16,6 @@ namespace :rswag do
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
task :rswag => ['rswag:specs:swaggerize']
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user