Add docs endpoint

This commit is contained in:
perp 2024-06-02 22:10:27 +01:00
parent 5e533c01cb
commit d734440fa2

View File

@ -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))
}