-
It seems that external structs are not recognized when executing `swag init`.
**What I've done**
1. Get CM-Honeybee's infra package
```bash
go get -u github.com/cloud-barista/cm-honeybee/mod…
-
We want the Lattice API docs to be automatically generated. They cannot be generated currently since they're using the Gin HTTP framework and not Carbon. We have to first investigate possibilities for…
tfogo updated
6 years ago
-
`@host` can't do that.
Can I set `host` like set `url`?
`url := ginSwagger.URL(myConfig.GetString("ginswagger.url"))`
-
I a using the following code, when I did swag init and tried to view the swagger-ui, I am getting the following exception
"Please indicate a valid Swagger or OpenAPI version field. Supported version …
-
I am using http://github.com/swaggo/gin-swagger to auto-generate the swagger and also create the UI as below.
Everything works fine when I am running the server on my machine but when I run the ser…
avarf updated
2 years ago
-
## Week 1
- [ DONE] - Go fundamentals
- [ ] - Typescript fundamentals
- [ ] - coreutils: `echo, env, cat, wc, head, tail, yes, true, false, tree` (use gobyexample to speed up things)
- [ ] - Te…
-
**Describe the bug**
- http://localhost:8080/sw/ render failed
- curl http://localhost:8080/rk/v1/ready return 404 page not found
- curl -X GET localhost:8080/rk/v1/alive return 404 page not foun…
-
Uncaught ReferenceError: SwaggerUIBundle is not defined
at window.onload
-
Let the developer use their own logger to Recovery middleware
Before
```golang
func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc {
var logger *log.Logger
```
A…
-
首先感谢开源,下面是一些小建议
1、QueryParam可以用gin的bind绑定整个实体,不用一个个属性赋值
2、QueryParam可以继承分页,不用每次调用方法GetPaginationParam
3、swagger不指定host
4、校验不通过,将详细的错误返回
5、实体增加required (cli)