title: JSDocs: Documenting Node.js express routes
body: <p>I am struggling documenting router.get calls with JSDocs. I am unable to get the documentation to display correctly on the page if I try to append it to my router call itself.</p>
  
  <pre><code>/**
   * Health check
   * @memberof health
   */
  router.get('/happy', function(req, res) {
      res.json({ "status" : "OK" });
  });
  </code></pre>
  
  <p>To resolve it, I made the functions have names. </p>
  
  <pre><code>router.get('/happy', happy);
  
  /**
   * Health check
   * @memberof health
   */
  function happy(req, res) {
      res.json({ "status" : "OK" });
  }
  </code></pre>
  
  <p>This works, but I would really like to find a way to get the first method to work. Is there a way to document the first example? A keyword I can use?</p>