From 5a011c24aa8baa11e9f713cba99c11ee2ed30e9e Mon Sep 17 00:00:00 2001 From: Vritra Date: Tue, 7 May 2024 10:25:39 +0900 Subject: [PATCH] enable swagger by default --- cmd/minitiad/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/minitiad/config.go b/cmd/minitiad/config.go index 0d25b1e..131fee0 100644 --- a/cmd/minitiad/config.go +++ b/cmd/minitiad/config.go @@ -42,6 +42,7 @@ func initAppConfig() (string, interface{}) { // Enable API and unsafe CORS (CORS allowed from any host) srvCfg.API.Enable = true + srvCfg.API.Swagger = true srvCfg.API.EnableUnsafeCORS = true srvCfg.API.Address = "tcp://0.0.0.0:1317"