Skip to content

Commit 54fe590

Browse files
authored
Update doc.go
1 parent d88e065 commit 54fe590

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/v2/api/swagger/doc.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Example usage in commands.go:
77
swaggerServer, err := swaggerv2.New[T](
88
logger.With(log.ModuleKey, "swagger"),
99
deps.GlobalConfig,
10+
swaggerv2.CfgOption(func(cfg *swaggerv2.Config) {
11+
cfg.SwaggerUI = docs.SwaggerUI
12+
}),
1013
)
1114
1215
Configuration options:

0 commit comments

Comments
 (0)