Serving an HTML Page
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2019
08:20 PM
11-18-2019
08:20 PM
Serving an HTML Page
Is there any way to serve an HTML page to the user using a swagger generated server in golang? I've been looking online and through the docs for some way to do this and haven't found anything that's led me to a solution. I've also tried injecting the code normally used to serve html pages into the middleware stacks but to no avail. Help would be much appreciated, thank you.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2020
09:08 AM
01-20-2020
09:08 AM
Hi!
Are you trying to have the swagger ui load from inside your application? If that's it, my team did it, but I'm not entirely satisfied. lmk if you want more info.
