mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
Add a 'rake rswag' that runs swaggerize as the default
This commit is contained in:
parent
a50bf616b9
commit
bfd3d66ec2
@ -126,6 +126,8 @@ Once you have an API that can describe itself in Swagger, you've opened the trea
|
|||||||
rake rswag:specs:swaggerize
|
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_!
|
5. Spin up your app and check out the awesome, auto-generated docs at _/api-docs_!
|
||||||
|
|
||||||
## The rspec DSL ##
|
## The rspec DSL ##
|
||||||
|
|||||||
@ -16,3 +16,6 @@ namespace :rswag do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :rswag => ['rswag:specs:swaggerize']
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user