title: How to expose swagger.json with go-swagger server?
body: <p>I'm using go-swagger to generate the API server. I noticed that the json generated from swagger.yml is being kept in <code>restapi/embedded_spec.go</code>.</p>
  
  <p>What's the best way to expose that JSON spec so my ReactJS client can access it?</p>
  
  <p>So far I've had to use <code>swagger serve swagger.yml --port=50000</code> and point javacript client to  <code>localhost:50000/swagger.json</code>. I'm looking for a way to serve that JSON  straight from <code>restapi/embedded_spec.go</code> via my API.</p>