nicolasdespres / respect-rails

REST API specification/documentation tool for Rails.
MIT License
6 stars 2 forks source link

Add a recorder to help bootstrap documentation process of large app. #17

Open nicolasdespres opened 11 years ago

nicolasdespres commented 11 years ago

The recorder could be implemented using an "around" filter enabled only if an environment variable is set. This filter would log all requests/responses sent/receive while the test suite is running. Thanks to this log it could them insert in controllers code the beginning of a documentation code.