title: Need to create an api doc for an existing application written with nodejs/express
body: <p>I have a few private apis written in plain old express.  Time to let it out and provide some api documentation.</p>
  
  <p>What I don't want (at least yet) it to re-write my express app to integrate api documentation into the code.  Mainly since I am not sure what framework or spec to use to document my api I don't really want to be locking into one particular thing.</p>
  
  <p>I would like to serve out the doc as part of a sub resource under my api (ie I do not want to run a different server or subdomain).  Maybe '/api/docs'.  A plus would also be a UI that I could embed within my app that could parse the docs and at the very least provide a nice presentation of the docs in html (api interaction is a plus).</p>
  
  <p>Things like <a href="https://github.com/swagger-api/swagger-node" rel="nofollow noreferrer">swagger-node</a> are cool, but would require me to re-write all my express code to integrate swagger.  At that point I have a big investment and am tightly coupled to swagger.</p>
  
  <p>Is there a way to serve out swagger or iodocs or maybe something else to document my api in a way that is minimally invasive to existing routes?</p>
  
  <p>EDIT:</p>
  
  <p>I could serve out the Swagger spec from a hand written doc.  Problem I see is that you have to define <code>basePath</code> in the swagger doc.  This does not really allow me to easily deploy under different domains.</p>