Skip to content

Added generators

Choose a tag to compare

@drewish drewish released this 04 Oct 18:15
· 34 commits to master since this release

Added a generator to handle the installation process of creating spec/swagger_helper.rb:

rails generate rspec:swagger_install

And, more excitingly, a generator to help create specs for existing controllers:

rails generate rspec:swagger PostsController

Would create a spec/requests/posts_spec.rb with the paths and operations for each action in the controller.