Skip to content

Commit

Permalink
Merge pull request #1031 from Amit0617/patch-1
Browse files Browse the repository at this point in the history
Update Swagger middleware documentation
  • Loading branch information
gaby authored Mar 17, 2024
2 parents a1dbee5 + ed1b876 commit dfea35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swagger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import (

Using the default config:
```go
app.Use(swagger.New(cfg))
app.Use(swagger.New())
```

Using a custom config:
Expand Down Expand Up @@ -129,4 +129,4 @@ var ConfigDefault = Config{
Title: "Fiber API documentation",
CacheAge: 3600, // Default to 1 hour
}
```
```

0 comments on commit dfea35d

Please sign in to comment.