The generation of a Swagger specification from the source code of a Go program is done by two things: using `go-swagger` utility, which is called from the command line. We need to create a `docs` directory at the external level of the project, in which we create a single `docs.go` file inside.