What's the best way to generate an API reference document using a Rails routes.rb file?
- by RNHurt
I am trying to document the API for my Rails application and I can't help but wonder if there is a better way to generate an XML file based on my routes.rb file. I'm envisioning something similar to the output of rake routes but in a more friendly, XML type format. Corey has some interesting ideas about using reflection/introspection on the routes file here but it's not quite what I need.
Please tell me this is a solved problem and I'm not the first one to think of this. :)