Merge pull request #180 from fishpercolator/default_swaggerize

Add a 'rake rswag' that runs swaggerize as the default
This commit is contained in:
Greg Myers 2019-10-17 22:35:50 +01:00 committed by GitHub
commit 9722419647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -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 ##

View File

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