Self documenting REST interface

Posted by KandadaBoggu on Stack Overflow See other posts from Stack Overflow or by KandadaBoggu
Published on 2010-04-16T00:41:41Z Indexed on 2010/04/16 0:43 UTC
Read the original article Hit count: 352

I have a Rails based server running several REST services and a Rails based web UI that interacts with the server using ActiveResource. Same server is being used by other clients( e.g: mobile). I have to generate documentation for the REST interface. I need to provide service URL, input/output and error document structure for each service.

Ideally, I would like to use an interceptor at the server side that will document the service based on the existing traffic. I am wondering if there is a gem to do this.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about activeresource