Generate swagger json oas v3 with comments in existing go app
I have an existing golang API app, and I want to document it with swagger, specifically v3 - that has the cookie feature. I've found go-swagger, swagger-ui, and goas repos/utilities, but I'm kind of stuck. My objective is to generate the swagger.json only through comments, not by manually changing the swagger.yaml/.json file. I'd appreciate any advice or experience on this one!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.