Skip to content

Commit

Permalink
Merry Christmas 🎅
Browse files Browse the repository at this point in the history
see prev -1 commit
  • Loading branch information
kataras committed Dec 25, 2020
1 parent 9ff593a commit 4fbc8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@ func main() {
6. If you want to disable swagger when some environment variable is set, use `DisablingHandler` instead of `Handler`.

```go
swagger.DisablingHandler(swaggerFiles.Handler, config)
swagger.DisablingHandler(swaggerFiles.Handler, "THE_OS_VARIABLE_NAME_HERE" config)
```

0 comments on commit 4fbc8e6

Please sign in to comment.