Skip to content

Commit

Permalink
Doc title
Browse files Browse the repository at this point in the history
  • Loading branch information
protsack-stephan committed Apr 1, 2021
1 parent 1ab1559 commit 385e483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swagger.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func CustomWrapHandler(config *Config, h *webdav.Handler) gin.HandlerFunc {
return func(c *gin.Context) {

type swaggerUIBundle struct {
Title string
URL string
DeepLinking bool
}
Expand Down Expand Up @@ -92,6 +93,7 @@ func CustomWrapHandler(config *Config, h *webdav.Handler) gin.HandlerFunc {
switch path {
case "index.html":
index.Execute(c.Writer, &swaggerUIBundle{
Title: config.Title,
URL: config.URL,
DeepLinking: config.DeepLinking,
})
Expand Down

0 comments on commit 385e483

Please sign in to comment.