doc(readme): fix canonical example

This commit is contained in:
Eason Lin 2019-03-24 20:13:24 +08:00
parent db2fafd4b0
commit cc01d1e07a
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ func main() {
URL: "http://localhost:8080/swagger/doc.json", //The url pointing to API definition
}
// use ginSwagger middleware to
r.GET("/swagger/*any", ginSwagger.WrapHandler(config, swaggerFiles.Handler))
r.GET("/swagger/*any", ginSwagger.CustomWrapHandler(config, swaggerFiles.Handler))
r.Run()
}