doc(readme): fix canonical example (#49)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user