diff --git a/swagger/README.md b/swagger/README.md index f43493da..b928f4f5 100644 --- a/swagger/README.md +++ b/swagger/README.md @@ -48,7 +48,7 @@ import ( Using the default config: ```go -app.Use(swagger.New(cfg)) +app.Use(swagger.New()) ``` Using a custom config: @@ -129,4 +129,4 @@ var ConfigDefault = Config{ Title: "Fiber API documentation", CacheAge: 3600, // Default to 1 hour } -``` \ No newline at end of file +```