title: No spec provided even if it has json file generated
body: <p>I am trying to implement swagger with go and I am using go package <code>swag</code> for that. Not encountered any error. I am able to see swagger UI but it doesn't have specs in it even if I have generated a file in code.</p>
  
  <p>I have installed a http-swagger package of go and added it to routes as mentioned in the document in <a href="https://github.com/swaggo/http-swagger" rel="nofollow noreferrer">https://github.com/swaggo/http-swagger</a>.</p>
  
  <ol>
  <li><code>go get github.com/swaggo/swag/cmd/swag</code></li>
  <li><code>swag init</code> (files created)</li>
  <li><code>go get -u github.com/swaggo/http-swagger</code></li>
  <li>followed exact same thing as documentation of package.</li>
  </ol>