title: Sinatra build REST API documentation
body: <p>I have been looking all night for a gem to generate an API documentation from my sinatra routes. I should be able to specify with inline comments.</p>
  
  <p>I have found <a href="https://rubygems.org/gems/sinatra-api-docs">https://rubygems.org/gems/sinatra-api-docs</a> &amp; <a href="https://rubygems.org/gems/sinatra-croon">https://rubygems.org/gems/sinatra-croon</a></p>
  
  <p>but both just don't seem to work with my setup and are outdated too..</p>
  
  <p>The other option was yard with some sinatra plugin, but that does not generate REST API specific layout when generating the docs.</p>
  
  <p>Does anyone have any tools they know about?</p>
  
  <p>All the information i want to reference for each route:</p>
  
  <p>Object: Groups</p>
  
  <p>Route: POST /create</p>
  
  <p>Params:  Name of the group</p>
  
  <p>Output:</p>
  
  <pre><code>{
    "name": "group",
    "members": []
  }
  </code></pre>
  
  <p>thanks</p>