mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-23 06:16:42 +00:00
10 lines
297 B
Plaintext
10 lines
297 B
Plaintext
Description:
|
|
This creates an RSpec request spec to define Swagger documentation for a
|
|
controller. It will create a test for each of the controller's methods.
|
|
|
|
Example:
|
|
rails generate rspec:swagger V3::AccountsController
|
|
|
|
This will create:
|
|
spec/requests/v3/accounts_spec.rb
|