Add docs endpoint
This commit is contained in:
parent
5e533c01cb
commit
d734440fa2
@ -30,4 +30,5 @@ import "git.supernets.org/perp/gopay/internal/context"
|
||||
func Register(ctx *context.Context) {
|
||||
v1 := ctx.Group("v1")
|
||||
v1.GET("scalar", ctx.API(Spec))
|
||||
v1.GET("docs", ctx.API(Spec))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user