From d734440fa2b0bcbb9c378fd63b80b3dff4086902 Mon Sep 17 00:00:00 2001 From: perp Date: Sun, 2 Jun 2024 22:10:27 +0100 Subject: [PATCH] Add docs endpoint --- internal/router/api/v1/v1.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/router/api/v1/v1.go b/internal/router/api/v1/v1.go index cabd8c6..9464f7d 100644 --- a/internal/router/api/v1/v1.go +++ b/internal/router/api/v1/v1.go @@ -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)) }