I am trying to create documentation for my REST API written in golang using Swagger. I have been following this guide: https://goswagger.io/generate/spec.html to do so and h
Yes, you can create a YAML file. Following an example.
swagger generate spec -m -o ../../api/swagger.yaml
Also, feel free to check the Blog Post.