Skip to content

Commit 5a011c2

Browse files
VritraVritra
Vritra
authored and
Vritra
committed
enable swagger by default
1 parent 32de18e commit 5a011c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/minitiad/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ func initAppConfig() (string, interface{}) {
4242

4343
// Enable API and unsafe CORS (CORS allowed from any host)
4444
srvCfg.API.Enable = true
45+
srvCfg.API.Swagger = true
4546
srvCfg.API.EnableUnsafeCORS = true
4647
srvCfg.API.Address = "tcp://0.0.0.0:1317"
4748

0 commit comments

Comments
 (0)