swaggo/swag

Docs not showing

vbisbest opened this issue · 3 comments

I am on latest everything. Trying display the swagger index.html. I have imported all files including the docs but its just not diplaying properly. What am I missing. Here is a screenshot of the index.html page:

Screen Shot 2021-08-18 at 10 46 53 AM

Notice the title and such is missing. Ideas?

More info, this works properly in debug mode. It fails with my compiled binary. I have copied the docs folder into the same folder of the binary, but I still get the above issue.

I'm getting the same problem - only placeholders for title, base URL and description, everything else works. How did you solve this issue?

For me it was caused by this (cannot have those double braces in comments): #1177

Was not easy to find.